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 ...File or Assembly CountryListBox ... not found. Access denied !!File or Assembly CountryListBox ... not found. Access denied !!
Previous
 
Next
New Post
2/2/2008 2:24 PM
 

Hello all,

 I just tried to upgrade from 4.7 to 4.8 and when restarting my site, i got the error above. (It's a german installation, I tried to translate it.)

The stack trace is as follows, anyone can help ??

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CountryListBox' could not be loaded.

=== Zustandsinformationen vor Bindung ===
LOG: Benutzer = MPSERVER\ASPNET
LOG: DisplayName = CountryListBox
 (Partial)
LOG: Appbase = file:///C:/Inetpub/Dotnetnuke/
LOG: Ursprünglicher PrivatePath = C:\Inetpub\Dotnetnuke\bin
Aufruf von Assembly : (Unknown).
===
LOG: Diese Bindung startet im default-Load-Kontext.
LOG: Die Anwendungskonfigurationsdatei wird verwendet: C:\Inetpub\Dotnetnuke\web.config
LOG: Die Hostkonfigurationsdatei wird verwendet: c:\winnt\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Die Computerkonfigurationsdatei von c:\WINNT\Microsoft.NET\Framework\v2.0.50727\config\machine.config wird verwendet.
LOG: Die Richtlinie wird derzeit nicht auf den Verweis angewendet (private, benutzerdefinierte, teilweise oder pfadbasierte Assemblybindung)
LOG: Download von neuem URL file:///c:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dotnetnuke/eef37a75/a62c66d6/CountryListBox.DLL.
LOG: Download von neuem URL file:///c:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/dotnetnuke/eef37a75/a62c66d6/CountryListBox/CountryListBox.DLL.
LOG: Download von neuem URL file:///C:/Inetpub/Dotnetnuke/bin/CountryListBox.DLL.
ERR: Das Setup der Assembly konnte nicht abgeschlossen werden (hr = 0x80070005). Die Suche wurde beendet.

Stack Trace:

[FileLoadException: Die Datei oder Assembly CountryListBox oder eine Abhängigkeit davon wurde nicht gefunden. Zugriff verweigert]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
   System.Reflection.Assembly.Load(String assemblyString) +25
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

[ConfigurationErrorsException: Die Datei oder Assembly CountryListBox oder eine Abhängigkeit davon wurde nicht gefunden. Zugriff verweigert]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +211
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +350
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +378

[HttpException (0x80004005): Die Datei oder Assembly CountryListBox oder eine Abhängigkeit davon wurde nicht gefunden. Zugriff verweigert]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644

[HttpException (0x80004005): Die Datei oder Assembly CountryListBox oder eine Abhängigkeit davon wurde nicht gefunden. Zugriff verweigert]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279

 
New Post
2/3/2008 1:20 PM
 

thkerkmann,

There are a couple of things to check -- first make sure that the CountryListBox assembly (DLL) does in fact exist in your application's bin directory. If it does, try applying re-applying the security permissions to your directory by giving the ASP.NET or NETWORK SERVICE machine account access to that directory. (If you're on XP use ASP.NET).

Let me know how that goes.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
2/3/2008 2:00 PM
 

Thanks Ian for replying....

unfortunately your suggestion was unsuccessfull.

I'm running on W2K Server and ASP.NET as well as NETWORK is assigned modify rights to the Dotnetnuke directory. 
The CountryListBox.dll is in the Dotnetnuke\bin directory as it was before.

Anything more I can do ?

Regards

Thomas

 
New Post
2/4/2008 12:14 AM
 

Thomas,

This might be a long shot but can you make sure you have the correct version of the CountryListBox.dll ? It may be that the reference to the assembly in DotNetNuke is looking for a specific version. In my 4.08.00 install I have version 1.0.2182.16406. (right click assembly -> select properties -> details -> version)

And are you sure you set permissions for the Network Service account, not a Network account? 

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
2/4/2008 2:34 PM
 

Ian,

I found my CountryListBox.dll has the right version. And I found no user called Network Service (because it's W2K ?)

I now tried with depency walker and discovered that CountryListBox.dll needs apphelp.dll which seems to be missing. So could it be missing in the upgrade package ? Was it not used in version 4.7 of the dnn installation?

Now where do I get it from ?

Thanks for your help.

regards

Thomas

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...File or Assembly CountryListBox ... not found. Access denied !!File or Assembly CountryListBox ... not found. Access 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