No rights to report server bin folder

From: Bob (bdufour_at_sgiims.com)
Date: 09/10/05


Date: Sat, 10 Sep 2005 14:01:24 -0400

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: Driver verifier cause SYSTEM_SERVICE_EXCEPTION
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... a request that has a cancel routine assigned to it (e.g. you called ... > An exception happened while executing a system service routine. ...
    (microsoft.public.development.device.drivers)
  • Re: No rights to report server bin folder
    ... Did you grant the Machine\ASPNET account permissions to that folder? ... : 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: 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)
  • Re: Sql Reporting Serviced - > ASP.NET ACCESS DENIED!
    ... if you went to the server and used the browser on the server you would see ... 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)
  • Server Error in /Remote Application
    ... configuration file located in the root directory of the current web ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.IO.StreamWriter.CreateFile(String path, Boolean append) +55 ...
    (microsoft.public.windows.server.sbs)