Welcome Guest Search | Active Topics | Members | Log In | Register

Re: Webrequest permission is denied Options · View
rashid.anwer@gmail.com
Posted: Wednesday, October 10, 2007 3:04:53 PM


Rank: Guest
Groups: Guest

Joined: 9/17/2007
Posts: 11,670
Points: -1,200
Date parsed: 10/10/2007 15:04:53
Date: Wed, 10 Oct 2007 22:04:53 -0700

Sorry Spencer...
I must be too much frustrated .

I am quoting the error below:
<QUOTE>
Security Exception
Description: The application attempted to perform an operation not
allowed by the security policy. To grant this application the
required permission please contact your system administrator or change
the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Net.WebPermission, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
</QUOTE>

I have tried chaning the trust level but override is not allowed.
i have also tried adding
<webRequestModules>
<add prefix="http"
type="System.Net.HttpRequestCreator, System,
Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>

in the web.config.. but that does not seem to work either..
The hosters NS does not offer much help. I have placed so many calls
and emailed them many times..

Can any one suggest with the updated post.

thanks in advance.
Rashid

On Oct 10, 3:06 am, "Kevin Spencer" <unclechut...@nothinks.com> wrote:
> You seem to have diagnosed the source of the problem without letting us in
> on the symptoms. What exactly is going wrong when you run your application?
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
>
> DSI PrintManager, Miradyne Component Libraries:http://www.miradyne.net
>
> <rashid.an...@gmail.com> wrote in message
>
> news:1191994617.248999.84290@v3g2000hsg.googlegroups.com...
>
>
>
> > We have pro hosting on networksolutions for an ecommerce site.
>
> > We are trying to connect to authorize.net via webrequest. It seems
> > that NetworkSolutions has medium trust level and overriding is not
> > allowed. ( I have tried to change trust level and add the url in the
> > webrequest in web.config but nothing works)
>
> > The issue has been pending for over a month now. we have called
> > NetworkSolution many times. They are not replying via the email
> > support as well.
>
> > I have searched the web and the groups and didnt find any working
> > solution for the problem .
> > Btw opening the page via socket is also not permissible.
>
> > Does any one know about alternatives ????
>
> > Can any body help... Any help will be appreciated.
>
> > thanks..
>
> > Rashid- Hide quoted text -
>
> - Show quoted text -


Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.1 (NET v2.0) - 9/10/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.032 seconds.