471,337 Members | 1,161 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

VS2005 .NET exception when running converted VS2003 application

The application is a console app, though it does have a temporary
windows form console, which is fairly complicated and which was
developed in VS2003. I installed VS2005 on an XP OS and tried to see
how much work it's going to be to convert over to 2005. I converted the
app, tried to compile and resolved all the warnings. One had to be
resolved by changing the LIB environment variable.

So I fix those and actually compile and run the app and on the line
where tracing is started:

TextWriterTraceListener(File.Create(fixedFileName) ));
I get an unhandled exception which seems to be saying it can't load
System.xml which doesn't seem to make a whole lot of sense:

{"Could not load file or assembly 'System.Xml, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. Unspecified error (Exception from HRESULT: 0x80004005
(E_FAIL))":"System.Xml, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"}

"Configuration system failed to initialize"

Source "System.Configuration"

Does anyone have any idea of why this might be occurring?

Aug 18 '05 #1
0 1286

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by GaryDean | last post: by
7 posts views Thread by Frank Rizzo | last post: by
17 posts views Thread by Samuel | last post: by
4 posts views Thread by =?Utf-8?B?TmFkYXYgUG9wcGxld2VsbA==?= | last post: by
8 posts views Thread by =?Utf-8?B?UGV0ZXJX?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.