Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Delete Portal ERRORS
Last Post 11-01-2010 03:55 PM by sentient. 7 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
sentientUser is Offline
river guide
river guide
Posts:127
Avatar

--
09-30-2010 02:50 PM
    When trying to delete a portal I get hte following error.

    Error: Portals is currently unavailable.
    DotNetNuke.Services.Exceptions.ModuleLoadException: The DELETE statement conflicted with the REFERENCE constraint "FK_DataSprings_UserImport_Modules". The conflict occurred in database "qef_beta1", table "dbo.DataSprings_UserImport", column 'ModuleID'. The DELETE statement conflicted with the REFERENCE constraint "FK_Modules_Portals". The conflict occurred in database "qef_beta1", table "dbo.Modules", column 'PortalID'. The statement has been terminated. The statement has been terminated. ---> System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_DataSprings_UserImport_Modules". The conflict occurred in database "qef_beta1", table "dbo.DataSprings_UserImport", column 'ModuleID'. The DELETE statement conflicted with the REFERENCE constraint "FK_Modules_Portals". The conflict occurred in database "qef_beta1", table "dbo.Modules", column 'PortalID'. The statement has been terminated. The statement has been terminated. 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.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) at Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, String spName, Object[] parameterValues) at DotNetNuke.Data.SqlDataProvider.DeletePortalInfo(Int32 PortalId) at DotNetNuke.Entities.Portals.PortalController.DeletePortalInfo(Int32 PortalId) at DotNetNuke.Entities.Portals.PortalController.DeletePortal(PortalInfo portal, String serverPath) at DotNetNuke.Modules.Admin.Portals.Portals.grdPortals_DeleteCommand(Object source, DataGridCommandEventArgs e) --- End of inner exception stack trace ---
    sentientUser is Offline
    river guide
    river guide
    Posts:127
    Avatar

    --
    10-02-2010 11:58 PM
    This is pretty serious - is there no support for this???!

    I cant delete a portal becasue of the dynamic import module and this has had no reply in days, please help.
    sentientUser is Offline
    river guide
    river guide
    Posts:127
    Avatar

    --
    10-03-2010 01:26 PM

    Wow that is annoying,


    I have to go through and delete all the Foreign Keys to all the Datasprings modules in my site so I can delete a portal. Cant this be integrated in the module code?


    I have done so but what effect is this going to have on the site? Im worried my production site is going to crash.

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-03-2010 01:47 PM
    Hi Marc,

    Sorry, I actually thought that this was related to our user directory module where it was having a problem clearing the recycle bin because of one foreign constraint. I honestly have not seen this anywhere else before.

    https://www.datasprings.com/Products/Product-Forums/tabid/727/view/topic/postid/1764/Default.aspx

    Yes - Basically you would either need to remove the constraints for these (I can’t see any impact besides the fact of referential integrity and possibly minor performance). Basically you will end up having rows in those tables that reference portal ID’s that no longer exist. So you can either:

    1. Remove the constraints
    2. Remove the rows in the database for the User Import / Directory Modules that are directly related to the portal ID you are trying to delete

    This is something ill have to check on, I have seen this on rare occasions with the directory module but I have never seen anything posted on this related to the Interactive User Import module. We might review not adding this constraint in the installation for future builds.

    Thanks for your understanding. Also please keep in mind that community forums are great and we encourage their use however responses within the community forums do not follow along with our standard support policy at http://www.datasprings.com/ProductSupport.

    Thanks,

    Chad

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-03-2010 01:48 PM
    Also, please keep in mind its Sunday here in the U.S.

    Thanks,
    Chad
    sentientUser is Offline
    river guide
    river guide
    Posts:127
    Avatar

    --
    10-04-2010 12:24 AM
    Understand, I just saw a fundamental flaw that was restricting typical DNN functions and therefore I assume is a bug that qualifies for immediate support. With the FK constraints dropped, all seems well with the portal deletion and I have seen no adverse effects.

    I am getting user deletion Errors with the DR module. I know that it is only a soft delete and that is fine but there is still an "ERROR while deleting user" both from the DR user manager and DNN user manager. I think there are more FK isues in there?

    Thanks for you help.
    jdroger2User is Offline
    skipping stones
    skipping stones
    Posts:5
    Avatar

    --
    10-15-2010 02:13 PM
    I got a similar message when I was emptying my recycle bin. I use several datasprings modules but not the user import. Anyway my message was the same except:

    FK_DataSprings_DynamicViews_Modules

    What I did was to select all the pages and click delete, then the same with the modules and then it was empty... also I could then successfully click on empty recycle bin.

    Hope this helps
    sentientUser is Offline
    river guide
    river guide
    Posts:127
    Avatar

    --
    11-01-2010 03:55 PM
    Now getting further issies with more FKs

    DotNetNuke.Services.Exceptions.ModuleLoadException: The DELETE statement conflicted with the REFERENCE constraint "FK_DataSprings_DynamicLogin_Role_Roles". The conflict occurred in database "qef_beta1", table "dbo.DataSprings_DynamicLogin_Role", column 'RoleID'. The statement has been terminated. ---> System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint

    It seems like every DataSprings module has FKs that hinder portal and user deletion. So Im going through dropping all these constraints not knowing what impact there will be down the line.

    And then I have to repeat all over again on the next site... really annoying.
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi