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?
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:
Awesome! Simply post in the forums using the link below and we'll get you started.