This URL is programatically set, I has an initial URL like:
http://localhost/station/station.asmx but I change it with this code:
service.Url = "http://" + host + "/station/station.asmx";
When I've debugged I've seen that the URL is correct, actually, this same
webservice works fine on any other WinXP computer, but not on the Win2003.
And yes, the host: http://plasma as same as
http://192.168.5.15 (it's IP)
have full trust.
Don't know what else to do...
Thanks for the help.
Isaias Formacio
[quoted text, click to view] "MSFT" <lukezhan@online.microsoft.com> wrote in message
news:lqNbIPh5DHA.1992@cpmsftngxa07.phx.gbl...
> Hello,
>
> Thank you for using the community. I am Luke and I am review this issue
> currently. As I understand, the web service call another web service and
> encounter an SecurityException.You have set:
>
> <IPermission class="System.Net.WebPermission, System, Version=1.0.5000.0,
> Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1">
> <ConnectAccess>
> <URI uri="http://plasma/station/station\.asmx"/>
> </ConnectAccess>
> </IPermission>
>
> If we made some changes:
>
> <URI uri="http://plasma/station/station/.*" />
>
> Wull this help?
>
> And how did you set the trust level for the external web service? full
> trust?
>
> For more information on Code Access Security with ASP .NET, you may refer
> to:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/ht
> ml/THCMCh09.asp
>
> Luke
> Microsoft Online Support
>
> Get Secure!
www.microsoft.com/security > (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>