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 ...4.02 XP Install- Fix4.02 XP Install- Fix
Previous
 
Next
New Post
4/12/2006 10:20 AM
 
I was having trouble installing 4.02 on an XP box that has Visual Studio 2005 installed. Basically, I was getting a null object exception in the portion of the code that attempts to write the validationKey back to web.config.

After much hacking around, I finally found that if you delete the xmlns attribute (xmlns=http://schemas.microsoft.com/.NetConfiguration/v2.0) from configuration key in web.config the install will work.

I couldn't find anything about it in the docs or on the forums, so hopefully this will save someone some headaches.

--Steve Barbour
 
New Post
4/12/2006 11:30 AM
 

Steve,

 

Excellent, that corrected my SQL install problem! How did you track that down? You should get the John von Neumann debugging prize! I still have a problem however and wondered if you have a clue about this:

 

Compiler Error Message: BC30392: 'Catch' cannot catch type 'exception' because it is not 'System.Exception' or a class that inherits from 'System.Exception'.

Source Error:

 

 
Line 213:                ' call databind so that any server logic in the skin is executed
Line 214:                ctlSkin.DataBind()
Line 215:            Catch exc As Exception
Line 216:                ' could not load user control
Line 217:                Dim lex As New PageLoadException("Unhandled error loading page.", exc)


Source File: D:\Visual Studio Projects\DotNetNuke_2\Website\Default.aspx.vb    Line: 215

 

I got this at the beginning of the install in Global.asax.vb and Install.aspx.vb and corrected it by changing Exception to System.Exception (See my post today at 7:11 AM). It seems to me that I should not have to make code changes like this to install. Have you encountered this? Is this possibly another configuration or environment problem?

 
New Post
4/12/2006 1:50 PM
 
No, I didn't. Which version are you installing, what version of the framework are you on, and did you compile it yourself before hand?

I'm on ASP.Net 2.0.50727, DotNetNuke version 4.02 and compiled the application myself before attempting to install.,

I walked backwards through default.aspx which inherits from CDefault, which inherits from PageBase, which imports System, so System.Exception should already be imported.

Instead of changing Exception to System.Exception you could put one line of code at the top "Imports System".

I agree though, these errors do appear stry unrelated at times.


 
New Post
4/12/2006 5:43 PM
 

I am on ASP.NET 2.0.50727 and DNN4.02 also but no, I did not compile first. I'll try that. It sounds like there might be some difference in the compile process in VS 2005 and the JIT process with page compiles. I didn't think that was possible. I'll try your suggestion but I think I'll do some more research even if it works. This kind of stuff makes me lose confidence in the stability of the application. I did find some old posts on an unrelated C++ forum that suggested the BC30392 happens in mixed managed and unmanaged environments. Also I do have more than one .NET Framework installed and I still have VS 2003 installed. That's supposed to be OK. But who knows? There are always nuances!

Thanks,

GM

 

 

 
New Post
4/17/2006 10:41 AM
 

WOW! Awsome it did work like a charm for me.... I was fooling around for several hours with that strange "Null Object Reference" error until I tried your suggestion and everything works fine now....

 

Thanks a bunch!!!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.02 XP Install- Fix4.02 XP Install- Fix


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