I’ve used Michael Washington's tutorial on “Packaging your DotNetNuke Module” at http://www.adefwebserver.com/DotNetNukeHELP/DNN_PackageModule/ and followed all the directions to a “T”. I also used your instructions on creating my module.
The site runs perfectly on my computer (undeployed). Here’s my problem…
When I install the module in DNN on the server and call the “Edit…” module I get this error…
“DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. ---> System.Web.HttpParseException: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. ---> System.Exception: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'App_global.asax, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.”……
It’s apparently looking for the App_global.asax.dll that is in my “bin” directory.
However, if I add that file to the zip and install, then I can’t even start the DNN site because I get…
“Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30560: 'global_asax' is ambiguous in the namespace 'ASP'.
Source Error:
Line 59: Public Sub New()
Line 60: MyBase.New
Line 61: If (Global.ASP.global_asax.__initialized = false) Then
Line 62: Global.ASP.global_asax.__initialized = true
Line 63: End If
Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7a606121\5c448e4f\App_global.asax.hxohydxx.0.vb Line: 61”
How do I fix this. Please respond if possible. I need to get the site deployed.
Thanks!