Sql Server 2008中的会话问题(R2) [英] Session Problem in Sql Server 2008 (R2)

查看:103
本文介绍了Sql Server 2008中的会话问题(R2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts,

当我尝试运行我的Web应用程序时,我收到如下错误:



由于ASP无法使用SQL Server SQL Server 2.0上没有安装.NET会话状态。请安装ASP.NET会话状态SQL Server 2.0或更高版本。



我已成功安装Sql Server State:



aspnet_regsql.exe -S MANISHPC \MANISHPC -ssadd -sstype c -d tempdb -E



然后我的网络应用程序运行没有错误,但是当我重启我的电脑我得到了同样的错误...



我该怎么办????

解决方案

< blockquote>你说它是否有效然后停止再重新开始?你可以连接到SQL Server吗?它在运行吗?您是否在SQL Server中看到了表和数据库?


如果重新启动计算机并再次发生错误,则问题可能是您的服务未设置为自动运行。登录时SQL未运行。


Hello Experts,
When I try to run my web application I get error like:

Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL server. Please install ASP.NET Session State SQL Server version 2.0 or above.

I Have installed Sql Server State successfully:

aspnet_regsql.exe -S MANISHPC\MANISHPC -ssadd -sstype c -d tempdb -E

then my web application run without error, but when I restart my computer I got the same error...

what should I do ????

解决方案

Are you saying it works and then stops and then starts again ? Can you connect to the SQL Server at all ? Is it running ? Do you see the tables and the DB in your SQL Server ?


If you restart your computer and the error happens again then the issue is very likely that your service is not set to run automatically. SQL is not running when you logon.


这篇关于Sql Server 2008中的会话问题(R2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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