Server Error in '/koppe' Application

Topics: ASP.NET 2.0
Jul 22, 2008 at 2:16 PM
Hi,

I have installed this blog on 2 webspaces of my reseller package.
The first goes flawless.
The second one, however, with the same .net 2.0 settings, is giving me a headache.

This is the error message.

Server Error in '/koppe' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>



If I change the row from <customErrors mode="remoteview"/> to
<customErrors mode="Off"/>, and I upload that web.config, nothing changes.
I get the same errors over and over.
EVen if I throw the web.config away, I get the same error.

Perhaps I have changed the wrong web.config.
I changed the one in the root of the application.

Can somebody help me?

Greetings,

RobB

Jul 23, 2008 at 11:33 AM
I have found the solution after a tip.
Because I had the blog in a directorystructure 2 deep, I got those problems.

I did change this row in the web.config.
<add key="BlogEngine.VirtualPath" value="~/"/>
Into
<add key="BlogEngine.VirtualPath" value="~//"/>

The double Slash did the trick.

Greetings,

RobB