|
-
December 19th, 2008, 04:18 PM
#1
Question Windows Form Controll in IE, Request for System.Net.WebPermission Failed
I have a Windows Form Control that am using to show users pictures on a secure server, e.g. log on required. The control that I have built runs fine in the Control Debugger but fails when I try to run it in IE 7.
The error i get is:
Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
How do I fix this? Can I enable VS 2005 to debug this while it runs in IE? Is there another approach that i could use? Ideally there is 0 config from the users point of view besides allowing the control to run.
Thanks,
-
December 19th, 2008, 04:36 PM
#2
Re: Question Windows Form Controll in IE, Request for System.Net.WebPermission Failed
Do the users have you URL as a "Trusted Site"??????
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 19th, 2008, 04:40 PM
#3
Re: Question Windows Form Controll in IE, Request for System.Net.WebPermission Failed
 Originally Posted by TheCPUWizard
Do the users have you URL as a "Trusted Site"??????
For my testing I am using localhost, and though not explicitly considered in my local intranet i added it to the "trusted sites".
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|