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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0I got a lot of errors like this every day, can some one help me to define whatI got a lot of errors like this every day, can some one help me to define what's cause please?
Previous
 
Next
New Post
11/30/2008 8:00 PM
 

All of my errors have " Method: System.Number.StringToNumber"

 

29/11/2008 2:51:48 p.m.   Page Load Exception       AssemblyVersion: 04.08.03; PortalID: 0; PortalNa ...

AssemblyVersion: 04.08.03
PortalID: 0
PortalName: 3 News
UserID: -1
UserName:
ActiveTabID: 184
ActiveTabName: National
RawURL: /Default.aspx?tabid=184&error=Value+cannot+be+null.%0d%0aParameter+name%3a+String&content=0
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: YahooFeedSeekerJp/2.0 (compatible; Mozilla 4.0; MSIE 5.5; http://publisher.yahoo.com/rssguide; users 0; views 0)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 74a3657e-144d-42b2-b247-2f5b941fcf59
InnerException: Value cannot be null. Parameter name: String
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Number.StringToNumber
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Value cannot be null. Parameter name: String ---> System.ArgumentNullException: Value cannot be null. Parameter name: String at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberformatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberformatInfo info) at System.Web.Configuration.HttpCapabilitiesBase.get_MajorVersion() at Solpart.WebControls.SolpartMenu.BrowserSupportsFunctionality(ClientFunctionalityEnums eFunctionality) at Solpart.WebControls.SolpartMenu.DownLevelBrowser() at Solpart.WebControls.SolpartMenu.getBorderStyle(String type, String color, Int32 width) at Solpart.WebControls.SolpartMenu.getMenuBorderStyle(String shColor, String hlColor, Int32 width) at Solpart.WebControls.SolpartMenu.WriteCSSStyles() at Solpart.WebControls.SolpartMenu.Page_PreRender(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnPreRender(EventArgs e) at DotNetNuke.Framework.PageBase.OnPreRender(EventArgs evt) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: MXW1WF2

OR

 

27/11/2008 2:22:27 p.m.   Module Load Exception       ModuleId: 2647; ModuleDefId: 160; FriendlyName ...
ModuleId: 2647
ModuleDefId: 160
FriendlyName: Article Comment Display
ModuleControlSource: DesktopModules/Article Comment Display/CommentDisplay.ascx
AssemblyVersion: 04.08.03
PortalID: 0
PortalName: 3 News
UserID: -1
UserName:
ActiveTabID: 415
ActiveTabName: Story
RawURL: /News/SportsNews/OBrien-faces-censorship-after-blog-furore/tabid/415/articleID/81727/cat/71/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Yoriwa/0.1 (compatible; Mozilla 4.0; MSIE 5.5; robot@yoriwa.com)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 81334911-d0f9-4302-9f23-77359f696884
InnerException: Value cannot be null. Parameter name: String
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Number.StringToNumber
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Value cannot be null. Parameter name: String ---> System.ArgumentNullException: Value cannot be null. Parameter name: String at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberformatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberformatInfo info) at System.Web.Configuration.HttpCapabilitiesBase.get_MajorVersion() at DotNetNuke.UI.Utilities.ClientAPI.BrowserSupportsFunctionality(ClientFunctionality eFunctionality) at DotNetNuke.UI.Utilities.ClientAPI.RegisterClientReference(Page objPage, ClientNamespaceReferences eRef) at LSpaceDesign.DNN.ArticleManagement.CommentDisplay.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name:
MXW1WF2
 
New Post
12/1/2008 11:38 AM
 

Hey Ray,

It looks like these are errors being thrown when robots are crawling your site. The getter for the MajorVersion property looks to be failing when it's inspecting the robot's user agent.

Another thread seems to confirm this: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/118/threadid/249245/scope/posts/Default.aspx

I'm afraid I don't have any suggestions as how to fix it though. Here is the link to the MSDN page on this property: http://msdn.microsoft.com/en-us/library/system.web.configuration.httpcapabilitiesbase.majorversion(VS.85).aspx

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
12/1/2008 11:45 AM
 

 Ray,

Also, here is a thread where someone reported this issue to Microsoft: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=102034

It looks like they're not planning on fixing it, but apparently you can create a new browser file and place it in the "App_Browsers" folder in your web site for each of the user agents that is failing.

http://msdn.microsoft.com/en-us/library/ms228122.aspx

This may be a lot of work, depending on how many different user agents you have. You listed two previously...

UserAgent: YahooFeedSeekerJp/2.0 (compatible; Mozilla 4.0; MSIE 5.5; http://publisher.yahoo.com/rssguide; users 0; views 0)

UserAgent: Yoriwa/0.1 (compatible; Mozilla 4.0; MSIE 5.5; robot@yoriwa.com)

Hope that helps,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
12/1/2008 11:50 AM
Accepted Answer 

Also --

Check the following for example browser files:

 %SystemRoot%\microsoft.net\Framework\v2.0.50727\CONFIG\Browsers

you might be able to take the "generic.browser" and rename it for each of your user agents that are throwing errors? Might be worth a shot.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0I got a lot of errors like this every day, can some one help me to define whatI got a lot of errors like this every day, can some one help me to define what's cause please?


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