473,587 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sql Reporting Serviced - > ASP.NET ACCESS DENIED!

Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000
PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a
report using the webbrowser, I get the following error, this happens only if
try access the report on the SERVER, it I try on my local machine, it works
just fine. Any help will be much appreciated.

Thanks in advance,
Fabian von Romberg
Server Error in '/Reports' Application.
----------------------------------------------------------------------------
----

Access to the path "C:\Archivo s de programa\Micros oft SQL
Server\MSSQL\Re porting Services\Report Manager\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.Unauthor izedAccessExcep tion: Access to the path
"C:\Archivo s de programa\Micros oft SQL Server\MSSQL\Re porting
Services\Report Manager\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}\ASPNE T 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="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) 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:

[UnauthorizedAcc essException: Access to the path "C:\Archivo s de
programa\Micros oft SQL Server\MSSQL\Re porting Services\Report Manager\bin" is
denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalGe tFileDirectoryN ames(String fullPath, String
userPath, Boolean file) +229
System.IO.Direc tory.InternalGe tDirectories(St ring path, String userPath,
String searchPattern) +24
System.IO.Direc tory.GetDirecto ries(String path, String searchPattern)
+477

Microsoft.Repor tingServices.Di agnostics.Local ization.GetInst alledCultures()
Microsoft.Repor tingServices.Di agnostics.Local ization..cctor( )

[TypeInitializat ionException: The type initializer for
"Microsoft.Repo rtingServices.D iagnostics.Loca lization" threw an exception.]

Microsoft.Repor tingServices.Di agnostics.Local ization.SetCult ureFromPriority L
ist(String[] localeList)
Microsoft.Repor tingServices.UI .GlobalApp.Appl ication_BeginRe quest(Object
sender, EventArgs e)

System.Web.Sync EventExecutionS tep.System.Web. HttpApplication +IExecutionStep .
Execute() +60
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +87


Aug 9 '05 #1
4 3900
if you went to the server and used the browser on the server you would see
it work. if you accessed you dev box from another it would fail. this is the
standard no creditials forwarding issue. set a domain account and password
in the web config.

-- bruce (sqlwork.com)
"Fabian von Romberg" <fr*********@ho tmail.com> wrote in message
news:Op******** ******@TK2MSFTN GP09.phx.gbl...
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000
PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a
report using the webbrowser, I get the following error, this happens only
if
try access the report on the SERVER, it I try on my local machine, it
works
just fine. Any help will be much appreciated.

Thanks in advance,
Fabian von Romberg
Server Error in '/Reports' Application.
----------------------------------------------------------------------------
----

Access to the path "C:\Archivo s de programa\Micros oft SQL
Server\MSSQL\Re porting Services\Report Manager\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.Unauthor izedAccessExcep tion: Access to the path
"C:\Archivo s de programa\Micros oft SQL Server\MSSQL\Re porting
Services\Report Manager\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}\ASPNE T 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="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) 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:

[UnauthorizedAcc essException: Access to the path "C:\Archivo s de
programa\Micros oft SQL Server\MSSQL\Re porting Services\Report Manager\bin"
is
denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalGe tFileDirectoryN ames(String fullPath,
String
userPath, Boolean file) +229
System.IO.Direc tory.InternalGe tDirectories(St ring path, String userPath,
String searchPattern) +24
System.IO.Direc tory.GetDirecto ries(String path, String searchPattern)
+477

Microsoft.Repor tingServices.Di agnostics.Local ization.GetInst alledCultures()
Microsoft.Repor tingServices.Di agnostics.Local ization..cctor( )

[TypeInitializat ionException: The type initializer for
"Microsoft.Repo rtingServices.D iagnostics.Loca lization" threw an
exception.]

Microsoft.Repor tingServices.Di agnostics.Local ization.SetCult ureFromPriority L
ist(String[] localeList)
Microsoft.Repor tingServices.UI .GlobalApp.Appl ication_BeginRe quest(Object
sender, EventArgs e)

System.Web.Sync EventExecutionS tep.System.Web. HttpApplication +IExecutionStep .
Execute() +60
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +87

Aug 9 '05 #2
Hi Bruce, thanks for your reply. Actually I get the error "access denied"
using the browser on the same machine (server). I have read carefully the
whole error message, but ASP.NET account is not listed as a USER. So I have
read this article:
http://msdn.microsoft.com/library/de...us/secmod/html
/secmod15.asp to create the account, but still get the error message.

Your help will be appreciated.

Thanks and Regards,
Fabian
"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:ef******** ******@TK2MSFTN GP12.phx.gbl...
if you went to the server and used the browser on the server you would see
it work. if you accessed you dev box from another it would fail. this is the standard no creditials forwarding issue. set a domain account and password
in the web config.

-- bruce (sqlwork.com)
"Fabian von Romberg" <fr*********@ho tmail.com> wrote in message
news:Op******** ******@TK2MSFTN GP09.phx.gbl...
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a
report using the webbrowser, I get the following error, this happens only if
try access the report on the SERVER, it I try on my local machine, it
works
just fine. Any help will be much appreciated.

Thanks in advance,
Fabian von Romberg
Server Error in '/Reports' Application.


--------------------------------------------------------------------------

--
----

Access to the path "C:\Archivo s de programa\Micros oft SQL
Server\MSSQL\Re porting Services\Report Manager\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.Unauthor izedAccessExcep tion: Access to the path "C:\Archivo s de programa\Micros oft SQL Server\MSSQL\Re porting
Services\Report Manager\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}\ASPNE T 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="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) 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:

[UnauthorizedAcc essException: Access to the path "C:\Archivo s de
programa\Micros oft SQL Server\MSSQL\Re porting Services\Report Manager\bin" is
denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalGe tFileDirectoryN ames(String fullPath,
String
userPath, Boolean file) +229
System.IO.Direc tory.InternalGe tDirectories(St ring path, String userPath, String searchPattern) +24
System.IO.Direc tory.GetDirecto ries(String path, String searchPattern)
+477

Microsoft.Repor tingServices.Di agnostics.Local ization.GetInst alledCultures() Microsoft.Repor tingServices.Di agnostics.Local ization..cctor( )

[TypeInitializat ionException: The type initializer for
"Microsoft.Repo rtingServices.D iagnostics.Loca lization" threw an
exception.]

Microsoft.Repor tingServices.Di agnostics.Local ization.SetCult ureFromPriority L ist(String[] localeList)
Microsoft.Repor tingServices.UI .GlobalApp.Appl ication_BeginRe quest(Object sender, EventArgs e)

System.Web.Sync EventExecutionS tep.System.Web. HttpApplication +IExecutionStep . Execute() +60
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +87


Aug 9 '05 #3
so did not read the error message close. the error message say that asp.net
does not have access to C:\Archivos de programa\Micros oft SQL
Server\MSSQL\Re porting Services\Report Manager\bin" directory.

check that it exists, and access is granted.

-- bruce (sqlwork.com)

"Fabian von Romberg" <fr*********@ho tmail.com> wrote in message
news:ON******** ******@TK2MSFTN GP09.phx.gbl...
Hi Bruce, thanks for your reply. Actually I get the error "access denied"
using the browser on the same machine (server). I have read carefully the
whole error message, but ASP.NET account is not listed as a USER. So I
have
read this article:
http://msdn.microsoft.com/library/de...us/secmod/html
/secmod15.asp to create the account, but still get the error message.

Your help will be appreciated.

Thanks and Regards,
Fabian
"Bruce Barker" <br************ ******@safeco.c om> wrote in message
news:ef******** ******@TK2MSFTN GP12.phx.gbl...
if you went to the server and used the browser on the server you would
see
it work. if you accessed you dev box from another it would fail. this is

the
standard no creditials forwarding issue. set a domain account and
password
in the web config.

-- bruce (sqlwork.com)
"Fabian von Romberg" <fr*********@ho tmail.com> wrote in message
news:Op******** ******@TK2MSFTN GP09.phx.gbl...
> Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 > PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a
> report using the webbrowser, I get the following error, this happens only > if
> try access the report on the SERVER, it I try on my local machine, it
> works
> just fine. Any help will be much appreciated.
>
> Thanks in advance,
> Fabian von Romberg
>
>
> Server Error in '/Reports' Application.


--------------------------------------------------------------------------

--
> ----
>
> Access to the path "C:\Archivo s de programa\Micros oft SQL
> Server\MSSQL\Re porting Services\Report Manager\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.Unauthor izedAccessExcep tion: Access to the path > "C:\Archivo s de programa\Micros oft SQL Server\MSSQL\Re porting
> Services\Report Manager\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}\ASPNE T 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="tr ue"/>, the identity will be the anonymous user
> (typically
> IUSR_MACHINENAM E) 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:
>
> [UnauthorizedAcc essException: Access to the path "C:\Archivo s de
> programa\Micros oft SQL Server\MSSQL\Re porting Services\Report Manager\bin" > is
> denied.]
> System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
> System.IO.Direc tory.InternalGe tFileDirectoryN ames(String fullPath,
> String
> userPath, Boolean file) +229
> System.IO.Direc tory.InternalGe tDirectories(St ring path, String userPath, > String searchPattern) +24
> System.IO.Direc tory.GetDirecto ries(String path, String searchPattern)
> +477
>
> Microsoft.Repor tingServices.Di agnostics.Local ization.GetInst alledCultures() > Microsoft.Repor tingServices.Di agnostics.Local ization..cctor( )
>
> [TypeInitializat ionException: The type initializer for
> "Microsoft.Repo rtingServices.D iagnostics.Loca lization" threw an
> exception.]
>
> Microsoft.Repor tingServices.Di agnostics.Local ization.SetCult ureFromPriority L > ist(String[] localeList)
> Microsoft.Repor tingServices.UI .GlobalApp.Appl ication_BeginRe quest(Object > sender, EventArgs e)
>
> System.Web.Sync EventExecutionS tep.System.Web. HttpApplication +IExecutionStep . > Execute() +60
> System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
> completedSynchr onously) +87
>
>
>
>



Aug 10 '05 #4
Could you have cross-posted on more groups? Zowie!

Anyway, I just saw this error this evening on another app.

If you access your web app from a browser on the server, then the
credentials of the accessing user will be used, even if Impersonate is set
to true. Accessing from the client will respect the impersonation options
for ASP.Net. I'm sure that there is some secret config setting to change
this behavior, and perhaps, someday, I'll stumble on it. Until then...

The account you are logging in to when on the server doesn't have the
appropriate access. When accessing from the client, it is using a different
account, one with the appropriate permissions.

Tell me: do you have anonymous access or Windows Authentication?
In the web.config file, do you have <Impersonate> set to True? Are you
providing an account in the tag?

(I'll guess your answers: Windows auth, Impersonate = True, and you are
providing an account.) If that is the case, then the account you provided
in the impersonate tag has the correct permissions, but your login account
on the server does not.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Fabian von Romberg" <fr*********@ho tmail.com> wrote in message
news:Op******** ******@TK2MSFTN GP09.phx.gbl...
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000
PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a
report using the webbrowser, I get the following error, this happens only
if
try access the report on the SERVER, it I try on my local machine, it
works
just fine. Any help will be much appreciated.

Thanks in advance,
Fabian von Romberg
Server Error in '/Reports' Application.
----------------------------------------------------------------------------
----

Access to the path "C:\Archivo s de programa\Micros oft SQL
Server\MSSQL\Re porting Services\Report Manager\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.Unauthor izedAccessExcep tion: Access to the path
"C:\Archivo s de programa\Micros oft SQL Server\MSSQL\Re porting
Services\Report Manager\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}\ASPNE T 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="tr ue"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAM E) 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:

[UnauthorizedAcc essException: Access to the path "C:\Archivo s de
programa\Micros oft SQL Server\MSSQL\Re porting Services\Report Manager\bin"
is
denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalGe tFileDirectoryN ames(String fullPath,
String
userPath, Boolean file) +229
System.IO.Direc tory.InternalGe tDirectories(St ring path, String userPath,
String searchPattern) +24
System.IO.Direc tory.GetDirecto ries(String path, String searchPattern)
+477

Microsoft.Repor tingServices.Di agnostics.Local ization.GetInst alledCultures()
Microsoft.Repor tingServices.Di agnostics.Local ization..cctor( )

[TypeInitializat ionException: The type initializer for
"Microsoft.Repo rtingServices.D iagnostics.Loca lization" threw an
exception.]

Microsoft.Repor tingServices.Di agnostics.Local ization.SetCult ureFromPriority L
ist(String[] localeList)
Microsoft.Repor tingServices.UI .GlobalApp.Appl ication_BeginRe quest(Object
sender, EventArgs e)

System.Web.Sync EventExecutionS tep.System.Web. HttpApplication +IExecutionStep .
Execute() +60
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +87

Aug 10 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1686
by: Stan | last post by:
Here is my scenario: Web server ------------ Framework 1.1 Application proxy for the serviced component Component server ------------------- Framework 1.0
0
1605
by: Oliver | last post by:
hi - I have a written a "Serviced Component" which works fine when declared as: but I am seeing an 'Access Denied' exception when I declare it as: this is probably something to do with Roles etc, but I'm clueless ;)
0
1691
by: Oliver | last post by:
> I am seeing an 'Access Denied' exception when using a "Server" "Serviced Component" >> ..are...registered in the GAC ? yes. >> ..are...the parameters serializable? um - parameters? - the method parameters? - yes think so - there's only one and it's a 'string' here's an example class that illustrates the problem:
0
1321
by: Ed S | last post by:
I have an ASP.NET application running and am trying to get the module information for this process (the aspnet_wp.exe process I assume) The call to System.Diagnostics.Process.get_Modules() is returning an "Access is denied" error. Does anyone have any idea why? The stack trace is as follows: at...
7
4767
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the error occurs in both installations. When I do a compile/build of my app and go to the browser and hit reload there comes an error:
4
1470
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following error, this happens only if try access the report on the SERVER, it I try on my local machine, it works just fine. Any help will be much appreciated....
1
1551
by: markeboy | last post by:
I want to be able to call a web service using integrated windows authentication from a serviced component? The COM+ application is configured to use a domain account, however, I get an access denied error message from the webservice unless I turn on the anonymous login in the config file for the service. Note, the original web application...
0
1089
by: =?Utf-8?B?Sm9uYXRoYW4=?= | last post by:
Hi, we have a number of clients that range from corporates to single users. Currently our applications are written in MS Access. However the corporates are requesting that we migrate to dot Net and MS SQL. One of the advantages of MS Access is the built-in reporting capability. My question is what reporting tool can you suggest that can be...
0
5340
by: bharathreddy | last post by:
In .Net COM+ components are referred to as serviced components, Namespace: System.EnterpriseServices; Advantage of Serviced Components: object pooling, database connection pooling,
0
7849
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8347
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.