Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MVC Deployment url
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 6-Dec-11 0:10am
Edited 6-Dec-11 0:23am
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Looks like cookieless sessions. Check your web.config and make sure it reads something like:
 
<sessionState cookieless="false" />
  Permalink  
Comments
Mika Wendelius at 6-Dec-11 5:42am
   
OP's message from Solution 2:
"Amazingggggggggggggggggg !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks a lottttttttttt :)"
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Amazingggggggggggggggggg !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Thanks a lottttttttttt Smile | :)
  Permalink  
Comments
Mika Wendelius at 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)

  Print Answers RSS
0 BillWoodruff 300
1 Mathew Soji 274
2 Afzaal Ahmad Zeeshan 268
3 DamithSL 225
4 Sergey Alexandrovich Kryukov 205
0 OriginalGriff 6,249
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 3,865


Advertise | Privacy | Mobile
Web01 | 2.8.1411019.1 | Last Updated 6 Dec 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100