Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download - Clean, repair and optimize your system



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

app.exe.config on XP but app.config on Vista x64?

microsoft.public.windows.vista.general




Recommended Fix - Fix Vista Errors and Optimize Performance

Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Driver Scanner 2009 - Free Scan Now
Reply
  #1 (permalink)  
Old 08-02-2007
Bern McCarty
 

Posts: n/a
app.exe.config on XP but app.config on Vista x64?
On my new Vista x64 computer, I've discovered that some applications fail to
run and that the problem is corrected by renaming the application's .NET
config file from, for example, app.exe.config to just app.config.

This is nothing that I can find any information about. What is the deal?
This seems like a bizarre incompatibiilty. I cannot xcopy a functioning,
xcopyable application from XP to Vista because of this difference. As soon
as I rename app.exe.config->app.config then, voila, then it works.

Bern McCarty
Bentley Systems, Inc.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-02-2007
Mr. Arnold
 

Posts: n/a
Re: app.exe.config on XP but app.config on Vista x64?

"Bern McCarty" <Bern@newsgroup.nospam> wrote in message
newsA3A2F3E-AA6B-4C95-BE4A-78CDFC6C3237@microsoft.com...
> On my new Vista x64 computer, I've discovered that some applications fail
> to run and that the problem is corrected by renaming the application's
> .NET config file from, for example, app.exe.config to just app.config.
>
> This is nothing that I can find any information about. What is the deal?
> This seems like a bizarre incompatibiilty. I cannot xcopy a functioning,
> xcopyable application from XP to Vista because of this difference. As
> soon as I rename app.exe.config->app.config then, voila, then it works.


It seems that a .Net application at least for a VS 2005 .Net solution can
execute without an appname.exe.config, supposedly. I don't know how but I
have seen a post made about this in the MS.Public.dotnet.languages.vb NG.

I am pretty sure that the naming conventions for a .Net app.config that the
program/exe is using or looking for will be named appname.exe.config sitting
in the same location as the exe no matter what O/S the .Net solution is
running on.

You might want to post to the VB NG mentioned above, C# or dotnet.general NG
for more help.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-02-2007
Bern McCarty
 

Posts: n/a
Re: app.exe.config on XP but app.config on Vista x64?
Thanks for the suggestion to try the dotnet.general group. I will do that.

But, to be clear, I am an experienced .NET developer and it is OUR
commercial applications that will not run on Vista x64 unless their
respective app.exe.config files are explicitly renamed to app.config. It
seems that, on my Vista x64 box anyway, the runtime just plain works
differently.

I realize that some apps run fine without a .NET config file, however ours
do not as they require certain subdirectories to be specified in privatePath
in order for some assemblies to be found by the assembly load context.

-Bern

"Mr. Arnold" <MR. Arnold@Arnold.com> wrote in message
news:%23xE4CgQ1HHA.5884@TK2MSFTNGP02.phx.gbl...
>
> "Bern McCarty" <Bern@newsgroup.nospam> wrote in message
> newsA3A2F3E-AA6B-4C95-BE4A-78CDFC6C3237@microsoft.com...
>> On my new Vista x64 computer, I've discovered that some applications fail
>> to run and that the problem is corrected by renaming the application's
>> .NET config file from, for example, app.exe.config to just app.config.
>>
>> This is nothing that I can find any information about. What is the deal?
>> This seems like a bizarre incompatibiilty. I cannot xcopy a functioning,
>> xcopyable application from XP to Vista because of this difference. As
>> soon as I rename app.exe.config->app.config then, voila, then it works.

>
> It seems that a .Net application at least for a VS 2005 .Net solution can
> execute without an appname.exe.config, supposedly. I don't know how but I
> have seen a post made about this in the MS.Public.dotnet.languages.vb NG.
>
> I am pretty sure that the naming conventions for a .Net app.config that
> the program/exe is using or looking for will be named appname.exe.config
> sitting in the same location as the exe no matter what O/S the .Net
> solution is running on.
>
> You might want to post to the VB NG mentioned above, C# or dotnet.general
> NG for more help.
>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
edit config.nt in Vista Pradeep microsoft.public.windows.vista.general 5 04-21-2009 18:02
Vista et config net ?! Mike77 microsoft.public.fr.windows.vista.reseau 4 05-30-2007 16:56
Vista et ma config ? P B microsoft.public.fr.windows.vista.general 1 05-13-2007 10:22
Installing Windows App (.exe) as a service in Vista Hoss microsoft.public.windows.vista.security 1 04-26-2007 16:28
Norton Utilities type app for x64 vista Jassie microsoft.public.windows.vista.general 5 03-01-2007 15:35




All times are GMT +1. The time now is 18:07.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com and Win7Heads.com.


Funny Commercials to make you laugh :-)

Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119