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 installing Survey Module 04.50.00Error installing Survey Module 04.50.00
Previous
 
Next
New Post
10/1/2008 5:21 PM
 

I'm sorry I cannot imagine what is wrong. You can log in as the Host account and then go to Host/SQL and paste this script in (Chck the Run As Script box) and then try installing using the Avaliable modules feature

 

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

drop procedure {databaseOwner}{objectQualifier}AddSurveyResult_cookie
GO
 
drop procedure {databaseOwner}{objectQualifier}GetSurveyResultData
GO

drop procedure {databaseOwner}{objectQualifier}DeleteSurveyResultData
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}SurveyResults
 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
 
New Post
10/4/2008 10:34 PM
 

Michael,

Still no joy, I'm afraid.  Ran the script you provided.  Received the following messages:

System.Data.SqlClient.SqlException: Cannot drop the procedure 'dbo.DeleteSurveyResultData', because it does not exist or you do not have permission. 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) drop procedure dbo.DeleteSurveyResultData System.Data.SqlClient.SqlException: Incorrect syntax near 'GO'. 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) DROP TABLE dbo.Surveys GO

 

Went into the database. The procedure 'dbo.DeleteSurveyResultData' did not exist.  The table 'dbo.Surveys' was there so I renamed it to 'dbo.Surveys_bak'.  Then I tried to install the survey module again.  Got the following errors:

 

StartJob     Begin Sql execution
Info     Executing 03.01.00.SqlDataProvider
StartJob     Start Sql execution: 03.01.00.SqlDataProvider file
Failure     SQL Execution resulted in following Exceptions:

System.Data.SqlClient.SqlException: There are no primary or candidate keys in the
referenced table 'dbo.Surveys' that match the referencing column list in the foreign key
'FK_SurveyOptions_Surveys'. Could not create constraint. See previous errors. 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) if
not exists (select * from dbo.sysobjects where id =
object_id(N'FK_SurveyOptions_Surveys') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE dbo.SurveyOptions ADD CONSTRAINT FK_SurveyOptions_Surveys FOREIGN
KEY ( SurveyID ) REFERENCES dbo.Surveys ( SurveyID ) ON DELETE CASCADE NOT FOR
REPLICATION
EndJob     End Sql execution: 03.01.00.SqlDataProvider file
 

Failure     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()

 

Not sure what to try next - any thoughts?

 
New Post
10/5/2008 8:18 AM
 

Delete all the Survey tables and Stored procedures and try the Beta version:

http://www.adefwebserver.com/DotNetNukeHELP/Misc/Files/DNN_Survey_04.60.00_Install.zip



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
10/8/2008 9:08 PM
 

Got the following trying to install the beta version.

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()

 
New Post
10/12/2008 2:35 PM
 

 I got the same error just wonder if you find a fix for this?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyError installing Survey Module 04.50.00Error installing Survey Module 04.50.00


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