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
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 >