Error on payment screens in back end

Posted By JaseGW Wed 13 Apr 2011
Add to Favorites1
Author Message
JaseGW
 Posted Wed 13 Apr 2011
Supreme Being

Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)

Group: Forum Members
Last Active: Wed 13 Apr 2011
Posts: 3, Visits: 9
Hey,

Followed instructions in the manual and all is good, apart from when I wish to edit the payment options, I get this error. Obviously it is a permissions thing, put thought if ASP.NET had full control, that was all that was needed.

Any help would be appreciated.

-----------------------------------------------------------------------------
>>    Admin_GatewaySettings.btnUpdate_Click
-----------------------------------------------------------------------------
>>    System.UnauthorizedAccessException
>>    13/04/2011 13:00:58
>>     URL:http://<site>/cart/Admin/_GatewaySettings.aspx?g=Paypal
>>    77.99.39.135
>>    CUSTOM MESSAGE:
Error: An unknown error has occurred. Please check the error logs for any info.
>>    MESSAGE:
Access to the path 'D:\Websites\<site>\cart\Plugins\Paypal\Paypal.dll.config' is denied.
>>    STACK:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Delete(String path)
   at Admin_GatewaySettings.btnUpdate_Click(Object sender, EventArgs e)
==================================================
Mohammad
 Posted Wed 13 Apr 2011
Kartris Expert

Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)Kartris Expert - (79,465 reputation)

Group: Administrators
Last Active: Sun 27 Sep 2015
Posts: 115, Visits: 706
Probably the file is blocked ?!

Go to the properties of the file '
Paypal.dll.config' in your case, if you can find a button says 'Un-block', then you need to un-block it, that should fix the issue.
JaseGW
 Posted Wed 13 Apr 2011
Supreme Being

Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)Supreme Being - (2,207 reputation)

Group: Forum Members
Last Active: Wed 13 Apr 2011
Posts: 3, Visits: 9
Hi,

Thanks, but I cannot find a putton that says "Un-Block"
Windows Server 2008
Paul
 Posted Thu 14 Apr 2011
große Käse

große Käse - (513,442 reputation)große Käse - (513,442 reputation)große Käse - (513,442 reputation)große Käse - (513,442 reputation)große Käse - (513,442 reputation)große Käse - (513,442 reputation)große Käse - (513,442 reputation)große Käse - (513,442 reputation)große Käse - (513,442 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
What version of Windows / IIS is it? Win 2008 introduced some extra security things which is what Mohammad is referring to. I have also seen the files get locked if the site is running.

One workaround if there is a permissions issue - you can edit the Paypal config file manually. It is an XML file located in the Paypal plugin folder. Typically on a live site it would be encrypted for security, which cannot be done manually. But .config files are not served and in reality the Paypal account details are not really so sensitive; someone could not access the account with those, only make a payment to you!

If the file is locked and even FTP cannot delete/mod it, then if you have full access to the web server (i.e. this is not shared hosting) you can generally recycle the application pool for this site to clear it.

I've edited the files manually on some shared hosting where there was not the required permissions and if it gets paypal running then it is not something you'll have to change again.


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top