Hi,
I'm using dot net nuke installation version 4.3.5.
I need to upload the module packages to my production environment.
I created module packages with simple control and uploaded. But when i put that module to a page it gave me an error saying it's unable to load the control.
Then i check the relevant folder under "Desktop module"
Module name : PCC
i found the following folder structure
DeskTopModules -> PCC -> PCC
under that it had it's controls.
Then i copied all controls to the parent PCC folder. Then it worked fine.
Please let me know whether i have missed anything here.
Note : I have copied the relevant DNN file packaged with that module and the error log details
***************************************************************************************
DNN File:
<dotnetnuke version="3.0" type="Module">
<folders>
<folder>
<name>PCC</name>
<friendlyname>PCC</friendlyname>
<foldername>PCC</foldername>
<modulename>PCC</modulename>
<description>A test module</description>
<version>01.00.00</version>
<businesscontrollerclass>YourCompany.Modules.BLL.BLLController</businesscontrollerclass>
<modules>
<module>
<friendlyname>PCC</friendlyname>
<cachetime>0</cachetime>
<controls>
<control>
<src>DesktopModules/PCC/PCCMessage.ascx</src>
<type>View</type>
<helpurl></helpurl>
</control>
</controls>
</module>
</modules>
<files>
<file>
<name>PCCMessage.ascx</name>
</file>
<file>
<name>App_SubCode_BLL.dll</name>
</file>
<file>
<name>App_Web_pccmessage.ascx.55c9c6a8.dll</name>
</file>
</files>
</folder>
</folders>
</dotnetnuke>
***************************************************************************************
Error Log Details
ModuleId: 372
ModuleDefId: 136
FriendlyName: Test
ModuleControlSource: DesktopModules/PCC/PCCMessage.ascx
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 53
ActiveTabName: Test
RawURL: /DotNetNuke_Product/Test/tabid/53/Default.aspx
AbsoluteURL: /DotNetNuke_Product/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2f5d948e-7c04-4eec-8ba4-6c35c44a44ba
InnerException: The file '/DotNetNuke_Product/DesktopModules/PCC/PCCMessage.ascx' does not exist.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DotNetNuke_Product/DesktopModules/PCC/PCCMessage.ascx' does not exist. ---> System.Web.HttpException: The file '/DotNetNuke_Product/DesktopModules/PCC/PCCMessage.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Source:
Server Name: TCI-DT-PRD79
Thanks!
Nirasha
***************************************************************************************
Error Log Details:
ModuleId: 372
ModuleDefId: 136
FriendlyName: Test
ModuleControlSource: DesktopModules/PCC/PCCMessage.ascx
AssemblyVersion: 04.03.05
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 53
ActiveTabName: Test
RawURL: /DotNetNuke_Product/Test/tabid/53/Default.aspx
AbsoluteURL: /DotNetNuke_Product/Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2f5d948e-7c04-4eec-8ba4-6c35c44a44ba
InnerException: The file '/DotNetNuke_Product/DesktopModules/PCC/PCCMessage.ascx' does not exist.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.Util.CheckVirtualFileExists
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/DotNetNuke_Product/DesktopModules/PCC/PCCMessage.ascx' does not exist. ---> System.Web.HttpException: The file '/DotNetNuke_Product/DesktopModules/PCC/PCCMessage.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Source:
Server Name: TCI-DT-PRD79
***************************************************************************************