Link to home
Start Free TrialLog in
Avatar of soapygus
soapygus

asked on

Deploy .dll .net 2.0 -- Could not load assembly . . . Access Denied

Hello Experts,

I am having trouble with the concept of deploying a .dll for a web applicaiton .NET 2.0.  I found a great .NET control for populating a news scroll here: http://www.rainforestnet.com/newscroller.htm. I downloaded the .dll and added it to my VS2005 project and it works fine.  However, I've had no luck trying to deploy it on my webserver.

Currently, I am receiving the following error: "Could not load file or assembly 'aspnetcs_NewsScroller' or one of its dependencies. Access is denied."

I created a bin directory in the root of my application and placed the .dll in it.  No luck.  I've downloaded the source code and strongly typed the .dll (a concept I don't grasp) and dropped it into the GAC, still no luck.

How/Where do I place this .dll so that it can be referenced from an aspx page like so:
<%@ Register Assembly="aspnetcs_NewsScroller" Namespace="WildStorms" TagPrefix="ws" %>

Thanks for you help.
Avatar of nsanga
nsanga

the problem is with the security......as it says "Access is denied."

see the security settings for the virtual directory and the sub directories pointed by virtual directory( eg bin)
ASKER CERTIFIED SOLUTION
Avatar of nsanga
nsanga

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 soapygus

ASKER


It was that easy!  Thanks.

I'll do more research on .dlls and how to deploy.