Showing posts with label errors. Show all posts
Showing posts with label errors. Show all posts

Sunday, February 26, 2012

Express and Developer - performance counter errors

I installed Visual Studio 2005 on my machine, which includes SQL Server Express. I then installed the Developer edition of SQL Server over the top, as that's the edition I wanted. I now get four errors in my Application event log whenever I boot Windows:

    MSSQLSERVER - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.

    MSSQLSERVER - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.

    MSSQL$SQLEXPRESS - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.

    MSSQL$SQLEXPRESS - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.

Any idea what's causing this problem and how I can fix it?

Thanks

Here is one thing you can try.

Start Regedit

For a default instance of SQL Server, locate the following registry value in Registry Editor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLServer\Performance\Library

For a named instance of SQL Server, locate the following registry value in Registry Editor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQL$<Instance Name>\Performance\Library

If the registry key does not exist in Registry Editor, you must rebuild the registry. For more information about how to rebuild the registry to fix these registry errors, see the "How to rebuild the registry (Setup)" topic in SQL Server Books Online.

Michelle

|||

Hi there, I've only just noticed your reply so thanks for responding. I have removed the MSSQL$SQLExpress instance via Control Panel but I am still getting the error messages for the MSSQLServer instance.

I have looked at the registry entry you mentioned and it is present and is set to 'sqlctr90.dll'. Is that correct? If so, any further ideas?

Thanks

|||

Yes what you see is correct.

Check out the following thread as it has some other suggestions to try.

Michelle

|||Sorry Michelle but I can't see a link in your reply - could you tell me the thread title?

Thanks

Neil|||

Sorry I forgot to attach the link.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=158314&SiteID=1

Michelle

Express and Developer - performance counter errors

I installed Visual Studio 2005 on my machine, which includes SQL Server Express. I then installed the Developer edition of SQL Server over the top, as that's the edition I wanted. I now get four errors in my Application event log whenever I boot Windows:

    MSSQLSERVER - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.

    MSSQLSERVER - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.

    MSSQL$SQLEXPRESS - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.

    MSSQL$SQLEXPRESS - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.

Any idea what's causing this problem and how I can fix it?

Thanks

Here is one thing you can try.

Start Regedit

For a default instance of SQL Server, locate the following registry value in Registry Editor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLServer\Performance\Library

For a named instance of SQL Server, locate the following registry value in Registry Editor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQL$<Instance Name>\Performance\Library

If the registry key does not exist in Registry Editor, you must rebuild the registry. For more information about how to rebuild the registry to fix these registry errors, see the "How to rebuild the registry (Setup)" topic in SQL Server Books Online.

Michelle

|||

Hi there, I've only just noticed your reply so thanks for responding. I have removed the MSSQL$SQLExpress instance via Control Panel but I am still getting the error messages for the MSSQLServer instance.

I have looked at the registry entry you mentioned and it is present and is set to 'sqlctr90.dll'. Is that correct? If so, any further ideas?

Thanks

|||

Yes what you see is correct.

Check out the following thread as it has some other suggestions to try.

Michelle

|||Sorry Michelle but I can't see a link in your reply - could you tell me the thread title?

Thanks

Neil|||

Sorry I forgot to attach the link.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=158314&SiteID=1

Michelle

Friday, February 24, 2012

Express and Developer - performance counter errors

I installed Visual Studio 2005 on my machine, which includes SQL Server Express. I then installed the Developer edition of SQL Server over the top, as that's the edition I wanted. I now get four errors in my Application event log whenever I boot Windows:

    MSSQLSERVER - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.

    MSSQLSERVER - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.

    MSSQL$SQLEXPRESS - Performance counter shared memory setup failed with error -1. Reinstall sqlctr.ini for this instance, and ensure that the instance login account has correct registry permissions.

    MSSQL$SQLEXPRESS - Error in mapping SQL Server performance object/counter indexes to object/counter names. SQL Server performance counters are disabled.

Any idea what's causing this problem and how I can fix it?

Thanks

Here is one thing you can try.

Start Regedit

For a default instance of SQL Server, locate the following registry value in Registry Editor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQLServer\Performance\Library

For a named instance of SQL Server, locate the following registry value in Registry Editor:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSSQL$<Instance Name>\Performance\Library

If the registry key does not exist in Registry Editor, you must rebuild the registry. For more information about how to rebuild the registry to fix these registry errors, see the "How to rebuild the registry (Setup)" topic in SQL Server Books Online.

Michelle

|||

Hi there, I've only just noticed your reply so thanks for responding. I have removed the MSSQL$SQLExpress instance via Control Panel but I am still getting the error messages for the MSSQLServer instance.

I have looked at the registry entry you mentioned and it is present and is set to 'sqlctr90.dll'. Is that correct? If so, any further ideas?

Thanks

|||

Yes what you see is correct.

Check out the following thread as it has some other suggestions to try.

Michelle

|||Sorry Michelle but I can't see a link in your reply - could you tell me the thread title?

Thanks

Neil|||

Sorry I forgot to attach the link.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=158314&SiteID=1

Michelle

Sunday, February 19, 2012

Exporting to Excel...problems, problems

I'm exporing a simple matrix report to excel. Once exported I want to sort on
a particular column but it errors out..."This operation requires merged cells
to be identically sized." If I highlight all the cells then go to format ->
cells - > uncheck merge cells it still does not work. The numeric data in the
columns is being treated as text. Can someone please offer some suggestions?
the matrix is quite simple. Person, month columns with the data being the
count per month.
Thanks,Did you try using Data/Text to Columns... on the column of data in question?
"Brian L" wrote:
> I'm exporing a simple matrix report to excel. Once exported I want to sort on
> a particular column but it errors out..."This operation requires merged cells
> to be identically sized." If I highlight all the cells then go to format ->
> cells - > uncheck merge cells it still does not work. The numeric data in the
> columns is being treated as text. Can someone please offer some suggestions?
> the matrix is quite simple. Person, month columns with the data being the
> count per month.
> Thanks,