Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have hosted my asp.net 2.0 project in a general webserver where we have found a lot of problem like session expiry, view state, machine key etc. To execute my project on such server I had to do configuration which is required for asp.net project running on web farm. so I thought my server could be web farm.

But the server guy has confirmed that they have not done any cofiguration for web farm and they say its a simple web server.

I am totally confused if my server is not web farm then why its need configuration like web farm. why my code is not running there.

Any body can suggest me whats wrong I am doing.

Any help would be highly appriciable.

Thanks
Rohit
Posted

Who told you to configure it that way ? It sounds like your problem are with your web host, and not with your code. I don't see a question here that is able to be answered.
 
Share this answer
 
Look at your 'SessionState' value set in your web application in Web.config file. Is that 'Inproc'?

What is the session timeout set in web.config or in IIS? Check all the configurations in Web.config and IIS to get whats causing it.
 
Share this answer
 
Thanks for your replies guys. sorry I communicating as an answer.

Initially I set the sessionMode to "InProc" in web.config, but I had to change it to stateserver when I got the problem of session expiry, beyond this I was also getting error messages which mostly occur when you host your website in web farm environment that's why I made the changes like web farm.

I am really confused where should ask this question
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900