Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 May 3rd, 2005, 02:42 PM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to RPG SEARCH
Default Visual Studio

Hi there,

Just got hold of visual studio .net 2003 and love it. how great is this package?!?!

but it does somethings that i didnt do with web matrix.... its throwing out this error...

Server Error in '/eStore' 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 'eStore.Products'.

Source Error:


Line 1: <%@ Page Language="vb" AutoEventWireup="false" Codebehind="Products.aspx.vb" Inherits="eStore.Products"%>

anyone know what this means?

Also it throws an error when i stick btnSomthing_Click into a button, but the button works without it. is this taken care of in the code behind?


David Jenkins
-------------------------------------------------------------
Do you want to make extra money around your commitments?
Credit cards, bills, loans and a mortgage - all getting you down?
Is your pension going to be enough when you retire?
There is a solution visit http://www.1stmillion.co.uk
or call 01772 489521
__________________
David Jenkins
 
Old May 3rd, 2005, 07:00 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Did you compile? The inherits attribute of the @ Page directive tells the .aspx page to derive itself from the class eStore.Products. Unless you compile the codebehind files that house the eStore.Products class the runtime won't know where to find it.

-Peter
 
Old May 4th, 2005, 05:59 AM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to RPG SEARCH
Default

I don't know to be honest because i thought that it was automatically doing this when I clicked on the Debug. As there are a few other pages that a re working fine and the all have that same line of code at the top.

I have tried a few things, but still not working will have another play around. Cheers for the response though.

David Jenkins
-------------------------------------------------------------
Do you want to make extra money around your commitments?
Credit cards, bills, loans and a mortgage - all getting you down?
Is your pension going to be enough when you retire?
There is a solution visit http://www.1stmillion.co.uk
or call 01772 489521
 
Old May 4th, 2005, 06:51 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Is it possible that you changed the class name of the codebehind class? That's the only thing I can imagine if you are compiling. Or maybe you added a namespace around the class, that would break it.

-Peter
 
Old May 4th, 2005, 03:41 PM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to RPG SEARCH
Default

Ok, i dont know what gone wrong. LOL - its lets me view default.aspx and categories.aspx. I deleted and restarted products, same error. created new page, configuration and get the same error but for that page....

the thing was i didnt change anything before i started getting the error, only afterwards but i have reverted everything back to how it was. And i compared categories to products and they look the same for that particualr line of code. I am hitting the same start button so nothing is different!

If there is an error anywhere in the build would this affect it?

David Jenkins
-------------------------------------------------------------
Do you want to make extra money around your commitments?
Credit cards, bills, loans and a mortgage - all getting you down?
Is your pension going to be enough when you retire?
There is a solution visit http://www.1stmillion.co.uk
or call 01772 489521
 
Old May 5th, 2005, 04:18 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

If you have any errors in the build, the build will fail. Until the build succeeds you won't get the classes that the aspx pages are deriving from. Your initial comment about the button click handler not working when you add it to the button code supports this theory. The button will work without any event handlers. It's just a standard submit button. But if you add in a event handler to the button markup and that handler is expected to be found in the code-behind class, then the handler event will fail.

Are you hitting the play button? How about F5?

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio VS. Visual Web Developer expr Astrocloud BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 2 November 23rd, 2008 03:10 PM
FTP in Visual Studio 2005 Pro (Visual Basic) shoopes VB How-To 1 June 29th, 2006 02:08 PM
Visual Studio 2003 vs. Visual Studio 2005 eitanbarazani C# 2005 4 May 9th, 2006 01:34 AM
Visual Studio .net2003 and Visual Studio 2005 Gert Visual C++ 1 January 24th, 2006 05:10 AM
Visual studio 6 or visual studio .NET chaitannyam Visual C++ 1 November 13th, 2005 09:26 AM





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