Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN deployed from Visual Studio Problem.DNN deployed from Visual Studio Problem.
Previous
 
Next
New Post
11/7/2006 4:15 PM
 
Hi,

We have installed the Starter kit on our laptop running Windows XP and Visual Studio 2005.

Our DNN portal runs fine.

The Visual Studio project name for our portal is, emgovpowerportal. The reason for telling you this will be explained below.

The only changes made to the DNN project was the web.config file. In the future we want to be able to do more advance things.

I used the publish web site command from Visual Studio to publish the DNN site to our production web server.

The virtual directory on our production web server is part of our main web site.

www.emgovpower.com/portal

The portal directory is the name of the virtual directory that DNN was published to.

The portal virtual directory on the production web server is set up to use ASP.NET 2.0. The parent directory

www.emgovpower.com is set up to use ASP.NET 1.1.

Also, I had to set up a separate Application Pool for the DNN portal since it uses a different version of ASP.NET. I did set the DNN portal IIS properties to use the new application pool, DotNetNuke. The others use the DefaultAppPool.

When I attempt to browse to the www.emgovpower.com/portal site from my computer I'm redirected to :

http://localhost/emgovpowerportal

How would a published web site on my production server know the Visual Studio Project name, emgovpowerportal and attempt to redirect me to the /localhost/emgovpowerportal? This does not make any sense to me. I also get a 404 error.

When I attempt to browse to the www.emgovpower.com/portal site fom the production web server IIS, browse command, I get redirected to http://localhost/emgovpowerportal and get a 404 error.

What can I do?

How do I track down the 404 error with DNN? Is there a config setting I can change on the production web site to get help?

Why would my new production DNN site attemp to redirect to the Visual Studio project name, emgovpowerportal?

Thank you so very much for any help,

Karl

 
New Post
11/7/2006 6:26 PM
 

If I read this correctly- I would think that you need to have the url of the site put into the host / portals / and edit the portal name by clicking the pencil next to the portal and scrolling down bottom of page, then adding a new alias.

You developed locally so it's looking for the localhost url - what you need to do now is add the web url and it reupload it.  I believe that should fix this very common problem.

Which is why.. when on the network, when I setup a new site - I always use an IP address so others can view it, and make sure I put in the web addres of it's new location before deploying it.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
11/9/2006 9:12 AM
 
g'Day Nina,

Thank you very much for the help.

Do to other problems, I just installed the Install Version of DNN on the server and was up and running in minutes. For what ever reason, publishing from Visual Studio 2005 was just problematic.

So, after I followed your advice, I had other exceptions that I just could not figure out, which is why I just deployed the Install package and moved on.

Have a wonderful day,

Karl
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN deployed from Visual Studio Problem.DNN deployed from Visual Studio Problem.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out