Web Hosting Forum | Lunarpages
News: November 3, 2008 - Enter Your URL in to WIN the November Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 18, 2008, 12:17:33 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Problems getting PayPal Standard to work  (Read 384 times)
warehouse1990
Newbie
*
Offline Offline

Posts: 1


« on: June 23, 2007, 02:39:46 PM »

I'm having trouble getting PayPal Standard to work. I'm using code in my ASP.NET 2.0 application that is very similiar to:

https://www.paypal.com/cgi-bin/webscr?cmd=_pdn_cart_techview_outside

My error message is below. It mentions about Impersonation. Should I be doing this and if so with what ID? A new WebUser or what?

Help is appreciated! I've been fighting this for awhile.

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM