Today, I want to change the server of the Reporting Service. When I set the server in vs2005, I found a problem:
Connection cocould not be made the Report Server.
At the beginning, I first thought of some connection problems, but I had been doing well before... so I ruled out this possibility.
Next I am thinking, if the connection is correct, it must be a server configuration problem.
Then, I enter the IIS configuration of the Reporting Service server for browsing. An error is displayed, which is roughly as follows:
The current identity (XXX \ ASPnet) does not have write access to 'C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files '.
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.
In this step, the scope of the problem is reduced a lot. (User permission)
Then I went to the C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET Files folder and found that the folder did not have the permission to add network service or iis_wpg.
Well, in this step, I can basically conclude that this is the problem, and then I will add NetworkService TO THE iis_wpg group users, and assign accessible permissions to this folder ~~~
Then debug and deploy. Everything is okay ~~~~~~~~~