
May 7th, 2009, 12:46 PM
|
|
Registered User
|
|
Join Date: May 2009
Posts: 1
Time spent in forums: 45 sec
Reputation Power: 0
|
|
|
Troubleshooting - IIS issue: Access Denied
I am installing a .NET application on a client's server but they don't know much about IIS and neither do I.
I am having an access denied issue when browsing a recently installed website on a fresh .NET framework. The "%systemroot%\Microsoft.NET\Framework\v2.0.50727\Te mporary ASP.NET Files" folder appears to have the correct rights, I read that incorrect rights could be a reason for this issue. What else could it be ?
Code:
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.IO.FileLoadException: Could not load file or assembly 'Puerto' or one of its dependencies. Access Denied.
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 'Puerto' could not be loaded.
=== Pre-bind state information ===
LOG: User = NT AUTHORITY\Servicio de red
LOG: DisplayName = Puerto
(Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/CFDOCS/home/
LOG: Initial PrivatePath = C:\Inetpub\wwwroot\CFDOCS\home\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Inetpub\wwwroot\CFDOCS\home\web.config
LOG: Using host configuration file: \\?\c:\windows\microsoft.net\framework\v2.0.50727\ aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\conf ig\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/web/13c8581c/98ca4568/Puerto.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/web/13c8581c/98ca4568/Puerto/Puerto.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/CFDOCS/home/bin/Puerto.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.
Stack Trace:
[FileLoadException: Could not load file or assembly 'Puerto' or one of its dependencies. Acceso denegado.]
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) +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.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +32
[ConfigurationErrorsException: Could not load file or assembly 'Puerto' or one of its dependencies. Acceso denegado.]
System.Web.Configuration.CompilationSection.LoadAs semblyHelper(String assemblyName, Boolean starDirective) +596
System.Web.Configuration.CompilationSection.LoadAl lAssembliesFromAppDomainBinDirectory() +3479033
System.Web.Configuration.CompilationSection.LoadAs sembly(AssemblyInfo ai) +46
System.Web.Compilation.BuildManager.GetReferencedA ssemblies(CompilationSection compConfig) +177
System.Web.Compilation.BuildProvidersCompiler..cto r(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +180
System.Web.Compilation.ApplicationBuildProvider.Ge tGlobalAsaxBuildResult(Boolean isPrecompiledApp) +3446613
System.Web.Compilation.BuildManager.CompileGlobalA sax() +51
System.Web.Compilation.BuildManager.EnsureTopLevel FilesCompiled() +462
[HttpException (0x80004005): Could not load file or assembly 'Puerto' or one of its dependencies. Acceso denegado.]
System.Web.Compilation.BuildManager.ReportTopLevel CompilationException() +57
System.Web.Compilation.BuildManager.EnsureTopLevel FilesCompiled() +612
System.Web.Hosting.HostingEnvironment.Initialize(A pplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +456
[HttpException (0x80004005): Could not load file or assembly 'Puerto' or one of its dependencies. Acceso denegado.]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +3426839
System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +88
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +149
In the event viewer I see:
Tipo de suceso: Advertencia
Origen del suceso: ASP.NET 2.0.50727.0
Categoría del suceso: Web Event
Id. suceso: 1310
Fecha: 06-05-2009
Hora: 9:33:00
Usuario: No disponible
Equipo: DCPTOTALCAHUANO
Descripción:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 06-05-2009 9:33:00
Event time (UTC): 06-05-2009 13:33:00
Event ID: e5315b9436ea49baa2ad1acd7bca2185
Event sequence: 1
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/web-1-128860903786792754
Trust level: Full
Application Virtual Path: /web
Application Path: C:\Inetpub\wwwroot\CFDOCS\home\
Machine name: DCPTOTALCAHUANO
Process information:
Process ID: 4252
Process name: w3wp.exe
Account name: NT AUTHORITY\Servicio de red
Exception information:
Exception type: HttpException
Exception message: Could not load file or assembly 'Puerto' or one of its dependencies. Acceso denegado.
Request information:
Request URL: http://www.puertotalcahuano.cl/web/default.aspx
Request path: /web/default.aspx
User host address: 192.168.52.2
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\Servicio de red
|