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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Portal locationPortal location
Previous
 
Next
New Post
9/26/2008 5:34 AM
 

For a project in which a DNN site is a component I am running DNN 4.9.0 Starter Kit locally under Visual Web developer 2008 Express. To test the project I need a portal in DNN.

The website template installed succesfully and now I'm trying to create a portal as a child to the site. The link to the portal in the portal creation page doesn't bring me to the portal but I get a HTTP 404 error.  Now I'm trying to find the URL location of the portal but have had no success yet.

The url to DNN on my machine is http:/localhost:1322/mywebsite

The suggested url to the portal is http:/localhost:1322/mywebsite/myportal1

Does anyone have an idea what the URL or perhaps the problem is?

Thanks

Jeffrey

 
New Post
9/26/2008 2:14 PM
 

if you create a child portal "myportal1", a subfolder is created with same name and a redirecting default.aspx inside. Check the existence of the folder and the default page inside, because if you rename your child portal or turn a parent portal into a child portal, the folder will not be updated.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/29/2008 1:48 PM
 

Dear Sebastian,

Thanks for your reply. I've spent some time on it over the weekend and it seems to me that there is an error in the redirect script in the child portal. I've adapted the script somewhat and found tha URL the redirect supplies. This URL doesn't take me to the portal site, it fails in a "site not found " error from the browser.

Below are the the variable values generated by the redirect scripts.

Request URL=http://localhost:1322/DotNetNuke Website1/pinesol/default2.aspx
URL array item 0 =http:
URL array item 1 =
URL array item 2 =localhost:1322
URL array item 3 =DotNetNuke Website1
URL array item 4 =pinesol
URL array item 5 =default2.aspx
ServerPath =/DotNetNuke Website1/
Domain name=/DotNetNuke Website1/Default.aspx?alias=localhost:1322/DotNetNuke Website1/pinesol

Instead the domain name needs to be:
http://localhost:1322/DotNetNuke%20Website1/Default.aspx?alias=localhost:1322/DotNetNuke%20Website1/pinesol 
to get me to the portals pages.
You can see the servers domainname and port have dropped away.
Once in the portal pages navigation is impossible, all site not found errors. Only by direct manipulation of the URL is it possible to get to a login page and so forth.

Is there perhaps a setting that needs to be corrected or could this be an error in the application?

Perhaps the value of the variable "ServerPath" needs to be corrected to include as a prefix http://localhost:1322 ?

Jeffrey

 
New Post
9/29/2008 1:55 PM
 

a redirect to an URL starting with / will be automatically interpreted as local domain, like being preceeded with current domain and port. Did you enable usePortNumber in web.config file and is portnumber correctly added in portal alias table?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/29/2008 6:46 PM
 

After setting the usePortNumber to true and correcting the portnumber in the PortalAlias tabel it all works well.

Thank you very much for your support.

Jeffrey

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Portal locationPortal location


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