I managed to resolve the below error. It turn out that permission was not
being given to Users group for the IIS website. After setting the permission,
it worked.
Cheers.
[quoted text, click to view] "Sundolphino" wrote:
> Hello,
> I'm trying to follow the WSE 3.0 Labs to implement the secure-conversation.
> In the Basic Labs Part 2, when the attribute establishSecurityContext is set
> to false in the config file, the application is working fine and able to
> retrieve results from the webservice. But once the attribute
> establishSecurityContext is set to true in order to enable
> secure-conversation, the application encounters the following error:
>
> Microsoft.Web.Services3.AsynchronousOperationExcepion: WSE101: An
> asynchronous operation raised an exception. ---> System.Net.WebException: The
> remote server returned an error: (401) Unauthorized.
>
> Even the provided solutions in the labs (the ones in the After folder) are
> encountering the same error when I run it on the machine. Btw the machine is
> running on Windows Server 2003 SP1.
>
> Wonder if any of you guys encountered such error when doing the labs?
> Any help is much appreciated.
>
> Thanks,
Hi,
I had the same issue. Check the ACL of the path where your web service
is deployed and make sure that your user has priviledges to access
it...
Regards
[quoted text, click to view] Sundolphino wrote:
> I managed to resolve the below error. It turn out that permission was not
> being given to Users group for the IIS website. After setting the permission,
> it worked.
>
> Cheers.
>
> "Sundolphino" wrote:
>
> > Hello,
> > I'm trying to follow the WSE 3.0 Labs to implement the secure-conversation.
> > In the Basic Labs Part 2, when the attribute establishSecurityContext is set
> > to false in the config file, the application is working fine and able to
> > retrieve results from the webservice. But once the attribute
> > establishSecurityContext is set to true in order to enable
> > secure-conversation, the application encounters the following error:
> >
> > Microsoft.Web.Services3.AsynchronousOperationExcepion: WSE101: An
> > asynchronous operation raised an exception. ---> System.Net.WebException: The
> > remote server returned an error: (401) Unauthorized.
> >
> > Even the provided solutions in the labs (the ones in the After folder) are
> > encountering the same error when I run it on the machine. Btw the machine is
> > running on Windows Server 2003 SP1.
> >
> > Wonder if any of you guys encountered such error when doing the labs?
> > Any help is much appreciated.
> >
> > Thanks,
> > Desmond
Don't see what you're looking for? Try a search.