Hi All,
I have DNN 9.11.0 installed in my local. I have already deployed version “00.00.01” version on my DNN. All the sql scripts available in file “Providers > DataProviders > SqlDataProvider > 00.00.01.SqlDataProvider” have run successfully.
Now I have done following changes
[assembly: AssemblyVersion("00.00.02.*")]
[assembly: AssemblyFileVersion("00.00.02.*")]
<package name="ThirdPOCForModule" type="Module" version="00.00.02">
But I have noticed that sql scripts written in file “Providers > DataProviders > SqlDataProvider > 00.00.02.SqlDataProvider” are some how are not getting executed. How ever our module have been upgraded to version “0.0.2” in DNN.
Please let me know if I am missing anything.
Regards
Tarunjit Singh
Hi All, In continuation to my previous comment i have today added scripts for file "00.00.02.SqlDataProvider" under (scripts > script type="install" section) in manifest file "ThirdPOCForModule.dnn" as i noticed that under following path C:\Websites\dnndev.me\DesktopModules\MVC\ThirdPOCForModule\Providers\DataProviders\SqlDataProvider there is no file with name "00.00.02.SqlDataProvider" exists but even after adding above mentioned section and repairing my module still no success. Regards Tarunjit Singh
I'm afraid you need to spend some time taking a look at how the DNN manifest works. That, along with the naming conventions you're working with all help to ensure that SQL runs. Please note that it will only run on the first install/upgrade. If you choose to reinstall the module again, the SQL script will not be executed over again, depending on how you're running it.
DNN Manifest Documentation - Everything in the linked documentation is important to what you're trying to do, but especially the Script component.
These Forums are dedicated to the discussion of DNN Platform.
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.