Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6925601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:48:38+00:00 2026-05-27T10:48:38+00:00

I am trying to execute a database script I created through the Forward Engineer

  • 0

I am trying to execute a database script I created through the Forward Engineer Addin for Microsoft Visio. Initially, when I executed the first time on Microsoft SQL Server Management Studio, it executed. However, when I changed the diagram in Visio, created a new script and re-executed the script, I received the following errors:

Msg 5011: User does not have permission to alter database
Msg 5069: ALTER DATABASE statement failed
Msg 3701: Cannot drop the database because it does not exist or you do not have permission.

It ran the first time I executed. I did not change any settings prior to attempting to re-execute the script. But why am I receiving the aforementioned errors?

How do I ensure the user using to execute the script has access to modify database properties and create database permissions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:48:38+00:00Added an answer on May 27, 2026 at 10:48 am

    You will need to make sure the user you are using to execute the script has access to modify database properties and create database permissions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to execute a stored procedured from a linked database in MS
I am trying to execute this but cant see any result: <script> function init()
I'm trying to create a database connection in a python script to my DB2
I'm trying to create a FUNCTION in my Postgres database from a Bash script.
I'm trying to write a script to import a database file. I wrote the
I am trying to execute the shell script in vb.net. Shell(C:\Program Files\NCBI\blast-2.2.25+\bin\similarity\blastn -query test.fasta
I'm trying to use the sql-maven-plugin to execute a PL/SQL script on an Oracle
I am a novice bash script user. I am trying to execute this postgresql
I'm trying to modify a script that stores my session data in a database
I'm trying to make a bash script that's going to backup a db2 database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.