HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...4.02 XP Install- Fix4.02 XP Install- Fix
Previous
 
Next
New Post
4/12/2006 7: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 8: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 10:50 AM
 
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 2: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 7: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 DotN...Installing DotN...4.02 XP Install- Fix4.02 XP Install- Fix


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke DNN Hosting
Exact Target Exec Alert
r2integrated

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.