We have a problem with asp.net application using IMS Connect component.
We check "Require client provided security" in the security tab in "Remote
Environments" Properties,
this will supply the ITOC some parameters, like Userid, password, OTMA group
and data store.
How can we provide these parameters to the ITOC?
Thank you,
Ruben
Ruben-
In HIS 2004 there are two options. Your client application can create a
ClientContext object which it can fill with this information and pass to TI,
or you can use our ESSO (Enterprise Single Sign On) database to map Windows
accounts to mainframe accounts.
If you want to use the ClientContext object, you need to:
1. Make sure your TI method has the Use Context Parameter property set to
true.
2. Make sure your Remote Environment has "require client provided security"
checked.
3. Use the ClientContext object that gets registered in the GAC to write
entries into a client context object
4. Pass the client context object to the TI method call.
I would recommend you check out the C# Cedarbank client in the SDK for an
example of what you need to do. If you get stuck, please let us know.
HTH,

Signature
Aaron Grady
MCSE + Internet, MCDBA, MCSD, MCAD.NET
SNA Server/Host Integration Server 2000
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
> We have a problem with asp.net application using IMS Connect component.
>
[quoted text clipped - 8 lines]
> Thank you,
> Ruben
Ruben - 27 Jun 2005 14:24 GMT
Thank you Aaron,
We used to set "clientcontext parameter" to FALSE!!!
That's why it doesn't work!!!
Bye
Ruben
> Ruben-
>
[quoted text clipped - 28 lines]
> > Thank you,
> > Ruben
Aaron Grady [MSFT] - 29 Jun 2005 19:44 GMT
Glad to hear that this is working for you now!

Signature
Aaron Grady
MCSE + Internet, MCDBA, MCSD, MCAD.NET
SNA Server/Host Integration Server
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
> Thank you Aaron,
>
[quoted text clipped - 43 lines]
>> > Thank you,
>> > Ruben
Ruben - 01 Jul 2005 15:40 GMT
Dear Aaron,
It seems that we are expacting some errors involved with persistent
connection.
our development environment is MS Visual Studio .Net 2003
We would look for an example which explain how to use persistent connection
with IMS Connect...
When we send the host request the application returns the following error:
"(2167) The TCP transport received a socket error while attempting to
receive an IMS Connect or OTMA segment prefix. Check the HWS logs. Error
description: Connection reset by peer, expected length: 4. IP Address: XXX,
port: 6001, transid: LDGEST."
I've set up some TI traces and it seems that IMS Connect Socket closes the
connection too early...
We found an example on msdn @
http://msdn.microsoft.com/library/en-us/his_2004Main/htm/his_ti_developers_guide
_uulv.asp
but it seems to use old components...
Is there any updated tutorial? C# CedarBank SDK sample is a little bit
difficoult.
We made some important steps forward... because of YOU!
Pls don't leave us alone :-)
Thanks,
Ruben
> Glad to hear that this is working for you now!
>
[quoted text clipped - 45 lines]
> >> > Thank you,
> >> > Ruben
Aaron Grady [MSFT] - 06 Jul 2005 19:19 GMT
Ruben-
Unfortunately persistent connections are not supported to IMS, so there's
not a lot I can be of help with. Here's a link to documentation on
persistent connections and which programming models are supported:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/his_2004Main/ht
m/his_ti_developers_guide_dgey.asp?frame=true

Signature
Aaron Grady
MCSE + Internet, MCDBA, MCSD, MCAD.NET
SNA Server/Host Integration Server
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
> Dear Aaron,
>
[quoted text clipped - 89 lines]
>> >> > Thank you,
>> >> > Ruben