Error: System.Web.HttpUnhandledException

Jan 8, 2013 at 1:12 PM

Hi,

I'm totally overwhelmed.

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

The blog-link: www.autocad.cad-dotnet.de 

It would be nice when someone helps.

Regards Jürgen

Coordinator
Jan 8, 2013 at 3:13 PM

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

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
Jan 8, 2013 at 3:22 PM

Hi,

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 10:23 AM

Hi,

 

I've got more Information about this exception.

Source:

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 11: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 5:40 PM

Hi,

I think I fixed it.

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

Thanks for help.

Regards Jürgen