HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsSurveySurveyError installing Survey Module 04.50.00Error installing Survey Module 04.50.00
Previous
 
Next
New Post
10/1/2008 2: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 7: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 5: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 6: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 11:35 AM
 

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

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsSurveySurveyError installing Survey Module 04.50.00Error installing Survey Module 04.50.00


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.