I have an MVC3 web application and a second Dynamic Data website used for data administration. I want a link from the MVC3 to the Dynamic Data site, and have created the code which will redirect it. At the moment it looks like this,
string url = http://localhost:4189/WebAdmin/%3Fun3Dmyusername%3D353494271.949838
since in development I have hard coded the path "http://localhost:4189/WebAdmin/%
" into my web config. The problem is that when I call Response.Redirect(url) I get the YellowScreenOfDeath with the above error (in subject).
Should I use somethign besides Response.Redirect()?