Windows Control Library call to Web Service over LAN fails

From: Brian (wizkil@alltel.net)
Date: 02/06/03


From: "Brian" <wizkil@alltel.net>
Date: Thu, 6 Feb 2003 09:03:32 -0800


I have built a Windows Control (vb.net) and have embedded
it into the object tags of an aspx page. The control works
fine until I add the code (to the control) that calls a
web service within the same LAN. Then when I run the page
I get a security permissions error.
<<Request for the permission of type System.NET
WebPermission System, ver 1.03300.0 Culture=neutral,
PublicKeyToken=b77a5c561934e089 failed>>

I have tried changing the security setting within my
browser, and within the. NET Framework wizard neither
resolve this issue.

Can anyone help me?



Relevant Pages

  • RE: passing variables from .aspx.cs code pages to .aspx pages
    ... snippet, I've got the cause of your problem, for ASP.NET server control, we ... in the aspx page's inline template, but we can adjust those parameters' ... Microsoft Online Support ... |> | protected void Page_Load ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: usercontrols + code-behind
    ... Each .aspx page that uses this ... > control has appropriate directives at the top of the page: ... protected MyControl myCtl; ... I now get an error whenever the .NET Framework compiles each ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: usercontrols + code-behind
    ... Each .aspx page that uses this ... > control has appropriate directives at the top of the page: ... protected MyControl myCtl; ... I now get an error whenever the .NET Framework compiles each ...
    (microsoft.public.dotnet.framework.aspnet)
  • Suppress Form Action
    ... A custom server control has a Button. ... Private strConfirmMsg As String ... Public Property ConfirmMessageAs String ... using the above custom control in an ASPX page (assume that the ASPX ...
    (microsoft.public.dotnet.framework.aspnet)
  • usercontrols + code-behind
    ... I have developed a user control that resides in a .ascx file with the ... Each .aspx page that uses this ... same time ensuring that the .NET Framework compiles any modifications on the ... I can't remember the exact error, but it's complaing that the 'MyControl' ...
    (microsoft.public.dotnet.framework.aspnet)