I have created a website in DotNetNuke 7 on a local machine which I could publish successfully on the host server with WM2 until I added two modules to the site: Contact Collector Module for DotNetNuke and DigForm and since I am unable to update the website database. Even after deleting both modules I am getting the same error message. Database management is not something I am an expert in. Does anyone have any idea how this can be solved?
ERROR: Unable to publish the database. For more information, see "http://go.microsoft.com/fwlink/?LinkId=205387"
15:28:03: Unable to publish the database. For more information, see "http://go.microsoft.com/fwlink/?LinkId=205387"
15:28:03: Could not publish the site. Unable to publish the database. For more information, see "http://go.microsoft.com/fwlink/?LinkId=205387"
15:28:03: Error detail:
15:28:03: An error occurred during execution of the database script. The error occurred between the following lines of the script: "622" and "625". The verbose log might have more information about the error. The command started with the following:
15:28:03: "IF EXISTS (SELECT * FROM sys.objects WHERE object"
15:28:03: Could not drop object 'dbo.Modules' because it is referenced by a FOREIGN KEY constraint. http://go.microsoft.com/fwlink/?LinkId=178587
15:28:03: Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.
15:28:03: at Microsoft.Web.Deployment.StatusThreadHandler.CheckForException()
15:28:03: at Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObject sourceObject, DeploymentSyncContext syncContext, Nullable`1 syncPass)
15:28:03: at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId)
15:28:03: at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
15:28:03: at Microsoft.Web.Deployment.DeploymentObject.SyncTo(String provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
15:28:03: at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
15:28:03: at Microsoft.WebMatrix.Deployment.WebDeployWorker.Execute(CommandManager commandManager, CertificateValidationService certificateValidationService, Boolean skipHiddenFiles)