Error: System.Web.HttpUnhandledException

Jan 8, 2013 at 12:12 PM


I'm totally overwhelmed.

Since about 3 day I've got the errormessage "System.Web.HttpUnhandledException" when posts are shown.

The blog-link: 

It would be nice when someone helps.

Regards Jürgen

Jan 8, 2013 at 2:13 PM

You need to turn off custom errors in web.config to display real error message:

        <customErrors mode="Off"/>
Jan 8, 2013 at 2:22 PM


now I get an internal Server-Error 500

Problem with this resource. It can not be displayed. This errormessage comes in german, I had to translate it.

Regards Jürgen.

Jan 9, 2013 at 9:23 AM



I've got more Information about this exception.


Zeile 367:        {
Zeile 368:            CheckXDoc();
Zeile 369:            XDocument doc = XDocument.Load(CountXPath);
Zeile 370:            var root = doc.Element("root");
Zeile 371:            XElement elem = new XElement("view",

Quelldatei: c:\inetpub\wwwroot\Autocad.CAD-DotNet\App_Code\Extensions\PostViews\PostView.cs    Zeile: 369

Errormessage: There exists an open string. Line 14100, position 81st

Is there an error in the xml-files?

Regards Jürgen

Jan 9, 2013 at 10:19 AM

That's a fair possibility, you could try systematically replacing batches of posts, failing that work through any extensions, disabling and enabling.

Jan 9, 2013 at 4:40 PM


I think I fixed it.

The problem was the PostView.xml-File. This one was corrupt.

Thanks for help.

Regards Jürgen