Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 4th, 2003, 03:29 AM
Registered User
Join Date: Dec 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems in samples code???????

I bought Professional C# 2rd on Amazon.com.
Following the instructions, I downloaded samples code. But when I opened a sample project of Chapter 14(ASP.NET Pages), Microsoft Development Environment said:
The project 'PCSWebApp1.csproj' must be convert to the current project format. After it has been convert, you will not be able to edit this project in previous versions of Visual Studio.
I clicked Yes. But when run this project, MDE said:
Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.

Please tell me how to run this porojects. Thanks.
(I'm running on Windows Server2003 Enterprise, MDE2003 version 7.1.3088, Microsoft .NET Framework 1.1 version 1.1.4322)

  #2 (permalink)  
Old December 4th, 2003, 04:00 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi there,

I think the book was written for the .NET Framework 1.0. This means the projects in the code download will work with Visual Studio 2002. You're using VS .NET 2003 so it offers to convert the "old" 2002 project to the 2003 format.
Usually, this will work fine without too much trouble. Make sure you have a copy of the old project though, because not every 1.0 project will run fine on the 1.1 framework.

For the debugging issue, check out this link: http://msdn.microsoft.com/library/de...rvererrors.asp



Imar Spaanjaars
Everyone is unique, except for me.
  #3 (permalink)  
Old December 4th, 2003, 11:52 AM
Authorized User
Join Date: Nov 2003
Location: Milwaukee, Wisconsin, USA.
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to KABay

There are not .sln files in the App2 and App3 folders so I assume you were trying to run the first application iteration.

What worked for me was to follow the directions in the readme file in the Chapter 14 'root' folder to copy the three application folders to my Inetpub\wwwroot.

Convert the Solution and Project(s) as 'suggested'. That ran fine for me using version 1.1.4322 of the Framework.

What the readme file does not say is to create a virtual directory using Internet Information Services (IIS). Name it PCSWebApp1 for the first project and point it to the PCSWebApp1 folder.

Make sure the build configuration ( Build/Configuration Manager/Active Build Configuration) is set to 'Debug' and rebuild the Solution.

After that the first app ran fine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Samples qjay BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 17 July 13th, 2009 04:10 AM
where can i get the samples code edwinomar ADO.NET 2 April 16th, 2004 12:55 PM
Source code for the samples kw48653 ADO.NET 1 August 11th, 2003 02:14 PM

All times are GMT -4. The time now is 08:28 AM.

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