Sharepoint 2013 error: Windows cannot open the 32-bit extensible counter DLL ASP.NET_2.0.50727 in a 64-bit environment. Contact the file vendor to obtain a 64-bit version. Alternatively, you can open the 32-bit extensible counter DLL by using the 32-bit version of Performance Monitor. To use this tool, open the Windows folder, open the Syswow64 folder, and then start Perfmon.exe.
Sharepoint 2013 error: Windows cannot open the 32-bit extensible counter DLL ASP.NET_2.0.50727 in a 64-bit environment. Contact the file vendor to obtain a 64-bit version. Alternatively, you can open the 32-bit extensible counter DLL by using the 32-bit version of Performance Monitor. To use this tool, open the Windows folder, open the Syswow64 folder, and then start Perfmon.exe.
I am yet to be able to resolve this issue on my SharePoint 2013 installation, but I have found some possible resolutions for others experiencing this problem worth taking a look at. Basically these error only show up when SharePoint is launched but never before were they present on the server. These solutions did not work for me on this particular case but might work on others having these issues on a non SP2013 server.
1. Try to fix the counters as suggested by Microsoft:
- Event ID 1018 — Performance Library Availability http://technet.microsoft.com/en-us/library/cc775059(v=ws.10).aspx
- Event ID 1021 — Performance Library Availability http://technet.microsoft.com/en-us/library/cc727079(v=ws.10).aspx
2. Try to rebuild performance counters:
- “lodctr /R” will rebuild all performance counters.
3. If all else fails, disable the counters until someone find a solution to this issue:
- Edit HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesASP.NET_2.0.50727Performance so that the DWORD registry key “Disable Performance Counters” has a “1”.
- Edit HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWmiApRplPerformance so that the DWORD registry key “Disable Performance Counters” has a “1”.
- Execute “sfc /scannow“
Below are some samples of the error messages you might be observing on your Eventlog:
Log Name: Application
Source: Microsoft-Windows-Perflib
Date: 20/03/2013 05:55:08 p. m.
Event ID: 1021
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Windows cannot open the 32-bit extensible counter DLL ASP.NET_2.0.50727 in a 64-bit environment. Contact the file vendor to obtain a 64-bit version. Alternatively, you can open the 32-bit extensible counter DLL by using the 32-bit version of Performance Monitor. To use this tool, open the Windows folder, open the Syswow64 folder, and then start Perfmon.exe.
Event Xml:
xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
Microsoft-Windows-Perflib” Guid=”{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}” EventSourceName=”Perflib” />
<EventID Qualifiers=”49152″>1021
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2013-03-21T00:55:08.000000000Z” />
<EventRecordID>6005</EventRecordID>
<Correlation />
<Execution ProcessID=”0″ ThreadID=”0″ />
<Channel>Application</Channel>
<Computer> </Computer>
<Security />
</System>
<UserData>
<EventXML xmlns=”Perflib”>
<param1>ASP.NET_2.0.50727</param1>
<binaryDataSize>8</binaryDataSize>
<binaryData>C100000000000000</binaryData>
<!–EventXML>
</UserData>
</Event>
Log Name: Application
Source: Microsoft-Windows-Perflib
Date: 20/03/2013 05:55:08 p. m.
Event ID: 1018
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Disabled performance counter data collection for this session from the “ASP.NET_2.0.50727″ service because the performance counter library for that service has generated one or more errors. The errors that forced this action have been written to the application event log.
Event Xml:
xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
Microsoft-Windows-Perflib” Guid=”{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}” EventSourceName=”Perflib” />
<EventID Qualifiers=”49152″>1018
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2013-03-21T00:55:08.000000000Z” />
<EventRecordID>6006</EventRecordID>
<Correlation />
<Execution ProcessID=”0″ ThreadID=”0″ />
<Channel>Application</Channel>
<Computer> </Computer>
<Security />
</System>
<UserData>
<EventXML xmlns=”Perflib”>
<param1>ASP.NET_2.0.50727</param1>
<!–EventXML>
</UserData>
</Event>
Log Name: Application
Source: Microsoft-Windows-Perflib
Date: 20/03/2013 05:55:08 p. m.
Event ID: 1008
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
The Open Procedure for service “BITS” in DLL “C:WindowsSystem32bitsperf.dll” failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
Event Xml:
xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”Microsoft-Windows-Perflib” Guid=”{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}” EventSourceName=”Perflib” />
<EventID Qualifiers=”49152″>1008
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2013-03-21T00:55:08.000000000Z” />
<EventRecordID>6007</EventRecordID>
<Correlation />
<Execution ProcessID=”0″ ThreadID=”0″ />
<Channel>Application</Channel>
<Computer> </Computer>
<Security />
</System>
<UserData>
<EventXML xmlns=”Perflib”>
<param1>BITS</param1>
<param2>C:WindowsSystem32bitsperf.dll</param2>
<binaryDataSize>8</binaryDataSize>
<binaryData>0500000000000000</binaryData>
</EventXML>
</UserData>
</Event>
Log Name: Application
Source: Microsoft-Windows-Perflib
Date: 20/03/2013 05:55:08 p. m.
Event ID: 1008
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
The Open Procedure for service “FIMSynchronizationService” in DLL “C:Program FilesMicrosoft Office Servers15.0Synchronization ServiceBinmmsperf.dll” failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
Event Xml:
xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”Microsoft-Windows-Perflib” Guid=”{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}” EventSourceName=”Perflib” />
<EventID Qualifiers=”49152″>1008</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2013-03-21T00:55:08.000000000Z” />
<EventRecordID>6008</EventRecordID>
<Correlation />
<Execution ProcessID=”0″ ThreadID=”0″ />
<Channel>Application</Channel>
<Computer> </Computer>
<Security />
</System>
<UserData>
<EventXML xmlns=”Perflib”>
<param1>FIMSynchronizationService</param1>
C:Program FilesMicrosoft Office Servers15.0Synchronization ServiceBinmmsperf.dll
<binaryDataSize>8</binaryDataSize>
<binaryData>0200000000000000</binaryData>
</EventXML>
</UserData>
</Event>
Log Name: Application
Source: Microsoft-Windows-Perflib
Date: 20/03/2013 05:55:08 p. m.
Event ID: 1008
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SharePoint2013
Description:
The Open Procedure for service “WmiApRpl” in DLL “C:Windowssystem32wbemwmiaprpl.dll” failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code.
Event Xml:
xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”Microsoft-Windows-Perflib” Guid=”{13B197BD-7CEE-4B4E-8DD0-59314CE374CE}” EventSourceName=”Perflib” />
<EventID Qualifiers=”49152″>1008</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2013-03-21T00:55:08.000000000Z” />
<EventRecordID>6009</EventRecordID>
<Correlation />
<Execution ProcessID=”0″ ThreadID=”0″ />
<Channel>Application</Channel>
SharePoint2013
<Security />
</System>
<UserData>
<EventXML xmlns=”Perflib”>
<param1>WmiApRpl</param1>
<param2>C:Windowssystem32wbemwmiaprpl.dll</param2>
<binaryDataSize>8</binaryDataSize>
<binaryData>1500000000000000</binaryData>
</EventXML>
</UserData>
</Event>
Log Name: Application
Source: Microsoft-SharePoint Products-PerformancePoint Service
Date: 20/03/2013 05:55:40 p. m.
Event ID: 1101
Task Category: PerformancePoint Services
Level: Error
Keywords:
User:
Computer: SharePoint2013
Description:
Unable to load custom data source provider type: Microsoft.PerformancePoint.Scorecards.DataSourceProviders.AdomdDataSourceProvider, Microsoft.PerformancePoint.Scorecards.DataSourceProviders.Standard, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91’
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName, Boolean throwOnError)
at Microsoft.PerformancePoint.Scorecards.Server.PmServer.InitializeCustomDataSourceProviders()
PerformancePoint Services error code 10107.
Event Xml:
xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”Microsoft-SharePoint Products-PerformancePoint Service” Guid=”{A7CD5295-CBBA-4DCA-8B67-D5BE061B6FAE}” />
<EventID>1101</EventID>
<Version>15</Version>
<Level>2</Level>
<Task>1</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime=”2013-03-21T00:55:40.271812200Z” />
<EventRecordID>6028</EventRecordID>
<Correlation ActivityID=”{E7C9099C-840E-E062-D931-E9A8ED9E1BE4}” />
<Execution ProcessID=”4636″ ThreadID=”764″ />
<Channel>Application</Channel>
SharePoint2013
UserID=” ” />
</System>
<EventData>
<Data Name=”string1″>Unable to load custom data source provider type: Microsoft.PerformancePoint.Scorecards.DataSourceProviders.AdomdDataSourceProvider, Microsoft.PerformancePoint.Scorecards.DataSourceProviders.Standard, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91’ or one of its dependencies. The system cannot find the file specified.
File name: ‘Microsoft.AnalysisServices.AdomdClient, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91’
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.Type.GetType(String typeName, Boolean throwOnError)
at Microsoft.PerformancePoint.Scorecards.Server.PmServer.InitializeCustomDataSourceProviders()
PerformancePoint Services error code 10107.</Data>
</EventData>
</Event>
Add whatever User you are Logged in to the Local Server Groups:
Performance Monitor Users
Performance Log Users