go to vs command prompt and type following ,if u r using Express Edition.
aspnet_regsql –E -S .\SQLEXPRESS –ssadd –sstype p
then a new data base will be created Name "AspState" which is used for
maintain session and your application.
//////for stateserver(out proc)
first goto control panel then admin services then start the
astnet state server ,,,,,,
after that type the following in web.config file.
sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424"
because your stater server is running on local host so the ip og state server is 127.0.0.1 an dthe port on which state servrer is running is 42424.....
No comments:
Post a Comment