Products

Solutions

Resources

Partners

Community

About

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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0assembly path problem while deploying moduleassembly path problem while deploying module
Previous
 
Next
New Post
11/21/2007 4:18 AM
 

Hi,

I have recently created a module. Now i am making the deployment from the host ->module definitions menu. During deployment dnn copies the files i specify for the bin folder to bin\modules folder. Due to this, my controls are not able to access these assemblies and i get "unknown namespace or assembly not found" error. When i copy the assemblies from  bin\modules to bin\. It starts working.

The web.config has  the following which is ok, that bin\modules folder is in the probing  path.

<runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <probing   privatePath="bin;bin\Modules;bin\HttpModules;bin\Providers;bin\Support;"/>
        </assemblyBinding>
    </runtime>

The dnn module defnition file (.dnn) file has following entires for the assemblies.

<file>
          <path>[bin]</path>
          <name>ApplicationDefinitions.dll</name>
        </file>
        <file>
          <path>[bin]</path>
          <name>ApplicationServices.dll</name>
        </file>

I am not having a clue on this, please help.

I am using Asp.net 2.0 and lastest version of DNN.

Thanks in advance.

 

 
New Post
11/21/2007 6:16 AM
 

ok i have fixed it.
added following to my .dnn file

 <supportsprobingprivatepath>False</supportsprobingprivatepath>

 

Now it copies my module dlls to the bin and not to the bin\modules.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0assembly path problem while deploying moduleassembly path problem while deploying module


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