Hi
I am working on a website in asp.net 2.0 with 2.0 framework and would like
to deploy this to a windows 2003 64bit server and want it to run under 64bit
framework., Is this really possible? can anyone let me know what must be done
to achieve this? I am currently getting this error....
Server Error in '/Contest' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'System.Web' or one of its dependencies. An
attempt was made to load a program with an incorrect format.
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: Could not load file or
assembly 'System.Web' or one of its dependencies. An attempt was made to load
a program with an incorrect format.
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.
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System.Web' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[BadImageFormatException: Could not load file or assembly 'System.Web' or
one of its dependencies. An attempt was made to load a program with an
incorrect format.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase,
Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark,
Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection) +465
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence
assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +181
System.Reflection.Assembly.Load(String assemblyString) +42
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String
assemblyName, Boolean starDirective) +190
[ConfigurationErrorsException: Could not load file or assembly 'System.Web'
or one of its dependencies. An attempt was made to load a program with an
incorrect format.]
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String
assemblyName, Boolean starDirective) +3642024
System.Web.Configuration.CompilationSection.LoadAl lAssembliesFromAppDomainBinDirectory() +402
System.Web.Configuration.CompilationSection.LoadAs sembly(AssemblyInfo ai)
+155
System.Web.Configuration.AssemblyInfo.get_Assembly Internal() +36
System.Web.Compilation.BuildManager.GetReferencedA ssemblies(CompilationSection compConfig) +235
System.Web.Compilation.BuildProvidersCompiler..cto r(VirtualPath
configPath, Boolean supportLocalization, String outputAssemblyName) +76
System.Web.Compilation.CodeDirectoryCompiler.GetCo deDirectoryAssembly(VirtualPath
virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet
excludedSubdirectories, Boolean isDirectoryAllowed) +2944151
System.Web.Compilation.BuildManager.CompileCodeDir ectory(VirtualPath
virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet
excludedSubdirectories) +204
System.Web.Compilation.BuildManager.EnsureFirstTim eDirectoryInit(VirtualPath
virtualDir) +411
System.Web.Compilation.BuildManager.GetBuildResult FromCacheInternal(String
cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode) +295
System.Web.Compilation.BuildManager.GetVPathBuildR esultFromCacheInternal(VirtualPath virtualPath) +66
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile) +69
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile) +125
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
+203
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert) +52
System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context,
String requestType, VirtualPath virtualPath, String physicalPath) +50
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
+514
System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute() +142
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +274
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
ASP.NET Version:2.0.50727.1433 1 3171
Hi,
Here are two links you may like (open the second first) http://support.microsoft.com/kb/894435/en-us http://msdn2.microsoft.com/en-us/lib...64(vs.80).aspx
Hope you'll find there what you need
Martin CLAVREUIL
SQLI - Toulouse
"Sai Vajja" <Sa******@discussions.microsoft.coma écrit dans le message de
news: 16**********************************@microsoft.com...
Hi
I am working on a website in asp.net 2.0 with 2.0 framework and would like
to deploy this to a windows 2003 64bit server and want it to run under
64bit
framework., Is this really possible? can anyone let me know what must be
done
to achieve this? I am currently getting this error....
Server Error in '/Contest' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'System.Web' or one of its dependencies.
An
attempt was made to load a program with an incorrect format.
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: Could not load file or
assembly 'System.Web' or one of its dependencies. An attempt was made to
load
a program with an incorrect format.
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.
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System.Web' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[BadImageFormatException: Could not load file or assembly 'System.Web' or
one of its dependencies. An attempt was made to load a program with an
incorrect format.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase,
Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&
stackMark,
Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection) +465
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence
assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
+181
System.Reflection.Assembly.Load(String assemblyString) +42
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String
assemblyName, Boolean starDirective) +190
[ConfigurationErrorsException: Could not load file or assembly
'System.Web'
or one of its dependencies. An attempt was made to load a program with an
incorrect format.]
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String
assemblyName, Boolean starDirective) +3642024
System.Web.Configuration.CompilationSection.LoadAl lAssembliesFromAppDomainBinDirectory()
+402
System.Web.Configuration.CompilationSection.LoadAs sembly(AssemblyInfo
ai)
+155
System.Web.Configuration.AssemblyInfo.get_Assembly Internal() +36
System.Web.Compilation.BuildManager.GetReferencedA ssemblies(CompilationSection
compConfig) +235
System.Web.Compilation.BuildProvidersCompiler..cto r(VirtualPath
configPath, Boolean supportLocalization, String outputAssemblyName) +76
System.Web.Compilation.CodeDirectoryCompiler.GetCo deDirectoryAssembly(VirtualPath
virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet
excludedSubdirectories, Boolean isDirectoryAllowed) +2944151
System.Web.Compilation.BuildManager.CompileCodeDir ectory(VirtualPath
virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet
excludedSubdirectories) +204
System.Web.Compilation.BuildManager.EnsureFirstTim eDirectoryInit(VirtualPath
virtualDir) +411
System.Web.Compilation.BuildManager.GetBuildResult FromCacheInternal(String
cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode)
+295
System.Web.Compilation.BuildManager.GetVPathBuildR esultFromCacheInternal(VirtualPath
virtualPath) +66
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile) +69
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile) +125
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
+203
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert) +52
System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context,
String requestType, VirtualPath virtualPath, String physicalPath) +50
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
+514
System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute()
+142
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +274
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
ASP.NET Version:2.0.50727.1433 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Petr PALAS |
last post by:
Hi,
when I open ANY ASP.NET application on my computer I get this message:
----------------------------------------------------------------------------
----
Server Application Unavailable
...
|
by: Keith |
last post by:
All,
I have been told this is an ASP.NET issue and not an IIS
issue, so I am posting this here.
I have a problem with ASP.NET returning an HTTP 500 error
when trying to run ASPX pages on...
|
by: Chris |
last post by:
I'm trying to get an existing VS.NET project up on my Win2003 server and I
get the following error (on the actual website page):
"It is an error to use a section registered as...
|
by: spikejp |
last post by:
Platform: Windows 2000 and Windows 2003 Server
UDB DB2 v8.1.11
I have the task of Migration my DB server from a 32Bit HW to a 64Bit HW.
The DB2 software is installed on the local disks but the...
|
by: Frank Rizzo |
last post by:
Hello,
I've compiled my app for AnyCPU setting in vs2005. Then I tried the app
on both 32-bit Windows 2003 R2 and 64-bit Windows 2003 R2. The memory
usage of the application when working on...
|
by: John Heitmuller. |
last post by:
Hi, I have a VB.Net application that I have recently upgraded from
Visual Studio 2003 to Visual Studio 2005. The VB.Net app accesses
Word and Excel. When I run the newly compiled VB.Net app on...
|
by: =?Utf-8?B?bWo=?= |
last post by:
Hello, I am planning on developing a windows service in C# using VS 2005 on a
Vista 32bit operating system. I am going to be deploying this windows
service on a 2003 server in our Production...
|
by: Jeremy Pavleck |
last post by:
Just curious if it's possible, and supported, to upgrade SQL 2005 from
32bit to 64bit. This is on top of Windows 2003 64bit. Trying to get
the proper supported config for OM2k7 without blowing...
|
by: viren.chaudhary2008 |
last post by:
I have just few questions. We are thinking of porting our 32 bit
application to 64 bit as we need to use more memory usage and want to
take advantage of 64 bit processor. Currently my applications...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |