Invalid access to memory location exceptions under VISTA SP1?

scottwade's picture

Any known issues with VISTA SP1 and building the solution? Everything is runs great on our XP workstations and on Windows 2003 Server for the deployed web app, however, on the VISTA SP1 machines after the build, I'm immediately getting a runtime exception thrown at FirstRequestInit on the HttpContext (every time).

Validating Web Site
(0): Build (web): Invalid access to memory location. (Exception from HRESULT: 0x800703E6)

The stack trace (bottom of this post) and indicators in VS2008 -- which is also installed on the XP workstations all targeting the 2.0 framework and work without problems -- state:

ASP.NET runtime error: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)

I've installed fresh multiple times, adjusted configurations finally in IIS mutiple ways, checked and re-checked the permissions, etc., and this exception gets thrown every time, under every valid configuration under VISTA SP1 -- even with Cassini instead of IIS. I've tried it without the latest patches for v4.4 and with them, same issue.

Anyone else encounter this problem, or is it "my machine" specific? Suggestions, pointers?

Stack Trace:

Server Error in '/znode' Application.
--------------------------------------------------------------------------------

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) +54
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

[ConfigurationErrorsException: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +211
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378

[HttpException (0x80004005): Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644

[HttpException (0x80004005): Invalid access to memory location. (Exception from HRESULT: 0x800703E6)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465475
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434

admin's picture

Vista SP1 Patch

We have published a patch for Vista SP1. You can read more about this patch at http://kb.znode.com/KB44VISTASP1.

Znode Administrator
email: support@znode.com
url: www.znode.com

scottwade's picture

SP1 as I suspected.

That's what I suspected that is was Vista SP1 specific... not really a problem because I mainly use one machine with XP and the other has VISTA with no SP1...and I'll just continue to use those...until the issue is resolved.

Thanks for the quick response...

admin's picture

Vista SP 1

At this time there is an issue with Vista SP1. We are currently working on a fix for this. Until we can release a patch you option is to back out the SP1 update.

If you would like to receive notification when this patch is ready please submit a support ticket on the znode.com site requesting the patch. This will of course not count as a support incident.

Znode Administrator
email: support@znode.com
url: www.znode.com

greencmg's picture

RE: Invalid access to memory location exceptions under VISTA SP1

I updated my Vista to SP1 today 4/10/08 -- I also am receiving the same error.