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 BPosted Oct 7, 2009, 7:54 AM
Ken BarrettPosted Oct 6, 2009, 7:06 PM
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
Ken BarrettPosted Oct 6, 2009, 5:43 PM
IIS Version: IIS 6.0
Well there goes my theory. I have an open case with godaddy support.. maybe they can figure it out.
Frank BPosted Oct 6, 2009, 2:33 PM
Ken BarrettPosted Oct 6, 2009, 1:24 PM
This does seem odd. It SHOULD work.. but doesn't.
Frank BPosted Oct 6, 2009, 1:19 PM
Ken BarrettPosted Oct 6, 2009, 12:27 PM
Frank BPosted Oct 6, 2009, 12:19 PM
COMMENT ENDS
Ken BarrettPosted Oct 6, 2009, 10:05 AM
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
Roei BarPosted Oct 6, 2009, 3:47 AM
set this
then you will receive the .NET exception, what does it say ?
Frank BPosted Oct 5, 2009, 5:00 PM
Ken BarrettPosted Oct 5, 2009, 4:56 PM
-------
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 BPosted Oct 5, 2009, 4:50 PM