Survey Forums

HomeHomeSurvey Project ...Survey Project ...Installation & ...Installation & ...survey box on asp.net site: format exception survey box on asp.net site: format exception
Previous
 
Next
New Post
5/25/2010 11:08 PM
 

QUESTION: 
 Hi - I copied the nsurvey dlls to my site's bin folder. I created a new .aspx page and added the page directive and the <vts:SurveyBox ... /> to the page. Finally I copied the <nSurveySettings> section in the web.config to my site's web.config.

When I try to run the page I get this exception:

[ArgumentNullException: Value cannot be null.
Parameter name: format]
System.String.Format(String format, Object arg0, Object arg1) +9594182
Votations.NSurvey.WebControls.SurveyBox.BuildFooterRow(Control submitControl) +519
Votations.NSurvey.WebControls.SurveyBox.BuildSubmitButtonRow() +1126
Votations.NSurvey.WebControls.SurveyBox.BuildSurveyBox(Boolean enableQuestionDefaults) +2517
Votations.NSurvey.WebControls.SurveyBox.BuildSurvey() +770
Votations.NSurvey.WebControls.SurveyBox.CreateChildControls() +136
System.Web.UI.Control.EnsureChildControls() +102
System.Web.UI.Control.PreRenderRecursiveInternal() +42
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
Any ideas? Thanks!

ANSWER:

Interesting experiment, but unfortunately this will not work. You will need to integrate more than just the dll's and the NSurveySettings part of the web.config file into your existing website. Also at databaselevel you will have to add all Survey tables and stored procedures. We hope to give more advise on integrating Survey with existing installations soon. Please keep following these forums.
 

 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...Installation & ...Installation & ...survey box on asp.net site: format exception survey box on asp.net site: format exception