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 July 23rd, 2003, 10:49 AM
Registered User
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot compile siteheader.ascx.cs

I downloaded the C# verion of the website for ASP.NET Website Programming and followed the instructions for loading the site. When I try to run the site I get the following error message in IE:

========= Begin Message ==================
Parser Error Message: Could not load type 'Wrox.ThePhile.Web.Controls.User.SiteHeader'.

Source Error:


Line 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="SiteHeader.ascx.cs" Inherits="Wrox.ThePhile.Web.Controls.User.SiteHead er" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
Line 2: <link href="/ThePhile/Styles/ThePhile.css" rel="stylesheet">
Line 3: <table width="100%" border="0" class="Site_Header">


Source File: C:\wrox\thePhile\Controls\SiteHeader.ascx Line: 1


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

================ End Message =======================

I tried to compile C:\wrox\thePhile\Controls\SiteHeader.ascx.cs but received the following message from Anthecinus C# Editor:

================= Begin Message ====================
SiteFooter.ascx.cs(9,13): error CS0234: The type or namespace name 'WebModules' does not exist in the class or namespace 'Wrox' (are you missing an assembly reference?)
================= End Message =====================

What are some possible solutions that I need to check?

Thank you for your help!!

Steve Moreland
CEO Intexch, Inc
Orlando, FL

 
Old July 24th, 2003, 06:33 AM
Registered User
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am getting the picture here that it is virtually impossible to run ThePhile application without VS.NET!

 
Old January 18th, 2004, 08:42 PM
Registered User
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

its impossible to run the application WITH vs.net and framework 1.1

 
Old January 19th, 2004, 02:49 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Steve,

Please load the entire solution by opening the ThePhile.sln in VS.NET and then re-build the entire solution.

Once you rebuild the entire solution, the run the application in IE.



Charul Shukla
 
Old January 19th, 2004, 11:50 AM
Registered User
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by charul_shukla
 Hi Steve,

Please load the entire solution by opening the ThePhile.sln in VS.NET and then re-build the entire solution.

Once you rebuild the entire solution, the run the application in IE.



Charul Shukla
Thanks for replying Charul. I'm having a seriosly hard time getting the application to run with Vs.net 1.1/IE/XP SP1/SqlServer 2000.

I'm rebuilding the solution in Vs.net 1.1 and running the application but i keet getting errors. I really think the problem is related to the a parser error in SiteHeader. I have created a post located here http://p2p.wrox.com/topic.asp?TOPIC_ID=8681 explaining the problem in more detail. I appreciate any help you can give me. Thanks

 
Old January 19th, 2004, 05:50 PM
Registered User
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your reply!!! Would it be possible to open the ThePhile.sln with ASP.NET Web Matrix (www.asp.net) or Dreamweaver MX or is only possible to open in VS.NET?

 
Old January 19th, 2004, 06:27 PM
Registered User
 
Join Date: Jan 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by golfvilla
 Thank you for your reply!!! Would it be possible to open the ThePhile.sln with ASP.NET Web Matrix (www.asp.net) or Dreamweaver MX or is only possible to open in VS.NET?
No, .sln files are Visual Studio .NET Solution files. So, you can "open" them in something else but it's just going to be useless text about the project config. They are only for VS.NET.

Keep in mind, however, that any .NET code can be compiled perfectly fine without Visual Studio, just using the tools in the .NET Framework SDK...but you're going to have to do some manual work that the solution/project files handle for you behind the scenes in VS.NET. That's what makes VS valuable...





Similar Threads
Thread Thread Starter Forum Replies Last Post
RssReader.ascx.cs error mwalker BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 April 16th, 2007 04:14 AM
How to compile - First.cs gau404 BOOK: Professional C#, 2nd and 3rd Editions 1 November 14th, 2005 03:19 AM
Context.User in siteheader.ascx.cs scottf BOOK: ASP.NET Website Programming Problem-Design-Solution 7 November 3rd, 2005 12:52 PM
Siteheader won't get thru compiler wudwork BOOK: ASP.NET Website Programming Problem-Design-Solution 2 March 13th, 2005 05:59 PM
AssemblyInfo.CS Compile Error zamankazi BOOK: ASP.NET Website Programming Problem-Design-Solution 2 October 22nd, 2004 08:31 AM





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