Hi I have just installed VS2005 and the first thing I did was to try out the
new Screensaver sample. that wouldn't work it just crashed all the time.
After a little monking around i found out that it was the application
settings that just didn't work. It trowed an exception:
System.InvalidOperationException
with an innerexception of "{"Configuration system failed to initialize"}"
(with:) {"An error occurred loading a configuration file: Could not find a
part of the path 'C:\Documents and Settings\<MY
USERNAME>\tstScreenSaver1.vshost.ex_Url_0myugwc0sn0h1p1cupnb2ay0ywdyyuft\1.0.0.0\user.config'.
(C:\Documents and Settings\<MY USERNAME>\Application
Data\...\tstScreenSaver1.vshost.ex_Url_0myugwc0sn0h1p1cupnb2ay0ywdyyuft\1.0.0.0\user.config)"}
And if I check the system.Windows.Forms.Application.LocalUserAppDataPath
I see that it points to :C:\Documents and Settings\<MY USERNAME>\Local
Settings\Application Data\...\tstScreenSaver1\1.0.0.0
I don't know where the ... come from I guess it's why it wasn't able to find
the folder?
I can recreate this if I create another project and add a Application
setting
I even tried a repair on the visual studio installation but with no change.
Anyone got a good suggestion?
Rhett Gong [MSFT] - 03 Nov 2005 03:37 GMT
Hello Cristian,
For a quick test, I just tried the ScreenSaver Starter Kit template, and it works fine in my XP sp2 box. Since this is a new
template introduced with VS2005, I have never seen this before. Could I ask you post steps to reproduce the problem so that I
can see what happens there and then assist you for more information?
Thanks you for your patience,
Have a nice day!
Rhett Gong [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp&SD=msdn
This posting is provided "AS IS" with no warranties and confers no rights.