When uninstalling the 1.1 package, the following error appears:
The DELETE statement conflicted with the REFERENCE constraint "FK_cmsPropertyData_cmsPropertyType". The conflict occurred in database "umbracoCMS", table "dbo.cmsPropertyData", column 'propertytypeid'. The statement has been terminated.
Stack Trace:
[SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_cmsPropertyData_cmsPropertyType". The conflict occurred in database "umbracoCMS", table "dbo.cmsPropertyData", column 'propertytypeid'. The statement has been terminated.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +404 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +412 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1363 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) +2840828 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +504 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +327 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +167 umbraco.DataLayer.SqlHelpers.SqlServer.SqlServerHelper.ExecuteNonQuery(String commandText, SqlParameter[] parameters) +173 umbraco.DataLayer.SqlHelper`1.ExecuteNonQuery(String commandText, IParameter[] parameters) +212
I don't know the exact problem. I already asked him if he could join this topic :-) He still had an issue, but it didn't have anything to do with this. Quote from his tweet: "and managed to uninstall the old version"
I decided to see what would happen, so I installed 1.2 package. No errors, all seems to be ok, accept, now I have two entries for 301 URL Tracker in my list of installed packages.
Problem solved. I used a different Alias for the datatype and it was still associated with my main doctype. Removed that, and successfully uninstalled.
Error Uninstalling 1.1 Package
When uninstalling the 1.1 package, the following error appears:
Stack Trace:
Mike Taylor experienced the same problem: http://twitter.com/#!/m1ketayl0r/statuses/8083633889873920
His problem were some rogue DB entries: http://twitter.com/#!/m1ketayl0r/statuses/8090779322945536
So the problem isn't the 301 URL Tracker, but a DB with entries which shouldn't be there.
I'm glancing through that table... what should I be looking for? Sounds like from his second tweet that he still has issues.
I don't know the exact problem. I already asked him if he could join this topic :-)
He still had an issue, but it didn't have anything to do with this. Quote from his tweet: "and managed to uninstall the old version"
Hi there
In the cmsPropertyType table, I found the row for "Redirect301" and noted the id.
Then, in the cmsPropertyData table, I just deleted any rows which had that id in the propertytypeid column.
(NB Back up your database before you do this, just in case!)
Mike
Thanks a lot mike! :-)
I have no entry in cmsPropertyType for "Redirect301".
How about '301URLTracker'?
Nothing with 301. The entry is still showing in my Data Types and when I click on it, I get "The given key was not present in the dictionary."
Recycle you appPool (or 'touch' the web.config). Then it should be gone.
After that try to uninstall 1.1 again...
Still the same. No go.
I decided to see what would happen, so I installed 1.2 package. No errors, all seems to be ok, accept, now I have two entries for 301 URL Tracker in my list of installed packages.
Problem solved. I used a different Alias for the datatype and it was still associated with my main doctype. Removed that, and successfully uninstalled.
Ah - makes sense - glad you got it figured out :-)
Mike
Great :-)
Could you mark a reply as the answer, so this topic will appear 'Solved' on the forum page? Thanks! :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.