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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DotNetNuke Error after DebugDotNetNuke Error after Debug
Previous
 
Next
New Post
3/3/2013 1:08 PM
 
Well the error is (we think) caused by your module, so should not be a problem in the DNN installation, it should only happen on pages you plant the module on.

Fix the code that causes it and it should just go away.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/3/2013 5:04 PM
 
I don't want to be a pain but I'm interested in finding the problem even if your tip with the new page, just for development, did the trick for me.

Even if i fix the code (even if i restore it to the initial version which is provided from Visual Studio template) the error is not gone.
I already tried to delete my custom module .dll from DNN bin but the site still shows the error.

Since I'm new to DNN maybe the way I work with it is wrong?!
The way I work is:
-> Create a new DotNetNuke 7 C# DAL2 Compiled Module
-> Set project settings as described in the Documentation.html
-> Perform a Release Build
-> Import my module in DNN via Import Wizard
-> Place my module on a page
-> Set Project Properties for Debug -> Output to DNN "bin"
-> From now on I don't use the DNN Import Wizard to publish a new version. I just perform a Debug-Build

This works most of the time for me but I guess only until my module contains an error which is, I guess, not unusual for a guy which is new to some technology

My module definitely had some errors but why does this break the entire site?
Actually I would expect some error messages inside the module/content on the page if a module throws an exception or has a problem...

 
New Post
3/3/2013 6:39 PM
 
Full disclosure - I have not used the exact module start point you have.

What you are doing sounds reasonable to me. I would not expect it to break the entire site. It does not for me.

(Ok maybe if your module does somthing odd that hooks into every request to the site it could break as you describe. Assuming your module is 'normal' it won't.)

One warning - for some errors, DNN re-directs the browser to a url that produces the error message. If you just refresh (F5) the page in the browser you are doomed to reproduce the same error message. Clicking a menu item in the browser (Home for example) sends you to the home page WITHOUT the error message. In some ways this is a beginners error, but I keep making it.

>>Actually I would expect some error messages inside the module/content on the page if a module throws an exception or has a problem...

If you are logged in as an Administrator you may get more information on a page that throws. The other place to look is Admin | Event Viewer. Again you have to be logged in as an admin. If you *can't* get logged in that table is in your database (EventLog) but it's not that easy to use. You have to query on date descending and the data is a huge XML string column.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/3/2013 7:06 PM
 

I tried to press F5, closed the tab, closed the browser, restarted my PC, restored the module to the previous version which was running, restored my module to the original template version ...

Admin login was not available.

When i entered dnndev.me the error window appeared.

 Also tried to access the Install wizard -> Error

But the only thing which made the site available again was to delete everything(IIS Apppool, IIS Website, DB, DB user, Folder) and set everything up again 

Everything I've added to the module, which was running before are these lines:
<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>

I already hat this problem multiple times but I cant say what I've added there before.

My environment is:

Windows 8 64Bit, Visual Studio 2012, Sql Server 2012, IIS 8, DotNetNuke_Community_07.00.03_Install

I set up everything as described in the video series: website: dnndev.me, DB: dnndev.me, Location: C:\websites\dnndev.me, domain: dnndev.me

 
New Post
3/4/2013 6:08 AM
 
Your environment sounds similar to mine. I have Win 7 64 where you have win 8.

I frequently see experimental modules crash - it NEVER destroys the entire DNN site. The only way I can see for a module to destroy the site is if it does somthing like:
- run amok in the Database damaging data used by DNN
- hook into every request to the site in some bad way that breaks it


I've used Steve Fabian's, and other module templates, as my start point over the years.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out