Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Biztalk
acce.forsuppliers
acce.hipaa
acce.hl7
acce.rosettanet
accelerator.finserv
admin
appintegration
framework
general
library
nonxml
orchestration
sdk
server
setup
tools
xlangs
xsharp
  
 
date: Tue, 29 Apr 2008 10:50:17 -0500,    group: microsoft.public.biztalk.sdk        back       


Problem configuring a custom adapter   
Hi All,

I had a custom adapter working just fine until recently when I changed the 
project location and namespaces to better reflect how I really wanted to 
build the adapter.

Anyway, I am now unable to configure my own custom adapter.  When I create a 
transmit port for my send adapter and select the adapter from the drop down 
list and select "Configure", I get the error box saying "Value cannot be 
null.  Parameter name:stream".

I have double checked the type names and the dll locations several times and 
they are all correct.  I have searched the registry and verified that the 
settings for the adapter are correct.

I have tried attach to BTSNTSvc.exe and set a break for my class 
StaticAdapterManagement (this custom adapter is based on the adapter 
framework - a modification of the sample adapters ).  However this error 
message appears before I break into my code.

Does anybody have any suggestions as to what might be causing this.  I am 
pretty sure that BizTalk is not able to find some type or some file but I am 
not sure what though.

Any help will be appreciated.

Thanks.

Waqar
date: Tue, 29 Apr 2008 10:50:17 -0500   author:   Waqar Sadiq

Re: Problem configuring a custom adapter   
My problem got fixed.  Here are the things I was doing wrong.

1) My TransmitLocation.xsd was in the project but it was not marked as 
"Embedded Resource".  As a result, the adapter was unable to locate it.
2) My code was not breaking in the debugger because I was attaching to 
BTSNTSvc.exe.  However, during design time, I needed to attach to the 
mmc.exe for the BizTalk console.

Hope this helps others.

Thanks,

Waqar Sadiq

"Waqar Sadiq"  wrote in message 
news:uOq05ChqIHA.2064@TK2MSFTNGP05.phx.gbl...
> Hi All,
>
> I had a custom adapter working just fine until recently when I changed the 
> project location and namespaces to better reflect how I really wanted to 
> build the adapter.
>
> Anyway, I am now unable to configure my own custom adapter.  When I create 
> a transmit port for my send adapter and select the adapter from the drop 
> down list and select "Configure", I get the error box saying "Value cannot 
> be null.  Parameter name:stream".
>
> I have double checked the type names and the dll locations several times 
> and they are all correct.  I have searched the registry and verified that 
> the settings for the adapter are correct.
>
> I have tried attach to BTSNTSvc.exe and set a break for my class 
> StaticAdapterManagement (this custom adapter is based on the adapter 
> framework - a modification of the sample adapters ).  However this error 
> message appears before I break into my code.
>
> Does anybody have any suggestions as to what might be causing this.  I am 
> pretty sure that BizTalk is not able to find some type or some file but I 
> am not sure what though.
>
> Any help will be appreciated.
>
> Thanks.
>
> Waqar
>
date: Wed, 30 Apr 2008 18:46:22 -0500   author:   Waqar Sadiq

Google
 
Web ureader.com


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