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 ...User Search - Server error problem, core DNN Bug?User Search - Server error problem, core DNN Bug?
Previous
 
Next
New Post
11/4/2009 5:35 AM
 

I have just discovered what I think might be a bug in DNN regarding the user accounts search.

If you enter a name into the text box and append a space you get a nasty server error like this:

Server Error in '/myPortal' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /myPortal/Admin/UserAccounts/tabid/42/filter/rich /filterproperty/Username/currentpage/1/language/en-GB/Default.aspx


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

 

Looking at the Event logs, this is what is logged:

AssemblyVersion: 04.09.03
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Admin/UserAccounts/tabid/19396/filter/rich /filterproperty/Username/currentpage/1/language/en-GB/Default.aspx
AbsoluteURL: /Admin/UserAccounts/tabid/19396/filter/rich%20/filterproperty/Username/currentpage/1/language/en-GB/Default.aspx
AbsoluteURLReferrer: https://xxx.xxxx.com/Admin/UserAccounts/tabid/19396/language/en-GB/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f135b6fe-b332-4705-878a-42a9aa364a95
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.CachedPathData.GetConfigPathData
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.Web.HttpException at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) at System.Web.HttpContext.GetFilePathData() at System.Web.HttpContext.GetConfigurationPathData() at System.Web.Configuration.RuntimeConfig.GetConfig(HttpContext context) at System.Web.HttpContext.get_ImpersonationToken() at System.Web.ClientImpersonationContext.Start(HttpContext context, Boolean throwOnError) at System.Web.HttpApplication.ThreadContext.SetImpersonationContext() at System.Web.HttpApplication.ThreadContext.Enter(Boolean setImpersonationContext) at System.Web.HttpApplication.OnThreadEnterPrivate(Boolean setImpersonationContext) at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error) --- End of inner exception stack trace ---
Source:
Server Name: XXXXXX

 

The error is obviously in the RawURL which is invalid due to the space after the username, in this case "rich ".

The error happens when you search on any of the available user detail options , ie. Username, eMail, Prefix, First Name, etc

Has anyone come across this before?

Does this need a patch to the core code to trim the textbox entry before creating the RawURL?

 

 

 
New Post
11/4/2009 10:40 AM
 

I have not run into this before however I would suggest you report it as a bug (link below).  

Reporting it using the bug tracker is the quickest way to get the issue tested and resolved...   

You can report a bug using the bug tracker located here:
http://support.dotnetnuke.com/Main.aspx 


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
11/4/2009 11:36 AM
 

 It has already been reported as a bug and fixed in v5.0.1.

Fine if you can upgrade to that, tough if you can't 

support.dotnetnuke.com/issue/ViewIssue.aspx


Blue & White hooped blood runs through my veins!
 
New Post
11/5/2009 9:34 AM
 

Good catch SupaHoopsa!  I missed it when I looked.  Thanks for helping out!


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...User Search - Server error problem, core DNN Bug?User Search - Server error problem, core DNN Bug?


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