Home All Groups Group Topic Archive Search About

Very strange problem on Windows Server 2003 (error loading config file).

Author
26 Jun 2006 2:19 PM
QDL
Hello everyone,

i have some dotnet 1.1 applications (aspnet, windows services, windowsforms)
that i have installed without problems many times on both 2003 or 2000
servers.

On one particular 2003 server I have this very weird situation: two
windowsforms applications give me an error when trying to read from config
file "System.Configuration.ConfigurationException: Error loading XML file"
and also "The data at the root level is invalid. Line 1, position 40."... In
that position there is nothing...(end of first line is at Line 1 position
40).

Another windowsforms application (this one in C#) runs fine... Also an
ASPNET app and a windows service, both in VB.NET, run fine...

Tried opening the config file and saving it in all available formats (ANSI,
UTF, UNICODE...), no result.

It seems that ONLY VB.NET windowsforms applications suffer from this
problem.

The other strange thing about this server is that it wont accept service
pack 1 for 1.1 framework (says some components are newer...), and if I try
to install KB886903 (which is the next patch after service pack 1), says
that some prerequisites for the patch are missing...

Has anyone had some simuilar problems?

Thanx in Advance
Paolo

AddThis Social Bookmark Button