Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / November 2005

Tip: Looking for answers? Try searching our database.

Vs2005 Application settings

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cristian - 02 Nov 2005 16:43 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.