Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 1.1
This is the forum to discuss the Wrox book Beginning ASP.NET 1.1 with Visual C#.NET 2003 by Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry; ISBN: 9780764557088
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning 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 July 30th, 2004, 01:09 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default error in chapter1

in "Configuring Web Matrix to Run with .NET Framework 1.1"
you write that add
<startup>
<supportedRuntime version="v1.1.4322" />
</startup>
to WebMatrix.exe.config,but when I added ,and create a asp.net page.and push "start" ,it throw a exception tell me "unable start asp.net web matrix server for the dictory "c:\temp" on 8080".
and then I delete these three line ,and the service start.
My OS is winXP professional.and install IIS and framework.

 
Old July 30th, 2004, 08:30 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Which version of the framework do you have installed?

THis is not an error- the reason it doesn't work for you is beacuse you probably have a version other than 1.1.4322 installed.


Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old July 31st, 2004, 09:58 PM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oh,no ,my framework version is 1.1.4322.573.

 
Old August 2nd, 2004, 08:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Do you have the 1.0 version installed also?


Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old August 3rd, 2004, 06:01 PM
Authorized User
 
Join Date: Jul 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I thought this was becase the user had set up the C:\Temp dir as the directory for his projects in Matrix ?
simply create a file structure other than what you have, surely?

If your file is located within the C:\Temp file then this will cause errors as its Windows Temp dump for installing applications etc... a limited memory store.... ! ! !

The.Student

What does my picture not work !
 
Old August 9th, 2004, 02:42 AM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The errata for this book given at:
http://www.wrox.com/WileyCDA/WroxTit...ew_errata.html
reads:
Chapter Page Details Date Print Run
1 29 Additional configuration directions 11-Dec-03 1
The configuration directions as written cause Web Matrix to use Framework version 1.1, but you also need to configure the Web server Cassini to use Framework version 1.1 or you could have problems when you use a DLL created in WebMatrix version 1.1 but try to run a Web form against the server using Framework 1.0. Specifically, without this fix you might encounter this problem in chapter 16. To correct this, replace step 4 on page 29 with these new steps 4 to 6.

4. Save the file.

5. Next you need to create a new text file with the name WebServer.exe.config and add the following code:

If the file already exists then all you need do is insert the and tags between the and tags as you did with WebMatrix.exe.config.

6. Save the file and when you run Web Matrix, the .NET Framework version should now be 1.1.x. [u]Select the About ASP.NET Web Matrix... </u>item from the Help menu. It should confirm this.Reading this literally, and not having an existing file named Webserver.exe.config, I obligingly created a new file named WebServer.exe.config using notepad and entered the "code" below:
If the file already exists then all you need do is insert the and tags between the and tags as you did with WebMatrix.exe.config.
It made absolutely no sense to me and sure enough, when I got to step 6 on page 31, I also got an error saying

Unable to start ASP.NET Web Matrix Server for the directory 'C:\BegASPNET11' on port 8080.

(I am running WinXP Pro with IIS installed; Web Matrix Version 0.6 (Build 812), .NET Framework Version 1.1.4322.573)

When the code in the Webserver.exe.config file was edited to read:
<startup>
  <supportedRuntime version="v1.1.4322" />
</startup>
the same error occured. When the file Webserver.exe.config was deleted (essentially ignoring the errata page), everything worked just like the book says it should.

I wonder what will happen when I get to chapter 16.

The errata page definitely needs to be made more clear as to what we are supposed to do. For me, ignoring the errata page has at least gotten me started.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 11:17 AM
Ch 4: Parse error: syntax error, unexpected T_SL hanizar77 BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 June 23rd, 2008 09:17 PM
Chapter1: Page8 I don't see Security Tab pinponpan BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 June 20th, 2008 11:16 AM
VB Error: Syntax Error or Access Violation codehappy VB How-To 7 October 3rd, 2007 05:41 PM
chapter1 CLASSPATH jeanne JSP Basics 2 August 11th, 2004 12:45 AM





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