Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking 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 Basics 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 June 22nd, 2006, 01:31 AM
Friend of Wrox
 
Join Date: May 2005
Location: tehran, tehran, Iran.
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hastikeyvan
Default Could not load type 'WebForm1' error

Hello all
i have problem with my inherit class when i upload my .net page to the web.my page name is webform1.aspx and in its html at line 1 i have such code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebForm1"%>
that defines the inheritance of webform1 class for this page. but when i upload it it gives me the error:Could not load type 'webform1' error .I changed the tag inherits to:inherits="netfiles.webform1"
in which netfiles is the name of folder that webform1.aspx is in it.
Is there any one here can help me please???????
I would be very happy if some one helps me
thank you





Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not load type 'WebForm1' error hastikeyvan ASP.NET 2.0 Professional 10 July 14th, 2008 01:16 PM
Error could not load type - RoleManager mussitsch ASP.NET 2.0 Professional 0 August 21st, 2007 11:31 AM
Parser Error Message: Could not load type '_Defaul sahmed1983 VB Databases Basics 1 January 25th, 2007 09:12 AM
type load exception crazy_eye_bob Crystal Reports 4 November 7th, 2005 01:16 PM





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