Error message "CREATE TABLE permission denied in database 'master'"

I am starting an application and I get the error message above. I do not want to creat tables in the master database - therefore I created my own database and added it to the Connection string:
DATABASE=TEST
But still the same message.

Hi,
As said you have created the new database and want create a table. Please make sure you are connecting to the right database. If you are unable to get the connection string of the newly created database, please go to the management portal and click
on the newly created database and click on dashboard to get the connection strings for the database. Then you can add the same information from where you are trying to create table with the database name to proceed further.
It seems that you are connecting to master instead of connect against your new database that you have created. Once you connect to your database you will need permission to create tables. If you are "dbmanager" role you should not have any problem
to create it.
Hope this helps you.
Girish Prajwal

Similar Messages

  • SQL Express 2008 R2 - CREATE DATABASE permission denied in database 'master'

    I have created a setup application with SQLEXpress 2008 as a prerequisite. On test SQLExpress installs OK
    after the application is installed it must create and install a database using a mixture of SMO and Scripting. I used SMO to add the current user (who is a Windows Administrator) as a Login to the SQL Express server.
    Dim l As Login = New Login(srv, My.User.Name)
                    l.LoginType = LoginType.WindowsUser
                    l.AddToRole("sysadmin")
                    l.DefaultDatabase = "MASTER"
                    l.Create()
    It fails on srv.CreateDatabase with error message "permission denied in database MASTER"
    this thread talks about converting the server to single user mode before adding a login
    http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/thread/86daf5f5-d333-40b1-ae6f-0da052a96600
    how is it possible to scrip this? there is no documentation i can find. 
    the database must be installed in the ProgramData folder. Is there a permissions issue with this. Do I need to assign permissions to this folder somehow?
    bear in mind this will be a remote install and the user expects it work flawlessly.  No manual interventions

    if i connect to the sqlexpress instance  (local)\SQLEXPRESSS  using SQL Management Studio and try to modify the Windows User Login I get the error message:
    "User does not have permission to perform this action. (Microsoft SQL Server, Error: 15247)"
    how is this possible. it seems to be at an impasse. can't go forward or backward 
    Now try launching Managenment Studio by right clicking on shortcut and choosing "Run As Adminitstartor".
    If above works then you are running on Windows 2008 family OS (Vista, 2k8 or Win7) which has
    UAC feature.
    If above does not work then you really don't have permission then follow below. 
    Troubleshooting: Connecting to SQL Server When System Administrators Are Locked Out
    Start the instance of SQL Server in single-user mode by using either the
    -m or
    -f options. Any member of the computer's local Administrators group can then connect to the instance of SQL Server as a member of the
    sysadmin fixed server role.
    http://msdn.microsoft.com/en-us/library/dd207004.aspx
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other user's find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog: http://blogs.msdn.com/blakhani
    Team Blog: http://blogs.msdn.com/sqlserverfaq

  • CREATE DATABASE permission denied in database 'master'.

    Hi,
    I have tipical situation in my database environment. i have task for deployment few object in Stage environment while running those scripts showing these error message "create database permission denied in database 'master'"
    I have SA permissions in my server and environment is Sql server 2008 r2.
    Please help on this.
    thanks in advance
    Vijay

    If you have SA permissions then you will never get this error.
    What is the login that you used. Confirm if you indeed has SA permissions in the instance that you are trying to execute the script and got this error.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIWA0TRZONE_TEXT'

    Hi experts,
    when I import my transport request to QA, I am getting this error
    "Error while creating table 'EDISEGMENT' entry '/BIC/CIWA0TRZONE_TEXT'"
    the performance assistance reads as below..
    Message no. EA201
    Diagnosis
    An attempt was made to create the entry '/BIC/CIWA0TRZONE_TEXT' in table 'EDISEGMENT'. The attempt failed.
    System response
    The operation was canceled.
    Procedure
    Please check whether the relevant entry already exists
    I have an entry for '/BIC/CIWA0TRZONE_TEXT'  in the table 'EDISEGMENT' do need to delete it before importing the transport. How to delete this entry, I donot see the options in SE11 /SE16..
    thanks in advance
    D Bret

    Hi,
    can you please be more precise with your enquiry?
    As far as I read the note, it is quite explanatory....
    What is your source system release?
    You'll need to implement this prog in your source system and execute it there.
    If everything works and is fine, import to program in your QA/PROD source systems and rexecute it as specified in the note...
    does it answer your question
    Olivier.

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIBB0DISTR_CHAN_TEXT'

    When I am activating the transfer rules of 0divison_text giving me the error
    Error while creating table 'EDISEGMENT' entry '/BIC/CIBB0DISTR_CHAN_TEXT'
    Message no. EA201
    Diagnosis
    An attempt was made to create the entry '/BIC/CIBB0DISTR_CHAN_TEXT' in table 'EDISEGMENT'. The attempt failed.
    System Response
    The operation was canceled.
    Procedure
    Please check whether the relevant entry already exists.
    I have checked the note 493422 but I did not understand it can any one help me in this
    I am  working on 7.o with  SP SAPKW70010

    Hi Priya,
    Delete entries for the data source in ROOSGEN,  EDISEGMENT and EDSAPPL tables, both on ECC and BI sides.
    Try activating the infosource again.  This should solve your problem.
    Sasi

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIAC0CLASS_NUM_TEXT'

    Hello,
    I get the error message:
    "Error while creating table 'EDISEGMENT' entry '/BIC/CIAC0CLASS_NUM_TEXT'"
    when trying to activate my inactive transfer structure for 0CLASS_NUM_TEXT..
    Many other transfer structures work fine, but this one is really problematic.
    Has anyone seen it before? What do i do to solve it?
    Regards,
    F C

    Hi,
    Please check the note 493422. The reports listed in the note
    should correct the inconsistencies and afterwards you can re-import the
    request and it should then work.
    Regards,
    Srikanth

  • Dbms_xmlschema.registerschema, (ORA-31084: error while creating table )..

    Hello,
    I have some problems with dbms_xmlschema.registerschema
    My database is: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    My XSD schema is (SEPA pain.002.001.03.xsd) also available on this url: http://code.google.com/p/leontestbed/source/browse/trunk/bc2/sample/Schema/pain.002.001.03.xsd?r=241
    After
    begin
       DOK_XML_UTIL.p_vnesi_xsd_blob(401941242); -- store a XSD on file system from blob field
       dbms_xmlschema.registerschema(
        schemaurl => 'http://localhost/TEST1.XSD',
        schemadoc => bfilename('ETAX_LOAD','TEST1.XSD'),
        csid => nls_charset_id('AL32UTF8'));
    commit;
    end;I get:
    ORA-31084: error while creating table "INIS_PROD"."Document2781_TAB" for element "Document"
    ORA-02320: failure in creating storage table for nested table column "XMLDATA"."CstmrPmtStsRpt"."OrgnlPmtInfAndSts"
    ORA-01792: maximum number of columns in a table or view is 1000
    ORA-02310: exceeded maximum number of allowable columns in table
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 65
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 136
    ORA-06512: at line 4
    What I'am doing wrong or what is the reason for this error..

    Arrgghhh.....
    begin
       DOK_XML_UTIL.p_vnesi_xsd_blob(401941242);
       dbms_xmlschema.registerschema(
        schemaurl => 'http://localhost/TEST1.XSD',
        schemadoc => bfilename('ETAX_LOAD','TEST1.XSD'),
        csid => nls_charset_id('AL32UTF8')
        , local => true
      , genTypes => false
      , genTables => false);
    commit;
    end;sorry...

  • Error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR

    While loading master data for 0PLANT, its giving me following error.
    "error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR"
    Please help me out.
    Thanks

    steve,
    Can you give the solution you used to correct this problem?
    This error occurred in BW during import.
    Raj.

  • Error while creating table maintenance generator

    Hi,
    I am getting below error while creating table maintenance generator.
    Screen SAPLZtest   0002 could not be generated.   In DYNPFIELD_ATTR field LENGTH has the invalid value 241.
    Reason for that error might be:
    In the table I have a field with a dataelement(customized) of type Char and length 241.
    But in the other table Iam using the standard data element(standard) of same type(241 char).In this table Iam able to create table maintenance generator without any errors.
    And the domain Iam using is same for both the tables.
    Please help me to solve this.
    Thanks in advance,
    Sravanthi

    Hi,
    you can go to transaction se51 and go your screen. active it.. you can find thesolution.
    refer these links..
    Error in table control
    Error while creating table maintainence generator !
    Thanks and Regards,
    Ahamed.

  • Source sys Restore "error while creating table EDISEGMENT "

    Dear All,
    I am Basis person and recently we have refreshed data of Test BI system from Development BI system. we normally carry out these Refresh but In this case we have also changed Hostname and SID for Test BI system.
    We have done all BW refresh steps as per guide and during Restore of source system we
    are getting errors during datasource activation as  " error while creating table EDISEGMENT ".
    we have checked RFC and Partner profiles and working fine.
    We have 2 clients connected from source system to our Test BI box.strange thing is we got one source system activated without any errors and for second
    source system we are getting above mentioned error.
    We have reviewed notes 339957 , 493422 but our BI fuctional team is not sure whether
    those apply to our OLTP system , as one source system from same OLTP system got
    successfully activated and source system for other client giving this issue .
    Please help us out with this problem.
    we are running on BI 7.0 platform and ECC 6.0 for source.
    Regards,
    Rr

    check the relevant profiles in We20 t code and also in sm59 if the remote connection with autorisation is sucssessfull, connection is ok otherwise you need to check th paramters.
    hope this helps
    regards
    santosh

  • Erro: "Error while creating table 'EDISEGMENT'"

    Pessoal bom dia,
    quando eu vou Ativar uma Regra de Transferência retona o seguinte erro:
    Error while creating table 'EDISEGMENT'
    não estou conseguindo desvendar o que pode ser isto, e a regra não ativa de jeito nenhum.
    Alguém já passou pelo problema?

    Please post this in the Portuguese Forum...
    Regards
    Juan

  • Error: "Error while creating table 'EDISEGMENT'"

    Hi,
    When I activate a Transfer Rule return the following error:
    Error while creating table 'EDISEGMENT'
    Someone has passed the problem?

    Bom dia Marques,
    Na SAP Note 339957 tem o síntoma descrito por você.
    Solução:
    In the system where the error occurs (usually the OLTP), create and run the report RS_CHECK_TS_EDISEGMENT (with SENDING and RECEIVING LOGSYS as an entry).
    Entretanto esta nota foi substituida pela SAP Note 493422, com bem mais detalhes e indica um programa Z
    Atenciosamente,
    Fernando Da Rós
    PS: Fórum em português.

  • Error while creating table 'EDISEGMENT' entry for Transfer Structures

    Hi Guyz...
    I've been facing a few issues regarding activation of transfer structures.
    I'll explain the whole process...so it makes sense to you guys.
    I've initially activated the Transfer Structures in BI Content for Master Data. Later on we faced some issues in the DEV server. So we had to transport all the objects and store them locally on a temporary location. When the BI DEV sever, was up and running, we transported all the objects back to the server.
    Now while moving the objects back to the sever. We had an errors in the Master Data Request (Log- Method Execution). After going into the log...this is what I found.
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0DIVISION_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0DISTR_CHAN_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0MATL_TYPE_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0SALESORG_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0SALES_GRP_TEXT'
    I hope, I am clear here.
    Any suggestions, guys...
    Thanks,
    Regards,
    G

    Hi,
    Please check this link:
    Error while creating table EDISEGMENT entry
    Hope it helps.
    Thanks and Regards,
    MuraliManohar.

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIBD0BILBLK_DL_TEXT'

    Hi All,
    I am getting a error"Error while creating table 'EDISEGMENT' entry", when running the program RS_Transtru ActivateAll to activate the transfer rules as we had reconnected our source system,
    we are on 2004s server and on SP level 17, I understand that this issue is created as the transfer rules are using IDOC as transfer method, and I Cannot manually change the transfer method to PSA and activate  as the number of transfer rules with this  issue are huge in number.
    Please suggest the suitable solution
    Thank you in advance
    krishna
    Edited by: krishna dvs on Feb 17, 2009 1:24 PM

    Hi,
    Please check the note 493422. The reports listed in the note
    should correct the inconsistencies and afterwards you can re-import the
    request and it should then work.
    Regards,
    Srikanth

  • ORA - 00922 Missing or Invalid option error while creating table

    I am tryin to create a table with the following syntax
    1 CREATE TABLE TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5* @storage_parms_table_cmn
    6 /
    @storage_parms_table_cmn
    ERROR at line 5:
    ORA-00922: missing or invalid option
    Here, storage_parms_table_cmn.sql reads like this
    tablespace DBK_CMN_DATA
    Can anyone please guide me how to overcome this error.

    What is your Oracle Version?
    i can do it exactly what you did without error
    sql> CREATE TABLE vd.TEST_FOR_SCRIPT (
    2 TEST_A NUMBER NOT NULL
    3 ,TEST_B VARCHAR2(30) DEFAULT 'UNDEFINED' NOT NULL
    4 )
    5 @test1.sql
    6 /
    Table created.
    Cheers
    http://fiedizheng.blogspot.com/

Maybe you are looking for

  • Calling a report from a report (10g)

    Hi I am using DeveloperSuite 10g and Application Server 9.0.4 - I am trying to call a report from another report. I believe I am correct in thinking that as buttons don't exist in reports any more I have to use a hyperlink containing the URL to the r

  • Problem Installing Itunes on Windows 7

    I have a brand new computer with Windows 7. I have downloaded Itunes, I select run, it completes the download and then nothing. There is no icon, no indication that it isi installed. It is not listd in the programs etc. I can't find it. What is wrong

  • The connection pool does not exist?

    Can somebody tell what is happening? For some reason the Sun Java Application Server 8 seems to think that there is no connection pool. For a moment everything worked. I did not change the configuration but now I get this message (if I open the admin

  • How to get data dynamically into the input form fields.

    hey guys,        I have created an input form in VC and it has 2 fields which r 'drill-down' type.Now what i want is that the entries for the fields should come automatically on deployment in the portal.what i mean is that e.g. u have a field 'locati

  • SAP connector info

    I am working with SAP connector at a customer and I see that the versions supported by OIM is: SAP R3 4.6C (running on Basis 4.6C) SAP R3 4.7 (running on WAS 6.20) MySAP ERP 2004 (ECC 5.0 running on WAS 6.40) MySAP ERP 2005 (ECC 6.0 running on WAS 7.