Error when adding Biztalk Server in BAS
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Error when adding Biztalk Server in BAS




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Error when adding Biztalk Server in BAS  
Rick


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-04 10:51 PM

Hi all,

I receive the following error when I attempt to add a Biztalk Server to BAS.

The call to StsWebService has failed. Check the server Application log for
more details. There was an unexpected exception while we tried to retrieve
the configuration information about the Sts Adapter and the computer running
the Sts Adapter. QueryInterface for interface System.IDisposable failed. -->
QueryInterface for interface System.IDisposable failed

SQL Server and Biztalk are on the same Windows 2003 box. I looked in the
application log, and the message is pretty much identical to the error above
.
Has anyone encountered this error? Any help is greatly appreciated.

Rick





[ Post a follow-up to this message ]



    RE: Error when adding Biztalk Server in BAS  
Adrian Hamza [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 10:52 PM

Hi Rick,
This is a known issue that happens after you upgrade from a previous
version of BizTalk or after you run Setup Repair. Follow the steps below to
repair this problem.

Follow these steps:
1. Start Visual Studio 2003 .Net Command Prompt from the Visual Studio
Tools menu
2. type the following command and then press enter
regsvcs /fc /componly "drive:\Program Files\Microsoft
BizTalk Server 2004\Business Activity
Services\KwSts\Shared\Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.dll"

Stop and then start the BizTalk SharePoint Messaging Adapter service. To do
this, follow these steps:
Click Start, point to Administrative Tools, and then click Services.
Right-click BizTalk SharePoint Messaging Adapter, and then click
Stop.
Right-click BizTalk SharePoint Messaging Adapter, and then click
Start

Note You may also have to stop and then start the IIS Admin Service.

Thanks,
Adrian.
--------------------[vbcol=seagreen] 
BAS.[vbcol=seagreen] 
for[vbcol=seagreen] 
retrieve[vbcol=seagreen] 
running[vbcol=seagreen] 
-->[vbcol=seagreen] 
above.[vbcol=seagreen] 

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team






[ Post a follow-up to this message ]



    RE: Error when adding Biztalk Server in BAS  
Rick


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-04 10:51 PM

Thank Adrian,

I folllowed the instructions and am still having the problem. I assume the
Sharepoint Messaging Adapter service you are referring to is named
"Microsoft.Biztalk.KwTpm.StsBizTalkAdapter.StsBizTalkAdapterService". there'
s
also a component showing up in com+ with this name. Do I have to re-register
this also? Thanks for the help.

Rick

"Adrian Hamza [MSFT]" wrote:

> Hi Rick,
> This is a known issue that happens after you upgrade from a previous
> version of BizTalk or after you run Setup Repair. Follow the steps below t
o
> repair this problem.
>
> Follow these steps:
>    1. Start Visual Studio 2003 .Net Command Prompt from the Visual Studio
> Tools menu
>    2. type the following command and then press enter
>                    regsvcs /fc /componly "drive:\Program Files\Microsoft
> BizTalk Server 2004\Business Activity
> Services\KwSts\Shared\Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.dll"
>
> Stop and then start the BizTalk SharePoint Messaging Adapter service. To d
o
> this, follow these steps:
>         Click Start, point to Administrative Tools, and then click Service
s.
>          Right-click BizTalk SharePoint Messaging Adapter, and then click
> Stop.
>          Right-click BizTalk SharePoint Messaging Adapter, and then click
> Start
>
> Note You may also have to stop and then start the IIS Admin Service.
>
> Thanks,
> Adrian.
> -------------------- 
> BAS. 
> for 
> retrieve 
> running 
> --> 
> above. 
>
> This posting is provided "AS IS" with no warranties, and confers no rights
.
>
> EBusiness Server Team
>
>





[ Post a follow-up to this message ]



    RE: Error when adding Biztalk Server in BAS  
Adrian Hamza [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-27-04 10:48 PM

See below more details.

Symptoms Section
================
In Microsoft BizTalk Server 2004, any one of the following operations may
be unsuccessful:
You try to send a message to the Inbox or Sent Items folder.
You try to send a message from the Outbox to BizTalk Server.
You try to register a BizTalk Server-based server.
You receive an error message that is similar to the following in the
Application Event log:
Event Type: Error
Event Source: KwTpm
Event Category: None
Event ID: 2203
Date: 1/21/2004
Time: 3:55:04 PM
User: N/A
Computer: ComputerName
Description:
QueryInterface for interface
Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.IStsAdapter failed.

The StsAdapterEventHandler has caught an unexpected exception. The
exception details are logged below.

Exception type: "System.InvalidCastException".
Exception source: "mscorlib".
Exception message: "QueryInterface for interface
Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.IStsAdapter failed.". Stack
trace: "
Server stack trace:

at
Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.IStsAdapter.SendMessageToBizTalk(S
tring docLibTitle, String documentFullUrl, String officeDocFilePath,
String& statusValue, String& descriptionValue)

at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Met
hodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)

at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa
ge msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)

at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)

at
Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.StsAdapter.SendMessageToBizTalk(St
ring docLibTitle, String documentFullUrl, String officeDocFilePath, String&
statusValue, String& descriptionValue

at
Microsoft.BizTalk.KwTpm.StsAdapterEventHandler.StsAdapterEventHandler.Micros
oft.SharePoint.IListEventSink.OnEvent(SPListEvent listEvent)".

If present, next exception is the inner exception.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Cause Section
=============
This problem occurs if the registry information for the StsAdapter
component is corrupted. The corruption occurs during an Upgrade operation
to BizTalk Server 2004. The corruption can also occur during the Repair
operation for BizTalk Server 2004 if the
Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.dll file is missing before the
Repair operation starts.

Resolution Section
================
To resolve this problem, use one of the following methods.

Method 1: Use Administrative Tools
==============================
Click Start, point to Administrative Tools, and then click Component
Services.
In the Component Services dialog box, expand Computers, expand My Computer,
expand COM+ Applications, expand
BizTalk.KwTpm.StsBizTalkAdapter.StsBizTalkAdapterService, and then expand
Components.
Right-click Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.StsAdapter, and then
click Delete. Click Yes to confirm the deletion. DON'T DELETE THE
APPLICATION, DELETE JUST THE COMPONENT.
Right-click Components, point to New, and then click Component.
In the COM+ Component Install Wizard, click Next, and then click Install
new component(s).
In the Select files to install dialog box, locate the Drive:\Program
Files\Microsoft BizTalk Server 2004\Business Activity Services\KwSts\Shared
folder, and then click Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.
Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.StsAdapter appears under
Components found.
Click Next, and then click Finish.
Click Start, point to Administrative Tools, and then click Services.
Right-click BizTalk SharePoint Messaging Adapter, and then click Restart.

Method 2: Use the Visual Studio .NET Command Prompt
 ========================================
========
Click Start, click All Programs, and then click Microsoft Visual Studio
.NET 2003.
Click Visual Studio .NET Tools, and then click Visual Studio .NET 2003
Command Prompt.
In the Visual Studio .NET 2003 Command Prompt, type the following command,
and then press ENTER:
regsvcs /fc /componly "drive:\Program Files\Microsoft BizTalk Server
2004\Business Activity
Services\KwSts\Shared\Microsoft.BizTalk.KwTpm.StsBizTalkAdapter.dll"

Stop and then start the BizTalk SharePoint Messaging Adapter service. To do
this, follow these steps:
Click Start, point to Administrative Tools, and then click Services.
Right-click BizTalk SharePoint Messaging Adapter, and then click Stop.
Right-click BizTalk SharePoint Messaging Adapter, and then click Start.

Note You may also have to stop and then start the IIS Admin Service.
--------------------[vbcol=seagreen] 
<DU2r#TH6EHA.2768@cpmsftngxa10.phx.gbl>[vbcol=seagreen] 
the[vbcol=seagreen] 
there's[vbcol=seagreen] 
re-register[vbcol=seagreen] 
below to[vbcol=seagreen] 
Studio[vbcol=seagreen] 
Files\Microsoft[vbcol=seagreen] 
To do[vbcol=seagreen] 
Services.[vbcol=seagreen] 
click[vbcol=seagreen] 
click[vbcol=seagreen] 
to[vbcol=seagreen] 
log[vbcol=seagreen] 
failed.[vbcol=seagreen] 
the[vbcol=seagreen] 
error[vbcol=seagreen] 
rights.[vbcol=seagreen] 

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register