Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 August 23rd, 2006, 04:52 AM
Registered User
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Global.asax error

I think this is a frequent error that everyone faces...but mine is a bit different.
I converted my ASP.Net solution from VS 2003 to VS2005.
I manage to build the solution successfully.
When i browse the application,i get the Could Not Load Type Global error. Has anyone faced this error b4? i have tried many ways such as making the Global into class file n stuff refer to http://rossnelson.blogspot.com/2005/...aspnet-20.html and etc...but no way out of the error. The application is stuck there...anyone faced this problem b4 upon converting the solution from VS2003 to VS2005?
Thank you

p/s: the application works fine in VS2003

Old August 23rd, 2006, 09:32 PM
Registered User
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

I have found the solution. Sorry for the post above...Its my own fault.In my IIS configuration,the default setting was in .net framework to 1.1,thats d reason i have the problem mentioned above.Sorry guys.To up coming readers,keep in mind when u do a complete installation in ur Visual Studio 2005, it installs framework 1.1 and 2.0 by default and ur iis is set to 1.1, therefore u cant run the 2.0 application.

Old August 24th, 2006, 10:53 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

I don't think this is true.

Visual Studio 2005 does NOT install .NET 1.x and registers that. I think maybe you had this already on your system?

Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.

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
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
An Error in Global.asax! Action BOOK: ASP.NET Website Programming Problem-Design-Solution 5 December 23rd, 2004 12:42 AM

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