S
Sid Price
I am moving a large application from VB 2005 to 2008 and I have a problem
when I try to run the application either directly or within VS. I get the
following message before the main form load method is called. It appears to
be a DLL issue of some kind but searching has not revealed what the problem
is.
"The applications has failed to start because the application configuration
is incorrect ..."
If I check the event log I see two errors:
1. Syntax error in manifest or policy file "C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\Community_Monitor\CommunityMonitorVer4\Debug\CommunityMonitor.exe.Config"
on line 1.
2. Generate Activation Context failed for C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\Community_Monitor\CommunityMonitorVer4\Debug\CommunityMonitor.exe.
Reference error message: The operation completed successfully.
The config file has the following in it:
<?xml version="1.0" encoding="Windows-1252"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="colDeviceNumber.Width" value="60" />
<add key="colIPAddress.Width" value="60" />
<add key="colMacAddress.Width" value="60" />
<add key="colName.Width" value="60" />
</appSettings>
</configuration>
Any pointers to fixing this would be much appreciated,
Sid.
when I try to run the application either directly or within VS. I get the
following message before the main form load method is called. It appears to
be a DLL issue of some kind but searching has not revealed what the problem
is.
"The applications has failed to start because the application configuration
is incorrect ..."
If I check the event log I see two errors:
1. Syntax error in manifest or policy file "C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\Community_Monitor\CommunityMonitorVer4\Debug\CommunityMonitor.exe.Config"
on line 1.
2. Generate Activation Context failed for C:\Data
Root\Projects\Pacific\Code\VistaMax\Tools 500
Series\Community_Monitor\CommunityMonitorVer4\Debug\CommunityMonitor.exe.
Reference error message: The operation completed successfully.
The config file has the following in it:
<?xml version="1.0" encoding="Windows-1252"?>
<configuration>
<appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="colDeviceNumber.Width" value="60" />
<add key="colIPAddress.Width" value="60" />
<add key="colMacAddress.Width" value="60" />
<add key="colName.Width" value="60" />
</appSettings>
</configuration>
Any pointers to fixing this would be much appreciated,
Sid.