| Author |
Message |
Paul Kilbourne
Guest
|
Posted:
Thu Jun 16, 2005 10:33 pm Post subject:
HIS IIS Hosting security requirements |
|
|
Hi all:
I have created an interface to our mainframe using IMS Connect and a TI .NET
library. I am using IIS to host the remoting site, however when I set the
permissions to Windows Integrated Security I keep getting "The remote server
returned an error: (401) Unauthorized".
When I set the permissions to Anonymous, everything works fine.
I must set the permissions to Windows Integrated because of the business
requirements
I have tried setting the folder/file permissions to allow full control for
everyone as well as authenticated users, HIS runtime users, ASPNET however
this failed to resolve my problem.
I should metion that I am using Rockford Lohtka's CSLA framework to
distribute my objects. When I am working in the IDE, I do not have a
problem. However when working with the remoted application, the problem
arises.
Can anyone shed some light?
Thanks
Paul Kilbourne |
|
| Back to top |
|
 |
Rob Beardsworth [MSFT]
Guest
|
Posted:
Fri Jun 17, 2005 10:31 pm Post subject:
RE: HIS IIS Hosting security requirements |
|
|
HI Paul,
if you need to provide credentials then you will have to add code to
your client. The CSClient sample program provided with HIS shows how to do
this, the following lines are in there:
// set up default credentials, which will send our credentials to the
web site
// this is needed in case Anonymous Access is turned off, and may then
be used
// on the server to impersonate the client
if(ChannelServices.GetChannel("http") == null)
{
IDictionary channelProp = new Hashtable();
channelProp["useDefaultCredentials"] = true;
ChannelServices.RegisterChannel(new HttpClientChannel(channelProp,
null));
}
Note: the effective user of the thread (in aspnet_wp.exe) needs to be a
member of the "HIS Runtime" group. So if you do not impersonate the client,
then the identity of your aspnet_wp.exe (IIS5) or the application pool
(IIS6) needs to be in that group. If you DO impersonate the client, then
each client will need to be a member of that group.
Rob Beardsworth
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
--------------------
Subject: HIS IIS Hosting security requirements
Date: Thu, 16 Jun 2005 13:33:16 -0400
Lines: 25
Hi all:
I have created an interface to our mainframe using IMS Connect and a TI .NET
library. I am using IIS to host the remoting site, however when I set the
permissions to Windows Integrated Security I keep getting "The remote server
returned an error: (401) Unauthorized".
When I set the permissions to Anonymous, everything works fine.
I must set the permissions to Windows Integrated because of the business
requirements
I have tried setting the folder/file permissions to allow full control for
everyone as well as authenticated users, HIS runtime users, ASPNET however
this failed to resolve my problem.
I should metion that I am using Rockford Lohtka's CSLA framework to
distribute my objects. When I am working in the IDE, I do not have a
problem. However when working with the remoted application, the problem
arises.
Can anyone shed some light?
Thanks
Paul Kilbourne |
|
| Back to top |
|
 |
lucia
Guest
|
Posted:
Tue Jun 21, 2005 4:54 pm Post subject:
RE: HIS IIS Hosting security requirements |
|
|
this is all new to me. i have tried to send an email and it gives me back
errors like (host 'smtp' could not be found. what am i doing wrong?
"Paul Kilbourne" wrote:
| Quote: | Hi all:
I have created an interface to our mainframe using IMS Connect and a TI .NET
library. I am using IIS to host the remoting site, however when I set the
permissions to Windows Integrated Security I keep getting "The remote server
returned an error: (401) Unauthorized".
When I set the permissions to Anonymous, everything works fine.
I must set the permissions to Windows Integrated because of the business
requirements
I have tried setting the folder/file permissions to allow full control for
everyone as well as authenticated users, HIS runtime users, ASPNET however
this failed to resolve my problem.
I should metion that I am using Rockford Lohtka's CSLA framework to
distribute my objects. When I am working in the IDE, I do not have a
problem. However when working with the remoted application, the problem
arises.
Can anyone shed some light?
Thanks
Paul Kilbourne
|
|
|
| Back to top |
|
 |
lucia
Guest
|
Posted:
Tue Jun 21, 2005 4:54 pm Post subject:
RE: HIS IIS Hosting security requirements |
|
|
"lucia" wrote:
| Quote: | this is all new to me. i have tried to send an email and it gives me back
errors like (host 'smtp' could not be found. what am i doing wrong?
"Paul Kilbourne" wrote:
Hi all:
I have created an interface to our mainframe using IMS Connect and a TI .NET
library. I am using IIS to host the remoting site, however when I set the
permissions to Windows Integrated Security I keep getting "The remote server
returned an error: (401) Unauthorized".
When I set the permissions to Anonymous, everything works fine.
I must set the permissions to Windows Integrated because of the business
requirements
I have tried setting the folder/file permissions to allow full control for
everyone as well as authenticated users, HIS runtime users, ASPNET however
this failed to resolve my problem.
I should metion that I am using Rockford Lohtka's CSLA framework to
distribute my objects. When I am working in the IDE, I do not have a
problem. However when working with the remoted application, the problem
arises.
Can anyone shed some light?
Thanks
Paul Kilbourne
|
|
|
| Back to top |
|
 |
|
|
|
|