ASP.NET Session已经过期,为什么? [英] ASP.NET Session has expired, why ?

查看:412
本文介绍了ASP.NET Session已经过期,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个内部报告的aspx,在ide(VWD)中我可以看到页面和包含数据的报告。


当我在网站srv上部署页面时,我可以看到该页面,但报告中没有


数据,而是我在报告中看到一个错误,  ;错误是:


"ASP.NET会话已过期"


异常详细信息: Microsoft.Reporting.WebForms .AspNetSessionExpiredException:ASP.NET会话已经过期


可能是在ObjectDataSource中设置的东西,我用作


数据源ReportViewer?


我不知道该怎么做,如果有人有同样的问题,请帮助我。


Gioking


 


 


 


 

解决方案

如果您的网络服务器名称包含"_"你会看到这个奇怪的错误。尝试 http:// IPAddress / AppName



我有类似的错误并修复了它。


Hi,

I have an aspx with report inside, in the ide (VWD) I can see the page and the report with data on it.

When I deploy the page on the web srv I can see the page but without

data on the report, instead I see one error inside the report, the error is:

"ASP.NET Session has expired"

Exception Details: Microsoft.Reporting.WebForms.AspNetSessionExpiredException: ASP.NET session has expired

Maybe ther is something to set in the ObjectDataSource wich I use as

datasource of the ReportViewer ?

I don't know any more wath to do, please if somebody had same

problem, please help me.

Gioking

 

 

 

 

解决方案

If your webserver name contains "_" you will see this weird error. Try http://IPAddress/AppName.

 

I had the similar error and this fixed it.


这篇关于ASP.NET Session已经过期,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆