Repair SQL server

I have schedule DTS to import every day few tables. It had been working
great and had no problem. All of a sudden I started getting this error.
ERROR AT DESTINATION FOR ROW NUMBER 100. ERROR ENCOUNTERED SO FAR IN THE
TASK. 1 UNIDENTIFIED ERROR. (SQL Server 2013)
Thanks.

Hi KiriatMitskin,
What's the version of your SQL Server Integration Services? Please take a look at the following KB article is this issue or not:
DTS packages fail with an unspecified error on a computer that is running Windows XP Service Pack 2:
http://support.microsoft.com/kb/890841
If not, I would suggest you collect more detail log information regarding this issue, it will be benefit and helpful for us to troubleshoot it.
For packages that are stored in the SQL Server MSDB database, the SSIS Package Store, or in a folder on your local machine, you can use the
Log File Viewer as well as any logs and debug dump files that were generated during the execution of the package.
To use the Log File Viewer, do the following.
1. Right-click the SQL Server Agent job in Object Explorer and then click View History.
2. Locate the job execution in the Log file summary box with the
job failed message in the Message column.
3. Expand the job node, and click the job step to view the details of the message in the area below the
Log file summary box
For packages that are stored in the SSISDB database, you can also use the
Log File Viewer as well as any logs and debug dump files that were generated during the execution of the package. In addition, you can use the reports for the Integration Services server.
For more information regarding troubleshooting SSIS packag, please refer to the article below:
http://msdn.microsoft.com/en-us/library/ms141701.aspx
Regards,
Elvis Long
TechNet Community Support

Similar Messages

  • Repair SQL Server 2008 R2 SP2

    Hi everyone,
      Following an upgrade to SQL Server 2012 which didn't succeed, someone recommended that I repair my actual SQL Server 2008 R2 SP2 setup.  The actual setup I have, which btw is running without any problem, is the following:
    SQL Server 2008 R2 SP2 CU1 Express Edition with advanced services  (Reporting Services is installed and active)
    Visual Studio 2010 SP1 Professionnal Edition
    Visual Studio 2008 SP1 Express Edition
    Windows VISTA SP2 Ultimate Edition
      My request is very simple.  Before repairing a SQL setup:
    Do I need to stop any services?
    Any other thing I should stop, uninstall or else?
    Do I launch the repair from the "Control Panel - Install/uninstall program" menu or can I just run the "SQL Server 2008 R2 SP2" setup file I just downloaded from the .NET.  I prefer asking because I thought that running
    this setup file under administrative rights could help avoiding privilege problems or else?
      Hope to hear from someone,
    Stéphane

    Hi Samuel,
      Thursday.  2 days I didn't hear from anyone.  I still can't complete the repair because of this setup file the repair process is asking for.  The setup files I could find on my disk:
    C:\ProgramData\Microsoft\SQL Server 2008 Express Install\Downloads\SqlExpressWithAdv\SQLEXPRADV_x86_FRA.exe:  version is 10.0.1601.1
    C:\Users\All Users\Microsoft\SQL Server 2008 Express Install\Downloads\SqlExpressWithAdv\SQLEXPRADV_x86_FRA.exe: version is also 10.0.1601.1
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
    version: 10.50.4000.0   date: 2012-06-29
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Update Cache\KB2494086\QFE\x86\setup100.exe
    version: 10.50.1790.0   date: 2011-06-14
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Update Cache\KB2507770\QFE\x86\setup100.exe
    version: 10.50.1777.0   date: 2011-06-10
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Update Cache\KB2528583\ServicePack\x86\setup100.exe
    version: 10.50.2500.0  date: 2011-07-25
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Update Cache\KB2544793\QFE\x86\setup100.exe
    version:  10.50.2769.0 date: 2011-07-27
    C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Update Cache\KB2630458\ServicePack\x86\setup100.exe
    version:  10.50.4000.0 date: 2013-01-10
    The one I recently downloaded from the web - SQLEXPRADV_x86_ENU.exe:  version is
    10.50.4000.0
    Again which one should I choose?  One of these or maybe another file?
    Really hope to hear from someone!
    Stéphane

  • SQL server equivalent to Access Compact Repair Tool?

    Simply put, is there a SQL server equivalent to the MS Access Compact Repair Tool?
    Cheers in advance

    Hi MarkWest009,
    In addition to other posts, for other SQL Server editions, when the database file is corrupt,
     the best way to recover the database is to restore it from latest backup. So please ensure you have a backup strategy, I recommend performing both database and log backup in most situations.
    However, if you don’t have SQL Server database backups, you can firstly check the database consistency by executing the DBCC CHECKDB utility without any clause. The command is executed and the reason for corruption is provided. Then, run the utility using the
    mentioned clause. If you are not able to repair SQL Server database with DBCC CHECKDB, then you might use a third-party repair tool for SQL Server database file repair.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • SQL Server 2014 Express Management Studion crash

    Hello!
    After clean install new management stuidio 2014 I tried to import setting about registered sql servers from 2012.
    He-he! I did not read docs and did not know that it is not working. But exception, wtf?
    Summary my IDE crash every time when I try to expand Registered Servers. Reinstall, repair SQL Server 2014 is not healing problem.
    Faulting application name: Ssms.exe, version: 2014.120.2000.8, time stamp: 0x5306c06d
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54504ade
    Exception code: 0xc000041d
    Fault offset: 0x00014598
    Faulting process id: 0x494
    Faulting application start time: 0x01d0099222d89631
    Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe
    Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
    Report Id: 68e6a650-7585-11e4-8257-f46d0493d13a
    Faulting package full name: 
    Help please. If somebody tell me "Reinstall windows", I ### him! 

    Application: Ssms.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Security.Cryptography.CryptographicException
    Stack:
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer.ProtectData(System.String, Boolean)
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer.get_SecureConnectionString()
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer.get_ConnectionString()
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer.get_ServerName()
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerTree.AddRegisteredServerNode(Microsoft.SqlServer.Management.RegisteredServers.RegisteredServer, System.Windows.Forms.TreeNodeCollection)
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerTree.AddServerGroupToNodeCollection(Microsoft.SqlServer.Management.RegisteredServers.ServerGroup, System.Windows.Forms.TreeNodeCollection, Boolean)
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerTree.AddServerGroupToNodeCollection(Microsoft.SqlServer.Management.RegisteredServers.ServerGroup, System.Windows.Forms.TreeNodeCollection, Boolean)
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerTree.Initialize(Microsoft.SqlServer.Management.RegisteredServers.ServerGroup, Microsoft.SqlServer.Management.Common.ServerType, Microsoft.SqlServer.Management.UI.ConnectionDlg.IServerType,
    Microsoft.SqlServer.Management.RegisteredServers.AddCentralManagementServerDelegate, Microsoft.SqlServer.Management.RegisteredServers.AddNewCentralManagementServerDelegate, Microsoft.SqlServer.Management.RegisteredServers.DeleteCentralManagementServerDelegate,
    Microsoft.SqlServer.Management.RegisteredServers.GetServiceProviderDelegate)
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServerControl.RegisteredServerControl_Load(System.Object, System.EventArgs)
       at System.Windows.Forms.UserControl.OnLoad(System.EventArgs)
       at System.Windows.Forms.UserControl.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.ContainerControl.WndProc(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.UserControl.WndProc(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)
       at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32, System.String, System.String, Int32, Int32, Int32, Int32, Int32, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef,
    System.Object)
       at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32, System.String, System.String, Int32, Int32, Int32, Int32, Int32, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef,
    System.Object)
       at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams)
       at System.Windows.Forms.Control.CreateHandle()
       at System.Windows.Forms.Control.get_Handle()
       at Microsoft.VisualStudio.Shell.UIWin32ElementWrapper.Create(IntPtr, IntPtr ByRef)
       at Microsoft.VisualStudio.Platform.WindowManagement.UIElementDocumentObject.Init(Boolean)
       at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.InitializeDocumentObject(System.Object)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(System.String, Int32, Int32, System.String, UInt32, UInt32, System.Object, System.Object, Microsoft.VisualStudio.OLE.Interop.IServiceProvider, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy,
    UInt32, Int32 ByRef, System.Guid ByRef, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ByRef)
       at Microsoft.VisualStudio.Shell.Interop.IVsUIShell.CreateToolWindow(UInt32, UInt32, System.Object, System.Guid ByRef, System.Guid ByRef, System.Guid ByRef, Microsoft.VisualStudio.OLE.Interop.IServiceProvider, System.String, Int32[], Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
    ByRef)
       at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, Int32, Microsoft.VisualStudio.Shell.ProvideToolWindowAttribute)
       at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type, Int32)
       at Microsoft.VisualStudio.Shell.Package.FindToolWindow(System.Type, Int32, Boolean, Microsoft.VisualStudio.Shell.ProvideToolWindowAttribute)
       at Microsoft.SqlServer.Management.RegisteredServers.RegisteredServers.ShowToolWindow(System.Object, System.EventArgs)
       at System.ComponentModel.Design.MenuCommand.Invoke()
       at System.ComponentModel.Design.MenuCommand.Invoke(System.Object)
       at Microsoft.VisualStudio.Shell.OleMenuCommandService.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(System.Guid ByRef, UInt32, UInt32, IntPtr, IntPtr)
       at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(System.Guid ByRef, UInt32, UInt32, IntPtr, IntPtr)
       at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(System.String, System.Object, System.Object ByRef)
       at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(System.String, System.Object, System.Object ByRef)
       at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(System.Object)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
       at System.Windows.Controls.MenuItem.InvokeClickAfterRender(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

  • SQL Server 2008 R2 Backup jobs are failing

    I have a problem with SQL Server 2008 R2. First the management studio package is failing to load. backup jobs on that server are failing to run. The server won't accept any installation. The Installation of .Net Framework failed, the Installation of SQL
    server 2008 R2 SP2 also failed, Trying to repair SQL Server through the CD also failed. Actually the server cannot install anything on it. When you try to initiate the installation it comes back and say check online for solution or close the program.
    I am desperate here as I cannot backup

    When you try to initiate the installation it comes back and say check online for solution or close the program.
    Are you sure this is the error, I updated SP2 last week and I got the same message but if I remember correctly there was a continue button as well. Could you post the errors.
    SP2 not installing, .net framework not installing, ssms not loading up and backups not running all could be due to different issues. Consider these as different and post error message that you are receiving for the issue which is most important for you.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • KB2977326 - Security Update for SQL Server Service Pack 1 repeatedly fails to install

    This update fails to install every day when I shut down my computer. Here is the WindowsUpdate.Log:
    2014-12-02 15:50:11:469
    420 44c
    AU #########
    2014-12-02 15:50:11:469
    420 44c
    AU  # Initiating install at shutdown
    2014-12-02 15:50:11:469
    420 44c
    AU  # Approved updates = 1
    2014-12-02 15:50:11:516
    420 44c
    AU <<## SUBMITTED ## AU: Install updates / installing updates [CallId = {685C12BB-7AA9-4A31-9620-8F306EEE31C3}]
    2014-12-02 15:50:11:516
    420 44c
    Shutdwn InstallAtShutdown starts.
    2014-12-02 15:50:11:516
    420 1528
    Agent *************
    2014-12-02 15:50:11:516
    420 1528
    Agent ** START **  Agent: Installing updates [CallerId = AutomaticUpdates]
    2014-12-02 15:50:11:516
    420 1528
    Agent *********
    2014-12-02 15:50:11:516
    420 1528
    Agent  * Updates to install = 1
    2014-12-02 15:50:11:531
    420 1528
    Agent  *   Title = Security Update for SQL Server 2012 Service Pack 1 (KB2977326)
    2014-12-02 15:50:11:531
    420 1528
    Agent  *   UpdateId = {E0D65CC4-3B13-4352-BD89-A28C5F4C5017}.200
    2014-12-02 15:50:11:531
    420 1528
    Agent  *     Bundles 1 updates:
    2014-12-02 15:50:11:531
    420 1528
    Agent  *       {C076E757-1A4F-44DB-823B-CFFC07CD7D38}.200
    2014-12-02 15:50:11:547
    420 16d8
    Shutdwn InstallAtShutdown got install progress.
    2014-12-02 15:50:12:327
    420 d4c
    Report CWERReporter finishing event handling. (00000000)
    2014-12-02 15:50:20:548
    420 44c
    AU WARNING: Pending directive, 'Install Approval', is not applicable
    2014-12-02 15:50:24:417
    420 16d8
    Shutdwn InstallAtShutdown got install progress.
    2014-12-02 15:50:24:432
    420 16d8
    Shutdwn InstallAtShutdown got install progress.
    2014-12-02 15:50:24:432
    420 1528
    DnldMgr Preparing update for install, updateId = {C076E757-1A4F-44DB-823B-CFFC07CD7D38}.200.
    2014-12-02 15:50:25:119
    2052 608
    Misc ===========  Logging initialized (build: 7.6.7600.320, tz: -0600)  ===========
    2014-12-02 15:50:25:119
    2052 608
    Misc  = Process: C:\Windows\system32\wuauclt.exe
    2014-12-02 15:50:25:119
    2052 608
    Misc  = Module: C:\Windows\system32\wuaueng.dll
    2014-12-02 15:50:25:119
    2052 608
    Handler :::::::::::::
    2014-12-02 15:50:25:119
    2052 608
    Handler :: START ::  Handler: Command Line Install
    2014-12-02 15:50:25:119
    2052 608
    Handler :::::::::
    2014-12-02 15:50:25:119
    2052 608
    Handler  : Updates to install = 1
    2014-12-02 15:50:25:119
    420 16d8
    Shutdwn InstallAtShutdown got install progress.
    2014-12-02 15:52:23:991
    420 44c
    AU AU setting next sqm report timeout to 2014-12-03 21:52:23
    2014-12-02 15:54:39:587
    2052 608
    Handler  : WARNING: Command line install completed. Return code = 0x84b20001, Result = Failed, Reboot required = false
    2014-12-02 15:54:39:587
    2052 608
    Handler  : WARNING: Exit code = 0x8024200B
    2014-12-02 15:54:39:587
    420 16d8
    AU >>##  RESUMED  ## AU: Installing update [UpdateId = {E0D65CC4-3B13-4352-BD89-A28C5F4C5017}]
    2014-12-02 15:54:39:587
    2052 608
    Handler :::::::::
    2014-12-02 15:54:39:587
    2052 608
    Handler ::  END  ::  Handler: Command Line Install
    2014-12-02 15:54:39:587
    2052 608
    Handler :::::::::::::
    2014-12-02 15:54:39:587
    420 16d8
    AU  # WARNING: Install failed, error = 0x80070643 / 0x84B20001
    2014-12-02 15:54:39:587
    420 16d8
    Shutdwn InstallAtShutdown got install progress.
    2014-12-02 15:54:39:711
    420 1528
    Report REPORT EVENT: {DFA9CDC8-334A-4E57-9588-77B8E980833D}
    2014-12-02 15:54:39:587-0600 1
    198 101
    {E0D65CC4-3B13-4352-BD89-A28C5F4C5017}
    200 80070643
    AutomaticUpdates Failure
    Content Install Installation Failure: Windows failed to install the following update with error 0x80070643: Security Update for SQL Server 2012 Service Pack 1 (KB2977326).
    2014-12-02 15:54:39:727
    420 1528
    Report CWERReporter::HandleEvents - WER report upload completed with status 0x8
    2014-12-02 15:54:39:727
    420 1528
    Report WER Report sent: 7.6.7600.320 0x80070643 E0D65CC4-3B13-4352-BD89-A28C5F4C5017 Install 101 Unmanaged
    2014-12-02 15:54:39:727
    420 1528
    Report CWERReporter finishing event handling. (00000000)
    2014-12-02 15:54:39:805
    420 1528
    Agent *********
    2014-12-02 15:54:39:805
    420 16d8
    AU Install call completed.
    2014-12-02 15:54:39:805
    420 1528
    Agent **  END  **  Agent: Installing updates [CallerId = AutomaticUpdates]
    2014-12-02 15:54:39:805
    420 16d8
    AU  # WARNING: Install call completed, reboot required = No, error = 0x00000000
    2014-12-02 15:54:39:805
    420 1528
    Agent *************
    2014-12-02 15:54:39:805
    420 16d8
    AU #########
    2014-12-02 15:54:39:805
    420 16d8
    AU ##  END  ##  AU: Installing updates [CallId = {685C12BB-7AA9-4A31-9620-8F306EEE31C3}]
    2014-12-02 15:54:39:805
    420 16d8
    AU #############
    jim...

    Hello,
    Please examine the Summary.txt log file. The following article may help you locate the file on disk:
    http://msdn.microsoft.com/en-us/library/ms143702(v=sql.110).aspx
    If you find the sentence “A failure was detected for a previous installation” on the Summary.txt log file, please repair SQL Server using the following article:
    http://msdn.microsoft.com/en-us/library/Cc646006(v=sql.110).aspx
    If you find other errors, please share the content of the Summary.txt log file with us.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Server 2014 Management Studio - "The operation could not be completed"

    Hi there!
    I've recently installed SQL Server 2014 Express Edition to my Windows 8.1 x64 computer. It was working fine for one month or so. Now, when I try to open Management Studio I get the error "The operation could not be completed". A few seconds into
    the splash screen. Then the application shuts down.
    I don't have any errors or warnings on Event Viewer. Not even any information lines related to SSMS when opening. I've tried to use ProcMon but I can't see any events related to SSMS.exe that could give this result. I've already installed Cumulative Update
    2 for SQL Server 2014 with no luck. Also, I've repaired SQL Server installation and even reinstalled this instance with the same outcome.
    I know this topic has already been written before but it was related to Windows Server. The response marked as Answer was not applicable to my case. As I said, I'm using Win 8.1 x64.
    I'm out of options for now. Can you please give any help?
    Thank you so much.

    Hello,
    Before reinstalling Windows, please try the .NET Framework Repair Tool.
    http://www.microsoft.com/en-us/download/details.aspx?id=30135
    If the above did not help, you may want to try the automatic repair option.
    http://www.bleepingcomputer.com/tutorials/http-wwwbleepingcomputercom-tutorials-automatically-repair-windows-8-with-automatic-repair-/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Error when opening BIDS 2005 - SQL Server 2005 - Urgent to solve

    Hi,
    today I've a problem when I try to launch the BIDS 2005: an error message says that isn't possible to find a component and says to reinstall the application. I cannot any records inside the event viewer that could help me. The SQL Server 2005 build is 9.00.5069.00.
    BIDS 2005 is installed on my machine that has Windows 7 64-bit. Moreover I've also SQL Server 2008 R2 and BIDS 2008 R2: I cannot open also this tool for the same error.
    Any suggests to me, please?
    Thanks

    Hi Pscorca,
    According to your description, you cannot start Business Intelligence Development Studio (BIDS) in SQL Server 2005 and 2008 with the error "isn't possible to find a component and says to reinstall the application". As per my understanding, the issue
    can be caused by some SQL Server files were corrupted. It's hard to give you the root reason that cause this issue based on the limited information.
    In your scenario, please drive the BIDS installation folder (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft SQL Server 2008 R2), try to open BIDS and check if this issue persists or not. Besides, you can try to repair SQL Server
    installation using stepup.exe.
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SQL Server Has Been Stopped Working.

    Hi,
    I'm Facing Problem With Sql Management Studio 2012, When I was Open SQL it's Automatically Stopped Working and when i was try to write a new Query it will Showing Error Like "SQL Mgmt Studio Has Been Stopped Working". and Closing Automatically,Please
    Help Me out.
    Regards,
    Rakesh Reddy Pidi.

    Hi,
    Thank you for posting in SQL Server Forum.
    Besides the above comments, check the error message in the Application log and try to connect via
    SQLCMD command.
    To check the application event log for errors
    1. Open Event Viewer by clicking the Start button, clicking Control Panel, clicking System and Security, clicking Administrative Tools, and then double-clicking Event Viewer.‌ Administrator permission required If you're prompted for an administrator password
    or confirmation, type the password or provide confirmation.
    2. In Event Viewer, in the console tree, expand Windows Logs, click Application.
    Also, try repairing SQL Server 2012 using the following:
    http://msdn.microsoft.com/en-us/library/cc646006.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • SQL Server Express 2014 Installation Completes with Failures and Repair Does Nothing to Help

    I am attempting to install SQL Server Express 2014 on a development machine and as usual old versions of SQL and the remnants of them are a plague to the installation.
    I have used to Revo Uninstaller to scrub the old installations and with my first attempt after some additional work on the registry I was able to get an instance to install and remarkably I was able to connect to the instance. However, I removed an application
    reference to SQL Server 2008 after the SQL Express 2014 installation (through Control Panel > Programs > Programs and Features) and it stopped working immediately.
    So I removed (uninstalled using Revo Uninstaller) every reference to any SQL Server application as well as removed all of the registry references (using Revo) and I can now install SQL Server Express 2014 with 
    "Feature" failures [Reporting Services, Database Engine Services, Full-Text and Semantic Extractions for Search and SQL
    Server Replication]  and of course it doesn't work.
    Now when I attempt "Repair" the installation the process ends normally (no errors) and reports  "Success" however SQL still has no instance and the services are not running nor are they visible when I open the "SQL Server Configuration
    Manager".
    This is the "Repair" log:
    Overall summary:
    Final result: Passed
    Exit code (Decimal): 0
    Start time: 2014-12-21 17:21:37
    End time: 2014-12-21 17:29:10
    Requested action: Repair
    Machine Properties:
    Machine name: EDWARD-PC2
    Machine processor count: 4
    OS version: Windows 7
    OS service pack: Service Pack 1
    OS region: United States
    OS language: English (United States)
    OS architecture: x86
    Process architecture: 32 Bit
    OS clustered: No
    Product features discovered:
    Product Instance Instance ID Feature Language Edition Version Clustered Configured
    SQL Server 2014 Management Tools - Basic 1033 Express Edition 12.0.2000.8 No Yes
    SQL Server 2014 Management Tools - Complete 1033 Express Edition 12.0.2000.8 No Yes
    SQL Server 2014 Client Tools Connectivity 1033 Express Edition 12.0.2000.8 No Yes
    SQL Server 2014 Client Tools Backwards Compatibility 1033 Express Edition 12.0.2000.8 No Yes
    SQL Server 2014 Client Tools SDK 1033 Express Edition 12.0.2000.8 No Yes
    SQL Server 2014 LocalDB 1033 Express Edition 12.0.2000.8 No Yes
    Package properties:
    Description: Microsoft SQL Server 2014
    ProductName: SQL Server 2014
    Type: RTM
    Version: 12
    SPLevel: 0
    Installation location: C:\Users\Edward\Downloads\SQLEXPRADV_x86_ENU\x86\setup\
    Installation edition:
    User Input Settings:
    ACTION: Repair
    AGTDOMAINGROUP: <empty>
    AGTSVCACCOUNT: <empty>
    AGTSVCPASSWORD: <empty>
    AGTSVCSTARTUPTYPE: Manual
    ASCONFIGDIR: Config
    ASSVCACCOUNT: <empty>
    ASSVCPASSWORD: <empty>
    CLTSTARTUPTYPE: 0
    CLTSVCACCOUNT: <empty>
    CLTSVCPASSWORD: <empty>
    CONFIGURATIONFILE:
    CTLRSTARTUPTYPE: 0
    CTLRSVCACCOUNT: <empty>
    CTLRSVCPASSWORD: <empty>
    ENU: true
    FAILOVERCLUSTERGROUP: <empty>
    FAILOVERCLUSTERNETWORKNAME: <empty>
    FTSVCACCOUNT: <empty>
    FTSVCPASSWORD: <empty>
    HELP: false
    IACCEPTSQLSERVERLICENSETERMS: false
    INDICATEPROGRESS: false
    INSTANCENAME: <empty>
    ISSVCACCOUNT: NT AUTHORITY\Network Service
    ISSVCPASSWORD: <empty>
    ISSVCSTARTUPTYPE: Automatic
    QUIET: false
    QUIETSIMPLE: false
    SQLSVCACCOUNT: <empty>
    SQLSVCPASSWORD: <empty>
    UIMODE: AutoAdvance
    X86: false
    Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141221_172135\ConfigurationFile.ini
    Detailed results:
    Feature: Management Tools - Complete
    Status: Passed
    Feature: Client Tools Connectivity
    Status: Passed
    Feature: Client Tools SDK
    Status: Passed
    Feature: Client Tools Backwards Compatibility
    Status: Passed
    Feature: Management Tools - Basic
    Status: Passed
    Feature: SQL Browser
    Status: Passed
    Feature: Documentation Components
    Status: Passed
    Feature: SQL Writer
    Status: Passed
    Feature: LocalDB
    Status: Passed
    Feature: SQL Client Connectivity
    Status: Passed
    Feature: SQL Client Connectivity SDK
    Status: Passed
    Feature: Setup Support Files
    Status: Passed
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141221_172135\SystemConfigurationCheck_Report.htm
    However this is what the "SQL Sever Configuration Manager" look like:
    Why does this appear to not be working properly? I can not connect the the "local" instance and I would guess that the service either does not exist or is not running.
    Edward Walker

    Hello,
    To my knowledge, Revo is not a supported way to uninstall SQL Server.
    Please try to uninstall all you can using Control Panel -> Programs and Features, then perform a manual uninstall to
    remove remnants. Try the following procedure:
    1. Uninstall all SQL Server 2012 components you can using Control Panel -> Programs and Features
    2. Backup the registry.
    3. Delete the following keys in regedit:
    --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
    --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
    4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing
    SQL Server.
    5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
    6. Rename all the SQL Server folders in the computer like C:\Program Files\Microsoft SQL Server and subfolders.
    After performing above procedure, try to reinstall SQL Server again.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to repair database using SQL server 2008 and C#

    How to repair database in SQL server 2008 using C#
    Musakkhir Sayyed.

    Unfortunately your post is off topic as it's not specific to SQL Server Samples and Community Projects.  
    This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it.  The links I provide below will help you determine the right forum to ask your
    question in.
    For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
    Office, IE, and other products.
    For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
    search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
    search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/
    If you think your issue is related to SQL Server Samples and Community Projects and I've flagged it as Off-topic, I apologise.  Please repost your question and include as much detail as possible about your problem so that someone can assist you further. 
    If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/
    When you see answers and helpful posts, please click Vote As Helpful,
    Propose As Answer, and/or Mark As Answer
    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCSA, MCITP, MCDBA
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID:
    Microsoft Transcript

  • SQL Server 2005 repair

    I have a SQL Server (on Windows XP) where I have published reports using Report Manager and a bunch of databases. Within the SQL Server, I have jobs scheduled to run updates on tables, etc. I came in this morning to find that the root drive died. My drive is partitioned such that my databases aren't on the root drive - so I was able to salvage the databases.I was able to use a prior hard drive (from about a month ago - we upgraded) and load current databases to the old drive. I'm trying to bring the old drive up to speed with today's data, jobs, files... .My databases seemed to load fine.What I can't do is view any of the reports that use Report Manager. A few questions:1. Are the jobs that run through SQL Server stored in a different directory than the databases? 2. Any idea of what's happening with accessing report manager reports?...
    This topic first appeared in the Spiceworks Community

    I have a SQL Server (on Windows XP) where I have published reports using Report Manager and a bunch of databases. Within the SQL Server, I have jobs scheduled to run updates on tables, etc. I came in this morning to find that the root drive died. My drive is partitioned such that my databases aren't on the root drive - so I was able to salvage the databases.I was able to use a prior hard drive (from about a month ago - we upgraded) and load current databases to the old drive. I'm trying to bring the old drive up to speed with today's data, jobs, files... .My databases seemed to load fine.What I can't do is view any of the reports that use Report Manager. A few questions:1. Are the jobs that run through SQL Server stored in a different directory than the databases? 2. Any idea of what's happening with accessing report manager reports?...
    This topic first appeared in the Spiceworks Community

  • Unable to capture SQL Server Schema

    I am trying to capture SQL Server 2005 demo schema (AdventureWorks). It does shows the numbers of Tables/Indexes captured..but finishes with this error..
    Error ocurred during capture: Exhausted Resultset
    Column not found. Skipping index detail on index 'IX_StoreContact_ContactTypeID'
    Column not found. Skipping index detail on index 'IX_StoreContact_ContactID'
    Column not found. Skipping index detail on index 'AK_StoreContact_rowguid'
    Column not found. Skipping index detail on index 'IX_ProductVendor_VendorID'
    Column not found. Skipping index detail on index 'IX_ProductVendor_UnitMeasureCode'
    Column not found. Skipping index detail on index 'IX_Address_StateProvinceID'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'AK_Address_rowguid'
    Column not found. Skipping index detail on index 'AK_Department_Name'
    Any help is appreciated..
    Ajay

    Hi Nandu,
    As your description, you come across an error(vsjitdebugger.exe cannot be found). Please confirm if the error occurs during the installation of SQL Server 2012.  If so, please help post SQL Server setup logs. By default, SQL Server setup log file locates
    in C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    Base on my research, this error could be caused by that the previous uninstallation is improper and vsjitdebugger.exe file could be mistakenly deleted.
    To troubleshoot the issue, you could start your computer into Safe Mode and fix your problem with one of the following methods. For more information, please refer to the article:
    http://www.fixerrorkit.com/fix-error/fix-vsjitdebugger.exe-error.html.
    1. You could execute the sfc /scannow command following steps below.
    a. Press "Windows+R", type in cmd and then right click "Run as administrator"
    b. Type in sfc /scannow (There's a space between sfc and /scannow) into the dialog and hit Enter key and click ok.
    c. Wait until the System File Checker finishes the check.
    2. You could use a Windows repair installation, also known as a Startup Repair to repair your Windows system files.
    3. You could install the latest Windows updates to fix vsjitdebugger.exe error. Microsoft often releases new service packs and system patches to replace or update some DLL files of Windows system.
    4. You could use third-party tool such as Automatic Error Fix Tool to fix your vsjitdebugger.exe error. However, Microsoft cannot make any representations regarding the quality, safety, or suitability of any third-party software or information found there.
    In addition, if you are unable to install  Visual Studio, I suggest you post your question in Visual Studio Setup and Installation forum at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vssetup  . It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • 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. (p

    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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical details===================================
    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:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       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()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Unable to reinstall SQL server 2005

    Previously, I have installed SQL 2005 developer edition simplyfied chinese
    successfully. But yesterday, I tried to install mobile client software
    factory. The installation process create a database as following:
    Create DATABASE [AdventureWorksMobileStaging] ON  PRIMARY
    ( NAME = N'AdventureWorksMobileStaging', FILENAME = N'C:\GotDotNet\MCSF_728\ReferenceImplementations\AdventureWorksToGo\DBScripts\AdventureWorksMobileStaging.mdf' , SIZE = 195584KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
    ( NAME = N'AdventureWorksMobileStaging_log', FILENAME = N'C:\GotDotNet\MCSF_728\ReferenceImplementations\AdventureWorksToGo\DBScripts\AdventureWorksMobileStaging_log.ldf' , SIZE = 265344KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
    But today, when I start my notebook, SQL server could not be started.
    Then I uninstalled the SQL instance by start->control panel->uninstall...The uninstall
    process seems OK. Note that I only uninstalled the instance.Then I tried to reinstall
    SQL 2005. However it was reported a Performance Monitor Counter registry key mismatch
    error occures. I tried to fix it but failed. The problem is as following:
    1, The installation process report a warning of low memory.
    My notebook has 512M memory. I have reinstalled SQL 2005 once successfully. At that
    time, the warning also shows, but it seems that this warning does not affect installation.
    2, User type problem.
    The OS of my notebook is XP professional, which is upgraded from XP home edition.
    I login it using a domain user such as: "my company's domain\myaccount". I found it
    curiously that although I assign myaccount as an Administrator, it will automaticly
    changed to "SQL$...." account. I don't know why and when the account property is
    changed. But everytime, when I found, I will assign myaccount as an Administrator
    back.
    3, Performance Monitor Counter registry key  problem.
    To fix the problem, I firstly tried to run lodctr.exe in cmd window but failed.
    When I cd to c:\windows\system32 dir, I can ran lodctr.exe correctly.
    I check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib,
    the result is:
    "Last Counter"=dword:0000149c (11128)
    "Last Help"=dword:0000149d (11129)
    Then I check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009
    and 004, the result is confusing. I can find counter and help key,but both keys contains
    really a lot of stuff as:
    (1) first page of Counter key:
    1
    1847
    2
    System
    4
    Memory
    6
    % Processor Time
    10
    File Read Operations/sec
    12
    (2) first page of Help key:
    3
    The System performance object consists of counters that apply to more than one instance of a component processors on the computer.
    5
    The Memory performance object  consists of counters that describe the behavior of physical and virtual memory on the computer.  Physical memory is the amount of random access memory on the computer.  Virtual memory consists of the space in physical memory and on disk.  Many of the memory counters monitor paging, which is the movement of pages of code and data between disk and physical memory.  Excessive paging, a symptom of a memory shortage, can cause delays which interfere with all system processes.
    7
    % Processor Time is the percentage of elapsed time that the processor spends to execute a non-Idle thread. It is calculated by measuring the duration of the idle thread is active in the sample interval, and subtracting that time from interval duration.  (Each processor has an idle thread that consumes cycles when no other threads are ready to run). This counter is the primary indicator of processor activity, and displays the average percentage of busy time observed during the sample interval. It is calculated by monitoring the time that the service is inactive, and subtracting that value from 100%.
    9
    % Total DPC Time is the average percentage of time that all processors spend receiving and servicing deferred procedure calls (DPCs).  (DPCs are interrupts that run at a lower priority than the standard interrupts). It is the sum of Processor: % DPC Time for all processors on the computer, divided by the number of processors.  System: % Total DPC Time is a component of System: % Total Privileged Time because DPCs are executed in privileged mode.  DPCs are counted separately and are not a component of the interrupt count.  This counter displays the average busy time as a percentage of the sample time.
    11
    File Read Operations/sec is the combined rate of file system read requests to all devices on the computer, including requests to read from the file system cache.  It is measured in numbers of reads.  This counter displays the difference between the values observed in the last two samples, divided by the duration of the sample interval. 
    I could not find the maximum value of the Counter key and help key, so I could not repair
    Last Counter and Last Help key as discribed at SQL 2005 help. Which item correspond to
    maximum value of the Counter key and help key?
    I tried to correct Last Counter and Help key as:
    "Last Counter"=dword:0000149c (5276)
    "Last Help"=dword:0000149d (5277)
    But it also doesn't work.

    Anybody still want this answered?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for