Compilation Error: CS0007 in Vista / IIS7

Topics: Developer Forum, Project Management Forum, User Forum
May 14, 2007 at 1:16 AM
I am getting an error durning first run of application.

fatal error CS0007: Unexpected common language runtime initialization error -- 'Access is denied. '

I cleared temp folder in framework 2.0.Users such ASPNET, NETWORK SERVICE, IIS_IUSRS have full access permissions, I also have reinstaled framework 2.0 still nothing..

Aplication works in local VWD development server thought.

any suggestions?

May 18, 2007 at 4:01 PM
Hello marcinf,

I'm using this software on Vista and IIS7: no problems at all. Anyway, since this is my local machine, I use to setup Everyone access to Full Control. Try this one: change security and set Full Control access to Everyone. If it works, it's a permissions problem and you only need to find out which user you need to give permissions to. If it doesn't work anyway, there must be something worse than that.

Hope this helps.
May 19, 2007 at 4:48 AM
Many Thanks,
I gave a full control to everyone on folders Temporary ASP.NET Files and my asp site folder, still nothing, but here what I noticed: when I run/debug application under VWD on its local server in Temporary ASP.NET Folder is creating temp folder named same as my application but if I call it from web browser or internet the folder named:root is creating and application is terminated with errors specified below:

Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b53db744\9bb0a088\assembly\dl3\35a9b5be\007c226ce0b0c601\AppLicenses.DLL" /R:"C:\Windows\assembly\GAC32\System.EnterpriseServices\2.0.0.0_b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GACMSIL\System.Design\2.0.0.0_b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\assembly\GACMSIL\System.Drawing\2.0.0.0_b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GACMSIL\System.Web.Services\2.0.0.0_b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC32\System.Data\2.0.0.0_b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GACMSIL\System.ServiceModel\3.0.0.0_b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GACMSIL\System\2.0.0.0_b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b53db744\9bb0a088\assembly\dl3\ee49a024\007c226ce0b0c601\RJS.Web.WebControl.PopCalendar.DLL" /R:"C:\Windows\assembly\GACMSIL\System.IdentityModel\3.0.0.0_b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC32\System.Web\2.0.0.0_b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GACMSIL\System.Xml\2.0.0.0_b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GACMSIL\System.Web.Mobile\2.0.0.0_b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GACMSIL\System.Runtime.Serialization\3.0.0.0_b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GACMSIL\System.Configuration\2.0.0.0_b03f5f7f11d50a3a\System.Configuration.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b53db744\9bb0a088\es\AppGlobalResources.nuiutuke.resources.dll" /D:DEBUG /debug+ /optimize- /res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b53db744\9bb0a088\resources.stringsres.es.resources" /w:4 /nowarn:1659;1699 "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b53db744\9bb0a088\AppGlobalResources.nuiutuke.es0.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.112
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

fatal error CS0007: Unexpected common language runtime initialization error -- 'Access is denied. '