From: Pablo A. Allois on
Hi!



We have a problem with IIS 7.5 and ReportViewer.



We have a Windows 2008 R2 server with hosting accounts running on the same
application pool with .NET Framework 3.5. The user files are in a share with
DFS. The user applications are in ASP.NET impersonated with the active
directory hosting user, who has full control over his files in the share.



When we try to run a ReportViewer report on this configuration an error like
this occurs:





Server Error in '/Sistema' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.



Parser Error Message: An error occurred loading a configuration file: Access
to the path
'\\hmfsw\web\dtcwin008\gastronomiaempresarial.com.mx\public_html\Sistema\web.config'
is denied.



Source Error:



[No relevant source lines]

Source File:
\\fileshare\web\server\domain.com.ar\public_html\Sistema\web.config Line:
0

Version Information: Microsoft .NET Framework Version:2.0.50727.4927;
ASP.NET Version:2.0.50727.4927





When we use filemon we can see an access denied on the web.config file for
the application pool user (Network Service).



Some solutions are:

-Assign permissions for the machine account on the web.config file (because
the network service user is not available on the share).

-Create an application pool running with the user's account and assign this
to the site.





We want to impersonate the user's application and report viewer with his
account without using any of this two solutions.



Anyone resolve something like this with report viewer?





Saludos!


From: Pablo A. Allois on
This was fixed adding de correct assemblies of reporting services to the bin
folder of the user..


"Pablo A. Allois" <pablo-listas(a)allois.com.ar> wrote in message
news:%23n1hwph5KHA.1932(a)TK2MSFTNGP05.phx.gbl...
> Hi!
>
>
>
> We have a problem with IIS 7.5 and ReportViewer.
>
>
>
> We have a Windows 2008 R2 server with hosting accounts running on the same
> application pool with .NET Framework 3.5. The user files are in a share
> with DFS. The user applications are in ASP.NET impersonated with the
> active directory hosting user, who has full control over his files in the
> share.
>
>
>
> When we try to run a ReportViewer report on this configuration an error
> like this occurs:
>
>
>
>
>
> Server Error in '/Sistema' Application.
>
> Configuration Error
>
> Description: An error occurred during the processing of a configuration
> file required to service this request. Please review the specific error
> details below and modify your configuration file appropriately.
>
>
>
> Parser Error Message: An error occurred loading a configuration file:
> Access to the path
> '\\hmfsw\web\dtcwin008\gastronomiaempresarial.com.mx\public_html\Sistema\web.config'
> is denied.
>
>
>
> Source Error:
>
>
>
> [No relevant source lines]
>
> Source File:
> \\fileshare\web\server\domain.com.ar\public_html\Sistema\web.config
> Line: 0
>
> Version Information: Microsoft .NET Framework Version:2.0.50727.4927;
> ASP.NET Version:2.0.50727.4927
>
>
>
>
>
> When we use filemon we can see an access denied on the web.config file for
> the application pool user (Network Service).
>
>
>
> Some solutions are:
>
> -Assign permissions for the machine account on the web.config file
> (because the network service user is not available on the share).
>
> -Create an application pool running with the user's account and assign
> this to the site.
>
>
>
>
>
> We want to impersonate the user's application and report viewer with his
> account without using any of this two solutions.
>
>
>
> Anyone resolve something like this with report viewer?
>
>
>
>
>
> Saludos!
>
>