473,325 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Webrequest permission is denied

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

Oct 10 '07 #1
3 10852
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

<ra**********@gmail.comwrote in message
news:11*********************@v3g2000hsg.googlegrou ps.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

Oct 10 '07 #2
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.comwrote:
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.comwrote in message

news:11*********************@v3g2000hsg.googlegrou ps.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 -

Oct 11 '07 #3
Hi rashid,

Your ASP.Net application does not have the trust level to perform the
operation. Here is a good article on Trust Levels and ASP.Net application
trust in particular. It should help you diagnose and fix your problem:

http://www.codeproject.com/gen/desig...gnPatterns.asp

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

<ra**********@gmail.comwrote in message
news:11**********************@50g2000hsm.googlegro ups.com...
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.comwrote:
>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.comwrote in message

news:11*********************@v3g2000hsg.googlegro ups.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 -


Oct 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Klunk | last post by:
Hi, last week I moved the folder of my Intranet application to another disk of the same server. After this change all the ASP page return this error: Microsoft VBScript runtime error...
1
by: Mark E. Hamilton | last post by:
Sorry, I probably should have re-stated the problem: We're using Python 2.3.5 on AIX 5.2, and get the follow error messages from some of our code. I haven't yet tracked down exactly where it's...
10
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more...
2
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some...
4
by: stephen | last post by:
Hi, I am getting an error while trying to create an excel file. "Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the...
0
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to...
0
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
4
by: xzzy | last post by:
I have a v1.1 web app that works on my local computer. However, running it at the host computer, the following breaks: when a viewer selects a different country, the State dropdown should...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.