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 ForumsForumForumGeneral Exception ErrorsGeneral Exception Errors
Previous
 
Next
New Post
9/8/2007 9:25 PM
 

I get this error whenever a user opens a post in one of my forums:

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: 2c40e978-3df7-4ff2-b616-b11f976393d5
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

It doesn't seem to happen with any other modules on my site.  I recently deleted the Smileys and Images pages from the Gallery that get attached to the forums.  I tried reinstalling them but that didn't help.  I have already posted this problem in the Forum Project Forum but, so far, no help.

The other thing I have done recently is install Snapsis Pageblaster, but uninstalling that didn't help, either.

Any ideas?

 
New Post
9/9/2007 11:36 AM
 

I note that you moved this post to the Forum Project forum.

As I noted in the post, I had already posted this problem to this forum.  I don't think this is necessarily a problem with the Forum module.  As I was about to add here, I also find that my Users Online module no longer works.  It doesn't seem to be getting any data.

So, I think that I have a more general problem.

 
New Post
9/10/2007 7:40 PM
 

What version of the Forum Module you are using?

What DatabaseOwner have you?

Have set both connectionString in the web.config before install?

Is it an update from a previos version (DNN and Forum module)?

 

 
New Post
9/10/2007 9:35 PM
 

I'm using the latest version of the module on DNN 4.5.5.  Both are upgrades from the original install.  I haven't changed the connection strings since the original install.

I'm not sure what you mean by DatabaseOwner? (I'm fairly technically deficient).

 
New Post
9/11/2007 4:20 AM
 

Have you check the eventlog that is showing up after update?  From what version do you this Update?

All Databases have a Owner and can have some users.  So it is ffor us to know are the user and owner different, and is the DatabaseOwner the dbo ?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumGeneral Exception ErrorsGeneral 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