Making sql server database read -write from read only

hey guys
i attached adventure works in sql server 2008 and it showing as read only ,
so please guide me to make it read write or remove read only tag from database
thanks in advance
sujeet software devloper kolkata

Hi,
Is there an error message while you attach (Or restore) the database if so please provide it.
If no Right click on your database choose properties -> go to options -> scroll to end then change read only option to false
I hope this is helpful.
Elmozamil Elamir
MyBlog
Please Mark it as Answered if it answered your question
OR mark it as Helpful if it help you to solve your problem
Elmozamil Elamir Hamid
http://elmozamil.blogspot.com

Similar Messages

  • SQL Server database (read-only mode) in Oracle SQL Developer

    Hello,
    I connected SQL server database with Oracle SQL Developer 3.2.10.09, everything looks good except i can only browse data, i cannot change data in tables cannot insert new or delete rows. Query is also disabled (i got message: Query Builder is not supported for this connection type.) I used Third Party JDBC Drivers - jtds-1.2.6.jar as my connection to SQL server. Is there a way to change data in tables?
    Thank you.

    AFAIK editing table data in the grid is only possible with an Oracle database. On MS SQL you'll have to use update statements in the worksheet.
    Hope that helps,
    dhalek

  • Sql Server 2005 read-only connection!

    Hi all,
    I have connected my Sql Server 2005 tables with Sql Developer 1.1.2.25, but all tables results in read-only state (I can't modify data). Connection user is administrator (SA) and no possible an user-grant problem (from Ms Server Client all work fine with same user). Same problem if I use a Windows Authenticated user. JDBC driver is from sourceforge.net .
    Can you help me?

    I have just installed Sql Developer v1.2, but haven't solved problem.
    Any ideas?

  • How to view the login log in window NPS after login cisco switch and without SQL server database

    how to view the login log in window NPS after login cisco switch and without SQL server database
    in summary 
    there is only log with event id 4400
    A LDAP connection with domain controller XCPAWS20.cyberport.noc for domain NOC2 is established.

    Hi adil,
    For your issue, you can create a custom security token service (STS) and then set up a trust relationship between a SharePoint 2010 farm and the custom STS.
    For more information, you can refer to the articles:
    http://forums.asp.net/t/1335229.aspx?Sharing+Authentication+Ticket+Between+ASP+NET+and+Sharepoint
    https://msdn.microsoft.com/en-us/library/office/ff955607(v=office.14).aspx
    http://www.paraesthesia.com/archive/2011/02/01/working-with-windows-identity-foundation-in-asp-net-mvc.aspx/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Online read + write from/to ms sql server database

    hi all,
    we're using R 4.6C. Want to connect to MS Sql server database and read/write data from abap program.
    what's the best (and fastest) way do to this ?
    joerg

    I know only DBCON (Database multiconnect): see the notes 178949 and 323151 for more details.
    Message was edited by: max bianchi

  • SharePoint 2013 - Server Error in '/' Application - This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database

    Hi
    After I ran SharePoint configuration wizard successfully to upgrade to SharePoint 2013 / SP1.
    I can open Central Administration site just fine.
    but now when I open any Site collection,  I got this error.
    Server Error in '/' Application
    This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration
    Wizard, located on the Start menu in Microsoft SharePoint 2010 Products
    I have restarted all the servers:  SQL server, WFE and APP servers but still cann't get this resolve.
    Services on all servers are running,  IIS - application pools are running.
    Can someone help with where that could be a problem or if there is a solution.
    Thanks in advance for your comments or advices.
    Swanl

    Please verify the followings:
    Make sure that from the SharePoint front end and application servers that you can ping your SQL server.
    Make sure that your Farm account has permission to the configuration database.
    Lastly verify that your database didn't for some reasons go into recovery mode.
    once everything is fine and you are still having issues, restart the SQL host service on the SQL server.
    Once the service is restarted you will need to reboot Central Admin and then your front end servers.
    In addition, as you built your farm inside the firewall, please disable the firwall, or create rules for SQL Server service in the firwall on SQL server.
    More information about creating rules in firewall, please refer to the following posts: http://social.technet.microsoft.com/Forums/en-US/c5d4d0d0-9a3b-4431-8150-17ccfbc6fb82/can-not-create-data-source-to-an-sql-server http://www.mssqltips.com/sqlservertip/1929/configure-windows-firewall-to-work-with-sql-server/
    Here is a similar post for you to take a look at: http://social.technet.microsoft.com/Forums/en-US/ea54e26c-1728-48d4-b2c5-2a3376a1082c/this-operation-can-be-performed-only-on-a-computer-that-is-joined-to-a-server-farm-by-users-who-have?forum=sharepointgeneral 
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How to create a .mdf SQL Server database from a Data-Tier Application file that has data?

    This is a noob question, though I do use SQL Server databases all the time with Entity Framework when I code in C# using Visual Studio 2013.  The development environment is found below at [A].  I am trying to make a clone of a SQL Server 2008 R2
    database (.mdf)  that exists online.  I can read, connect and work with this database in Visual Studio 2013, but I wish to make a local copy of the database, as an .MDF file.  Somewhere in my notes I have a way of creating a local copy from
    an online database when using Visual Studio but I forgot how (it seems, reviewing my notes, that it deals with ADO.NET which is deprecated in Visual Studio 2013 these days, or so it seems).  So I'm looking for another way.  What I did was create
    (or export) a "Data-Tier Application File" from the online SQL Server database, with data, and it seems to have worked in that this Data-Tier Application file exists on my hard drive and seems to have data in it ("SQL Server Replication Snapshot"
    is the format it seems).  It contains skeleton code to create a database, but when I tried to execute it with SQL Server 2014 Management Studio, I got a bunch of errors.
    So my question is:
    1) Can I somehow create a .MDF SQL Server Database from an Data-Tier Application file that has data?  What tool do I use?  I saw this link, http://social.technet.microsoft.com/wiki/contents/articles/2639.how-to-use-data-tier-application-import-and-export-with-a-windows-azure-sql-database.aspx 
    and it relates to Azure, but is there a tool for C#Visual Studio 2013, standalone?
    2) If there's an easy way to create a .mdf SQL Server Database file from an online file, within SQL Server Management Studio?  I don't think so, since it would require Administrator permissions on the online server, which I don't have. I have permission
    to read, update, delete the online database file, but strangely not to download it (the service I use has a tool for backup, but not for download).
    3) same question as 2), but for Visual Studio 2013?  I don't think so, since I notice none of the templates even mentions ADO.NET anymore, but instead they go with Entity Framework.  Using EF I can of course do anything I want with the online database
    (CRUD), but it remains online.  Maybe there's a switch to make a local copy?  I guess I could write a short program to suck all the data out of the online database and put it into a new, duplicate database having the same tables, that I create on
    my localhost, but my question here is if there's an easier way than this, maybe a tool or command I can run from inside Visual Studio?
    Any advice on any of the above questions is appreciated.
    Thank you,
    Paul
    [A] Microsoft Visual Studio Professional 2013
    Version 12.0.21005.1 REL
    Microsoft .NET Framework
    Version 4.5.51641
    Microsoft Web Developer Tools 2013   2.0.40926.0
    SQL Server Data Tools   12.0.30919.1
    Microsoft SQL Server Data Tools
    Windows Azure Mobile Services Tools   1.0
    Windows Azure Mobile Services Tools

    Thanks but these links are too general to help.
    "2. what do you mean by online file?" - I mean the SQL Server database file is on a remote web server that I rent from, but I am not the administrator of.  I can access my database using SQL Server Authentication, but nothing more.
    Paul
    What do you mean by too general? It explains on how you can use data tier application to create and deploy databases
    May be this will help you to understand better
    http://www.databasejournal.com/features/mssql/article.php/3911041/Creating-Data-Tier-Applications--in-SQL-Server-2008-R2.htm
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • After sql server 2012 installation, I have changed sql server database engine service account from network service user to system user. What is disadvantages of this process?

         After
     sql server 2012 installation, I   attached my production db. Because of some reasons, i
     changed sql engine account from network service user to system user by means of sql server configuration manager.
         Now , there isn’t
     a problem at sql server running system.  But
    I have doubts that
     this can produce problems later. Because  sql server database engine account must have privileges that listed below;
    Log on as a service (SeServiceLogonRight)
    Replace a process-level token (SeAssignPrimaryTokenPrivilege)
    Bypass traverse checking (SeChangeNotifyPrivilege)
    Adjust memory quotas for a process
    (SeIncreaseQuotaPrivilege)
    Permission to start SQL Writer
    Permission to read the Event Log service
    Permission to read the Remote Procedure Call service
     While sql server installation, setup gives these
     privileges to network service user automatically, but changing user by means of sql confugarition manager does not give these
    privileges.
    Now, system user has privileges listed below. And sql server has been running for 1,5 months without any problems.
    Log on as a service (SeServiceLogonRight)
         Bypass traverse checking
    (SeChangeNotifyPrivilege) (Everyone user has his privileges. So i think that system user has this privilege also)
    What problems can occur because of this situation? Shall i give other privileges to system user and restart sql server or not? And how can i give these privileges to system user listed below;
    Replace a process-level token (
    this can be set from user rights assignments)
    Adjust memory quotas for a process
    (this can be set from user rights assignments)
    Permission to start SQL Writer ( 
    ? - give advice )
    Permission to read the Event Log service (
    ? - give advice )
    Permission to read the Remote Procedure Call service (
    ? - give advice )

     Our server is  windows server 2008 r2 enterprise edition. I have looked the bunch of permissions in user rights menu  that is in local security policy settings gui.
    And i have seen those permissions below were not granted to system user;
    Bypass traverse checking (SeChangeNotifyPrivilege)
    Adjust memory quotas for a process
    (SeIncreaseQuotaPrivilege)
    So, briefly you say, don't panic ?

  • Create a visual web part which get data from excel sheet and import it into sql server database in sharepoint 2010 (development)

    Hi,
    I want to create a visual webpart which will read data from excel sheet and import it in to sql server database.(using sharepoint development)
    I want to do it using visual webpart.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi  Rajni,
    Microsoft.Office.Interop.Excel assembly provides class to read excel file data, in your web part solution, reference the assembly, and following blog contains samples about how to read the excel file data,
    and import it to SQL  database.
    1.Create a Visual Web Part Project:Create
    Visual Web Parts in SharePoint 2010
    2.Read the excel workbook by using SPFile class:
    http://alancejacob.blogspot.in/2012/06/read-data-from-excel-file-and-insert-in.html
    http://stackoverflow.com/questions/14496608/read-excel-file-stored-in-sharepoint-document-library
    3.Export the excel workbook to SQL Server:
    http://www.c-sharpcorner.com/UploadFile/99bb20/import-excel-data-to-sql-server-in-Asp-Net/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Vix file in UI builder doesn't recieve data from Webservice application that communicates with SQL server database

    I have created Web service VI ("Prikaz insolacije.vi") which has two input string terminals (FROM / TO) for dates and two output terminals for data (1-D array) collected from database (MS SQL server). This VI communicates with database using functions from database palette with appropriate DSN and SQL query. There are two tables with two data columns (Time and Insolation) in Database.
    This VI works when you run it in Labview 2010, but when I used it as sub VI in UI builder it doesn't return any data.
    Could you please help me find a solution. Is it possible to communicate with SQL server database this way or there is another way?
    There are two attachmet files: Image of .vix file in UI builder and .vi file ("Prikaz insolacije.vi")
    Please help me ASAP!
    Thanks,
    Ivan
    Solved!
    Go to Solution.
    Attachments:
    vix file in UI builder.png ‏213 KB
    Prikaz insolacije.vi ‏35 KB

    Status is False and source string is empty. It behaves like there is no code in VI.
    I tried to access web service directly using following URL:
    http://localhost:8080/WSPPSunce/Prikaz_insolacije/2009-11-05/2009-11-01
    and it doesn' t work. It returns zeros.
    The response is:
    <Response><Terminal><Name>Insolacija</Name><Value><DimSize>0</DimSize></Value></Terminal><Terminal><Name>Vrijeme</Name><Value><DimSize>0</DimSize></Value></Terminal></Response>

  • Extracting data of data type 'real' from the sql server database

    Hi,
    In my job, my source is a sql server database.
    I am connecting to the source sql server database using ODBC (sqlserver driver) in the datastore.
    In one of my source tables i have a field of data type real.If one of the value is 3.45678 , data services brings it in as 3.456780, which is OK, but if the real value is 4.7 in source, data services brings it  as 4.699997. I want it to be brought in as 4.700000 and not as 4.699997(i.e it is expanding upto 6 digits after the decimal point).
    Is this a default behavior of how data services reads the 'real' data types or is it because of how the ODBC sql server driver reads the data ?
    Is the above problem connected to an option in the DS.config file called
    LAZY_DECIMAL_CONVERSION which is set as true in our file.Should i set as false and will it solve this problem?
    Thanks in Advance.

    I tried reproducing your case, I read a value with real datatype from sql server DB. For me the values are coming fine, 4.7 is read as 4.700000 or 4.528 as 4.528000. I have also checked the value of LAZY_DECIMAL_CONVERSION, it is true. So I dont think it is a problem with that being set to true. Try something out with the Column properties in Query transform.
    I am using DS 3.2/ SQLSERVER 2008.
    Edited by: Lakhan Lalla on Oct 31, 2011 12:04 PM

  • RickTextbox - getting and saving the text to and from SQL server database

    I have no trouble saving the data to an SQL Server database.  Here is a sample of what is saved.
    {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}
    \viewkind4\uc1\pard\f0\fs17 testing the\par
    rich\par
    text box\par
    when I retrieve the text from the database, I end up with exactly what is shown above.  I am retrieving the text with a SqlDataReader.  here is the code that I am using;
    while (sqlDataReader.Read())
    string special_Instructions = ""; //first I was using this line but both lines have the same result // special_Instructions = sqlDataReader["Special_Instructions"].ToString();
    special_Instructions = sqlDataReader.GetString(5);
    special_InstructionsRichTextBox.Rtf = special_Instructions;
    any guidance or help will be greatly appreciated.
    dave

    Michael,
    Lets begin with, 'Thanks for your guidance'. With your last run of questions, I was able to figure it out.
    Here is what I learned, (by the way, this is in Winforms):
    When I checked the properties of the RichTextBox control, I saw and then remembered that the control was bound to the form.  First thing I did was comment out the code I was using (above) to fill the control and tested the program.  I actually
    received the same issue with the contents of the control as before.
    I then dropped a new RichTextBox control from the tool box to my form and positioned it next to the original control.  I un commented the above code and used it to fill the new
    richTextBox1.Rtf and ran the program.  The original control that was bound to the form still gave the incorrect result but the new control worked perfectly.
    I hope this helps others and Thanks again for your guidance.  If there is anything else you think could be added to this reply please let me know.
    dave

  • Loading data from SAS tables to SQL server database

    Hi Guys
    I am championing a BI Proof of Concept project to create a self-service BI platform using tabular model parallel to  our traditional BI platform on SAS.
    I need to load certain SAS tables  to SQL server database so I can start creating reports in SSAS. Appreciate if anyone can suggest the process that I can load the files to database engine as a scheduled job.
    Appreciate your feedback and if further info needed please ask.
    Cheers
    Mark

    From VB6 there is not much alternative than to send row by row which indeed is slow.
    But you could write a C# application which uses a table-valued parameter to load the data, and this could be streamed so that the client never has the hold the entire file. I have an example of this in this article on my web site:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    You can also use the SqlBulkCopy class, but I don't have any example of this myself.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How can I get the data array from SQL Server Database?

    Hi,
    I can write a data array(2D)into a table of my SQL Server Database. The data array was writen to a column with image type. I know a data array is transformed a binary string when writing into database, but I dont know how to get the data array when I fetch the binary string from database.
    My question is:
    How to transform the binary string into data array? which vi's should I use? I have tried unflatten from string but failed.
    Any response is appriciated.
    Red

    happyxh0518 wrote:
    > I can write a data array(2D)into a table of my SQL Server Database.
    > The data array was writen to a column with image type. I know a data
    > array is transformed a binary string when writing into database, but I
    > dont know how to get the data array when I fetch the binary string
    > from database.
    >
    > My question is:
    > How to transform the binary string into data array? which vi's should
    > I use? I have tried unflatten from string but failed.
    In order to use Unflatten from string you first need to Flatten it
    before writing it. Also depending on the database driver, the returned
    data may actually not be binary but Hexadecimal encoded ASCII which you
    would first have to decode to binray.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Retrieving Data from SQL Server Database

    Hi All,
    I am working with a program in which i have a requirement to connect to SQL Server Database
    and extract the data from the SQL Server Database. I am able to connect to the SQL Database but i am facing problem with the Select Statement. I have the Select Statement
    Select PARTNRID from GBA_SI.TRACKING and REFERENCEID3 from HEADER where TRANSTYPE = "INVOIC" and WICOMPLETEDDATETIME is within the date range specified in selection screen (Join on TRANSID).
    Can any one tell me how to write the Select Statement in ABAP for retrieving the data from the SQL Server Database.
    Regards,
    Sudhir

    hi check this..
    data: begin of itab occurs 0,
           PARTNRID  like GBA_SI-PARTNRID,
          end of itab .
    data: begin of itab1 occurs 0,
            TRANSID like header-TRANSID,
            TRANSTYPE like header-TRANSTYPE ,
            REFERENCEID3 like header-REFERENCEID3,
            end of itab1 .
    select-options:s_PARTNRID for GBA_SI-PARTNRID ,
                         s_date for sy-datum.
    Select PARTNRID
        from GBA_SI
             into table itab
    where PARTNRID in s_PARTNRID.
    select TRANSID
             TRANSTYPE
      REFERENCEID3 from HEADER
    into table itab1
    for all entries in itab
    where TRANSID = itab-PARTNRID
         and TRANSTYPE = "INVOIC"
    and WICOMPLETEDDATETIME  in s_date .
    regards,
    venkat appikonda

Maybe you are looking for

  • More than one address book

    I know there are groups in the address book, but I have a reason to want to not include all the addresses in one address book. Is it possible to have more than one address book on my IMac G5 running Tiger? If so, how would I do it? Also, I am having

  • Problem using buttons to switch sets

    I just want to do the simple thing of using the set buttons to switch up and down between sets but its proving infuriating. Lets say i have 4 sets-.and i want to just cycle up and down them-.i assign the set up button to previous set and set down but

  • Hash join, how to know how much of pga is using?

    Good Day everybody... Is there a way to know if i have enough pga for a given hash join??' so far i have PGA_AGGREGATE_TARGET = 200MB WORK AREA SIZE POLICY = AUTO The advisor from EM looks good, but i know that the query im interested on its expensiv

  • SAP MDM 7.1 - Stemmer and Pick list

    Hi, Please elaborate or provide details on below (Specific to MDM7.1) 1. Keyword Search = Stemmer 2. 'Pick List' in Look up table property. Regards, Vinay

  • Performnace tunning related query

    hi a,, We are using oracle 9.2.0.8 on rhel 4.One if thequery is taking 20 min to fetch 83000 recordes. select MRH_MRN as Membership_Number,to_char(MRH_BIRTH_DT,'dd/mm/yyyy') as Date_of_Birth, MRH_FIRST_NAME as First_Name,MRH_MIDDLE_NAME as Middle_Nam