DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Resources not copying when installing extension

 2 Replies
 9 Subscribed to this topic
 30 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 1
New Around Here

Hello--

I am having an issue running v9.13.09 where I can build an extension and install it locally and it works fine, but the resources are all in the folder already as I've been following the guide for local development.  When I package the extension and move it to a production server and attempt to install, it seems to install fine, but none of the resources are copied into the DesktopModules folder.

The install job gives this log:

StartJob Starting Installation

Info Starting Installation - DNNModule_Symbiote

Info Starting Installation - ResourceFile

Info Component installed successfully - ResourceFile

Info Starting Installation - Module

Info Module registered successfully - DNNModule_Symbiote

Info Component installed successfully - Module

Info Starting Installation - Assembly

Info Assembly already registered - bin\DNNModule_Symbiote.dll

Info Creating backup of previous version - bin\DNNModule_Symbiote.dll

Info Created - bin\DNNModule_Symbiote.dll

Info Component installed successfully - Assembly

Info Installation committed

Info Installation successful. - DNNModule_Symbiote

Info Deleted temporary install folder

EndJob Installation successful.

I've checked the logs and even turned logging level to ALL and the watcher reads the files from the zip when it temporarily extracts them, but it still never moves them to the folder.

My DNN manifest contains this:

          
              
                  DesktopModules/DNNModule_MyModule
                  
                      DesktopModules/DNNModule_MyModule/View.ascx
                  

                  
                      DesktopModules/DNNModule_MyModule/View.ascx.cs
                  

                  
                      DesktopModules/DNNModule_MyModule/ViewOrders.ascx
                  

                  
                      DesktopModules/DNNModule_MyModule/ViewOrders.ascx.cs
                  

              

          

It correctly grabs the DLL from the bin folder of the zip and puts that in its place but it won't move these resource files so I end up with not found errors.

I've validated the AppPool is running as NETWORK SERVICE and that has full control on the dnnsite directory and down.

Any suggestions or advice?

Advanced Member
Posts: 208
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
I presume you have no errors in the install log?
Have you tried it without the underscore "_"? I never use that in the manifest. Also ensure the versions number is upgraded.
I have always found the DNN installation manifest to be very reliable.

https://docs.dnncommunity...st-schema/index.html


Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Are you specifying the Resources in the manifest? It would look something like the following (used square brackets to display the HTML):

[component type="ResourceFile"]
  [resourceFiles]
    [basePath]DesktopModules/MyFolderName[/basePath]
    [resourceFile]
      [name]Resources.zip[/name]
    [/resourceFile]
  [/resourceFiles]
[/component]

Or, are you talking about the language resource files? If you are, they need to be specified in a Resources file to install all files at once, or in the files component to ensure they’re installed in the right place(s).

Example From DNN Docs:

[component type="File"]
  [files]
    [basePath /]  <!-- Target base folder for the component installation -->
    [file]
      [path /]  <!-- Target folder relative to basePath -->
      [name /]
      [sourceFileName /]  <!-- Path and name of a file inside the zip -->
    [/file]
    [file /]
    ...
  [/files]
[/component]

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved