Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Could not load file or assembly Could not load file or assembly 'CountryListBox' or one of its dependencies. Access is denied
Previous
 
Next
New Post
5/24/2007 3:22 AM
 

When you must not update a running system then start it from the scratch. 

The  dependences says in which order the project shoul be compiled. When parts are precompiled - better parts from older versions - then assembly errors happen.  

In the subproject "CountryListBox" there should be 4 files:

  • My Project
  • AssemblyInfo.vb
  • CountryListBox.vb
  • CountryLookup.vb

Check that if they exist.

 
New Post
5/29/2007 8:47 AM
 

Hi

Well I have been doing some digging, and I now think that the problem is actually related to permission problems when connecting to the database.  My reasons are below:

I downloaded the original source again from DNN and built the project from scratch with VS 2005.  I configured the database connection using two methods and one worked correctly and one didn't.

The first way that worked has the "identity impersonate=true" set with "Trusted_Connection=true;" on the connection string (both in web.config).  IIS anonymous access for the virtual directory then contains a domain account and password (i.e. Unceck allow IIS to manage account password).  This worked correctly, and connected to the separate database server.   This wasn't what I required though, as I want to identify my end user and automatically log them in (via the Active Directory mechanism).  For this to work, I need Integrated Authentication, and Anonymous turned off.  So I tried the second way.

The second way has the "identity impersonate=true; userName=xxxxxxxxxx; password=xxxxxxxxxx" set.  IIS will then use integrated authentication, and anonymous is turned off.  This immediately brings up the assembly error (access denied).

I tried restarting IIS to ensure that this wasn't something to do with cached credentials (etc.), but sadly it wasn't.

All of this worked fine on 4.4.0, so any help and advise on this would be very useful.

Many Thanks

 

Glen

 
New Post
6/4/2007 5:54 AM
 

Hi

I can confirm that this is still a problem, and is not resolved in version 4.5.2.  Is there any possible environment configuration faults on my machine?

Any help would be greatly appreciated

 

Glen

 
New Post
6/18/2007 3:09 AM
 

Hi

Has anyone found a solution to this problem?

Thanks

Glen

 
New Post
11/23/2007 7:35 PM
 

I found a solution for my version of this problem.  I was just trying to use Impersonate="true" for AD integration.  In my case I am testing on my Windows XP machine first.  I'm not using the source code version of the project.

I had to give the user account modify rights "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" to get rid of the error.

On an IIS 6 machine I would probably just have to put the user in the IIS_WPG and everything would work.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Could not load file or assembly Could not load file or assembly 'CountryListBox' or one of its dependencies. Access is denied


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out