To overcome the error used following steps:-
1. Go to Central Admin à Application Management à Configure Session State à enabled session state.
2. From a command prompt, navigate to the Microsoft.NET 2.0 Framework directory(C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG).
3. Open web.config file and modified as follows:-
4. Uncomment the line:- <add name=”Session” type=”System.Web.SessionState.SessionStateModule” />
5. Modified the line:- <pages /> to <pages enableSessionState=”true” … />
6. From a command prompt:- change c:\Documents and setting… to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
7. Run the command:- aspnet_regsql.exe -S <server_name> -d <database_name> -ssadd -sstype c -E
8. Where server name = is the database server where your database is located (Mentioned in error page).
9. Where database name = is the content database of your shared services provider(Mentioned in error page.
10. Make IISReset.
No comments:
Post a Comment