On installing custom Dot Net Nuke (DNN) module sometimes we get error like below:
"File specified in the dnn could not be found in the zip file: -
C:\inetpub\wwwroot\DNN_Fresh\Install\Temp\o5jt2rzm\bin\GT.Accessibility.dll"
From the error it is evident that installer is looking for GT.Accessibilty.dll file and is unable to find it.
Go to .dnn file (Module DNN file) and search for components tag. There should be a component with type assembly as below.
<component type="Assembly"> <assemblies> <assembly> <name>GT.Accessibility.dll</name> <path>bin</path> </assembly> </assemblies> </component>
Now go to installer file "GT.Accessibility_00.00.01_Install" and extract it. In it there should be a bin folder with a dll file with different name compare to above component assembly name.
Solution:
Open Solution Explorer, go to Project Property. In Application section change the Assembly name to the name given in .dnn file i.e. GT.Accessibility in our case.
Build the project in release mode and try installing module again. The module should be installed smoothly.
comments powered by
Disqus