Click here to Skip to main content
11,485,564 members (73,783 online)
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 Sergey Alexandrovich Kryukov 8,819
1 OriginalGriff 8,047
2 Sascha Lefèvre 3,199
3 Maciej Los 2,886
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 6 Dec 2011
Copyright © CodeProject, 1999-2015
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