cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the Default path for the Report Viewer's temp directory

Former Member
0 Kudos

Hi,

we are using the report viewer on thin client machine with no hard-drive.

Is there any way to change the default path of the viewer's temp directory to another path?

(for instance - map it to a network drive)

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dana,

If you are talking about the c:\Windows\Team directory where Crystal creates the temporary rpt files before displaying the report then you need to change the system's default Temp directory location so that all the application can reflect to the changes as this configuration is taken by Crystal from the system.

Hope that helps.

Regards,

AG.

Answers (3)

Answers (3)

former_member208657
Active Contributor
0 Kudos

The temp file location used with the CrystalReportViewer control for the web can be changed through the registry. This might work in your case too.

- Open the registry editor by going to Start > Run. Type in regedit.exe

- Click OK

- Navigate to HKLM\SOFTWARE\Crystal Decisions\11.5\Report Application Server\Viewer

- If this key does not exist you will need to create it.

- Create a new string value called CrystalImageDir. Then, set the value to a new location for the temporary image files.

- This can be another location on the server, or a UNC file server.

- If this is a secure environment you'll need to make sure the Network Service or ASPNET account has access to the file server.

Former Member
0 Kudos

did not help..

Former Member
0 Kudos

Hi,

See if this helps,

1. Right click on My Computer and click on Properties. In the resulting dialog click on the Advanced tab

2. Click on the button near the bottom labeled Environment Variables

3.You may see both TMP and TEMP listed in the section labeled User variables for (account). That's the common location; each different login account is assigned its own temporary location.

4.You may see both TMP and TEMP listed in the section labeled User variables for (account). That's the common location; each different login account is assigned its own temporary location.

Personally, I prefer to have a single location for the entire system. So if TMP and TEMP are present in the top list, I click on each and then click on Delete. However you can simply edit them, as we're about to edit the System copies, if you prefer

5.If you scroll down in the bottom list labeled System Variables you'll find TMP and TEMP again. Click on one, and then press the Edit button:

6.In the Variable value: edit box you can now specify a path to a directory that Windows and many other programs should use for temporary files

Please let us know the updates.

Thanks,

Prasad Kanchan

Former Member
0 Kudos

Hi Dana.

Since you are using the thin clients, you will need to make changes on the main server. In such scenario kindly make sure that you have administrative permissions on that server to make changes in the Environment Variables os the system

Ranjeet.