Home Page › Forums › BizTalk 2004 – BizTalk 2010 › NullAdapter – Tomas – I hope you are checking messages here! › NullAdapter – Tomas – I hope you are checking messages here!
[quote:85970ac205=\”nwalters\”]Tomas,
Absolutely correct, I changed the Assembly Name but not the default namespace in the Project Properties.
After making such a change – do you have to rerun the regedit/merge again?
[/quote:85970ac205]
You shouldn’t need to. It was just about getting resources correctly named into the assembly and ensuring the code can load them. You might want to check with Reflector to ensure everything matches, though.
[quote:85970ac205=\”nwalters\”]
Also, does the Adapter have to go in the GAC. Do you have to have a separate load directory in the regedit file (other than the GAC). I’m guessing this is kind of like why custom pipelines have to be in a special directory?
[/quote:85970ac205]
The way the regedit file is configured, you can just deploy it to a directory of your choosing, but make sure the location matches in the regedit file when you register the adapter. Also, note that whatever is in the registry is copied over to the BizTalk MgmtDb when you register the adapter with the Management console, so changing the registry after that won’t do anything unless you remove the adapter and add it back again.
That said, there are ways to configure the adapter registration so that it is loaded from the GAC instead of from a directory. I don’t remember exactly how it goes, but I think the documentation mentions it.
[quote:85970ac205=\”nwalters\”]
Recall that you cannot type directly in the Addres (URI) – you have to click the ellipse and then fill in the next screen. That’s where my problem was. So I typed in null://DummyCorrelationInitPort, then clicked \”OK\”, then the address url had a double null, i.e. \”null://null://DummyCorrelationInitPort\”.
[/quote:85970ac205]
Ahh sorry about that, I guess I didn’t check for the null://. The idea is you just write DummyCorrelationInitPort there and that will be fine.
[quote:85970ac205=\”nwalters\”]
Does this \”name of port\” have to be unique (similar to SQL URLs)?
[/quote:85970ac205]
That’s the idea, although frankly, this particular adapter doesn’t really care much about it anyway, so I doubt anything bad will happen if you don’t 🙂