I'm having trouble running my guest book application (.aspx) calling it from my html index page. Is there something different or weird about this?
Sign my guestbook
This works fine on my machine, but as soon as I publish it to my web server and hit the link, it crashes.
Loading
Frank B25 reputationPosted Oct 5, 2009, 12:50 PM EDT
Ken Barrett81 reputationPosted Oct 5, 2009, 12:56 PM EDT
-------
Server Error in '/' 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
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
Frank B25 reputationPosted Oct 5, 2009, 1:00 PM EDT
Roei BarRank #1,271 · 1.4K reputationPosted Oct 5, 2009, 11:47 PM EDT
set this
then you will receive the .NET exception, what does it say ?
Ken Barrett81 reputationPosted Oct 6, 2009, 6:05 AM EDT
The only thing I can think of is that regardless of what they are telling me, I am not running on a windows server running IIS. The provider swears this is not so however. I constructed a new page using Visual Web Developer 2005 named test.aspx that does nothing. It just shows text saying "Hello". I'll include these files here just for grins and giggles...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="_Default" %>
The code behind file is..
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
So you see, nothing is going on there. Yet I still get the error when I call the page from the server.
What a conundrum.
Ken Barrett
Frank B25 reputationPosted Oct 6, 2009, 8:19 AM EDT
COMMENT ENDS
Ken Barrett81 reputationPosted Oct 6, 2009, 8:27 AM EDT
Frank B25 reputationPosted Oct 6, 2009, 9:19 AM EDT
Ken Barrett81 reputationPosted Oct 6, 2009, 9:24 AM EDT
This does seem odd. It SHOULD work.. but doesn't.
Frank B25 reputationPosted Oct 6, 2009, 10:33 AM EDT
Ken Barrett81 reputationPosted Oct 6, 2009, 1:43 PM EDT
IIS Version: IIS 6.0
Well there goes my theory. I have an open case with godaddy support.. maybe they can figure it out.
Ken Barrett81 reputationPosted Oct 6, 2009, 3:06 PM EDT
Line 1 is just what Visual Web Developer puts in there.. and I never really gave it a lot of thought. Anyone out there have a clue?
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load type '_Default'.
Source Error:
Source File: d:\hosting\barrettken\test.aspx Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
Frank B25 reputationPosted Oct 7, 2009, 3:54 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts