Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 2 Jan 2008 07:18:37 -0800 (PST),    group: microsoft.public.exchange.clients        back       


Unexpected Store Error   
This is a problem I've dealt with for months now. We have a Windows
service that connects to two Exchange inboxes consecutively every 30
seconds. It works fine for weeks on end, then all of a sudden:

System.Runtime.InteropServices.COMException (0x8055001E): Unexpected
store error: %1!d! (0x%1!8.8x!)
   at ADODB.RecordsetClass.Open(Object Source, Object
ActiveConnection, CursorTypeEnum CursorType, LockTypeEnum LockType,
Int32 Options)
   at MessageService.Exchange.ExchangeClient.Connect(String folderUrl,
String userId, String password, Boolean useHttp)

No further attempts to connect to the inbox work until the information
store is restarted. Restarting our own service has no effect.

Does anybody have any idea what could cause this?

The relevant code that throws the exception is:

if(useHttp)
{
	connection.Provider = "MSDAIPP.DSO";
	connection.Open(folderUrl, userId, password,
(int)ADODB.ConnectOptionEnum.adConnectUnspecified);
}
else
{

	connection.Provider = "exoledb.datasource";
	connection.Open(folderUrl, "", "",
(int)ADODB.ConnectOptionEnum.adConnectUnspecified);
}

if (connection.State == (int)System.Data.ConnectionState.Open)
{
	string strDAV = string.Format(m_strSQL, folderUrl);
	rs.Open(strDAV, connection, ADODB.CursorTypeEnum.adOpenUnspecified,
ADODB.LockTypeEnum.adLockOptimistic, 1);
	if (!rs.EOF)
	{
		rs.MoveFirst();
		result = ConnectState.ConnectEmail;
	}
	else
	{
		result = ConnectState.ConnectNoEmail;
	}
}
date: Wed, 2 Jan 2008 07:18:37 -0800 (PST)   author:   pepethecow

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us