Installation error 29506 on SQL Management Studio...

hai......
I've several ways in tried to install SQL management studio including running of cmd prompt as admin.But the installer shows that "the installer has encountered an unexpected error installing this package.This may indicate a problem with this package.The
error code is 29506" ...........
Please help me.....

allright here is the answer
 Burn the  program on CD.
Now lauch   Command prompt as Administrator.     ( Right click on command prompt to Run as Admin )
Then  in black screen ( for those computer challanged lol )     ,  Change directory  to Your  CD    drive   ( mine is  D: )    .      (   I am old school and know some Dos commands.
 Now   from   D:  in command prompt in that black screen  type the name of file   with extension
D:\SQL blah blah.  MSI
This will lauch installer.
WORKS    !!
(  you are welcome  )

Similar Messages

  • SQL Management Studio Installation Problems

    My hard drive crash and I'm forced to use Windows 8 on my laptop for a while. Visual Studio 2012 installed okay but I cannot get the SQL Management Studio to install.
    I have SQL Management Studio 2005 CD's and I've also tried to download and install the 2008 version.
    But no matter what I do I cannot get one to them to install and run. It always tells me I have compatibility problems.
    I'm desperate. I need this to work.
    Can someone please tell me how to get SQL Management Studio 2005 32 or 64 bit to run on on this Window 8 box?
    Or any version of SQL Management Studio to install and run.
    BTW, I've tried running in compatibility mode.

    FIrst of all, please notice that SSMS 2005 will probably not fit windows 8, but I am not sure about this (the SQL
    Server 2005 do not fit). Please check this link before you wasted your time :-)
    https://support.microsoft.com/kb/2681562/en-us?wa=wsignin1.0
    "SQL Server 2005 (the release version and service packs) and earlier versions of SQL Server are not supported on Windows Server 2012 R2, Windows Server 2012, Windows 8.1, or Windows 8. You will receive a warning in the Action Center if Windows 8.1
    or Windows 8 detects an instance of SQL Server 2005."
    You can use any version from 2008 and above.
    * If you are using 2008 express, then you must manually install Service Pack 3, after you install SQL Server 2008 Express Edition. In any case we are not at that point since your issue is with the installation itself :-)
    **** For our case *****
    1. You did not post your errors log till this time :-(
       You only gave us stories, and no facts
    2. If you are using the free edition EXPRESS, then you probably be better with the new version SQL EXPRESS 2014.
    * You are talking about the SSMS which is not the SQL Server, but just a client application. Do you have a server to connect to?
    if not, then you probably wanted to install the SQL Server with the SSMS tool, no?
    You can get the new version (no so new) 2014 here:
    https://www.microsoft.com/en-us/download/details.aspx?id=42299
    There are several files to download there:
    * SQLEXPRADV:  include the SQL Server and all the extra tools (including the server, Express Tools, Reporting Services, and Full Text Search, and more), is my prefered option for all developers and people that learn and use the SQL Server locally.
    * SqlLocalDB:  This is a different version that is much better for developers in most cases which they need to store the database in the application, it came to replace the EXPRESS "user instance". 
    * SQLManagementStudio:  this is only the SSMS without the server!
    * SQLEXPRWT: this is the basic version which include the basic tools
    * SQLEXPR: this is only the server (this is what people install on production in lot of cases, when they do not want any extra tools)
    *** If you have option to use windows 8.1 instead of 8, then you will feel that it is easier. I have to say that I too don't like the windows 8/8.1/2012/2012r2 but the 8.1/2012r2 brought back some of the old features and are better.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Error installing SQL Management Studio 2012

     have visual studio 2013 ultimate and windows 8.1 . I tried to install SQL Management Studio 2012 and the error occurs
    The following error has occurred:
    Could not write value to key \SOFTWARE. Verify that you have sufficient access to that key, or contact your support personnel.
    Need help to solve this.

    Running as adiministrator
    Summary log file
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068052610
      Start time:                    2014-07-21 01:25:26
      End time:                      2014-07-21 01:32:11
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for SSMS:            Use the following information to resolve the error, and then try the setup process again.
    Machine Properties:
      Machine name:                  GHAZANFAR
      Machine processor count:       4
      OS version:                    Future Windows Version
      OS service pack:               
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      SQL Server 2012                                                          LocalDB        
                             1033                 Express Edition      11.1.3000.0     No        
    Package properties:
      Description:                   Microsoft SQL Server 2012 
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         c:\350b2b28d35e58b5113af189b3c5\x64\setup\
      Installation edition:          Express
    Product Update Status:
      User selected not to include product updates.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      true
      AGTSVCACCOUNT:                 <empty>
      AGTSVCPASSWORD:                <empty>
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    false
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      SSMS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    <empty>
      INSTANCENAME:                  <empty>
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         <empty>
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 <empty>
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           <empty>
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  true
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      UpdateEnabled:                 false
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140721_012339\ConfigurationFile.ini
    Detailed results:
      Feature:                       Management Tools - Basic
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, and then try the setup process again.
      Component name:                SQL Server Management Services
      Component error code:          1406
      Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140721_012339\sql_ssms_Cpu64_1.log
      Error description:             Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.2100.60&EvtType=sql_ssms.msi%40WriteRegistryValues%401406
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140721_012339\SystemConfigurationCheck_Report.htm

  • SQL Management studio 2014 error

    While installing Sql management studio, error showing that Could not write value to key\Software. Verify that you have sufficient access to that key, or contact your support personnel . I Have right click on setup file and click on Run as
    a administrator but same error is showing. Kindly give me solution as quick as possible.

    Hi,
    please make sure you provide complete rights as per this support article
    http://support.microsoft.com/kb/913559
    Can you add comment in below connect item, post all logs as well.
    https://connect.microsoft.com/SQLServer/feedback/details/998266/could-not-write-value-to-key-software-verify-that-you-have-sufficient-access-to-that-key-or-contact-your-support-personnel
    I somehow feel its either issue with SQL Server or windows installer. You can locate logs files using below
    This link
    Please zip all log files and mail me complete log file I will upload it in connect. My mail id is in my profile
    Meanwhile please refer to below thread ans see answer given by Michpol
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/41dec503-ce0a-40e1-ae5f-363452890d48/sql-server-management-tools-could-not-write-value-to-key-software-error-code-1406?forum=sqltools
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Sql management studio login error

    ***When i tried to login to the MS SQL management studio with <sid>adm user am geeting the error
    The error text as below.
    TITLE: Microsoft SQL Server Management Studio
    Value cannot be null.
    Parameter name: viewInfo (Microsoft.SqlServer.Management.SqlStudio.Explorer)
    BUTTONS:
    OK
    Thanks

    Hi,
    Could you please check if there any directory named like 1,2,3 etc in
    C:\Users\<username>\AppData\Local\Temp\
    This error sometime occurs due to missing temporary file which is created every time at startup of ssms.exe file.
    If you can find any log file which says missing file name then you just create the missing directory in given location. The file will be created automatically next time.
    Thanks.

  • How to connect to SP2010 content database from SQL Management Studio?

    I would like to migrate the SP 2010 Foundation content to 2013 Foundation.
    Both default installations with no external SQL server.
    When trying to connect from SQL Management Studio Express 2008 I get the error below.
    I'm using windows authentication and my domain admin account.
    tried all the steps  from
    this guide.
    What am I doing wrong here?
    Cannot connect to (local).
    ADDITIONAL INFORMATION:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.) (Microsoft SQL Server, Error: 10061)

    Hi,
    According to your description, my understanding is that you could not connect from SQL Management Studio Express 2008.
    Please try to connect to <MACHINENAME>\SQLEXPRESS or .\SQLEXPRESS instead of (local).
    A similar post for your reference:
    http://nali.org/post/96133108434/sql-server-a-network-related-or-instance-specific-error
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How do I load an SSIS package created in Visual Studio 2012 Shell (Integrated) onto SQL Server 2012 using SQL Management Studio 2012

    I am fairly new to this whole process of working with the Microsoft development environment.  Here is what I have to work with:
    an NT server running Microsoft SQL 2012  - Microsoft SQL Server Standard (64-bit)  11.0.2100.60
    and on my laptop (all freebie downloads):
    SQL Server Management Studio 2012            ver 11.0.2100.60
    Visual Studio 2012 Express  for Desktop Development and
    Visual Studio 2012 Shell (Integrated)
    I was able to create an SSIS package in
    2012 Shell (Integrated).  It takes a flat file and imports it into an SQL database table.  It runs successfully from within the
    2012 Shell (Integrated) envrionment.
    But I am having trouble figuring out how to set this up on the 2012 SQL Server.  I see that one of my colleagues created an Integration Services Catalog,
    and using SQL Management Studio I was able to create a folder under that called DigLic.  But when I go to the Projects subfolder of DigLic and attempt to import my SSIS package, I get an error message:
    "To launch the Integration Services Deployment wizard, one of the components: Integration Services, Management Tools - Basic or Business Intelligence Development Studio has to be installed by the SQL Server
    2012 Standard, Enterprise, Developer, or Evaluation Edition.  To install a component, run SQL Server Setup and Select the component name"
    I realize that Express Versions of Visual Studio lack the full feature set of a professional version.  But am I wrong in assuming that owning a server version of SQL Server 2012 gives us license to a professional
    version of SQL Management Studio 2012?  If so, how would I go about getting this software component installed?  And I am not clear if this is something that needs to be installed on our SQL Server or if I simply need a professional version of SSMS
    loaded on my laptop.
    I work for a company that is fairly fractured in its repsonsibilities, so I would need to know exactly what to ask for if I need to track down any licenses that I might need and if I need to have any specific software installed on our SQL server or on my
    laptop.
    All helpt would be greatly appreciated.
    Thanks!

    Arthur,
    Thank you for your reply.  But at this point, one of my points of confusion is what software I have available to me.  I wish I had a useful central help desk to call up and just say, "Hey, load me up with all of the professional version(s) of Visual
    Studio.  But I do not know what we have license to.  And I kind of need to know what the options are, so that I can ask a specific question of our vast buracracy.
    For now, I have downloaded only free versions of Visual Studio client software.  Since my company does have servers running Microsoft SQL Server, I am going to assume that we have proper licensing for those servers.  But does that server license
    allow me to get any professional versions of the PC client software for the various Visual Studio(s) 2012?
    And if I get a professional version of Visual Studio 2012, does that do away with the three different flavors that I have right now?  I have 2012 versions of SQL Server Management Studio, Visual Studio Express, and Visual Studio Shell (Integrated).
    Your feedback is much appreciated.
    Thanks!

  • SSIS query returns no results - same query in SQL management studio works

    Hello,
    I'm running a very simple join to get a result set:
    SELECT dbo.sap_contracts.svc_id, dbo.sap_contracts.svc_code, dbo.sap_contracts.quantity, dbo.sap_contracts.start_date, dbo.sap_contracts.end_date
    FROM dbo.sap_contracts
    INNER JOIN dbo.contracts
    ON dbo.contracts.contract_id=dbo.sap_contracts.contract_id
    where customer_name='XXXXXXXXX'
    When I run this in SQL management studio it works fine and returns the list of existing "SAP contracts" in the DB (to compare to the customer's contracts actually in SAP).
    In SSIS (SQL 2012) I'm using an Execute SQL task to run this query and putting the full results set into a variable of type "object". I've done very similar things before and it worked fine. With this query in SSIS I get no results at all. Changing
    the variable type to "string" throws an error showing that the type being written to the variable is "DBNull" - so it seems that the query in SSIS returns no records, when in SQL management studio I get the 15 records that should be returned.
    Does anyone have any ideas of what could be wrong?
    Cheers
    Mark

    There are several connections to the DB in tasks before this one, and the task after this is a whole load of C# in a script task doing SOAP communications to the SAP ERP system to compare the result set from this SQL with the contracts in SAP ERP for the
    specific customer.
    Input variables are all correct (I've checked them about 15 times now with breakpoints on just about every task in the whole package) and I'm at the point of having to test everything in an attempt to see exactly what query is being sent to the SQL server
    and anything else I can do to see why nothing comes back. There is a almost complete lack of debugging tools in SSIS which doesn't make life any easier (something I've heard quite a few times in various forums).
    I'm tearing my hair out on this for half a day now and it's not funny any more, so apologies if I come across as a little frustrated.
    Cheers
    Mark

  • Issue of Installing SQL Management Studio

    Hi,
    I still have an issue of installing SQL Management Studio 2012 or even any version, so it gives me errors and i don't know what to so with that. Many people saw that issue and no body could fix it, i really need your help and why SQL Management Studio can't
    be installed in my Windows 7 64 bit
    Thanks so much
    Raed

    Hi Raed,
    According to your description, you fail to install SQL Server 2012 Management Studio on windows 7. It is supported to install SQL Server 2012 Management Studio on windows 7. Please help to post SQL Server setup error log for analysis. By default, SQL Server
    setup summary and detail logs locate in C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    Make sure that your account has admin rights and you right-click the setup.exe and choose “Run as administrator” to install SQL Server. To troubleshoot the issue, please pay attention to the points below.
    1.Make sure that you install or enable .NET 3.5 SP1.
    2.Make sure that you install Windows 7 SP1.
    3.Make sure that you install Windows PowerShell 2.0.
    For more information about the process, please refer to the article:
    https://msdn.microsoft.com/en-us/library/ms143506(v=sql.110).aspx
    Regards,
    Michelle Li

  • Ms Sql Management Studio 2014 Express + Azure

    Hi everyone
    I have SSMS 2014 Express and I use Azure SQL DB with SQL Database Update V12 (preview).
    Now I have the restricted access to my DB from ssms, but there (http://blogs.msdn.com/b/sqlreleaseservices/archive/2014/12/18/sql-server-2014-management-studio-updated-support-for-the-latest-azure-sql-database-update-v12-preview.aspx) talks about the enhanced
    functionality. I can not find this update for ssms. Please help me, where I can get this update?

    I have installed MS SQL Management Studio 2014. After that I have installed CU5 from link in your previous post.
    There was no change. After your last post I have installed
    CU6, but again there was no change.
    Now I have this:
    MS SQL Management Studio about window:
    In Azure:
    I'm sorry for russian language in screenshot, I don't know how to change it to english.
    No error occurs.
    GUI can not do anything with the database
    in Azure. I can only see the list
    of tables, and I can do a sql queries.
    But in the local database in the GUI
    all the features are present
    Hi AndrewG42,
    I notice that you are using the latest version of SQL Azure database (13.0.15). I suspect there’s no update in SSMS 2014 for this version of SQL Azure database.
    In other words, these features (select top 1000 rows, table designer, etc) are only going to be present with SSMS connecting to Azure v12 which version number is 12.0.2000.8. 
    Personally, regarding to above issue, I recommend you submit a feedback at
    http://feedback.azure.com/forums/34192--general-feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Deploy SQL Management Studio 2012 through SCCM

    Hello,
    Has anyone successfully deployed SQL Management Studio 2012 with SCCM?
    A couple of specific questions:
    - Which folder from the SQL Media is required to ensure that only Management Studio deploys (we would like to limit the size of the deployment Package)?
    - What command line options do we need to use to install the Advanced version of Management Studio with all of the Tools and Books Online.  I have found the following but there is not a clear distinction about what is required and what is optional:
    http://msdn.microsoft.com/en-us/library/ms144259.aspx
    - Can someone confirm the following command line options for machine that has 2008 R2 Management Studio on it?
    Setup.exe /q /ACTION=upgrade /IACCEPTSQLSERVERLICENSETERMS /FEATURES=Tools
    - Can someone confirm the following command line options for a new installation of 2012 Management Studio?
    Setup.exe /q /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /FEATURES=Tools
    - Do I need to use /PID for the product key if I am only installing Management Studio?
    Thank you,
    Matt

    Hello,
    I had a couple of failed upgrades involving SSMS while testing on one of my laptops with a Hyper-V machine. I couldn’t blog about it because I couldn’t find the reason myself. I ended uninstalling the tools on SQL Server 2008 R2, and then proceeding with the
    upgrade. Both issues occurred with RC0. I used Hyper-V snapshots to create restore points.
    Besides that I had some issues enabling .NET Framework on Windos Server 8 using the GUI. However, enabling .NET Framework from the command prompt works perfectly.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Tryin to connect Netbeans with SQL Management Studio

    I'm trying to connect SQL Management studio with Netbeans 6.1..
    This is what I've done so far..
    1.Developing Web Application in Netbeans with Tomcat 6.0.18
    2. Have installed the sql-jdbc bridge driver
    I get error when I try to create a "New Database Connection to SQL Server 2005" using specified specified driver.
    ERROR::: Login Failed for User ''. The USer is not associated with trusted SQL Server Connection.
    My SQL Management Studio is not allowing me to have Mixed Mode for Authentication.....
    Have been thru many posts and help but i'm unable to work it out...
    PLEASE HELP..

    SumitM wrote:
    I'm trying to connect SQL Management studio with Netbeans 6.1..Why?
    This is what I've done so far..
    1.Developing Web Application in Netbeans with Tomcat 6.0.18
    2. Have installed the sql-jdbc bridge driver
    I get error when I try to create a "New Database Connection to SQL Server 2005" using specified specified driver.
    ERROR::: Login Failed for User ''. The USer is not associated with trusted SQL Server Connection.
    My SQL Management Studio is not allowing me to have Mixed Mode for Authentication.....
    Have been thru many posts and help but i'm unable to work it out...
    PLEASE HELP..So you mean you are trying to connect to SQL Server.
    Right. Well this isn't a SQL Server administration support site. So you need to find one for your SQL Server administration problem.
    Also I would recommend you use one of the free type 4 (pure Java) JDBC drivers for connecting to SQL Server rather than the ODBC bridge driver.
    Good luck in your searching!

  • SQL 2012 SP2 - Cannot open Maintenance Plans in SQL Management Studio

    Hello...
    We have a number of SQL 2012 SP2 instances running on Server 2012 R2 where we cannot open any Maintenance Plans via the SQL Management Studio.
    At times we've received an error message screen when attempting to open the Plan, but most of the time just nothing happens when you try to open the Plan. 
    I cannot get any of them to display the error now to even provide more information there.
    This happens even after a reboot and/or restarting SQL server.
    Everything else seems to be working and we can examine the individual pieces under the SQL Server Agent -> Jobs, but we cannot open the Maintenance Plan itself.
    We can even create new Plans via the "Maintenance Plan Wizard" but not from "New Maintenance Plan" and once a Plan exists, we can't open it.
    As a test, I tried connecting from a SQL 2008 R2 server and am able to open the plans, so it appears to be a SQL 2012 Management Studio issue rather than the Plans.
    Any thoughts would be appreciated.
    Thank you...

    Hello,
    Once you modify and save a maintenance plan with a greater version of SSMS (let’s say SSMS 2014) you cannot modify it again
    with an earlier version of SSMS again ( SSMS 2012 or earlier). That may be a possibility.
    If you did not modify the maintenance plan with SSMS 2014, then try to repair SQL Server 2012, apply the latest service
    pack (SP2), or try to uninstall only SSMS and reinstall it again.
    If you have Visual Studio installed, please apply the latest update.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to delete the line for 300SAP* in table USR02 in SQL Management studio

    Hello
    I used to delete the line for 300SAP* in table USR02 in SQL Enterprise Manager. After I could log on with “pass”.
    I wander how to delete it in SQL Management studio. When I expand tdatabase it takes so long time and it is uncontrollable

    Hello,
    you have to delete the row by a sql statement.
    Open a new query and run a script like this:
    use <Your SID DB>                 -- e.g. use PRD
    setuser 'your sid in lowercase'  --- e.g. setuser 'prd'
    delete from USR02 where MANDT = '300' and BNAME = 'sap*'
    go
    Run a complete backup before deleting data manually.
    Regards
      Clas

  • Different row counts between SQL management studio and Visual Studio

    Hi
    I'm pulling data from a NAV database using a stored procedure containing a Pivot (due to bad table design), the problem is my SQL management studio is returning 53 rows of records yet Visual studio is only returning 5.
    I initially copied the query from management studio into VS to create my dataset, however after returning very few records I used a stored procedure instead.
    Unfortunately the same result occurred, 5 records instead of 53,
    Is there something different between the two systems, perhaps VS doesn't like something in the Pivot?
    Can anyone help?
    Thanks
    Charlie
    CREATE
    PROCEDURE [dbo].[PosReleaseTestPrepared]
    --@Date AS DATETIME
    AS
    BEGIN
    -- -- SET NOCOUNT ON added to prevent extra result sets from
    -- -- interfering with SELECT statements.
    -- SET NOCOUNT ON;
    --    -- Insert statements for procedure here
    DECLARE @cols
    NVARCHAR(MAX),
    @stmt NVARCHAR(MAX)
    SELECT        @cols
    =
    ISNULL(@cols
    +
    +
    + ES.Code
    +
    FROM          
    (SELECT       
    Code
    FROM            dbo.[Branston
    Live$Enquiry Step]
    WHERE        [Enquiry Code]
    =
    'PREPARED')
    AS ES
    SELECT        @stmt
    =
        SELECT *
        FROM
        (SELECT PR.[Entry No_], PR.[Mobile User Code], PR.[Failure Step Code],PR.[Item No_], PR.[Customer No_] ,[Enquiry Step Code],  Value
         FROM dbo.[Branston Live$Positive Release] PR
          LEFT OUTER JOIN dbo.[Branston Live$Positive Release Step] PRS
           ON PR.[Entry No_] = PRS.[Positive Release Entry No_]
         WHERE PR.[Enquiry Code] = ''PREPARED'') PR
         PIVOT
          MAX(VALUE)
          FOR [Enquiry Step Code] in ('
    + @cols
    +
         ) AS P'
    EXEC
    sp_executesql@stmt
    END
    GO

    Hi Satheesh, Latheesh
    I'm using a shared data source in VS, the server and database are definitely pointed to the right location. As is the Stored procedure/SQL query. The table names "PositiveRelease" are bespoke to us and therefore are easy to recognise.
    Below is one of the 5 records from the VS report:
    Mobile   User Code
    Customer   No 
    Item   No 
    Failure Step Code
    Depot   Date
    PP_GY
    102980
    S10586
    DEPOT_DATE
    17/02/14
    Below is the record from the SQL management studio, you can see it is pulling through matching records.
    Mobile User Code
    Customer No_
    Item No_
    Failure Step Code
    DEPOT_DATE
    PP_GY
    102980
        S10586
    DEPOT_DATE
    17/02/2014

Maybe you are looking for