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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsHelp with error 401Help with error 401
Previous
 
Next
New Post
1/20/2006 3:23 PM
 

Guys... when running DNN in an Intranet environment using Tam's Active Directory based authentication I cannot pull in an RSS feed from another page on the same DNN site without getting an authentication error 401, I have been tracing through this and because we have uncommented the section in the web config for authentication ...

<!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->

when accessing an rss feed on the same portal the request is getting auto redirected to windowssignin.aspx which is set not to allow anonymous access (to cater for auto logging in of intranet users). This is then returning the authentication error 401. If you allow anonymous access (ignoring for a second that this will not now auto log in the user) this then returns a maximum redirects exceeded error instead.. The only current way to get the RSS feed working is to comment back out the section above in the web.config (which again stops the auto login functionality that I think is a required feature of an Intranet app as it does not redirect you to the login page and auto log in the user) but... the RSS feed then actually works!!

I am not having any issues obtaining feed information from third party RSS just local.

Can anybody help with this at all?

Best wishes

Lee Cottrel

Cheif Technology Officer
Paymentshield Limited

 
New Post
2/7/2006 6:51 AM
 

Any ideas anyone... it is still confusing me and for now I have had to use alternate methods for news rather than RSS.

 

Any help would be gladly appreciated.

 

Best wishes

 

Lee

 
New Post
2/7/2006 9:54 AM
 

Lee,

Haven't actually used this type of scenario myself.  However, what version are you running?  Also, is your feed on the home page or is it just any local RSS feed from the site, in general,  having this issue?

 

 
New Post
2/8/2006 5:53 AM
 

Hi,

Thanks for the response. I am currently using DNN 3.2.2 and the error is with any local news feed on the site.

Feeds from other sites seem to work fine and if I do not configure DNN to run utilising AD etc then it also works... seems to be as any page always wants to ensure that you are authenticated so it sends the request off to windowssignin.aspx (Tam's AD module now in core) and that is the page that is having the issue as it is set for dissalow anonymous access... I thought the way round it would be to change the authentication in web.config to windows and identity impersonate but then DNN complains with the following:

 

Server Error in '/dotnetnuke' Application.

?

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: ?

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'NDPI.Tasks' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = NDPI.Tasks, Version=1.0.45.0, Culture=en-US, PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = file:///C:/DotNetNuke
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: NDPI.Tasks, Version=1.0.45.0, Culture=en-US, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/edcacc05/51c434c7/en-US/NDPI.Tasks.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/edcacc05/51c434c7/en-US/NDPI.Tasks/NDPI.Tasks.DLL.
LOG: Attempting download of new URL file:///C:/DotNetNuke/bin/en-US/NDPI.Tasks.DLL.
LOG: Attempting download of new URL file:///C:/DotNetNuke/bin/en-US/NDPI.Tasks/NDPI.Tasks.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/edcacc05/51c434c7/en-US/NDPI.Tasks.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dotnetnuke/edcacc05/51c434c7/en-US/NDPI.Tasks/NDPI.Tasks.EXE.
LOG: Attempting download of new URL file:///C:/DotNetNuke/bin/en-US/NDPI.Tasks.EXE.
LOG: Attempting download of new URL file:///C:/DotNetNuke/bin/en-US/NDPI.Tasks/NDPI.Tasks.EXE.

Stack Trace:

[FileNotFoundException: ?]
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
   System.Reflection.Assembly.Load(AssemblyName assemblyRef) +22
   System.Web.UI.Util.GetReferencedAssembliesHashtable(Assembly a)
   System.Web.Compilation.BaseCompiler.GetCompiledType()
   System.Web.Compilation.ApplicationFileCompiler.CompileApplicationFileType(ApplicationFileParser appParser)
   System.Web.UI.ApplicationFileParser.CompileIntoType()
   System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()

[HttpException (0x80004005): ?]
   System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound)
   System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()
   System.Web.UI.TemplateParser.GetParserCacheItem()
   System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser)
   System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)
   System.Web.HttpApplicationFactory.Init(HttpContext context)
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

 

Any thoughts?

Best wishes

Lee

 
New Post
2/8/2006 1:42 PM
 

No, nothing comes to mind.  I did a review of the AD forum, and found a similar issue posted from 1/25, http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/89/threadid/10913/scope/posts/Default.aspx,

so it's probably more to do with AD than the New Feed (RSS) module itself.  I know this doesn't help, but seems like the issue has to be resolved from that angle.  Try adding your info to that post, and see if we can get any attention. 

Cheers,

Phil

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsHelp with error 401Help with error 401


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