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 ...DNN 5.06.01DNN 5.06.01's UrlRewriteModule and Non-DNN .aspx pages
Previous
 
Next
New Post
2/5/2011 3:12 AM
 
I have a site that has a few .aspx pages in it that are not DNN pages.  In DNN 4.03, they worked properly. I recently upgraded to 5.06.01, and trying to navigate to those pages now generates a "Domain Name <domain>/Portals/137/Membership Does Not Exist In The Database" error.  According to posts by William Severance in numerous other threads, DNN 5.06.00 included some changes to support automatic portal alias mapping, and I am assuming that this is a result of that.

The question I have is two-fold:
How do I configure DNN 5.06.01 to allow direct links to .aspx pages in that folder?
OR
What is the correct way to serve non-DNN pages that are sitting in within a DNN installation?

Thank you in advance for your assistance.

Doug
 
New Post
2/7/2011 9:09 PM
 
Unfortunately, that issue is still present in 5.06.01 and has been reported in Gemini as issue DNN-14871. Please check in Gemini for its current status and in particular analysis and a possible temporary workaround by Brandon Haynes.

I encountered it the other night while testing a WCF service (.svc file extension) I was developing for MediaGallery5 so its impact goes well beyond linking to .aspx pages.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
2/7/2011 10:43 PM
 
Wonderful!  Thank you very much, Bill!
 
New Post
2/21/2011 12:32 PM
 

I was able to fix this for my site which has many standalone page endpoints not related to the DNN application by adding the below code to UrlRewriteModule.vb line 338.

If Not app.Request.Url.AbsolutePath.ToLower() = "/default.aspx" _
    AndAlso Not app.Request.Url.AbsolutePath = "/" Then
        If System.IO.File.Exists(app.Request.PhysicalPath) Then
           Exit Sub
       End If
End If

Hope this helps somebody

Steve
---------------------------
Form Master
Form Creation Module
Code 5 Systems, LLC.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 5.06.01DNN 5.06.01's UrlRewriteModule and Non-DNN .aspx pages


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