使用ASP.NET状态服务版本问题;状态服务1.1,网站3.5 [英] Problems with ASP.NET State Service version; state service is 1.1, website is 3.5

查看:107
本文介绍了使用ASP.NET状态服务版本问题;状态服务1.1,网站3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows Server 2003上运行的ASP.NET 3.5网站,我使用ASP.NET状态服务管理会话。这将显示为工作那么我经常得到一个错误说我的code需要有运行工作状态服务的2.0版本(我认为这就是它说,我暂时切换回存储会话是InProc)。刷新页面,该错误消失(对位,它必将回来)。

I have a ASP.NET 3.5 website running on Windows Server 2003 and I'm using the ASP.NET State Service to manage sessions. It will appear to be working then I regularly get an error saying my code needs to have version 2.0 of the State Service running to work (I think that's what it said, I've temporarily switched back to storing sessions InProc). Refresh the page and the error goes away (for a bit, it's bound to come back).

所以,我看着ASP.NET状态服务中的服务接口的属性和它的映射到一个.exe文件中的1.1框架文件夹:

So I looked at the properties of the ASP.NET State Service in the Services interface and it's mapping to a .exe in the 1.1 framework folder:

C:\\ WINDOWS \\ Microsoft.NET \\框架\\ V1.1.4322 \\ aspnet_state.exe的

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_state.exe

有一个在2.0框架文件夹对应的版本,但我不知道如何将其添加为新的服务。我也不能确定,添加2.0版本(和停止和/或删除版本1.1)会解决这个问题。

There's a corresponding version in the 2.0 framework folder, but I don't know how to add it as a new service. I'm also not sure that adding the 2.0 version (and stopping and/or removing the 1.1 version) will solve the problem.

预先感谢任何帮助任何人都可以提供。

Thanks in advance for any help anyone can provide.

米克

推荐答案

OK,找到了解决办法在其他地方,似乎已经奏效。几乎相同,上面的回答:

OK, found a solution somewhere else that appears to have worked. Almost the same as the above answer:


  • 转到.NET2.0目录命令提示符

  • 运行ASPNET_REGIIS -i -enable

  • 电脑坐在那里嚼一分钟,然后这一切似乎是工作。

我查了ASP.NET状态服务中的服务控制台,它现在指向.NET2.0版本(不是.NET1.1)。

I checked the 'ASP.NET State Service' in the Services console and it's now pointing to the .NET2.0 version (not the .NET1.1).

我这样做的唯一奇怪的事情可能会导致这种情况下是安装.NET3.5直接到了previously只安装了.NET1.1的盒子。我估计这将令.NET2.0在前进的道路上(这样的那样),但必须忘记对会议的事情。

The only strange thing I did that may have led to this scenario was to install .NET3.5 straight onto a box that previously only had .NET1.1 installed. I figured it would put .NET2.0 in along the way (which it kind of did), but must have forgotten about the session thing.

这篇关于使用ASP.NET状态服务版本问题;状态服务1.1,网站3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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