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 Alias Troubles - Site DownPortal Alias Troubles - Site Down
Previous
 
Next
New Post
7/12/2007 4:15 PM
 

Hi all,

I've been struggling to get a DNN site up and running. I thought I had found the issue, but trying to fix it has broken the site altogether.

When DNN was installed, the preset Portal Alias was "ipaddress/folder". The only way I could access the site was by browsing to "ipaddress/folder". www.url.com and url.com would not work.

I tried adding www.url.com and url.com to the Portal Alias list and there was no change. Since I couldn't access the site via the URL, I couldn't delete the "ipaddress/folder" Alias via the DNN control panel, so I deleted it from the database table.

At that point, the site was broken. I can't access it at all. I can't restart DNN because I can't access the site. I can't re-add the "ipaddress/folder" option due to a database error.

What can I do?

Help!!

Chris

 
New Post
7/12/2007 5:11 PM
 

What is the database error?


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
7/12/2007 5:33 PM
 

"The INSERT statement conflicted with the FOREIGN KEY constraint "FK_PortalAlias_Portals"

However, I'm hesitant to work from the database angle, because I'm afraid it will just result in the "ipaddress/folder" Alias reinstatement and still won't fix the core problem.

If I successfully reinstate the "ipaddress/folder" Alias, will a DNN restart fix the Alias issue??

Chris

 
New Post
7/13/2007 11:06 AM
 

While it won't fix the underlying issue, you will at least have some access to your website, which could be helpful.  What insert statement did you use?  That error means that you input an incorrect PortalId for your insert.  I would assume that the correct portalId for your root portal is 0, which would give you Insert into PortalAlias (PortalId, HttpAlias) Values (0, 'ipaddress/folder').  If that is what's giving you the foreign key problem, then get the PortalId with Select * from Portals.

It sounds like your url.com approach isn't hitting the website at all.  Since it is denying you access from "ipaddress/folder," we know that your changes to PortalAlias have been applied, so the url.com entries should be working, too.  Does url.com resolve to the same location as "ipaddress/folder"?


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
7/13/2007 12:30 PM
 

Hello,

Thank you for the reply.

I think I broke access to the site via ipaddress/folder when I deleted it from the database. DNN was never restarted so the DNN environment was never aware of the changes. That's why I was trying to add it back.

Indeed I was inserting the wrong PortalID. I was mistaking PortalID for the AliasID and I was trying to force the insert to make the new row an AliasID of 1, which the database won't allow. I was successfully able to add the ipaddress/folder row, at a Primary Key/AliasID of 9, PortalID 0.

I still can't hit the site, even browsing directly to ipaddress/folder. I wonder if this is because the ipaddress/folder alias is now buried under two other entries? I can try deleting those...

Chris

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Portal Alias Troubles - Site DownPortal Alias Troubles - Site Down


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