Re: Security Problem
- From: "Pat" <naijacoder@xxxxxxxxxxx>
- Date: Fri, 2 Sep 2005 12:04:38 +1000
I guess it could be a "The request failed with HTTP status 401:
Unauthorized" Error
Maybe try giving it a System.Net.CredentialCache.DefaultCredentials.
Patrick
"Aurelio" <corcharelliARROBAhotmail.com> wrote in message
news:ufx1S1rrFHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
> Hello.
>
> I use a web service that I created through a custom control on a windows
> form and it works fine.
> However, if usethis control through a webform , i get an security error
> when i call the web service
> aying:
>
> "The application attempted to perform an operation not
> allowed by the security policy. The operation required the
> SecurityException. To grant this application the required
> permission please contact your system administrator, or
> use the Microsoft .NET security policy administration tool.
>
> Request for the permission of type
> System,Net.WebPermission..."
>
> What can i do?
> I don't know how to explicitly trust the assembly.
>
> Thanks
>
>
>
>
>
.
- References:
- Security Problem
- From: Aurelio
- Security Problem
- Prev by Date: Change Hyperlink style dynamically
- Next by Date: Re: Read Authentication Type From Web.Config
- Previous by thread: Security Problem
- Next by thread: ASP.NET SQL Processes
- Index(es):
Relevant Pages
|