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 ForumsSurveySurveyA critical error has occurred. Input string was not in a correct format.A critical error has occurred. Input string was not in a correct format.
Previous
 
Next
New Post
11/6/2006 2:03 PM
 
Hi I'm trying to install DNN 4.3.5 as a non dbo user (I've got db_ddladmin and dB-security role and changed databaseOwner to my ms sql username).

I still get two error messages in the installation  log, but at least I have  a working portal now. The text, event and blog work fine, but when I try to use the Survey module I get an error.

I'm able to add the module to the page without any problems, when I then try to add a question I get the following error message:

A critical error has occurred. Input string was not in a correct format.

And my event log says:

AssemblyVersion: 04.03.05
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 53
ActiveTabName: test
RawURL: /Home/test/tabid/53/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://xxx/Home/test/tabid/53/ctl/Edit/mid/403/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: eb8c1aad-3968-4d30-a176-0159e6224072
InnerException: Input string was not in a correct format.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Number.StringToNumber
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format. 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.String.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType) at DotNetNuke.Common.Utilities.CBO.CreateObject(Type objType, IDataReader dr, ArrayList objProperties, Int32[] arrOrdinals) at DotNetNuke.Common.Utilities.CBO.FillObject(IDataReader dr, Type objType, Boolean ManageDataReader) at DotNetNuke.Common.Utilities.CBO.FillObject(IDataReader dr, Type objType) at DotNetNuke.Modules.Survey.SurveyController.GetSurvey(Int32 SurveyID, Int32 ModuleId) at DotNetNuke.Modules.Survey.Survey.lstSurvey_ItemDataBound(Object sender, DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at DotNetNuke.Modules.Survey.Survey.DisplaySurvey() at DotNetNuke.Modules.Survey.Survey.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: xxx

After this error the Add Question option also disappears from the Actions Menu.

Has this got something to do with my installation or with the module? Has anyone got experience installing dnn without the db owner role?

Thanks!
 
New Post
11/6/2006 2:12 PM
 
What version of the Survey Module are you using?


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
11/6/2006 2:16 PM
 
whow, that's quick ;-)

03.03.00, from the 4.3.5 install version

thanks again!
 
New Post
11/6/2006 2:39 PM
 

upgrade to: 04.00.20

 

 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
11/6/2006 2:40 PM
 

If you still get the error:

open up the file "SurveyController.vb" and change the line:

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

to:

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

 

Please report back. Thank You



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyA critical error has occurred. Input string was not in a correct format.A critical error has occurred. Input string was not in a correct format.


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