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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke Error after DebugDotNetNuke Error after Debug
Previous
 
Next
New Post
3/2/2013 8:25 PM
 

 

Hi,

I'm new to DNN but I manage it regularly to break my entire installation so that I have to set up the entire site again :/
Since setting up DNN over and over again is a very annoying task I hope to get help here :)

I always get this error:
DotNetNuke Error
http://dnndev.me/Default.aspx?tabid=56&error=Object+reference+not+set+to+an+instance+of+an+object.&content=0

I'm developing a custom module an therefor I've configured my environment for debugging:
I've done the following steps:
-> Using Visual Studio 2012
-> Change the output path to: ..\..\bin\
-> Enabled debug symbols
-> prior to that I've performed a release build and imported my module via the Module Wizard ( I'm doing this only once, not for every new code version)
 
Now,
the last thing I've added to my code was the following

 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>

directly after
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="View.ascx.cs" Inherits="DotNetNuke.Modules.TrendleyDNNModule.View" %>


I know that I don't have to do that since DNN already has references to jQuery but I copied that from an external website and don't thought about that at this time...


I already deleted my assembly from "bin" directory and restarted my pc, iss, iss apppool, tried to open the install wizard...
The only thing which makes my site run again is a complete reinstall :(

Any help appreciated,
Cheers Stefan


 

 
New Post
3/3/2013 4:58 AM
 
Tab 56 is often the home page. Have you placed your module on the home page? That may be a bad idea becuase it's inconvenient if it blows up instantly as yours seems to be.

I usually add modules under development to their own special test page so that they are better isolated.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/3/2013 6:21 AM
 

Many thanks for your quick reply!

Yes, I've placed it on home page.

I'm going to try this...

 
New Post
3/3/2013 9:04 AM
 
Basicly you should change the jQuery Version into the System/host settings and not into the Skin or aspx and ascx controlls.
 
New Post
3/3/2013 9:14 AM
 
For sure,
but as mentioned above, I've just forgotten about that since I copied the code from another website (not dnn).

I really hope that the post from Richard avoids the problem in future!
However, can anyone tell me how to recover my DNN installation after that Error so that I don't have to delete everything and set it up again...

Or is it a common approach to set up everything from ground again in DNN? ^^

Cheers,
Stefan
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke Error after DebugDotNetNuke Error after Debug


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.