Could not load file or assembly 'GenerateCodeNVP' or one of its dependencies. Access is denied.

rito1
rito1 used Ask the Experts™
on
Hi All,

I am trying to use Paypal's sample coding for Direct Payment NVP.

What I have done is take a copy of their sample project and updated the necessary credentials within a particular class file.

I have then added their Project to my current ASP.Net website solution and then add a reference into my Bin directory which has created the following DLL files:

GenerateCodeNVP.dll
paypal_base.dll

When I build the website, I don't get any errors and everything looks pretty healthy but when I access the website, I get the following error:

Could not load file or assembly 'GenerateCodeNVP' or one of its dependencies. Access is denied.

I have found the following article which I believe I have followed but still get the error:

http://blogs.msdn.com/b/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx

I haven't been in touch with Paypal forums as yet as you guys seem to respond a lot quicker as its urgent.

Any help would be appreciated.

Many thanks,

Rit
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Author

Commented:
Thanks praveenvenu,

I'll give this a go.

Rit

Author

Commented:
Hi,

I have read through this article  but I am running a 32 bit Vista machine and can't find that option in IIS6 anyway.

Any other ideas?

Thanks,

Rit
Praveen VenuTechnical Project Manager

Commented:
May I know from where you have downloaded the sample?

Author

Commented:
Sure, no problem...

https://www.x.com/community/ppx/code_samples

this is the actual link that I used on this page...

https://cms.paypal.com/cms_content/US/en_US/files/developer/NVPcodesamples.zip

thanks,

Rit

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial