------------------------------------------------------------------------------
PROBLEM - ERRORS
Description:
Errors during launches of apps due to errors in manifest files (app.config)
Note: this may be VS2008 Orcas issue!!
Steps:
1. unpacking sources
2. opening solution it in VS2008 RTM
3. correcing log4net references
4. build solution -> ok
5. launch any application => errors (see below)
1. Error DialogBox launching from VS2008 Orcas
Error while trying to run project:Unable to start program
'\src\GuiRunner\nunit-gui-exe\bin\Debug\nunit.exe.'
This application has failed to start because the application
configuration is incorrect. Review the manifest file for possible
errors. Reinstalling the application may fix the problem. For more
details, please see the application event log.
2. Error Message starting from Windows explorer
\src\GuiRunner\nunit-gui-exe\bin\Debug\nunit.exe.
This application has failed to start because the application
configuration is incorrect. Reinstalling the application may
fix the problem.
3. Error Message starting from command prompt
\src\GuiRunner\nunit-gui-exe\bin\Debug>nunit.exe
The system cannot execute the specified program.
------------------------------------------------------------------------------
CONFIGURATION
Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5
Installed Edition: Enterprise
Microsoft Silverlight Projects 2008 91899-153-0000007-60959
Microsoft Silverlight Projects 2008
Version 9.0.21116.54
Microsoft Visual Basic 2008 91899-153-0000007-60959
Microsoft Visual Basic 2008
Microsoft Visual C# 2008 91899-153-0000007-60959
Microsoft Visual C# 2008
Microsoft Visual C++ 2008 91899-153-0000007-60959
Microsoft Visual C++ 2008
Microsoft Visual Studio 2008 Tools for Office 91899-153-0000007-60959
Microsoft Visual Studio 2008 Tools for Office
Microsoft Visual Studio Team System 2008 Architecture Edition 91899-153-0000007-60959
Microsoft Visual Studio Team System 2008 Architecture Edition
Microsoft Visual Studio Team System 2008 Database Edition 91899-153-0000007-60959
Microsoft Visual Studio Team System 2008 Database Edition
Microsoft Visual Studio Team System 2008 Development Edition 91899-153-0000007-60959
Microsoft Visual Studio Team System 2008 Development Edition
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Microsoft Visual Studio Team System 2008 Test Edition 91899-153-0000007-60959
Microsoft Visual Studio Team System 2008 Test Edition
Microsoft Visual Web Developer 2008 91899-153-0000007-60959
Microsoft Visual Web Developer 2008
Crystal Reports AAJ60-G0MSA4K-68000CF
Crystal Reports Basic for Visual Studio 2008
DXCore for Visual Studio 2.5
DXCore for Visual Studio
Update for Microsoft Visual Studio Team System 2008 Team Suite - ENU (KB947520) KB947520
This update is for Microsoft Visual Studio Team System 2008 Team Suite - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/947520.
Update for Microsoft Visual Studio Team System 2008 Team Suite - ENU (KB949325) KB949325
This update is for Microsoft Visual Studio Team System 2008 Team Suite - ENU.
If you later install a more recent service pack, this update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/949325.
DevExpress Tools
DXCore extensibility layer for Visual Studio .NET, from Developer Express, Inc. (www.devexpress.com).
------------------------------------------------------------------------------
SOLUTION
NOTE: This may be VS2008 Orcas issue!!!
1. replace in all App.config
encoding="Windows-1252"
with
empty string (i.e. remove encoding)
or
encoding="utf-8"
2. Error Message starting from Windows explorer
\src\GuiRunner\nunit-gui-exe\bin\Debug\nunit.exe.
This application has failed to start because the application
configuration is incorrect. Reinstalling the application may
fix the problem.
3. Error Message starting from command prompt
\src\GuiRunner\nunit-gui-exe\bin\Debug>nunit.exe
The system cannot execute the specified program.
==============================================================================
EVENT LOGS ON DIFFERENT PCs
1. PC_Development
------------------------------------------------------------------------------
Event log system
Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 59
Date: 24/03/2008
Time: 10:43:40 PM
User: N/A
Computer:
Description:
Generate Activation Context failed for
\src\GuiRunner\nunit-gui-exe\bin\Debug\nunit.exe.
Reference error message: The operation completed successfully.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: SideBySide
Event Category: None
Event ID: 58
Date: 24/03/2008
Time: 10:43:40 PM
User: N/A
Computer:
Description:
Syntax error in manifest or policy file
"\src\GuiRunner\nunit-gui-exe\bin\Debug\nunit.exe.Config" on
line 1.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Starting from VS2008 RTM orcas
Error dialog box:
Operation could not be completed. The application has failed to start
because the application configuration is incorrect. Reinstalling
application may fix the problem.
==============================================================================
2. PC_Test
Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 1000
Date: 2008.03.21
Time: 19:53:57
User: N/A
Computer: RPC001
Description:
Faulting application nunit-gui.exe, version 2.4.0.1, stamp 45fab9b3,
faulting module kernel32.dll, version 5.1.2600.3119, stamp 46239bd5,
debug? 0, fault address 0x00012a5b.
For more information,
see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 00 70 00 70 00 6c 00 A.p.p.l.
0008: 69 00 63 00 61 00 74 00 i.c.a.t.
0010: 69 00 6f 00 6e 00 20 00 i.o.n. .
0018: 46 00 61 00 69 00 6c 00 F.a.i.l.
0020: 75 00 72 00 65 00 20 00 u.r.e. .
0028: 20 00 6e 00 75 00 6e 00 .n.u.n.
0030: 69 00 74 00 2d 00 67 00 i.t.-.g.
0038: 75 00 69 00 2e 00 65 00 u.i...e.
0040: 78 00 65 00 20 00 32 00 x.e. .2.
0048: 2e 00 34 00 2e 00 30 00 ..4...0.
0050: 2e 00 31 00 20 00 34 00 ..1. .4.
0058: 35 00 66 00 61 00 62 00 5.f.a.b.
0060: 39 00 62 00 33 00 20 00 9.b.3. .
0068: 69 00 6e 00 20 00 6b 00 i.n. .k.
0070: 65 00 72 00 6e 00 65 00 e.r.n.e.
0078: 6c 00 33 00 32 00 2e 00 l.3.2...
0080: 64 00 6c 00 6c 00 20 00 d.l.l. .
0088: 35 00 2e 00 31 00 2e 00 5...1...
0090: 32 00 36 00 30 00 30 00 2.6.0.0.
0098: 2e 00 33 00 31 00 31 00 ..3.1.1.
00a0: 39 00 20 00 34 00 36 00 9. .4.6.
00a8: 32 00 33 00 39 00 62 00 2.3.9.b.
00b0: 64 00 35 00 20 00 66 00 d.5. .f.
00b8: 44 00 65 00 62 00 75 00 D.e.b.u.
00c0: 67 00 20 00 30 00 20 00 g. .0. .
00c8: 61 00 74 00 20 00 6f 00 a.t. .o.
00d0: 66 00 66 00 73 00 65 00 f.f.s.e.
00d8: 74 00 20 00 30 00 30 00 t. .0.0.
00e0: 30 00 31 00 32 00 61 00 0.1.2.a.
00e8: 35 00 62 00 0d 00 0a 00 5.b.....
Detailed description in txt file fore easier reading