|
Home > Archive > BizTalk Server Applications Integration > March 2005 > BTS 2002 AIC Port Config. and BTConfAssistant problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
BTS 2002 AIC Port Config. and BTConfAssistant problem
|
|
| MSDN Andi 2005-03-08, 5:49 pm |
| Hi,
I have an AIC component for BizTalk 2002 (written in C++) that has several
parameters.
Server Address
Server Port
Logon User
Logon Password
Destination Path
Overwrite
The appropriate .asp-File says:
....
Call InputText("Server Address")
Call InputText("Server Port")
Call InputText("Logon User")
Call InputPassword("Logon Password")
Call InputText("Destination Path")
Call InputCheckbox("Overwrite")
....
I can configure using the messaging manager just fine.
I can extract the configuration using BTConfAssistant from the SDK.
When I want to put the configuration back, it works also just fine.
However, when I use the AIC the first time, I get an error message saying
that the Dictionary Value Server Port does not have the data type 3, but the
data type 8.
(The extracted XML-File coming out of BTConfAssistant does not carry any
data types.)
When I open the port settings for the channel in messaging manager, all
values get displayed properly. When I OK/OK/finish then, the AIC suddenly
runs smoothly.
When I set up a clean system, import the biztalk configuration and just
display the port configuration (which is displayed correctly), click
ok/ok/finish, it works fine also.
So somehow the messaging manager gets the data type right.
So the question are:
What do I have to change in BTConfAssistant that BTConfAssistant obviously
does differently than configuring manually through messaging manager (and the
ASP-page of the pipeline/port configuration).
How does the messaging manager get the right datatype?
What is data type 3 and datatype 8 anyways?
We already expenaded the BTConfAssistant, that it provides logfiles, that it
gives a returncode, so it CAN be used for automatically importing a
configuration.
.... but having to display/ok/ok/finish the port-config is really blowing it.
Please, can someone help?
Andi
| |
| Jeff Lynch 2005-03-09, 2:50 am |
| Have you tried running the Refresh Messaging Manager tool found in the SDK
after importing using the BTConfigAssistant? Also, if I remember correctly
you'll need to have your custom AIC installed and registered correctly
before using the BTConfigAssistant. I haven't done this for over a year so I
may be wrong but give it a try.
--
Jeff Lynch
"A BizTalk Enthusiast"
http://codebetter.com/blogs/jeff.lynch/
"MSDN Andi" <MSDN_Andi@nospam.nospam> wrote in message
news:97A3D610-593D-4FE7-9580-E4D9CD60DBA1@microsoft.com...
> Hi,
>
> I have an AIC component for BizTalk 2002 (written in C++) that has several
> parameters.
> Server Address
> Server Port
> Logon User
> Logon Password
> Destination Path
> Overwrite
> The appropriate .asp-File says:
> ...
> Call InputText("Server Address")
> Call InputText("Server Port")
> Call InputText("Logon User")
> Call InputPassword("Logon Password")
> Call InputText("Destination Path")
> Call InputCheckbox("Overwrite")
> ...
> I can configure using the messaging manager just fine.
> I can extract the configuration using BTConfAssistant from the SDK.
> When I want to put the configuration back, it works also just fine.
> However, when I use the AIC the first time, I get an error message saying
> that the Dictionary Value Server Port does not have the data type 3, but
> the
> data type 8.
> (The extracted XML-File coming out of BTConfAssistant does not carry any
> data types.)
> When I open the port settings for the channel in messaging manager, all
> values get displayed properly. When I OK/OK/finish then, the AIC suddenly
> runs smoothly.
>
> When I set up a clean system, import the biztalk configuration and just
> display the port configuration (which is displayed correctly), click
> ok/ok/finish, it works fine also.
>
> So somehow the messaging manager gets the data type right.
>
> So the question are:
> What do I have to change in BTConfAssistant that BTConfAssistant obviously
> does differently than configuring manually through messaging manager (and
> the
> ASP-page of the pipeline/port configuration).
> How does the messaging manager get the right datatype?
> What is data type 3 and datatype 8 anyways?
>
> We already expenaded the BTConfAssistant, that it provides logfiles, that
> it
> gives a returncode, so it CAN be used for automatically importing a
> configuration.
> ... but having to display/ok/ok/finish the port-config is really blowing
> it.
>
> Please, can someone help?
>
> Andi
| |
| MSDN Andi 2005-03-09, 2:50 am |
| Hi Jeff,
thanks for taking the time to reply.
Yes, the custom AIC is installed and registered correctly. Besides: If it
were not I would not have been able to fix the problem by displaying and then
"ok/ok/finish" the port configuration for the AIC as far as I know - and
actually the BTConfAssistant would just fail if a needed AIC is not present -
however it does not take care of PreProcessors - that I fixed myself though.
I then tried the tool. It does not help (it refreshes DocSpecs, Maps and
claims to refresh channels - but it seems not the portconfig of a channel).
If it would have helped, I would still need a command-line version of it that
would write a log-file and supply a return-code... that I could do myself
though given the source code.
So - hoping someone else will help to tackle this 
Take care,
Andi
"Jeff Lynch" wrote:
> Have you tried running the Refresh Messaging Manager tool found in the SDK
> after importing using the BTConfigAssistant? Also, if I remember correctly
> you'll need to have your custom AIC installed and registered correctly
> before using the BTConfigAssistant. I haven't done this for over a year so I
> may be wrong but give it a try.
>
> --
> Jeff Lynch
> "A BizTalk Enthusiast"
> http://codebetter.com/blogs/jeff.lynch/
>
>
> "MSDN Andi" <MSDN_Andi@nospam.nospam> wrote in message
> news:97A3D610-593D-4FE7-9580-E4D9CD60DBA1@microsoft.com...
>
>
>
| |
| MSDN Andi 2005-03-09, 7:46 am |
| Hi,
I have to amend my post so the data-type-problem becomes more obvious, I
think.
the corresponding _post.asp-File has the following entries:
....
Call GetInputText("Server Address", 0, bufsize_medium)
Call GetInputNumber("Server Port", 0, bufsize_medium)
Call GetInputText("Logon User", 0, bufsize_medium)
Call GetInputPassword("Logon Password", 0, bufsize_medium)
Call GetInputText("Destination Path", 0, bufsize_medium)
Call GetCheckBox("Overwrite")
....
.... so the BTConfAssistant does not seem to take into regard that Server
Port should be numeric (even though if I trace through the code of the
included ASPs of the POST-ASP I find code for validating, that the input
should be numeric but do not see how the data type is specifically set in the
dictionary object).
Regards,
Andi
"MSDN Andi" wrote:
> Hi,
>
> I have an AIC component for BizTalk 2002 (written in C++) that has several
> parameters.
> Server Address
> Server Port
> Logon User
> Logon Password
> Destination Path
> Overwrite
> The appropriate .asp-File says:
> ...
> Call InputText("Server Address")
> Call InputText("Server Port")
> Call InputText("Logon User")
> Call InputPassword("Logon Password")
> Call InputText("Destination Path")
> Call InputCheckbox("Overwrite")
> ...
> I can configure using the messaging manager just fine.
> I can extract the configuration using BTConfAssistant from the SDK.
> When I want to put the configuration back, it works also just fine.
> However, when I use the AIC the first time, I get an error message saying
> that the Dictionary Value Server Port does not have the data type 3, but the
> data type 8.
> (The extracted XML-File coming out of BTConfAssistant does not carry any
> data types.)
> When I open the port settings for the channel in messaging manager, all
> values get displayed properly. When I OK/OK/finish then, the AIC suddenly
> runs smoothly.
>
> When I set up a clean system, import the biztalk configuration and just
> display the port configuration (which is displayed correctly), click
> ok/ok/finish, it works fine also.
>
> So somehow the messaging manager gets the data type right.
>
> So the question are:
> What do I have to change in BTConfAssistant that BTConfAssistant obviously
> does differently than configuring manually through messaging manager (and the
> ASP-page of the pipeline/port configuration).
> How does the messaging manager get the right datatype?
> What is data type 3 and datatype 8 anyways?
>
> We already expenaded the BTConfAssistant, that it provides logfiles, that it
> gives a returncode, so it CAN be used for automatically importing a
> configuration.
> ... but having to display/ok/ok/finish the port-config is really blowing it.
>
> Please, can someone help?
>
> Andi
| |
| WenJun Zhang[msft] 2005-03-10, 7:47 am |
| Hi Andi,
Sorry I also have no clue on why the behavior would happen.
However the BTConfAssistant is just a SDK tool which is not
supported. We do notice it sometimes does work fine but reports some
errors though. The dev team doesn't have a schedule to update it
anymore.
So since the AIC has been working fine for you, I think you can
ignore ths problem. For users who do require the BTConfAssistant
functionality very much, they have to refer to the SDK to write their
own utility and the BTConfAssistant can just be a sample.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
| |
| MSDN Andi 2005-03-22, 7:47 am |
| Hi WenJun,
so what can I do to get help?
Of course I am aware that this is an "unsupported" tool.
However, your reply did not make much sense for the following reasons:
For example: I asked a specific question about the data-type. This is not a
BTConfigAssistant question, however it was caused by it.
or see the following:
> So since the AIC has been working fine for you, I think you can
> ignore ths problem. For users who do require the BTConfAssistant
What do you mean, I can ignore the problem? This has nothing to do with the
AIC but with the way that supposedly you can configure BizTalk 2002
programmatically.
Using the messaging manager is not an option in a professional environment.
You cannot just click a configuration together but you need tools that
automate that. I am writing those based on the SDK sample - but to me it
seems that there is a (maybe fundamental) flaw there.
> functionality very much, they have to refer to the SDK to write their
> own utility and the BTConfAssistant can just be a sample.
Exactly.
So what is the solution to my problem?
I refered to the BTConfAssistant because it is the common codebase we have
without me having to post tons of sourcecode.
So you suggest that I open the source-code of the SDK-sample that is not
working, I post the source-code of the SDK-sample here and then someone will
tell me why this is not working?
The part of the sourcecode is not doing what it should do according to the
documentation.
It seems that somehow the values in the dictionary carry a datatype
according to the interface of the AIC-dll that does not get stored in the
dictionary.
If I use the messaging manager (which uses the ASP-pages in the background),
the datatype gets considered somehow, if I use the SDK-samples, something
works differently. I tried going through the ASP-pages sourcecode with the
appropriate includes, but there is also no real clue because the seemingly
data-type specific functions in the end seem to only provide formatting for
the screen but store the data being input the same way between different data
types.
I do not ask for someone to rewrite the BTConfAssistant, but to tell me, how
to do the configuration programmatically properly.
Regards,
| |
| WenJun Zhang[msft] 2005-03-23, 7:47 am |
| Hi Andi,
OK, I see. Just look for further narrowing down this problem: Have
you tested if the same symptom can be reproduced by some other common
AICs? If so, please let me know some details about the steps you are
using. If the problem doesn't only happen with your AIC, I'd do some
deep researching into it. However if it is indeed specific on your
AIC, I cannot request the code from you for testing. What you can do
is to call our customer service center to open a support incident.
Each MSDN subscriber has 2 free incident accounts.
The link of CSS:
http://support.microsoft.com/defaul...US;PHONENUMBERS
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
| |
| MSDN_ANDI@nospam.nospam news.microsoft.com 2005-03-23, 8:47 pm |
| Hi WenJun,
I have had this problem with another AIC - however, this was also one of
"our" AICs.
I doubt that it is in the AIC. So - the only way to really test it is to do
it the other way around:
Please tell me an AIC that I should use to test it.
It should have a configuration with ideally one string and one numeric
parameter. (The best thing would be if the AIC would be written in C++ using
VS Studio 6.0 - however... let's not ask for too much ).
Do you know any AIC I could use for testing?
If you know any AIC that you know "should" work, I would just test it.
The AIC of course should do something simple that you can easily test ;)
I would not need the sourcecode, just the ASP-pages for the configuration
and the dll itself.
Regards,
Andi
""WenJun Zhang[msft]"" <v-wzhang@online.microsoft.com> schrieb im
Newsbeitrag news:OltUeA5LFHA.3476@TK2MSFTNGXA02.phx.gbl...
> Hi Andi,
>
> OK, I see. Just look for further narrowing down this problem: Have
> you tested if the same symptom can be reproduced by some other common
> AICs? If so, please let me know some details about the steps you are
> using. If the problem doesn't only happen with your AIC, I'd do some
> deep researching into it. However if it is indeed specific on your
> AIC, I cannot request the code from you for testing. What you can do
> is to call our customer service center to open a support incident.
> Each MSDN subscriber has 2 free incident accounts.
>
> The link of CSS:
> http://support.microsoft.com/defaul...US;PHONENUMBERS
>
> Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
| |
| WenJun Zhang[msft] 2005-03-24, 7:47 am |
| Andi,
You may try the SDK VC sample:
SDK\Messaging Samples\BTSAppIntegration\VC\ATL
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
| |
| MSDN Andi 2005-03-24, 7:47 am |
| Hi WenJun,
unfortunately you pointed me to something that does not apply.
We were talking about port-configurations and .asp-pages (by default at
"BizTalk\MessagingManager\pipeline" that set the configuration...
this means we are talking things based on pipecomps.dll
Now the other thing is, I mentioned that the configuration data has to be of
a specific data-type (numeric datatype).
But now, please do not point me to
"BizTalk\SDK\Messaging Samples\PipelineComponent\VC\ATL"
since this only uses text-data types.
Cheers,
Andi
""WenJun Zhang[msft]"" wrote:
> Andi,
>
> You may try the SDK VC sample:
>
> SDK\Messaging Samples\BTSAppIntegration\VC\ATL
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
| |
| WenJun Zhang[msft] 2005-03-28, 7:55 am |
| Hi Andi,
Well, I don't have any other appropriate BizTalk 2002 AIC in hand. If
you can minimize the code of your problematic AIC which can be used
to repro the problem, just send it to me for test. The email addr is:
v-wzhang@online.microsoft.com (please remove online.) .
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
This posting is provided "AS IS" with no warranties, and confers no
rights.
|
|
|
|
|