Search code examples
c#dotnetnukedotnetnuke-module

Error Installing Custom DNN Module


I have created a custom DNN module, but it fails when I install:

A critical error has occurred. Could not find file 'C:\inetpub\wwwroot\Customers\RevIndex\RevIndexDNN.Web\Install\Temp\hlivdv1q\Test.dnn'.

Here are the steps I took:

  1. I created a module with this manifest called test.dnn:

http://pastebin.com/qKVqNYEg

I zipped up the project and it looks like this:

enter image description here

I placed the zip folder in the Install/Modules folder. I went to host > extensions and I clicked manage. I selected the Install/Modules/MyModule.zip folder and I received this error:

A critical error has occurred. Could not find file 'C:\inetpub\wwwroot\Customers\RevIndex\RevIndexDNN.Web\Install\Temp\hlivdv1q\Test.dnn'.

Why can't it find my manifest?

My site is running as local system and I uploaded it from my desktop.


Solution

  • Go to the Host/Extensions page, choose the Install Extension Wizard and upload the ZIP file for your module (from whatever location you have it at)

    From there you should see if there are any errors and hopefully get a more detailed log of the problem.