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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...404 Error on New Parent Portal Creation404 Error on New Parent Portal Creation
Previous
 
Next
New Post
2/20/2014 4:50 PM
 

I've been trying to figure out a strange error on a parent portal and was hoping someone out there may have some ideas to try.

This is my environment:
DNN Community Version 07.00.06 (121)
Windows Server 2008 IIS 7.5
AppPool is configured to use an AD user for identity

The issue is that when I create a new parent portal that it will redirect to the following URL: http://mydomain/Account/Login?ReturnUrl=%2f . I have a separate site with a parent portal with a close to identical setup that seems to work fine. I created a separate site in IIS and pointed it to the same directory as the host site. The parent portal shares the same appPool as the host site.

Anytime you try to hit the root of the site it will redirect to the above. When you attempt to go to a page such as Home.aspx the page will load, but will be missing just about all essential files. This is what Firebug reports via the console:



"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fPortals%2f_default%2fSkins%2fGravity%2fskin.css%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fPortals%2f3%2fportal.css%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fScripts%2fjquery%2fjquery-ui.min.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fScripts%2fjquery%2fjquery.min.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fPortals%2f_default%2fdefault.css%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fjs%2fdnn.js"
Login?.../dnn.js
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fjs%2fdnn.modalpopup.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fScripts%2fjquery%2fjquery.hoverIntent.min.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fScripts%2fdnn.jquery.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fjs%2fdnncore.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fscripts%2finitWidgets.js"
Login?...gets.js
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fScripts%2fjquery%2fjquery-ui.min.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fjs%2fdnn.js"
Login?.../dnn.js
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fjs%2fdnn.modalpopup.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fScripts%2fjquery%2fjquery.hoverIntent.min.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fScripts%2fdnn.jquery.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fjs%2fdnncore.js%3fcdv%3d16&cdv=16"
Login?...&cdv=16
"NetworkError: 404 Not Found - http://domain/Account/Login?ReturnUrl=%2fResources%2fShared%2fscripts%2finitWidgets.js"
Login?...gets.js
ReferenceError: jQuery is not defined
    

})(jQuery);

Home.aspx (line 136)


Where it gets a bit stranger is if I authenticate and view the pages everything looks correct. I double checked the permissions and everything view wise within DNN appears to be okay. I tried removing the permissions on the folder itself and re-applying but that didn't seem to work. I also tried deleting the parent portal and re-creating it a few times but never had any luck.

Any ideas would be greatly appreciated. Thank you



 
New Post
2/21/2014 2:20 PM
 
I'd suggest you use a http proxy such as fiddler to check the exact sequence of http requests in case there is some hidden redirect you're not seeing

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/21/2014 1:15 PM
 

Cathal,

 I appreciate the suggestion. I tried Fiddler to see if I had any luck. It appears after the first hop requesting the root "/" it redirects toa 404 of /Account/Login?ReturnUrl=%2f. When attempting to request Home.aspx it returns a 404 attempting to redirect to  /Account/Login?ReturnUrl=%2f with the loan exception of the favicon.ico file.

 As a test, I had another website that I followed the same steps for (with the exception of file location and Database), and successfully spun up a parent portal. I returned to this site, deleted the directory, database etc and reinstalled but received the same problem--even while using the App Pool as the working site.

 It does seem like a permission issue, but so far I haven't seen a difference between my working site and this one. It's strange that even starting from scratch resulted in the same issue.

 

 
New Post
3/21/2014 5:58 PM
 

I stumbled upon this link http://stackoverflow.com/questions/8205368/request-redirect-to-account-loginreturnurl-2f-since-mvc-3-install-on-server which suggested adding two things to the web.config:

       <add key="autoFormsAuthentication" value="false" />
      <add key="enableSimpleMembership" value="false"/>

I did this, but it didn't help matters. Rather than attempting to go to /Account/login.aspx?ReturnUrl=%2f , it would just redirect to login.aspx. Same as before when you login (either with the above keys added or not) everything appears fine once authenticated.

 

Just wanted to add more info as I found it. Thank you again for any help or ideas.

 
New Post
3/21/2014 6:26 PM
 
I believe I sorted out the cause... but I just need to get to the bottom of how exactly to resolve the issue.

I believe the issue is related to the Active Directory Authentication Module. I came across this thread: http://www.dnnsoftware.com/forums/for... which reported a similar issue.

I think I just need to learn more about the command line commands.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...404 Error on New Parent Portal Creation404 Error on New Parent Portal Creation


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