Problem after 2003 -> 2008 migration - Umbraco 3.0.3
Hello.
We've ran into some troubles with an older Umbraco installation (version
3.0.3) that was recently migrated from a Windows Server 2003 to 2008 R2. DB is
located on the same server - MS SQL Express 2005.
The problem appears when you log onto the admin page, firstly the Content
tree is empty. And if you try clicking "Create" or "About"
the following error message appears:
Invalid
access to memory location. (Exception from HRESULT: 0x800703E6)
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:
Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
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: Invalid access to memory location. (Exception
from HRESULT: 0x800703E6)]
I've gone through the installation instructions, verifying permissions and
rights are what they should be. And I wasn't able to find any problems with
this.
Would be most thankful for any hints or tips anyone has to offer. Feel free
to ask if you need more information about the case.
I don't know the answer to your problem unfortunately, however it's either that the a) v 3.0.3 doesn't work on Windows 2008 or b) something went wrong when you moved the application.
We ended up migrating back to the older server for now, since we knew it worked fine there.
Once we got everything stable on the old server again we'll try upgrading on the newer server like you suggested. Hopefully that'll solve our problems.
Problem after 2003 -> 2008 migration - Umbraco 3.0.3
Hello.
We've ran into some troubles with an older Umbraco installation (version 3.0.3) that was recently migrated from a Windows Server 2003 to 2008 R2. DB is located on the same server - MS SQL Express 2005.
The problem appears when you log onto the admin page, firstly the Content tree is empty. And if you try clicking "Create" or "About" the following error message appears:
Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
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: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
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: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
[ConfigurationErrorsException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +163
System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53
System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +86
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
I've gone through the installation instructions, verifying permissions and rights are what they should be. And I wasn't able to find any problems with this.
Would be most thankful for any hints or tips anyone has to offer. Feel free to ask if you need more information about the case.
Regards,
Stefan Kästel
Hey Stefan,
I don't know the answer to your problem unfortunately, however it's either that the a) v 3.0.3 doesn't work on Windows 2008 or b) something went wrong when you moved the application.
You could possibly download a 'clean' version of 3.0.3 from here http://code.leekelleher.com/umbraco/archive/ and see if that installs correctly.
Alternatively I guess you could look at upgrading the Umbraco install as 3.0.3 is pretty old, you should have a pretty clear upgrade path to 4.0.4.2.
Sorry I couldn't be more help, however hope this gives you some options.
Rich
Thanks Rich!
We ended up migrating back to the older server for now, since we knew it worked fine there.
Once we got everything stable on the old server again we'll try upgrading on the newer server like you suggested. Hopefully that'll solve our problems.
Regards,
Stefan Kästel
Hey Stefan,
Glad you got it working for now, post back if you have any problems during the upgrade.
Best of luck
Rich
is working on a reply...