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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Help with module package installation !!Help with module package installation !!
Previous
 
Next
New Post
6/16/2009 7:28 PM
 

Hi Guys...

I created a module then packaged it .. so normal !!

( i Got DNN 04.09.00 running on the host PC)

then i tried to install the package (.zip file ) on another PC containing DNN installation. everything goes ok ..

i tried to install it on another PC running windows 2003 , i got the error

-----------------------------------------------------------------------------------------------------------

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.Instal

-----------------------------------------------------------------------------------------------------------

I search about it , they are all saying that its about permission and accounts on the host PC , i tried this but ddnt work ..

plz help getting rid of this error..

 

appreciate it.

 
New Post
6/17/2009 5:17 AM
 

Make sure, the ASP.Net account (local "Network Service" by default) has full file system permission for your web site, obviously it is not allowed to create the module directory.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/17/2009 7:20 AM
 

Here is the Log for files :

StartJob Creating files
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\App_LocalResources\EditJournals2.ascx.resx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\App_LocalResources\Settings.ascx.resx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\App_LocalResources\ViewJournals2.ascx.resx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Documentation\Documentation.css
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Documentation\Documentation.html
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Documentation\logo.gif
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Providers\DataProviders\SqlDataProvider\01.00.00.SqlDataProvider
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\EditJournals2.ascx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\EditJournals2.ascx.cs
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\page2.ascx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\page2.ascx.cs
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Search.ascx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Search.ascx.cs
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\SearchResult.ascx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\SearchResult.ascx.cs
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Settings.ascx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Settings.ascx.cs
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\Uninstall.SqlDataProvider
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\ViewJournals2.ascx
Info Created E:\WWWROOT\DNN\Website\DesktopModules\Journals2\ViewJournals2.ascx.cs
Failure 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()

 

I think the directory is created ( I browsed to desktop Modules ) and i found that my module folder "Journals2" was created !!!

any ideas ?!!!

 
New Post
6/17/2009 8:34 AM
 

The module requires to create a subdirectory in bin folder, which seems to fail. 

Make sure, the ASP.Net account has full file system permissions for /bin folder.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/17/2009 10:24 AM
 
Hello sebastian . So sorry for disturbance .. I gave the NETWORK SERVICE account ( on server 2003) full control for the whole directory of DNN website .. but for sorry this didnt solve the problem.. i'm sure of one thing : this has a relation with IIS .. because : when i try to install my module on a test PC that runs a local DNN website , it made it with no problems.. when i try to install it on the webserver that hosts the DNN site through IIS , i got this damn error ... please suggest any tries i can do ....
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Help with module package installation !!Help with module package installation !!


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