Re: No rights to report server bin folder

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


Date: Wed, 14 Sep 2005 13:38:32 +1000

Run filemon from www.sysinternals.com and determine which account is being
denied access to the file in question

Cheers
Ken

-- 
IIS Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com
"Bob" <bdufour@sgiims.com> wrote in message 
news:eiwXr96tFHA.1028@TK2MSFTNGP12.phx.gbl...
: Sorry, mispoke. The answer is Yes. On this machine the machine/aspnet
: account has full privilegesd to that folder. The previous answer applied 
to
: another test that I ran on another machine forget that one. On this one,
: answer is definitely Yes.!
:
: Sorry for inconvenience,
: Bob
:
: "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
: news:Og5FpeztFHA.204@TK2MSFTNGP10.phx.gbl...
: > 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)
  • 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: Problem with Windows 2003 Server Security Settings + ASP.NET Web App
    ... I thought I'd tried adding a different account before and it hadn't ... thanks again for the KB article link. ... >> granting access rights to the resource to the ASP.NET request identity. ... Information regarding the origin and location of the exception ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Sample Logon Script
    ... > Re-entered push account and here is some of the CCM.log ... > Submitted request successfully SMS_CLIENT_CONFIG_MANAGER ... > name "ZRWKSHYMAN", in queue "Processing". ... > ---> Trying each entry in the SMS Client Remote ...
    (microsoft.public.sms.admin)