Link to home
Start Free TrialLog in
Avatar of rito1
rito1

asked on

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

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
ASKER CERTIFIED SOLUTION
Avatar of Praveen Venu
Praveen Venu
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rito1
rito1

ASKER

Thanks praveenvenu,

I'll give this a go.

Rit
Avatar of rito1

ASKER

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
May I know from where you have downloaded the sample?
Avatar of rito1

ASKER

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