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


When i am trying to deploy the MVC 3 application in the server i am getting an unwanted characters in the URL . I am not sure what is it. Also when i host the same application in another server it works fine.

obtained result
http://localhost/(S(igqi2tjoar3d5ebficlmpo3i))/

expected result
http://localhost

also when we navigation to some other action it comes like
http://localhost/(S(igqi2tjoar3d5ebficlmpo3i))/Home/Index

this happens for simple mvc3 application also.

Expecting your quick reply soon.
Posted
Updated 5-Dec-11 23:23pm
v3

Looks like cookieless sessions. Check your web.config and make sure it reads something like:

<sessionState cookieless="false" />
 
Share this answer
 
Comments
Wendelius 6-Dec-11 5:42am    
OP's message from Solution 2:
"Amazingggggggggggggggggg !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks a lottttttttttt :)"
Amazingggggggggggggggggg !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks a lottttttttttt :)
 
Share this answer
 
Comments
Wendelius 6-Dec-11 5:42am    
Instead of posting a new solution, use the "Have a Question or Comment?" on the original solution to send a message.

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