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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem installing module from Personal AssemblyProblem installing module from Personal Assembly
Previous
 
Next
New Post
5/9/2007 4:57 AM
 

I am useing DNN 4.3.7 instalation and when I'm trying to install module from PA (Personal Assembly) I get an error below:

ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object at
DotNetNuke.Common.Utilities.Config.AddCodeSubDirectory(String name) at
DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateModuleFile(PaFile File, PaFolder Folder) at
DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at
DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at
DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()

It seems to me that tere is an error in folder creation within App_Code. From the first look it seem so easy to install module from the PA.. What I need to configurate? I cannot figure out where the problem is?

 
New Post
5/9/2007 8:30 PM
 

I am confused here, are you trying to install a private assembly that is compiled, or are you trying to install a module which is not compiled and uses the standard WSP project format of ASP.NET 2.0?

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
5/10/2007 1:52 AM
 

Well I'll try to clearify.. I'm trying to find out posibilities of installing module to DotNetNuke site. So firstly I've developed the module useing DotNetNuke source package, by adding new folders and files with DotNetNuke's logic (Data access layer, Business layer and Presentation layer) and the module worked fine. Then I've made the compiled module's PA package (with all needed files: sql scripts, app_code files, .dnn files and so on..). So i've removed previous module folders from DotNetNuke salution also I've removed every table and stored procedure of my module from DotNetNuke database to see what happens when installing modules from PA.

So, what I saw was: that parser has read .dnn file correctly, it has made sql tasks from sql script, but when it came to that section of creating folders and copying files from PA to DotNetNuke salution, parser has only made tasks, that are connected to presentation layer (the path: ~\DesktopModules\MyModule). And then parser has stopped and threw an error, written in my previous post.

As I understand the problem is that parser couldn't create the folders connected to MyModule in App_code and copy files from PA to that folders. The parser has no permission to create folders and copy files to App_code directory.(???)

So, I've tried to create folders manualy, rebuilt the site and then install the module from PA,- the result was the same

So, I've tried to register MyModule folder in web.config, rebuilt the site and then install the module from PA,- the result was the same

So, I've tried to change trust level to Full trust in web.config, rebuilt the site and then install the module from PA, - the result was the same

I'm sure that there are somebody have ever installed module from PA, so what do they do and what I am doing wrong? (I'm useing DotNetNuke 4.3.7)

 

Thanks

 
New Post
5/10/2007 3:40 AM
 

Using the .dnn file verifier kindly verify the .dnn file of your module.

Problem can be in your .dnn file.

Are you uploading the module using the host account?


"Knowledge Sharing Matters!"
 
New Post
5/10/2007 4:28 AM
 

Yes, babar_jvs, I'm uploading module using host account..

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem installing module from Personal AssemblyProblem installing module from Personal Assembly


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