It has been quite good to use reportviewer for a while. Today, I published the site and tested it. The error page is displayed.
Baidu and Google are already on the go. There are probably the following solutions:
1. Add the following nodes to Web. config:
<Sessionstate mode = "inproc" cookieless = "true"> </sessionstate>
In this case, the value passing parameter is displayed in the URL.
2. Set asyncrendering of reportviewer to false.
However, when the automatic paging function of reportviewer is used in this method, the session process still occurs when the page jumps to the next page.
So I began to search. Finally, we got a satisfactory result:
It turns out that my host name contains "_". You only need to change it to an IP address or an underscore-free name.
Http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/thread/ca916bff-e996-41a2-b547-16542a298c39/