Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 7th, 2009, 12:46 PM
Corobori Corobori is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 1 Corobori User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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
 

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Troubleshooting - IIS issue: Access Denied


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT