Quantcast
Viewing all articles
Browse latest Browse all 3636

Upgrading from Windows Server 2003 32-bit to 2008 R2 64-bit

Hi, I'm upgrading my server from Windows 2003 32-bit to Windows 2008 R2 64-bit

 

I have an ASP.NET application with Crystal Reports. The server has CRRedist2008_x86 installed. The application works fine on the 2003 server but I'm getting this error on the 2008 server. "is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) "

 

I also tried CRRedist2008_x64 on the new server but the same error happens.

 

The application is a Visual Studio 2008 ASP.NET website

 

I have successfully moved 2 applications to the new server that do not have any Crystal dll's in the bin folder.

 

I have 2 other applications with Crystal dll's in the bin folder that work fine on the 2003 server.  But on the 2008 server the site will not even come up.

Server Error in '/reports' Application.

is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.BadImageFormatException: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[BadImageFormatException:  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)]

System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint,

StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0

System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark,

Boolean forIntrospection) +416 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark&

stackMark, Boolean forIntrospection) +166 System.Reflection.Assembly.Load(String assemblyString) +35

System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190 

 

[ConfigurationErrorsException:  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)]

System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11241896

System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388

System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232

System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48

System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210

System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76

System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +283

System.Web.Compilation.BuildManager.CompileGlobalAsax() +50 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +676

 

[HttpException (0x80004005):  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)]

System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76

System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012

System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory

configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025 

 

[HttpException (0x80004005):  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)]

System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11335894

System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88

System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4355316

 

Has anyone run into and resolved this?

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 3636

Trending Articles