When you use Data Dynamics Reports Web components such as the WebReportViewer, you may need to set permissions in order to enable them to function properly. Use the list below to determine whether your Web application requires special permissions.
![]() |
Note: In order to use Web components, you must have Internet Information Services installed and running. |
If your reports are in the Web project folder, you only need grant extra permissions in the following cases:
- If your report draws Access or XML data from a folder other than the Web project folder, you must grant Read permission for the data folder to the ASP.NET user for the session.
- If your report draws data from SQL Server, you must set up permissions on the server for the ASP.NET user for the session. For example, if you use a SELECT query, the user requires Select permission.
- If you set a TemporaryFolder in the config settings, to allow users to e-mail a report using the WebReportViewer's E-mail button, you need to grant Write permission to the ASP.NET user for the specified TemporaryFolder path.
If your reports are in a folder other than the Web project folder (i.e. C:\Reports), you also need to grant Read permission for the report folder to the ASP.NET user.
To set permissions for Web components
- Using Windows Explorer, navigate to the level above the folder containing the report.
- Right-click the folder and select Sharing and Security.
- On the Security tab, under Group or user names, select the ASP.NET Machine Account (MachineName\ASPNET). If this group is not in the list:
- Click the Add button to open the Select Users or Groups dialog.
- Click the Advanced button to expand it.
- Click the Find Now button, and in the results under Name (RDN), select ASPNET.
- Click the OK button to select the ASPNET user.
- Click the OK button to add the ASPNET user.

Note: MachineName/ASPNET is the default user name for Windows XP and 2000, but your Network Administrator may have changed this value and other operating systems have alternate default values. - Under Permissions for ASP.NET Machine Account, select the check box in the Allow column for any permissions required according to the table below.

Operating Under Medium Trust
Without making any changes, the WebReportViewer can operate under Full Trust, but full operation in a Medium Trust environment can also be enabled. To achieve this, a <trust> element needs added to the web application's Web.config file inside the <system.web> node:
<configuration>
<system.web>
<trust level="Medium"/>
</system.web>
</configuration>
Getting Started
Web Viewer