After installing and configuring RS June CTP, when attempting to deploy a new report or when browsing http://localhost/reports
I'm getting error:
Error 1 Server was unable to process request. > Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\TEMP\9a1mhqzb.0.cs' could not be found error CS2008: No inputs specified
Probably ASP.net does not have permissions to the asp.net temporrary files folder.
Try running "aspnet_regiis.exe -ga <username>" from the Windows\Microsoft.Net\Framework\v2.xxxx folder where <username> is replaced with the account that asp.net is to run under. This would mean it is the account set for report server virtual directory application pool (default is Network Service).
-Lukasz|||Hi,
I am having same problem. I tried the solution that Lukasz suggested. i.e. I executed aspnet_regiis.exe -ga "NT AUTHORITY\NETWORK SERVICE" from the command prompt and tried to deploy the report as well as browse http://localhost/Reports and I am still getting CS2001 and CS2008 errors.
How do I find which account is set for report server virtual directory app pool?
I have just used default installation of SQL Server 2005 so I thought NETWORK SERVICE would work. Any ideas?
Regards,
Ketan|||just simply go to c: > windows > temp
right clik and click on properties > Security >
here Click on Add and find out the ASP.Net user, add and then allow full control
and now Debug and run your application again.
it will (Insha Allah) work if this is the problem....enjoy|||You're right this is caused by the permissions on the windows temp folder. You should only need to grant Read, Write, Modify, and Delete, rather than full control.
-Lukasz|||I had a similar issue, but had to add the NETOWRK SERVICE account with the same privileges to the windows\temp directory.|||
This is sometimes required as a manual step when using SQL Server 2000 Reporting Services.
When using SQL 2005 RS, you should be able to use the aspnet_regiss -ga command to grant sufficient rights to the appropriate account.
[revision] Based on comments lower in the thread: You need to ensure the report server has access to the windows\temp folder on the report server computer.
-Lukasz
|||
I tried all three solutions and am still seeing the error. I am using a domain account.
1) aspnet_regiis -ga testdomain\myalias, "NETWORK SERVICE", and "ASPNET"
2) Gave both the ASPNET user and the NETWORK SERVICE Full Control over my C:\WINNT\Temp folder (where the error is showing up)
3) Restarted my application, and still I get the same error.
Could my user context have anything to do with this?
|||
Ok, found out my mistake. This is happening on the web server, not my client where I'm running my test application. Duh... Adding the correct permissions to the C:\Winnt\temp folder on the IIS server did the trick.
Thanks for the 411 everyone.
|||
I also had an similar issue after installation of Microsoft SQL Server 2005 Express Edition with SP1 (needed for Symantec Backup Exec) on an Windows Server 2003 R2 with SP2.
The error at my environement was, that WSUS dont work and displays the CS2001 & CS2008 errors.
It works now fine after given the Network Service Account the standard rights which Windows adds when the Account is added to the list of users in security page.
|||This is an OLD post but I think I'll try anyways...Now I'm getting this error...seems to be server related, not client. Can you let me know the 'minimum' permissions you applied to C:\windows\temp for this? This server is in production so I dont want to jeopardize anything currently running...thanks!