내 dev 컴퓨터에 기존 .net 2.0 웹 사이트 사이트가 설정되어 있습니다. 나는 잘 작동하고있는 4.0 사이트를 개발 해왔다. 두 경우 모두 동일한 세션 db가 사용됩니다. 나는 2.0 사이트에 액세스하는 경우.net 4.0 및 .net 2.0과 함께 aspstate 사용
는이 오류를주는 작업에서 4.0 사이트를 중지 :
Unable to use SQL Server because either ASP.NET version 2.0 Session State is not installed on the SQL server, or ASP.NET does not have permission to run the dbo.TempGetVersion stored procedure. If the ASP.NET Session State schema has not been installed, please install ASP.NET Session State SQL Server version 2.0 or above. If the schema has been installed, please grant execute permission on the dbo.TempGetVersion stored procedure to either the ASP.NET application pool identity, or the Sql Server user specified in the sqlConnectionString attribute.
을 4.0 사이트가 2.0 사이트가로드 될 때까지 다시 작동하는 기계를 다시 시작한 후. IIS를 재설정해도 문제가 해결되지 않습니다. 지금까지 발견 한 유일한 방법은 컴퓨터를 다시 시작하는 것입니다.
4.0 사이트가 자체 응용 프로그램 풀을 사용하고 있으며 사이트는 다른 사용자를 사용하여 db에 연결합니다 (동일한 그룹의 일부 임에도 불구하고).
아무도 무슨 일이 일어나고 있는지 설명 할 수 있습니까?
내 [읽기] (http://sqlblog.com/blogs/aaron_bertrand/archive/2010/09/10/a-quick-workaround-to-a-misleading-aspstate-problem.aspx)에 따르면 아마도 그 저장 프로 시저를 생성하면됩니다. – billinkc