Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Error Publishing the DatabaseError Publishing the Database
Previous
 
Next
New Post
1/13/2012 7:41 AM
 

Hello Samuel,

I am having the exact same problem you described in this post.  I was happy to find someone to have a similar issue because I've been going in circles.  Can you give me more details on exactly how you were able to publish your database with godaddy?  You said you didn't publish the user and roles.  Can you be more specific?  I tried this a couple different ways and I'm still failing with the error at the bottom of this post.  Do you mean at the point where you select  the objects to script you didn't select the aspnet_users and aspnet_roles tables?  Or did you mean when you selected the objects to scripts (Tables, Views etc) you didn't select the entire collection of Users and Database Roles?

Please help - I'm at a loss of what to try next.

Carrie

Microsoft.SqlServer.Management.SqlScriptingEngine.PublishingServiceException: An error occurred while trying to publish the following script:IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[aspnet_Users]') AND type in (N'U')) DROP TABLE [dbo].[aspnet_Users] ---> System.Web.Services.Protocols.SoapException: Could not drop object 'dbo.aspnet_Users' because it is referenced by a FOREIGN KEY constraint. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Microsoft.SqlServer.Tools.HostingServices.PublishService.PublishScript(String script) at Microsoft.SqlServer.Management.SqlScriptingEngine.PublishToWebWriterProvider.PublishScript(String script) --- End of inner exception stack trace --- at Microsoft.SqlServer.Management.SqlScriptPublish.GeneratePublishPage.worker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Error Publishing the DatabaseError Publishing the Database


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