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 ForumsForumForumGetting Exception ErrorsGetting Exception Errors
Previous
 
Next
New Post
9/6/2007 8:58 AM
 

I was playing around with the Avatars/Smileys gallery yesterday and now, every time someone opens a forum post, it throws an error, like this:

AssemblyVersion: 04.05.05
PortalID: 0
PortalName: MySite
UserID: 2
UserName: admin
ActiveTabID: 63
ActiveTabName: Insiders
RawURL: /Insiders/tabid/63/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6ef87bf9-7809-4871-9b56-3fdf00c6ada2
InnerException: Object cannot be cast from DBNull to other types.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DBNull.System.IConvertible.ToInt32
StackTrace:
Message: System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ToInt32(Object value) at DotNetNuke.Modules.Forum.ForumController.ModuleGetAll(Int32 PortalID, String Type)
Source:
Server Name: DEDI531

The other thing I did yesterday was to install Snapsis PageBlaster.  could this have anything to do with it?

 
New Post
9/6/2007 11:09 AM
 

I had the same errors, and had recently installed several modules, including the Snapsis PageBlaster, but it is not the modules.  The problem has to do with the DNN installer.    See the entry by Onyak in this thread.  It solved the problem for me, once I removed the features errors in the table noted.   

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/118/threadid/153055/scope/posts/Default.aspx


Terence
TMMworld Dot Net Services
View Terence Maney's profile on LinkedIn
 
New Post
9/6/2007 11:28 AM
 

That seems to be working.

That's a relief!

 
New Post
9/6/2007 11:34 AM
 

Here it is:

AssemblyVersion: 04.05.05
PortalID: 0
PortalName: MySite
UserID: 2
UserName: admin
ActiveTabID: 63
ActiveTabName: Insiders
RawURL: /Insiders/tabid/63/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 12da871b-50eb-4300-9564-9ff74a80fd7a
InnerException: Object cannot be cast from DBNull to other types.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DBNull.System.IConvertible.ToInt32
StackTrace:
Message: System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ToInt32(Object value) at DotNetNuke.Modules.Forum.ForumController.ModuleGetAll(Int32 PortalID, String Type)
Source:
Server Name: DEDI531

 

 
New Post
9/7/2007 1:22 PM
 

This last error w/ casting portalid means you have some bigger issues to resolve if the module can't tell what portal you are in.


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumGetting Exception ErrorsGetting Exception Errors


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