Login
Register
07-02-2012

Resources for the DotNetNuke Community


Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  DotNetNuke Development  Templates  Help regarding ...
 Help regarding DNN solution deployment
 
imgOfflineccflau
3 posts
Joined
2/15/2006

Help regarding DNN solution deployment
Posted: 11 Mar 06 8:54 AM

Hi Lee and others,

this could be an .net issue but since this never happened to my other applications, i kinda wondering...

i have a VS2005 VB.NET DNN web application. in my machine, i could compile and browse through it by calling out http://localhost/MyDev/

after the development is finished, from VS2K5, i used Publish website feature and published the website to http://machine_ip/MyPublish/  , VS automatically created a virtual directory for me in IIS for MyPublish, and published all the .dll and necessary .aspx files there. HOWEVER, when i run the publishing website, i found it is still pointing to http://localhost/MyDev/ and the worse part it, no matter what someone tried (http://machine_ip/MyPublish/ or http://machine_ip/MyDev/ ) it still got routed back to http://localhost/MyDev and of course, for a client who tried to go to this published website from another machine, site can't be found as the browser would look at localhost....

what did i do wrong and where should i examine?

thank you very much in advance.

imgOfflinednnjungle
151 posts
5th
Joined
3/13/2005

Re: Help regarding DNN solution deployment
Posted: 12 Mar 06 1:30 AM
Not sure what Lee are you calling... I'm Vicenç :)
Back to issue:

When you deploy a dnn to a production server you need to adjust the connectionstring on the web.config to point to the new db (in cause the db is also on a different server).

If just the web is moved then you need to adjust the new url for the portal on the PortalAlias table on the database. Change the old url you'll find there to the new one and restart the app.

What is happening now is dnn reads the old url from that table and automatically redirects you to the old site.

Disgrafic.com
  DotNetNuke Development  Templates  Help regarding ...
© Vicenç Masanas Terms Of Use Privacy Statement   
.