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...Performance and...Performance and...Site URLs only work when tabid is specifiedSite URLs only work when tabid is specified
Previous
 
Next
New Post
3/2/2011 11:05 AM
 
A server failure caused us to have to restore our site's DNN database and files to a new server. We restored the site to a temporary IP, so that we can test it before making it live. I changed the PortalAlias db table's HTTPAlias field to the temporary IP address for testing purposes. The site home page comes up fine when we enter the IP address, but all secondary pages come up as missing when the TabPath is used in the URL. The only way they work is if we enter the URL in the format "http://000.000.000.000/default.aspx?tabid=66."

For example, the following URLs work:
http://66.155.114.247
http://66.155.114.247/default.aspx
http://66.155.114.247/derfault.aspx?tabid=66 (our Sports & Fitness page)

But the following URL, which is what is automatically generated by DNN using the Tab's TabPath in the site's breadcrumb, returns a missing page error:
http://66.155.114.247/SportsFitness.aspx

Usually, the URL in the latter format would work. What is it that I have not set correctly in the site rebuild that could cause the standard URLs to be failing?

Thank you,
Kurt

JF Logomark

Kurt Meredith

Web Developer
Johnson Ferry Baptist Church
Marietta, Georgia

www.johnsonferry.org

 
New Post
3/3/2011 4:18 PM
 
Sounds like you had a 3rd party url re-write module, that is the only way you can get urls like this "http://66.155.114.247/SportsFitness.aspx". Usually when you license a url provider like that you have to register your domain name when you sign up for the license. If you are using a different HTTPAlias now, the url provider is probably not licenced for that domain name/ip address and is no longer working. Look in the host - module definitions list for a url provider module to find out which one you have, then contact their support.
 
New Post
3/3/2011 7:38 PM
 
Actually DNN does create a url in this format when the urlFormat property is set to humanfriendly (urlFormat="humanfriendly") in the web.config.

This only affects the writing of the url and not the parsing of it and would not be the problem here.
Do the pages show when using the DNN menu for navigation.
If so are they displaying friendly url’s?
If not check “Use Friendly Url’s” under host settings (again this will not affect parsing of the url).

Also did you restore both the files and database of the same site backup?
Or did you install a new DNN install and then restore the backup database?
What version of DNN are you working with?


Robert Harriman
WEBMAZING.NET
AutoWebSuite / BrokerWebSuite

DNN Modules for Auto Dealers and Real Estate Professionals.

 
New Post
3/4/2011 11:01 AM
 
Yep you are right. The following setting in my web.config lets me have urls like that.
<friendlyUrl defaultProvider="DNNFriendlyUrl">
      <providers>
        <clear />
        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="humanfriendly" />
      </providers>
    </friendlyUrl>
 
New Post
3/7/2011 9:43 AM
 
Thank you all for your input. Believe me, we had looked at everything, including the Friendly URL settings.

We tried creating a fresh, new DNN site install using the exact same installation files as the site that we were working on and set it up exactly the same. When it worked perfectly, we realized that all of the pieces were working, so the problem must be something absolutely unique to the site that was having the problem. After exhausting every avenue and getting nowhere, one of us had the brilliant idea to just remove the IIS virtual directory and then create a fresh one. That turned out to be the problem--as soon as we created a new virtual directory for the site, the problem went away. All those days of troubleshooting and the issue was a corrupt virtual directory all along. What a lesson!


JF Logomark

Kurt Meredith

Web Developer
Johnson Ferry Baptist Church
Marietta, Georgia

www.johnsonferry.org

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Site URLs only work when tabid is specifiedSite URLs only work when tabid is specified


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