.NET Questions and Solutions

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘Service’

Event ID 5000 occurs when the Exchange IMAP4 worker process crashes intermittently in Exchange Server 2007

Symptoms
The Exchange IMAP4 worker process crashes intermittently on a computer that is running Microsoft Exchange Server 2007. When this problem occurs, an event is logged that resembles the following:

Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Description: EventType clr20r3, P1 microsoft.exchange.imap4.exe, P2 8.1.278.2, P3 481f7feb, P4 microsoft.exchange.imap4, P5 8.0.0.0, P6 481f7feb, P7 a6, P8 17, P9 system.nullreferenceexception, P10 NIL.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Resolution
To resolve this problem, install Update Rollup 4 for Exchange Server 2007 Service Pack 1 (SP1) on the Exchange server.For more information about Update Rollup 4 for Exchange Server 2007 Service Pack 1, see the following Exchange Help topic:
Description of Update Rollup 4 for Exchange Server 2007 Service Pack 1 (http://go.microsoft.com/fwlink/?LinkId=152556)For more information about how to obtain the latest Exchange service pack or update rollup, see the following Exchange Help topic:
How to Obtain the Latest Service Pack or Update Rollup for Exchange 2007(http://go.microsoft.com/fwlink/?LinkId=152570)

Event ID 1010, 1008, 1011, and 4005 with CIM and Perflib

Symptoms
The Windows NT Event Viewer Application log may generate Event ID 1010 logs every two to three seconds. The event description is as follows:

Event ID:1010Source:PerflibDescription:The Collect Procedure for the “SnaServr” service in DLL”C:\SNA\system\snaperf.dll” generated anexception or returnedan invalid status. Performance data returned by counter DLL will be notbe returned in Perf Data Block. Exception or status code returned isDWORD 0. Other related events descriptions that may follow are:

Event ID:1008Source:PerflibDescription:The Open Procedure for service “Tcpip” in DLL “Perfctrs.dll” failed.Performance data for this service will not be available. Status codereturned is DWORD 0.Event ID:1011Source:PerflibDescription:The library file “tapiperf.dll” specified for the “TapiSrv” servicecould notbe opened. Performance data for this service will not beavailable.Status code is data DWORD 0.Event ID:4005Source:perfctrsDescription:Load of INETMIB1.DLL failed. Make sure the DLL file is in the PATH.WIN32 Error number is returned in the data.
Resolution
It has been confirmed that versions earlier than version 3.5 of Compaq’s Insight Manager (CIM) conflict with Performance Counters, thereby causing these errors to occur.

Error message when you try to start the Search service in SharePoint 2007: “An unhandled exception occurred in the user interface”

Symptoms
When you try to start theSearch service in Microsoft Office SharePoint Server 2007, you receive the following error message:

An unhandled exception occurred in the user interface. Exception Information: OSearch (AccountName) In this error message, AccountName is the account name that is used as the Farm Search Service account.
Resolution
This behavior occurs ifyou do not use the “domain_name\user_name” format when enter an account namein the User name field.This field isnext to Farm Search Service Account on the Configure Office SharePoint Server Search Service Settings on server ServerName page.

DEFECT ERROR: Object Reference not set to an Instance of an Object

Symptoms
“Object reference not set to an instance of an object” This error occurs when generating a report for a company that has been deleted from within FRx.
Resolution
This SMR has been fixed in R04670 Service Pack, please check our website () for availability of Service Packs for your General Ledger. You may also sign up for automatic notification of Services on our website .

Connections are slower, and you cannot browse the local network directory in Groove after you upgrade to Windows XP Service Pack 2 (SP2)

Symptoms
After you upgrade to Microsoft Windows XP Service Pack 2 (SP2), connections are slower, and you cannot browse the local network directory for contacts in Groove.
Resolution
This issue occurs because Windows XP SP2 adds the Windows Firewall feature. This feature can affect Groove and any other application that accepts incoming connections. By default, applications cannot accept connections after youinstall the service pack. Some software can be harmful to your computer. Windows Firewall enables only software that is from publishers that you trust to accept online connections.

BUG: You receive a “The operation has timed-out” error message when you access a Web service or when you use the IPAddress class

Symptoms
In Microsoft Visual Studio .NET 2003, when you try to add a Web reference to a Web service, or when you call a Web service method, you may receive the following error message:

There was an error downloading ‘http://WebServerName/WebServicePath/WebServiceName’. The operation has timed-out.
Note WebServerName is a placeholder for the name of your Web server, WebServicePath is a placeholder for the path of the Web service, and WebServiceName is the name of the Web service.
In addition, when you use the IPAddress class, you may receive a “System.TypeInitializationException” exception. For example, when you use the Web Service Description Language tool (Wsdl.exe) to try to create a Web service proxy file, you may receive the following error message:

Unhandled Exception: System.TypeInitializationException: The type initializer for “System.Net.Sockets.Socket” threw an exception. —> System.Net.Sockets.SocketException: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full at System.Net.Sockets.Socket.InitializeSockets() at System.Net.Sockets.Socket..cctor()
Note You do not receive the previous error messages when you use Microsoft .NET Framework v1.0.
Resolution
When you install a protocol or a network adapter on your computer, the operating system creates a protocol binding between the network adapters and the protocols that are installed on your computer. Typically, a computer can store up to 50 protocol binding details. Therefore, if the number of protocol bindings exceeds 50, and you use the IPAddress class directly or indirectly (such as when you try to add a Web reference or when you call a Web service method), you receive the error messages that are mentioned in the “Symptoms” section of this article.
NotesThe operating system creates a protocol binding even for “phantom” (“ghosted”) adapters on your computer.
For additional information about phantom devices, click the following article number to view the article in the Microsoft Knowledge Base:
241257?(http://support.microsoft.com/kb/241257/) Device Manager Does Not Display Devices Not Currently Present in Windows 2000To determine the number of protocol bindings on your computer, run the enum.exe file.
The following file is available for download from the Microsoft Download Center:

Collapse this imageExpand this image
Download the enum.exe package now.(http://download.microsoft.com/download/9/3/0/930e1ecb-a6c6-445f-bd79-82fc3e66f009/enum.exe) For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591?(http://support.microsoft.com/kb/119591/) How to Obtain Microsoft Support Files from Online Services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.