Help - Search - Members - Calendar
Full Version: Runtime Error HELP!
HTMLHelp Forums > Web Authoring > General Web Design
COgirl26
I am supposed to put Title Tags and Description/Keyword Tags into some webpages for my boss. I did all that I knew to do, the way it was supposed to be done but for some dang reason I'm getting a "Runtime Error" message on one of the pages! The others are fine, came out the way they should've.

I have re-done the code on this one messed up page 90 times, and still I get this:




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>





What on earth do I do here? I risk losing my job because I can't figure this out and my boss is NOT happy! Have to fix it TODAY he said.....I'm at a loss here! unsure.gif

pandy
Probably nothing. In any case, your meta tags, or any other HTML, can't cause a server error. Did you mess with any server configuration files or server side scripts?
COgirl26
QUOTE(pandy @ Oct 1 2007, 02:38 PM) *

Probably nothing. In any case, your meta tags, or any other HTML, can't cause a server error. Did you mess with any server configuration files or server side scripts?



Not that I remember, I was only in there to do one thing......put in the Title and Description Tags, I hit "Save" and then pulled up that webpage and got a stupid "Runtime Error" page!

The page is in .aspx format, and I'm mostly familiar with HTML so I guess I could've messed something up and not realized it blush.gif

Sure wish there was a Restore option here, I could go back to the day I put in the Title Tags and restore the page how it was when I started sad.gif
pandy
If there is ASP code in the file you edited, I'd guess that's what happened. You accidently changed some ASP or maybe you put your meta tags in the middle of an ASP block. If you post in the server-side scripting forum, maybe someone who knows ASP (not me) can take a look at it. smile.gif

QUOTE
Sure wish there was a Restore option here, I could go back to the day I put in the Title Tags and restore the page how it was when I started sad.gif

Had you backed the file up before you edited it you could have done exactly that now. Always learn something... tongue.gif
COgirl26

QUOTE

Had you backed the file up before you edited it you could have done exactly that. tongue.gif




I didn't even think about that, until after I'd put the Tags in rolleyes.gif Nice eh?

I could ask my Boss if the people who set up the website have it all saved somewhere, I just started there and am picking up where some guy, who ran up clockhours but did no work, left off.
Darin McGrew
The .aspx file is essentially an ASP.NET program. My guess is that your modified version has a syntax error.

What happens if you view the page on a browser "running on the local server machine" as the original message suggests?

What happens if you undo your changes?

QUOTE
Sure wish there was a Restore option here, I could go back to the day I put in the Title Tags and restore the page how it was when I started
Are you sure there isn't a backup system of some sort in place? If not, then there should be. Once you get the system working again, that should be your top priority.
COgirl26
I undid my changes and got the same Error page, that's what's messing with me.

When I'm on the Server site, I still can't see the page.

I just took this job on and the guy before me took 2 months to do a whole lotta nothin, while bilking the company for hours. I've basically jumped into a big mess of a website, and am not making things any better! blush.gif
COgirl26
Here's what the code looks like for my page.........I only messed around in this section, so it has to be missing something from here:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="contact.aspx.cs" Inherits="contact" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<div id="wrapper">
<div id="header">
<span class="logo" style="float: right"></span><span class="logo" style="float: left">
</span>




Now that I look at it, I recall there being another line or two in there somewhere, I can't remember what they said though.

Also, we do have a Backup feature, it was turned OFF!!! blink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.