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!

Can't delete portal because of User Directory
Last Post 01-13-2010 09:46 AM by David To. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Anne ComesUser is Offline
wading in the water
wading in the water
Posts:25
Avatar

--
07-09-2007 02:52 PM

    I tried to delete a portal that had an instance of the User Directory on one of its pages, and I got the following error:

     

    Error: Portals is currently unavailable.
    DotNetNuke.Services.Exceptions.ModuleLoadException: The DELETE statement conflicted with the REFERENCE constraint "FK_DataSprings_DynamicUserDirectory_Modules". The conflict occurred in database "A3250372", table "dbo.DataSprings_DynamicUserDirectory", column 'ModuleID'. The DELETE statement conflicted with the REFERENCE constraint "FK_DataSprings_DynamicUserDirectory_Portals". The conflict occurred in database "A3250372", table "dbo.DataSprings_DynamicUserDirectory", 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_DynamicUserDirectory_Modules". The conflict occurred in database "A3250372", table "dbo.DataSprings_DynamicUserDirectory", column 'ModuleID'. The DELETE statement conflicted with the REFERENCE constraint "FK_DataSprings_DynamicUserDirectory_Portals". The conflict occurred in database "A3250372", table "dbo.DataSprings_DynamicUserDirectory", 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

     

    It seems to have left the portal in kind of a quasi-deleted stage, as I can no longer navigate to the portal to try to delete the UD module that was causing the problem.

    Not an earth-shattering problem, but it would be nice if it could be fixed in the next release. When is a new release planned for this module?

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    07-11-2007 06:23 AM
    Hi, execute this under Host/SQL and let me know if this fixes you up.

    ALTER TABLE DataSprings_DynamicUserDirectory
    DROP CONSTRAINT FK_DataSprings_DynamicUserDirectory_Modules



    KellyoUser is Offline
    river guide
    river guide
    Posts:113
    Avatar

    --
    11-20-2009 08:18 AM

    I just had this same issue (DNN 4.9.5 and DUD 2.5.3) .. could not clear DUD from recycle bin .. received same error as above. I ran the SQL script and all was resolved.

     

    Thanks

     

    Kelly

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    12-02-2009 01:06 PM
    Kelly,

    Thanks for posting this... Always great to see someone post when a solution worked for them instead of only when it doesn't

    -Chad
    JackUser is Offline
    Posts:27
    Avatar

    --
    01-12-2010 09:26 AM

    Will this SQL impact the DUD modules on any other portal?

    I have DUD on several portals, when I tried to delete a portal I got the same error message.  I want to get thinngs cleaned up properly, but I do not want to do so at the expence of DUD function on my other portals.

    Thanks,

    Jack

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    01-13-2010 09:46 AM
    HI, this SQL command is only to remove the constraint for deleting the DUD module from a portal but it should not effect any DUD module functionality if that module is not deleted. -- David
    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