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 ...how to drop port numbers in PortalAlias table (column HTTPAlias)?how to drop port numbers in PortalAlias table (column HTTPAlias)?
Previous
 
Next
New Post
8/6/2009 10:46 AM
 

I see that recent installations of DNN do not require port number while I have old versions DNN where the DNN website is not launched correctly if to omit port number in PortalAlias table (column HTTPAlias)

Which code is culprit of it?

 
New Post
8/7/2009 2:32 AM
 

Pretty sure how the port number is handled has not changed, but I have not done any testing to see if this is true.

1) If your site uses a port number, make sure that the <usePortNumber> setting is set to true.  Then in the PortalAlias table it would have the port number in this field.

2) If our site does not use a port number, make sure that <usePortNumber setting is set to false.  Then in the PortalAlias table you would want to delete the port number.  If you only have one site you cannot edit or delete the alias that you are using to access the site with.  So the best thing to do is close all your browsers and manually update the database table using SQL Server Managment Studio.  Then just to be safe recycle that AppPool the site is running under (probably not needed, but makes sure everything is clean) and then access the site using the URL with or without the Port (depending on how you need to access this site).

 

 
New Post
8/11/2009 3:30 PM
 

It is not my site that uses it.

It is VS2008 uses dynamic ports assignments (for File System websites).

So, let's call that my site uses but I observe in PortalAlias table of database that parent portal is without port number
but alias is augmented and launched with port number (correctly) by VS and child portals are with port numbers
(and are not augmented by port numbers if to eliminate them from db).

I just cannot figure out how to get rid of the port numbers for child protals.
It is inconvenient - for any copy of DNN site I should edit database,
even if I just want to launch website from local IIS instead of File System from the same dir.

Then I do not understand how to launch DNN website without having this dependence on links in the database?
This is very inconvenient and strange dependence for me

 
New Post
8/12/2009 10:55 PM
 

Not sure what you are wanting to know.  Why are you creating Child Portals and accessing them in VS 2008.  The only reason you would not to run DNN under VS to run under VS is becuase you are developing modules.   And for that you do not need to create Child Portals.  If not developing modules, or custmizing the core code (highly not recommended)  I would run the site under IIS, so it is more like how the site will run in the real world.

1) Can you post the different URL's that you use to access the site, and examples of ones that are having issue and what entries are in the Alias table?

2) Can you post the steps you used to create the child portals?

Thanks,

 
New Post
8/20/2009 11:37 AM
 

Shawn Mehaffie wrote
 

Not sure what you are wanting to know.  Why are you creating Child Portals and accessing them in VS 2008.  The only reason you would not to run DNN under VS to run under VS is becuase you are developing modules.   And for that you do not need to create Child Portals.  If not developing modules, or custmizing the core code (highly not recommended)  I would run the site under IIS, so it is more like how the site will run in the real world.


This is correct. I am developing modules.
But I also study how thing work.

My question was not about child portals whatsoever!

The main point is that I do not understand:
Why is a need and dependence on HTTPAlias in database?
Why to keep them in database?

For ex., I copy the content of DNN website and I cannot launch as WSP it because its (directory) name  is taken from  HTTPAlias in Portalalias table of database. This is unclear - why?
I deleted the record in table PortalALias corresponding to parent portal alias and now I launch copied DNN websites from МЫ цшtwiut aditional ado of editing the database first.

Now, where is the code that prevents such direct use of application name from browser Request ?
I just want to change the default name and its construction.

Similar questions about where is the code adding port numbers?

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how to drop port numbers in PortalAlias table (column HTTPAlias)?how to drop port numbers in PortalAlias table (column HTTPAlias)?


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