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 August 10th, 2004, 04:33 PM
Registered User
 
Join Date: Jul 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sarah-WCHM
Default Ch. 13 compilation error

When I attempt to compile HelloWorld.cs (pg 470 in the C# version of the book) I get the following error: 'csc' is not recognized as an internal or external command, operable program or batch file.

However, when I follow the below suggestion (I searched the p2p forums for help), I get an "Access Denied" error message.

http://p2p.wrox.com/topic.asp?TOPIC_ID=8413

In the book it says that there is a tutorial included with the code download that explains how to configure everything correctly but I have been unable to find it.

Any help would be appreciated!

 
Old May 3rd, 2005, 05:18 AM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have copied the details from the link above, and althouh its probably too late for you, it'll help others, it did me.
Credit to Planoie for the info though.

You can eliminate the need to fully reference the csc.exe by adding the path to it in your system variables.
- My Computer -> Rightclick -> Properties
- Advanced Tab
- Environmental variables button
- System variables frame
- Find "PATH" -> Edit...
- Add a semi colon to the end if there isn't one
- Add "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ ;"
- OK -> OK -> OK

Now you can open a new command prompt and just type "csc". If you call this from G:\www\programming\ you should get the output there as well, unless you have specified the output explicitly to fall somewhere else.

Peter
------------------------------------------------------
Work smarter, not harder.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Array Error message with Begin PHP4 Ch 13 vaderj PHP Databases 4 April 17th, 2005 04:37 PM
ch.4 - I do not get the compilation error dad62896 BOOK: Beginning ASP.NET 1.0 2 February 11th, 2005 04:20 AM





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