Error Message from Microsoft SQL Server Management Studio

I have problem editing the views that I created.  I never have this problem before and I don't know if
I have touched something on the pane that alters my viewing on Microsoft SQL Server Management Studio.  For example, if I want to edit the top 200 rows of my view called dbo.sl_admission_reg9, it will give me this error:
Invalid prefix of suffix characters (MS Viual Database Tools).
Please help.
Thank you very much.
Sally

Are you trying to edit the top 200 rows of a SQL Server 2012 database using the 2008 R2 SQL Server Management
Stud? If so you just need to upgrade SQL Server Management Studio to 2012 or edit the rows using a SQL query.
[Personal Site] [Blog] [Facebook]

Similar Messages

  • Problem to create "New Database Diagram" in Microsoft SQL Server Management Studio for SQL Server 2012 SQL Express

    Hi,
    I have installed SQL Server 2012 Express edition (name of installation media: en_sql_server_2012_express_edition_with_advanced_services_x64.exe) from MSDN and I have installed the application on my pc with Windows 7 Exterprise.
    Everything is working fine except when I am trying to create "New Database Diagram", where I recieve following error message:
    TITLE: Microsoft SQL Server Management Studio
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    BUTTONS:
    OK
    I have tried two times to reinstall SQL Server 2012 Express and I have installed Cumulative Update #3 for SQL Server 2012 and restarted the machine, but I have still the same problem with the same error message.
    Installed the following fixes:
    1) 2012_RTM_DAC_CU3_2723749_11_0_2332_x64
    2) SQLServer2012_RTM_CU3_2723749_11_0_2332_x64
    These files was installed successful.
    How can I solve the problem?
    BR
    Jan Nilsson

    Hi Jan,
    Have you installed Visual Studio in your machine?
    The problem seems to be related to installing and uninstalling the VS 2011 RC0 program.
    The workaround involves copying the files from another PC with SQL 2008 or 2012 from one machine to another. Just replace this folder:
    C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8
    See also the following for further details:
    http://social.msdn.microsoft.com/Forums/en-GB/vstsdb/thread/d65c71f5-3887-4f2a-bbd3-e799a4ac6fdc
    Best Regards,
    Iric
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to create a package without BIDS in Microsoft SQL Server Management Studio

    I have inherited some SSIS packages that I found I can edit by opening the .dtsx file in my local copy of Microsoft SQL Server management studio.  I then get Control Flow tab, Data Flow tab etc.  I can add or change or delete any of the control
    or data flows.  I have found that if I use the same path to the local file where the packages are stored that exists on the server, I can edit the dtsx file on my local machine and copy the dtsx file to the server into the same directory structure and
    sucessfully execute the package on the SQL 2008 server.
    I have VS 2010 installed.  I have read that I have to install VS 2008 to use BIDS from within VS.  However, this has not worked out very well.  Since I can basically create a new package by deleteing all of the control and data flows from
    an existing package, I am in pretty good shape.  However, I would just like to know if there is a way to create a new dtsx file from within Microsoft SQL Server management studio.  Also one thing I have not been able to change is the event handler
    name or package exploration name....it is just an annoyance since it does not cause any problems, just would like to be able to rename it.   

    Hi Fred,
    We cannot develop SSIS package in SQL Server Management Studio. If we use SQL Server Import and Export Wizard, we can save it as a package but the package is rather simple.
    We use Business Intelligence Development Studio (BIDS) or SQL Server Data Tools (SSDT) to develop SSIS packages. To develop SSIS 2008 packages, we must use BIDS installed by SQL Server 2008, and the BIDS 2008 can only be integrated with Visual Studio 2008.
    To develop SSIS 2012 packages, we use the SSDT installed by SQL Server 2012 which uses Visual Studio 2010 shell and can only be integrated with Visual Studio 2010.
    Different versions of SSIS package have different package formats/schemas. If you can create SSIS packages project in you Visual Studio 2010, it means that you have installed SSDT already, and the packages you design are SSIS 2012 packages. If you open and
    eidt SSIS 2008 packages in you Visual Studio 2010, the packages will be upgraded to SSIS 2012 package format. SSIS 2012 packages cannot be downgraded to SSIS 2008 packages or deployed to SSIS 2008 server.
    Regards,
    Mike Yin
    TechNet Community Support

  • Microsoft SQL Server Management Studio

    Dear Sir,
    Where can I download Microsoft SQL Server Management Studio
    to be used with SQL Server 2012 Express using windows 8.1?
    I have tried /www.microsoft.com/en-us/download/details.aspx?id=29062
    But the available download for 64 bits is Microsoft SQL server management Studio 2008.
    When I try to install it I get an error of incompatibility with w8.1.
    Regards,
    Hector Rovira

    Hi HRovira,
    According to your description, before you install SQL Server on a computer that is running Windows 8.1 , as other post, you must apply SQL Server 2012 Service Pack 1 or a later update. For installing SQL Server 2012, you should enable .NET Framework 3.5,
    There is detail about how to install SQL Server 2012 on Windows 8.1, you can review the following article.
    http://www.c-sharpcorner.com/UploadFile/47548d/how-to-install-sql-server-2012-on-windows-8-1/
    To obtain SQL Server 2012 SP1, go to the following Microsoft website:
    http://www.microsoft.com/en-us/download/details.aspx?id=35575
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Can I use Microsoft SQL Server Management Studio version 11.0 to write SQL queries for "SQL Server Compact 4.0 Local Database"

    Hi, Can I use Microsoft SQL Server Management Studio version 11.0 to write SQL queries for "SQL Server Compact 4.0 Local Database" ?
    When I use Connect Object Explorer, the "Connect to Server" dialog box which pops up has only 4 selections in the Server Type Drop Down List. They are Database Engine, Analysis Services, Reporting Services & Integration Services. I have read
    somewhere that there should be a compact database option. but I do not see it.
    What I would like to do is use free form SQL Queries against the tables in "SQL Server Compact 4.0 Local Database" .
    Once I have validated these queries, then I will use them in my Visual Studio 2012 C#, ASP.NET application. I created the Local Database using Visual Studio 2012 for use by my application.
    Thank you for your help..
    diana4

    Hello,
    With SSMS 2005 we have had the Option to work with SQL CE database files, but not with higher Version of SSMS.
    You can use the free SQL CE Toolbax instead; see
    http://sqlcetoolbox.codeplex.com/
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SQL 2008 R2: Microsoft SQL Server Management Studio cannot shut down because a modal dialog is active. Close the active dialog and try again

    When starting SQL Server 2008 R2 it hangs , and I cannot exit...so when  trying to logoff to reset I get the following "Microsoft SQL Server Management Studio cannot shut down because a modal dialog is active. Close the active dialog and try again"Any
    ideas?

    Big edit...
    I have 2008 R2 SP2 installed on my Windows 7 Machine which is also fully updated.  The marked answer above is clearly not the solution.
    The fix I had posted before did not work.  It appeared to work temporarily, but now I am back to the same invisible dialogue.  I have not been able to identify any pattern by which this is triggered.  I can have an entire day without this
    issue and then it appears the next.
    The invisible modal dialogue is definitely the connection dialogue.  The only way out is to hit the escape key to close it, but then I am no better off without an ability to connect to a server.  The dialogue is still invisible when I re-open it.
    However, even as I type this post, I have just gotten the dialogue to appear after restarting Management Studio, hitting escape, then clicking connect again.  That same pattern failed just minutes ago numerous times.  Again, I can't find any pattern.
    See you in the clock tower.

  • Create Sequence command doesn't work on my MSSMS-Microsoft SQL Server Management Studio 11.0.2100.60

    Hi!
     For some reason Create Sequence command doens't work on my Management Studtio version mentioned above.
     Please advise, thanks

    What counts is not the SQL Server Management Studio level, but the release level of the SQL Server you are connected to and the the compatibility of the database you are connected to.  Run
    Select name, ServerProperty('ProductVersion') As ProductVersion, compatibility_level
    From master.sys.databases
    Where database_id = DB_ID()
    Product Version should show as 11.<something> or higher.  compatability_level should show as 110 or higher.  If either of those values are lower, then that is your problem.
    Tom

  • Unable to install microsoft sql server management studio 2008 express

    When i install management studio 2008 express, throws an error stating that "SQL server 2008 Setup reqiures Microsoft .NET framework from http:.... and then rerun setup.
    Can any body help me in this, and also i have installed .NET framework 3.5.
    Thanks.

    Hi sivak_tamilan,
    According to your description, we need to verify if you install and enable the .NET Framework 3.5 SP1, it is a prerequisite for SQL Server 2008 standalone instance.
    In the setup, the SP-bit must be set to “1″, you can do as follows:
    Open the registry editor and browse to the key,
    Then locate the value SP, double-click it and change it from zero to”1”.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5
    There is a similar issue about this error, you can review the following article.
    http://www.undermyhat.org/blog/2011/03/resolved-microsoft-sql-server-2008-setup-requires-microsoft-net-framework-3-5-sp1-to-be-installed/
    In addition, if you install SQL Server on a computer that is running Windows Server 2012 or Windows 8, you must make sure that you fulfill the minimum requirements. For example, you must apply SQL Server 2008 Service Pack
    3 or a later update.
    For more information, see:http://support.microsoft.com/kb/2681562/en-us
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Can I compare two databases from within SQL Server Management Studio

    Hi everyone.  I haven't found anything online, so I wanted to ask here.  I have two SQL Server databases running on our server.  One is the production database, and another is my development database that I use when I'm working on the program. 
    I add tables and columns and stuff to my development database, and was wondering if anyone knew of an easy way to from within Management Studio or something to compare the two databases to make sure that they are the same and show me any differences. 
    I generally add tables or columns to both databases at the same time, but I worry that one time I might forget, so I would like to be able to run some sort of compare / check to make sure before releases...
    Thanks everyone for your help.  I greatly appreciate it.

    There is a command line utility that is with Microsoft SQL Management Studio called
    tablediff:
    http://msdn.microsoft.com/en-us/library/ms162843%28v=sql.105%29.aspx
    An example:
    http://www.mssqltips.com/sqlservertip/1073/sql-server-tablediff-command-line-utility/
    And using it with multiple tables at once looks like some work but doable:
    http://blogs.msdn.com/b/repltalk/archive/2010/02/21/how-to-run-tablediff-utility-for-all-replicated-published-tables-in-sql-2005-or-sql-2008.aspx
    ...and some custom code to implement in an answer at StackOverflow:
    http://stackoverflow.com/questions/10688/best-tool-for-auto-generating-sql-change-scripts-for-sql-server?rq=1

  • Setting query timeout in Microsoft SQL Server Management Studio

    Hello,
    We have several power users with access to SQL Management studio.  They use it to write SQL queries.  Realize there are other ways to access the db -- but we're stuck giving them Management Studio so no working around that issue.
    My questions is how can we prevent them from locking up TempDB by writing poor SQL statements.  Goal is to make them 'time out'.  I have gone to Tools-->Options-->Query Execution--> SQL Server --> and set Execution time-out.  Tested
    this on my computer and this did NOT work.  Set it to 15 seconds.  Then, wrote a SQL statement (by clicking 'New Query') that took > 15 seconds and it ran successfully.  Does anyone know why this setting did not carry over?
    Any other thoughts on how to accomplish this would be appreciated. 
    Thanks,
    Dan

    I would have disconnected and reconnected, instead of just clicking New Query.
    "Premature optimization is the root of all evil." - Knuth
    If I provoked thought, please click the green arrow
    If I provoked Aha! please click Propose as Answer

  • Error Deleting publication Microsoft SQL Server, Error: 15517

    I have a MSSQL 2008 on a windows 2008 server.
    I cant delete a publication that isnt in use anymore i get the following error.
    TITLE: Microsoft SQL Server Management Studio
    Could not delete publication 'TASS Publication'.
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.0.1600.22&EvtSrc=Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.Replication.ReplicationMenuItem&EvtID=CantDeletePublication&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.
    Changed database context to 'tass'. (Microsoft SQL Server, Error: 15517)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.2531&EvtSrc=MSSQLServer&EvtID=15517&LinkId=20476
    BUTTONS:
    OK
    I have tried to delete it by right clicking and delete. I have tried by query.
    exec
    sp_removedbreplication
    N'<sqlServerName>'
    exec
    sp_droppublication @publication
    = N'<sqlServerName>'
    I have looked at many forums.
    I am trying to do this as 'sa'.
    Do you have any suggestions?

    johnyvee,
    Firstly, exec sp_removedbreplication should be corrected in your msg above to have the parameter of 'databasename' instead of 'sqlservername' same for the droppublciation procedure, it must be passed the publication name and not the servername.
    Secondly, go to the properties of 'TASS' database and under Files make sure you have an owner specified, specify sa for example.

  • OBIEE 11g installationwith sql server management studio

    Hi All,
    I am trying to install obiee 11.1.1.6.0 into my machine with window 7 and Microsoft Sql Server(Management studio) as my backend.
    When i run the Rcu i get an error saying
    Invalid Server name/Port number. Please specify correct Server name/Port number
    I have given my system name as the server name also tried giving localhost,local and port nno as 1433 but no luck
    can anyone please help me in this?
    Many thanks in advance!!!!

    Do the following:
    Check whether your telnet client is active or not .
    Go to Control panel -> Programs and features -> Turn Windows Features on or off -> Turn on if checkbox is not selected.
    Run telnet command :
    telnet host port
    If blank screen appears , your SQL Server is connected .If not you see an error message.
    If you are not sure about the port number ,
    SQL Server Configuration Manager -> Protocols for SQLEXPRESS -> TCP/IP -> Right click TCP/IP , Select Properties and then IP Address tab to look for port number .
    (If you find TCP/IP disabled , enable it)
    Thanks,
    Vidya Bhushan

  • SQL Server Management Studio - Configuring the environment for first time use

    Hi
    I have recently switched my local 'My Documents' folder location to a network drive that I 'make available off line' to allow on-line/off-line work and synchronisation when I am working in and out of the office.
    When I load my SQL Server Management Studio 2005 I frequently get 'Microsoft SQL Server Management Studio is configuring the environment for first time use'.
    Management Studio  them loads and I can continue without problem.
    I am guessing it is trying to make reference to some settings file. Any ideas? I wonder if I can change/move these settings elsewhere to a local drive?
    Thanks

    Hi,
    There is bug report of this issue:
    http://connect.microsoft.com/SQLServer/feedback/details/126364/configuring-enviroment-for-the-first-time-every-time-in-ms-sql-server-management-express
    "SQL Server Management Studio Express saves the settings for the user in ...\Documents and Settings\<User Profile>\Local Settings\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    and in ...\Documents and Settings\<user profile>\Application Data\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM
    if any of these files are not available or unusable, SSMSE will generate new ones."
    Hope this helps.
    BR,
    JoukoK

  • SQL Server Management Studio File Open dialog is very slow to change directories

    I am running Microsoft SQL Server Management Studio    10.0.2531.0 on Windows 7 Professional.
    I have an intermittent problem with the File Open dialog. Sometimes it works reasonably well, but often it takes a very long time (a few minutes) to change directory. While it is doing whatever it is doing, the dialog and all of SSMS becomes unresponsive
    - I can't even cancel the dialog. It sometimes changes the cursor to an hourglass and sometimes not.
    I do not have this problem with any other application.
    I can open File Open one time and have this delay for every single directory change or if I open the Look In dropdown then, after closing it I can open it again and it will work with normal delays.
    It is slow more often than it is normal.
    It makes accessing files very impractical.

    Hi,
    10.0.2531.0 is SQL Server 2008 Service Pack 1 (release April 2009)
    No guarantee this will fix your issue, but may be worth testing the latest Service Pack 3 (released October 2011) to see if that helps
    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27594

  • Not able to access database from a remote machine using SQL Server Management Studio

    Hi,
    I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
    I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
    The SQL Server log shows the message
    The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
    I get the below message in SSMS from remote machine.
    Details of error message are
    ===================================
    Cannot connect to DB_BOX.
    ===================================
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
    Server Name: DB_BOX
    Error Number: 64
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
       at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
       at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
       at System.Data.SqlClient.TdsParserStateObject.ReadByte()
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

    Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
    My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
    ALTER ENDPOINT [TSQL Default TCP]
    STATE=STARTED;
    Erland Sommarskog, SQL Server MVP, [email protected]
    This solves the problem. Thanks...

Maybe you are looking for

  • Webutil- How to open text file by using Wordpad

    Hello: Is it possible to open the text file either from client or server (sun) by using the wordpad? I was able to open it with Notepad; however, it was given the rigth format such as new line. WEBUTIL_HOST.NONBLOCKING('CMD /C NOTEPAD'||:input_select

  • Reset Clearing am Confusing for long time?

    Dear Masters, The credited amount gets Reset cleared and the whole amount (at times partial amounts)get debited thereby causing OUTSTANDING in the next invoice. In few cases, the amount gets automatically cleared. I am confusing,Could you please expl

  • Weird basic authentication behavior on safari

    I'm a PHP developer, and testing web app compatibility among browsers. I found that safari behaves differently from other major browsers(IE,firefox,chrome) when it comes to basic authentication. for example, i have a http://asdf.com/a.php, that is pr

  • Is the Fair Usage Policy still 300gb?

    Is the Fair Usage Policy still 300gb? The reason I ask is that I've just checked and I'm at 294gb up until 23:59 on the 27th yet I haven't received any speed restriction warning emails this month when you usually get a mail at 240gb. Solved! Go to So

  • How to install a lean kde system?

    hi all by lean i mean a minimum kde desktop without too many kde softwares installed thx