Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2004, 10:22 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default An Error in Global.asax!

Hi.
When I started,an error in Global.asax occured,and it said that "Canot load the type:'Wrox.ThePhile.Web.Global'".

ROW 1£º <%@ Application Codebehind="Global.asax.cs" Inherits="Wrox.ThePhile.Web.Global" >

Thanks.
 
Old December 21st, 2004, 12:09 PM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm using windows XP pro. with IIS 5.0 I have created the following path

C:\wrox\ThePhile

then I create virtual directory under default website..when I run localhost I have this error..

Server Error in '/ThePhile' 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 'Wrox.ThePhile.Web.Global'.

Source Error:


Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="Wrox.ThePhile.Web.Global" %>



Source File: C:\wrox\ThePhile\global.asax Line: 1


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

anyone know what is wrong with that...I can't even start the web...any help would be appreciated it

 
Old December 21st, 2004, 06:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am guessing you didn't properly upgrade the solution to VS 2003. Did you delete the .dll and .pdb files before trying to migrate?

Did you refresh you references after doing a build? This has to be done several times.

Eric
 
Old December 22nd, 2004, 01:05 AM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yeah, i'm using VS 2002. Do I have to upgrade to VS 2003...is it a requirement? If so, how do I upgrade? thanks

 
Old December 22nd, 2004, 04:49 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, it was developed with 2002, and the code download is set up for 2002.

You need to check all of the references to see what's wrong. You may have to delete the .dll and .pdb files, like I described in another message. This is normally needed when you upgrade to 2003, but you might need to do it in your case. One of your DLLs is probably missing or corrupted.

Eric
 
Old December 23rd, 2004, 12:42 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have learned your idea from both two topic,and I will try soon.

Thanks very much.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Context.clearerror() gives an error in Global.asax madhusrp ASP.NET 2.0 Basics 6 April 12th, 2007 02:12 AM
an error in Global.asax when the page is started lovehorse BOOK: ASP.NET Website Programming Problem-Design-Solution 5 October 17th, 2006 07:22 PM
Global.asax error sivaganesh_naidu ASP.NET 2.0 Professional 2 August 24th, 2006 10:53 AM
Error with Global.asax madkaikar_ashish .NET Web Services 3 August 7th, 2006 12:03 AM
global.asax parser error exarkuun General .NET 3 February 24th, 2005 01:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.