Products

Solutions

Resources

Partners

Community

About

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 ForumsStoreStoreErrors during uninstallErrors during uninstall
Previous
 
Next
New Post
6/1/2011 6:13 PM
 
I've been having problems with the core store version 3.00.00 Store Admin module.  The page is throwing errors and I've tried to uninstall and reinstall it but I keep getting an error when I uninstall and after reinstalling.  The Uninstall error is a warning error so I've tried reinstalling afterwards but I still get an error on the Store Admin screen. The error that it throws during the uninstall references an 'unclosed quotation mark after the character string 'ModuleControls WHERE (ControlKey = N'STORELINKS') AND (ControlType = - 2) '  I checked the Uninstall.sqldataprovider file and found what I think is being referenced - looks like it's a DELETE statement:
DELETE FROM {databaseOwner}[{objectQualifier}ModuleControls
WHERE     (ControlKey = N'STORELINKS') AND (ControlType = - 2)

Any ideas of either what is causing the problem or how to fix it?

 
New Post
6/1/2011 6:43 PM
 
it looks like there is a closing ] missing, statement should be:
DELETE FROM {databaseOwner}[{objectQualifier}ModuleControls]
WHERE (ControlKey = N'STORELINKS') AND (ControlType = - 2)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/1/2011 7:41 PM
 
Specify your DNN version AND the complete error message

We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
6/3/2011 6:09 PM
 
I added the closing ] in two places in the install file where it was missing but I'm still getting the same error and I'm still unable to reinstall and get version 3.00.00 of the store admin to come up.  Only the DELETE command is an exact copy for the reference.  The error I'm getting is:

SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException (0x80131904): Unclosed quotation mark after the character string 'ModuleControls WHERE (ControlKey = N'STORELINKS') AND (ControlType = - 2) '. Incorrect syntax near 'ModuleControls WHERE (ControlKey = N'STORELINKS') AND (ControlType = - 2) '. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() 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 EXISTS (SELECT ModuleControlID FROM dbo.ModuleControls WHERE (ControlType = - 2) AND (ControlKey = N'STORELINKS')) DELETE FROM dbo.[ModuleControls WHERE (ControlKey = N'STORELINKS') AND (ControlType = - 2) System.Data.SqlClient.SqlException (0x80131904): Unclosed quotation mark after the character string 'ModuleControls WHERE (ControlKey = N'STOREMICROCART') AND (ControlType = - 2) '. Incorrect syntax near 'ModuleControls WHERE (ControlKey = N'STOREMICROCART') AND (ControlType = - 2) '. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() 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 EXISTS (SELECT ModuleControlID FROM dbo.ModuleControls WHERE (ControlType = - 2) AND (ControlKey = N'STOREMICROCART')) DELETE FROM dbo.[ModuleControls WHERE (ControlKey = N'STOREMICROCART') AND (ControlType = - 2)

In the uninstall file there are a limited number of places where 'STORELINKS' is referenced.  I have copied those lines from the uninstall below:

IF EXISTS (SELECT ModuleControlID FROM {databaseOwner}{objectQualifier}ModuleControls WHERE (ControlType = - 2) AND (ControlKey = N'STORELINKS'))

DELETE FROM {databaseOwner}[{objectQualifier}ModuleControls]
WHERE     (ControlKey = N'STORELINKS') AND (ControlType = - 2)

Can you see anything wrong with the syntax that would coincide with the error message?

Any help would be appreciated. 

I am using DNN 5.05.00 if that helps at all.
 
New Post
6/7/2011 10:29 PM
 
Replace the commands about 'STORELINKS' by the following code:



IF EXISTS (SELECT ModuleControlID FROM {databaseOwner}{objectQualifier}ModuleControls WHERE (ControlType = -2) AND (ControlKey = N'STORELINKS'))

DELETE FROM {databaseOwner}{objectQualifier}ModuleControls

WHERE     (ControlKey = N'STORELINKS') AND (ControlType = -2)

GO

IF EXISTS (SELECT ModuleControlID FROM {databaseOwner}{objectQualifier}ModuleControls WHERE (ControlType = -2) AND (ControlKey = N'STOREMICROCART'))

DELETE FROM {databaseOwner}{objectQualifier}ModuleControls

WHERE     (ControlKey = N'STOREMICROCART') AND (ControlType = -2)

GO



Again, what is you first error message displayed by the store Admin module!!!

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreErrors during uninstallErrors during uninstall


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