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 StartedNew to DNN Plat...New to DNN Plat... A critical error has occurred. Unable to resolve assembly 'MyLibraryName.dll' A critical error has occurred. Unable to resolve assembly 'MyLibraryName.dll'
Previous
 
Next
New Post
3/14/2014 12:32 PM
 

Hi there,

I am new to DNN. I Created a C# class library that contains my Entity framework models (It doesn't matter which item I added to it). I add reference to my project using 'Add reference' in visual studio 2013. I used the Entity Context in my Dnn web site in new module that I created. When i browse the page that contains my module, I get following error:

 

A critical error has occurred. Unable to resolve assembly 'MyLibraryName.dll'.

Can any one help me?

 
New Post
3/15/2014 12:56 AM
 

At a guess - without seeing your setup - the corresponding version of the entity framework libraries are not installed in your websites /bin/ folder.    Most likely - EntityFramework.SqlServer.dll is missing.  You need to make sure that all the corresponding libraries you reference in your project are actually installed into dnn.  Just because they were in your visual studio project does not mean they will automatically be installed in the dnn site itself.

Westa

 
New Post
3/18/2014 1:58 AM
 

Hi Wes and thanks for your attention,

I Currently installed version 6.1.0 of entity framework using nuget in both project. I also looked at bin project in DNN and both EntityFramework.dll and EntityFramework.SqlServer.dll was included (Also their xml is included). But I steel give error:

 

A critical error has occurred. Unable to resolve assembly 'MyLibrary.dll'.
 
New Post
3/18/2014 4:43 AM
 
please check the module directory for a web.config entry. It should be there. VS injects it on every rebuild and or model change.

Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
3/18/2014 6:53 AM
 

@Peter, I didn't see any web.config neither  in DNNModule1 folder (which is my module folder) nor in DesktopModule folder.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat... A critical error has occurred. Unable to resolve assembly 'MyLibraryName.dll' A critical error has occurred. Unable to resolve assembly 'MyLibraryName.dll'


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