Re: No rights to report server bin folder

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 09/12/05


Date: Mon, 12 Sep 2005 11:18:25 +1000

Did you grant the Machine\ASPNET account permissions to that folder?

Cheers
Ken

-- 
IIS Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com
"Bob" <bdufour@sgiims.com> wrote in message 
news:evR3qGjtFHA.2392@tk2msftngp13.phx.gbl...
: Its on a WinXp Pro fully patched. I'm logged in as a user with domain
: administrator rights. The aspnet working process is running under the 
local
: systerm account. When I type http://localhost/reports I get the following
: error.
:
: I did the check outlined in the text and gave the IWAM_MachineName user 
full
: rights to the folder but I still get the same problem. This is the error
: info that shows up. I tried to get some help on the report server news 
group
: but got no useable answers. Maybe you folks can help. I'm at my wits end.
:
: Thanks for any help,
: Bob
:
:
: Server Error in '/Reports' Application.
: --------------------------------------------------------------------------------
:
: Access to the path "D:\Program Files\Microsoft SQL Server\MSSQL\Reporting
: Services\ReportManager\bin" is denied.
: 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.UnauthorizedAccessException: Access to the path
: "D:\Program Files\Microsoft SQL Server\MSSQL\Reporting
: Services\ReportManager\bin" is denied.
:
: ASP.NET is not authorized to access the requested resource. Consider
: granting access rights to the resource to the ASP.NET request identity.
: ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 
or
: Network Service on IIS 6) that is used if the application is not
: impersonating. If the application is impersonating via <identity
: impersonate="true"/>, the identity will be the anonymous user (typically
: IUSR_MACHINENAME) or the authenticated request user.
:
: To grant ASP.NET write access to a file, right-click the file in Explorer,
: choose "Properties" and select the Security tab. Click "Add" to add the
: appropriate user or group. Highlight the ASP.NET account, and check the
: boxes for the desired access.
:
: 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:
:
: [UnauthorizedAccessException: Access to the path "D:\Program 
Files\Microsoft
: SQL Server\MSSQL\Reporting Services\ReportManager\bin" is denied.]
:   System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
:   System.IO.Directory.InternalGetFileDirectoryNames(String fullPath, 
String
: userPath, Boolean file) +229
:   System.IO.Directory.InternalGetDirectories(String path, String userPath,
: String searchPattern) +24
:   System.IO.Directory.GetDirectories(String path, String searchPattern)
: +477
: 
Microsoft.ReportingServices.Diagnostics.Localization.GetInstalledCultures()
:   Microsoft.ReportingServices.Diagnostics.Localization..cctor()
:
: [TypeInitializationException: The type initializer for
: "Microsoft.ReportingServices.Diagnostics.Localization" threw an 
exception.]
: 
Microsoft.ReportingServices.Diagnostics.Localization.SetCultureFromPriorityList(String[]
: localeList)
:   Microsoft.ReportingServices.UI.GlobalApp.Application_BeginRequest(Object
: sender, EventArgs e)
: 
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
: +60
:   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
: completedSynchronously) +87
:
:
:
: --------------------------------------------------------------------------------
: Version Information: Microsoft .NET Framework Version:1.1.4322.2032; 
ASP.NET
: Version:1.1.4322.2032
:
: 


Relevant Pages

  • Re: .net user permissions in IIS
    ... The exception message has all the information you need to correct this ... You can right -click on the folder containing the resources where access is ... account, or add the needed account and grant it permission. ... the current web request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Security Exception Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
    ... by default the asp.net system account does not have network access, ... I am struggling with a website on a W2K3 server which has the actual ... Exception Details: System.Security.SecurityException: Request for the ...
    (microsoft.public.dotnet.framework.aspnet)
  • No rights to report server bin folder
    ... rights to the folder but I still get the same problem. ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.IO.Directory.GetDirectories(String path, String searchPattern) ...
    (microsoft.public.inetserver.iis.security)
  • Re: No rights to report server bin folder
    ... Run filemon from www.sysinternals.com and determine which account is being ... "Bob" wrote in message ... :>: current web request. ... :>: Exception Details: System.UnauthorizedAccessException: Access to the ...
    (microsoft.public.inetserver.iis.security)
  • Re: Sql Reporting Serviced - > ASP.NET ACCESS DENIED!
    ... using the browser on the same machine (server). ... An unhandled exception occurred during the execution of the ... >> granting access rights to the resource to the ASP.NET request identity. ... >> System.IO.Directory.GetDirectories(String path, String searchPattern) ...
    (microsoft.public.dotnet.framework.aspnet.security)