PRB: Components That Are Running in BizTalk Server Fail to Access Certain Resources (292048)
The information in this article applies to:
- Microsoft BizTalk Server 2000
This article was previously published under Q292048 SYMPTOMS
When you try to access certain resources from within components in BizTalk Server (for example, an AIC that needs to write to a specific folder), access may succeed or fail depending on if you use the Submit or SubmitSync method to submit the document.
CAUSE
The Submit and SubmitSync methods are called by creating a BizTalk.Interchange component. This component is registered in COM+ in a package called "BizTalk Server Interchange Application," which is a server package.
When Submit is called on the BizTalk.Interchange component, the COM+ package places the submitted document into one of the BizTalk Microsoft SQL Server databases and then returns. The BizTalk Messaging Service takes the document out of the database and processes it. Therefore, the continued processing of the document and the invoked components run in the security context of the account that is used for the BizTalk Messaging Service.
When SubmitSync is called, the document is not placed in the BizTalk Messaging Service work queue. The COM+ package does all of the processing before it returns to the caller. Therefore, the processing of the document and the invoked components run in the security context of the "BizTalk Server Interchange Application" COM+ package.
RESOLUTION
To work around this behavior, make sure that the BizTalk Messaging Service account and the "BizTalk Server Interchange Application" COM+ package account can access all of the required resources.
Modification Type: | Major | Last Reviewed: | 11/6/2003 |
---|
Keywords: | kbprb KB292048 |
---|
|