Re: Error in Global.asax
From: Bill Todd (bill_at_dbginc.com)
Date: 05/26/03
- Previous message: grs: "Error: Project is not configured to be debugged."
- In reply to: Matjaz Ladava: "Re: Error in Global.asax"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 25 May 2003 19:30:46 -0700
The LoanCalc namespace is defined in Global.asax.cs. There is nothing
in Global.asax or Global.asax.cs that was not put there by VS. I have
not added or changed anything.
I do not understand what you mean by "what is your global.asax
namespace?" Global.asax contains the following line and nothing else.
<%@ Application Codebehind="Global.asax.cs" Inherits="LoanCalc.Global"
%>
One thing that concerns me is the part of the error message that
refers to Framework version 1.1. I thought that VS .NET would only
work with Framework version 1.0. I have both 1.0 and 1.1 installed.
Bill
On Sun, 25 May 2003 10:25:08 +0200, "Matjaz Ladava"
<matjaz@_nospam_ladava.com> wrote:
>Check that LoanCalc namespace exists in your application. <%@ Application
>Codebehind="Global.asax.cs" Inherits="LoanCalc.Global" %> is the only line
>in global.asax. What is you global.asax namespace ?
>
>Regards
>
>Matjaz Ladava
>
>"Bill Todd" <bill@dbginc.com> wrote in message
>news:flc0dv8mcq945veuef3j1ut0jr81ok6fr8@4ax.com...
>> Win2k SP1 with both versions 1.0 and 1.1 of the framework and the SDK
>> installed. I have a simple Web application (the LoanCalc application
>> from Programming Microsoft .NET) that I have created in Visual Studio
>> .NET 1.0.
>>
>> When I choose Debug | Start Without Debugging from the menu IE opens
>> with the following error information.
>> **************************************************************************
>> Parser Error Message: Could not load type 'LoanCalc.Global'.
>> Source Error:
>>
>>
>> Line 1: <%@ Application Codebehind="Global.asax.cs"
>> Inherits="LoanCalc.Global" %>
>>
>>
>>
>> Source File: W:\Visual Studio Projects\WebProj\LoanCalc\global.asax
>> Line: 1
>>
>>
>> --------------------------------------------------------------------------
>------
>> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
>> ASP.NET Version:1.1.4322.573
>> **************************************************************************
>>
>> The Globla type is declared in Global.asax.cs. have no idea what this
>> means or how to correct it. Help!<g>
>>
>> Thanks.
>> --
>> Bill
>
-- Bill
- Previous message: grs: "Error: Project is not configured to be debugged."
- In reply to: Matjaz Ladava: "Re: Error in Global.asax"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]