Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0HELP on deploying a DotNetNuke moduleHELP on deploying a DotNetNuke module
Previous
 
Next
New Post
9/17/2007 11:20 PM
 

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!

 
New Post
9/19/2007 9:17 AM
 

Has anyone else experienced this issue?

 
New Post
9/20/2007 12:37 AM
 

Does anyone know how I can precompile my module and NOT have VStudio compile the global.asax so that it will use the source version when installed in the portal?

 

Thanks

 
New Post
9/20/2007 4:14 AM
 

If you are really serious about making modules for DNN that you WANT fully compiled then you should not be making DYNAMIC modules.

Instead you should be creating WAP based modules which create a single standalone DLL for your module. 

Westa

 
New Post
9/20/2007 4:15 AM
 
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0HELP on deploying a DotNetNuke moduleHELP on deploying a DotNetNuke module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out