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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...The format of the file The format of the file 'DotNetNuke' is invalid.
Previous
 
Next
New Post
9/13/2006 9:02 PM
 

I am trying to install DotNetNuke 3.3.4 (straight Install version, not development version) onto my site (hosted by BoundGrid, if it matters to anyone).

I have the files installed what I think to be correctly, and the web.config file set up, the database configured and ready to be installed into (still currently blank, I've checked).

The environment is a 1.1 version Framework.

I am receiving the following error (it's completely stumping me) and I would appreciate any help anyone can provide:

--------------------
Exception Details:
System.BadImageFormatException: The format of the file 'DotNetNuke' is invalid.

Assembly Load Trace:
=== Pre-bind state information ===
LOG: DisplayName = DotNetNuke, Version=3.3.4.16841, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/hshome/[blanked for security]/[blanked for security]
LOG: Initial PrivatePath = bin
Calling assembly : DotNetNuke.HttpModules.UrlRewrite, Version=3.2.2.16841, Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: DotNetNuke, Version=3.3.4.16841, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/28bec18b/8ac97129/DotNetNuke.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/28bec18b/8ac97129/DotNetNuke/DotNetNuke.DLL.
LOG: Attempting download of new URL file:///C:/hshome/[blanked for security]/[blanked for security]/bin/DotNetNuke.DLL.

Strack Trace:

[BadImageFormatException: The format of the file 'DotNetNuke' is invalid.]
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +0
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
--------------------

Thoughts, anyone?

paul

 
New Post
9/15/2006 5:40 AM
 

The only thing I can think of is a dud/corrupt dotnetnuke.dll file.  I'd try re-installing from scratch (and make sure you download a new install zipfile as well).

 


 
New Post
9/15/2006 9:03 AM
 

Ok, I'll give that a shot, thank you. :)

 
New Post
9/15/2006 9:35 AM
 

It was definitely a corrupted dll.  I redownloaded and reintalled and I got further, however now I'm getting a different error that I'm not sure how to correct:

"An error has occurred writing to the exception log."

This is happening when I browse to /Default.aspx as well as /install/install.aspx?mode=install (I currently have my AutoUpgrade configured to False).  Unfortunately, the error yields no other information (such as from whence it came). 

I've had this error when trying (unsuccessfully) to install a previous version of DNN on this host as well.  I never did figure out what it meant.  Anyone have any idea at all what this error means and/or how it might be corrected?

 

 
New Post
9/15/2006 12:26 PM
 

Ok, I almost feel like I'm spamming here, but here's an update on that last error.  I downloaded the source and did a search for the error.  I found it in a couple spots, so I just added some response.write()'s to get some more details.

It's coming from the DotNetNuke.dll file, specifically the ../Components/Providers/Logging/LogController.vb file(WriteLog() method, line 188).  I've narrowed it down to a file that it either can't open or can't create:  \Logs\LogFailures.xml.resources

Upon looking further, I found this code (lines 54 & 55 in LogController.AddLog()):
f = Common.Globals.HostMapPath + "\Logs\LogFailures.xml.resources"
WriteLog(f, str)

It appears that HostMapPath is coming up blank.  So somewhere between the Global.asax code and the LogController.AddLog() code, this is becoming blank (or more likely, it's never getting properly set).

Does any of this sound familiar to anyone?  Is there anything obvious (or not obvious) that I'm missing here, that would cause HostMapPath not to get set?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...The format of the file The format of the file 'DotNetNuke' is invalid.


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