Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design 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 July 7th, 2004, 07:41 AM
Registered User
 
Join Date: Jul 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot Load ASCX files

Please can anyone help this is driving me round the bend. I have created a ASPX file with a ASCX file in it. It has been created in Visual Studio.Net
This is the error I get come up
Server Error in '/OlanMillsOnlineStore' 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 'olanmillsonlinestore.usermenu'.

Source Error:


Line 1: <%@ Control Language="vb" CodeBehind="usermenu.ascx.vb" AutoEventWireup="false" Inherits="olanmillsonlinestore.usermenu" %>
Line 2: <%@ OutputCache Duration="3600" VaryByParam="selection" %>



Source File: D:\web\OlanMillsOnlineStore\Usermenu.ascx Line: 1


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

it is causing me huge problems

Cheers

Matt Shea
 
Old July 7th, 2004, 09:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

In your code behind page, what is the name of the class? Is it usermenu in that exact case? I've had that problem where I change the class name, and it doesn't change it in the @control directive...

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS & ASCX files not used by IIS 6.0 OldCoder BOOK: Beginning VB.NET Databases 0 March 31st, 2008 04:37 PM
Registering ASCX gbrown ASP.NET 1.0 and 1.1 Professional 1 January 9th, 2007 11:57 AM
ascx !?! g2000 ASP.NET 2.0 Basics 1 October 21st, 2005 03:33 PM
ascx with javaScript ajindal General .NET 3 January 21st, 2005 08:31 AM
ASCX files (event driven plug and play modules...) deian ASP.NET 1.x and 2.0 Application Design 1 December 31st, 2003 10:30 AM





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