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 ForumsSurveySurveyError during installError during install
Previous
 
Next
New Post
4/19/2007 12:26 PM
 

I kep getting an error when trying to install the survey module. It was working but started to error loading module for users. I tried to unistall the module with the delete files option on but it errors so I uninstalled without the option. Nothing I have tried will allow a re-install of the module.

Here is my error

ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Common.Utilities.Config.AddCodeSubDirectory(String name) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateModuleFile(PaFile File, PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()

Thanks

 
New Post
4/19/2007 2:01 PM
 

it is having trouble setting the codesubdirectory for the module since it is a C# module.  You might want to ensure that ASP.NET has full permissions to the dotnetnuke directory.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
4/19/2007 2:09 PM
 

The official module is a VB module. Are you trying to instal the C# demo version?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/13/2007 2:17 AM
 

I'm also getting the error in the first post, after a similar set of events, ie. attempt to install updated version that didn't work, and tried to uninstall and then install. In addition to the "object reference not ..." error at the end of the log, I also have the following a bit above it. Any advice please?

Info Executing 03.03.00.SqlDataProvider
StartJob Start Sql execution: 03.03.00.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Column names in each table must be unique. Column name 'IsCorrect' in table 'dbo.SurveyOptions' is specified more than once. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL) at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions) ALTER TABLE dbo.SurveyOptions ADD IsCorrect bit NOT NULL CONSTRAINT DF_SurveyOptions_IsCorrect DEFAULT 0
EndJob End Sql execution: 03.03.00.SqlDataProvider file

 
New Post
5/13/2007 9:21 AM
 

I think this may be related to the fact that the Survey module is using legacy sql connection settings.. Can you check your web.config and ensure that you have the sql connection string set correctly in both places?

The new version 04.00.85 that is going through the release process will fix this.

To try the install again (first ensure that you have the sql connection string set correctly in both places),

1. Remove (if they are there):

bin\DotNetNuke.Modules.Survey.dll
bin\DotNetNuke.Modules.Survey.SqlDataProvider.dll

2. Delete all files in the directory at : ..\DesktopModules\Survey

3. Delete all files in the directory at (but don't delete the directory): ..\App_code\Survey

4. Go to Host then SQL and paste theis script (make sure you have "Run as Script" checked:

drop procedure {databaseOwner}{objectQualifier}GetSurveys
GO

drop procedure {databaseOwner}{objectQualifier}GetSurvey
GO

drop procedure {databaseOwner}{objectQualifier}AddSurvey
GO

drop procedure {databaseOwner}{objectQualifier}UpdateSurvey
GO

drop procedure {databaseOwner}{objectQualifier}DeleteSurvey
GO

drop procedure {databaseOwner}{objectQualifier}GetSurveyOptions
GO

drop procedure {databaseOwner}{objectQualifier}AddSurveyOption
GO

drop procedure {databaseOwner}{objectQualifier}UpdateSurveyOption
GO

drop procedure {databaseOwner}{objectQualifier}DeleteSurveyOption
GO

drop procedure {databaseOwner}{objectQualifier}AddSurveyResult
GO
 
ALTER TABLE {databaseOwner}{objectQualifier}Surveys
 DROP CONSTRAINT FK_{objectQualifier}Surveys_{objectQualifier}Modules
GO

ALTER TABLE {databaseOwner}{objectQualifier}SurveyOptions
 DROP CONSTRAINT FK_{objectQualifier}SurveyOptions_{objectQualifier}Surveys
GO

ALTER TABLE {databaseOwner}{objectQualifier}SurveyOptions
 DROP CONSTRAINT FK_{objectQualifier}SurveyResults_{objectQualifier}SurveyOptions
GO

DROP TABLE {databaseOwner}{objectQualifier}SurveyResults
GO

DROP TABLE {databaseOwner}{objectQualifier}SurveyOptions
GO

DROP TABLE {databaseOwner}{objectQualifier}Surveys
GO



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 ForumsSurveySurveyError during installError during install


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