Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis security > september 2005 >

iis security : No rights to report server bin folder


Bob
9/10/2005 2:01:24 PM
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

Ken Schaefer
9/11/2005 12:00:00 AM
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


[quoted text, click to view]
: 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
:
:

Bob
9/12/2005 12:00:00 AM
Because I am in an AD, it is not possible to grant machine\aspnet account
permissions to that folder, whenever I try I can only obtain the
Domain\aspnet account. When trying to enter machine\aspnet account manually
by typing it does not get recognized and the Domain\aspnet account is
substituted automatically. I have tried to do precisely that in many
different weays but I just always can give the domain/ASPNET permissions to
that folder.


Bob

[quoted text, click to view]

Bob
9/12/2005 12:00:00 AM
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

[quoted text, click to view]

Ken Schaefer
9/13/2005 12:00:00 AM
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


[quoted text, click to view]
: 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
:
[quoted text, click to view]
: > 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
: >
: >
[quoted text, click to view]
: > : 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
: > :
: > :
: >
: >
:
:

AddThis Social Bookmark Button