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 ForumsSurveySurveyerrors under dnn435errors under dnn435
Previous
 
Next
New Post
11/6/2006 8:10 AM
 

I am getting this errors, on the page:

 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.FormatException: Input string was not in a correct format.

Source Error:

Line 62: SurveyInfo.ViewOrder = Convert.ToInt32(ConvertNullInteger(dr("ViewOrder"))) Line 63: SurveyInfo.Votes = Convert.ToInt32(ConvertNullInteger(dr("Votes"))) Line 64: SurveyInfo.CreatedByUser = Convert.ToInt32(dr("CreatedByUser")) Line 65: SurveyInfo.CreatedDate = Convert.ToDateTime(dr("CreatedDate")) Line 66: End While

Source File: d:\hshome\namaste\iknow.co.il\App_Code\Survey\SurveyController.vb    Line: 64

 
New Post
11/6/2006 8:18 AM
 

What version of DotNetNuke did you use to install the module? Were you upgrding a previous version?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
11/6/2006 8:26 AM
 

DNN 435

It was a fresh new install of dnn435.

And I used the latest survey module (PA/Source) from oct06.

 
New Post
11/6/2006 9:00 AM
 

Can you open up the file "SurveyController.vb" (or "SurveyController.cs" if using the C# version) and change the line:

SurveyInfo.CreatedByUser = Convert.ToInt32(dr("CreatedByUser"))

to:

SurveyInfo.CreatedByUser = Convert.ToInt32(ConvertNullInteger(dr("CreatedByUser")))


and tell me if that fixes the problem? Also, can you look in your "Surveys" table and tell me if you have any blank values in the "CreatedByUser" column?

Thanks



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
11/6/2006 9:42 AM
 

In the DB I get an numerous ID for the createdByID. This seems ok.

I will soon try the changes you suggested.

But have just found another error. When I tried to uninstall the module, in order to upload the new fixed zip, I got this (Meaning the uninstall process doesn't erase the 'add' tag from the web.config):

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The code subdirectory '/App_Code/Survey/' does not exist.

Source Error:

Line 126: <codeSubDirectories> Line 127: <add directoryName="Reports" /> Line 128: <add directoryName="Survey" /> Line 129: </codeSubDirectories> Line 130: </compilation>

Source File: d:\hshome\namaste\iknow.co.il\web.config    Line: 128


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

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyerrors under dnn435errors under dnn435


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