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 January 23rd, 2004, 11:08 AM
Authorized User
 
Join Date: Jan 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Visual Studio .NET

Hi, I have recently downloaded the code for ASP.NET Website Programming.

However, I am stuck on one the Visual Studio step of the installation.

The instruction reads: "Open the file c:\wrox\thephile\thephile.sln in Visual Studio .NET or Visual C# Standard"

When I do this, I the "ThePhile" is unavailable, that the project file cannot be found.

Does any one know why this is happening and how I can correct it?

-Michael


**

The previous steps in the set up process are:

Restore the thephile-database-backup database file in SQL Server Enterprise Manager
Copy the file thephile-database-backup.bak into your SQL Server backup folder
Create a new database called thePhile
Right click the new database, click All Tasks then Restore Database
Select From Device
Click Select Devices
Click Add
Use the filename box to select the thephile-database-backup.bak file.
Click OK
Click OK again
Click OK once more
Unzip wrox.zip (nested in the main download zip) to c:\, so that there are folders c:\wrox\keys and c:\wrox\thephile


Web-share the c:\wrox\thephile folder as thephile:
Right-click on the thephileVB folder in Windows Explorer, and select Properties
Click the Web Sharing tab
and select Share This Folder
Ensure that the Alias reads thephileVB
Set execute Permissions for the application by selecting the radio buttion in the application permission section of the dialog box. It makes it easier to hack around with the site if you also check Directory Browsing
Click OK
Click OK again
 
Old January 27th, 2004, 03:16 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

I'm not sure if I understand the problem correctly, but is there a related ".vbproj" or ".csproj" file with that .sln?

Brian
 
Old January 29th, 2004, 11:50 AM
Authorized User
 
Join Date: Jan 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, there is a .csproj associated with the .sln file.

Thanks for taking the time to this about this.

-Michael

 
Old January 29th, 2004, 01:19 PM
Registered User
 
Join Date: Jan 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Guys,

 Me too I have the same problem and Wrox didn't reply my 11 message about running this code. please advice

Salwa

 
Old January 29th, 2004, 02:23 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

It may be expecting the project file to be in another folder. You may want to open the project instead of the solution and recreate the solution file.

If you don't want to do that, you may want to open the solution/project files, and look where the files are expecting the projects to be.
 
Old January 29th, 2004, 08:35 PM
Registered User
 
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The instructions were flawed telling you to choose the 'thePhileVB', it was assuming the VB version of the book. Basically you just have to create a virtual directory for the application. You can do this either in IIS, or using the webshare approach. The article below walks you through the process and is invaluable in understanding how the example solution is configured.

http://support.microsoft.com/default...;EN-US;Q307467

 
Old January 30th, 2004, 04:28 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi All,

Please check the internet connection settings before opening the solution in VS.NET, if there is any proxy setting you have defined, please turn them off and then open the solution in VS.NET.

I try to simulate the “project unavailable” on our machines, and find out about the proxy settings problems, after turning off the proxy settings in IE. It works fine.


Charul Shukla
 
Old February 6th, 2004, 02:49 PM
Registered User
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Buzzterrier is right on the money. I had the exact same problem and when I removed the virtual directory in IIS and re-created it, using the alias ThePhile everything worked just perfect!:D
 
Old August 24th, 2005, 11:29 AM
JYT JYT is offline
Registered User
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have downloaded the codes, how come i could not find the thephile-database-backup.bak? i found the thephile-database-backup.sql instead.

any idea?

 
Old August 25th, 2005, 06:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I assume you mean that you found this:

thephile-database-backup (no extension)

Ignore the instructions that show a ".bak" extension on the filename. That was changed at the last minute and the instuctions weren't updated. They are talking about this file with no extension.

You need to restore this backup file into your sql server. Do not use the SQL file ThePhile.sql, because that is obsolete and doesn't have the changes made after the book was published.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual studio 6 or visual studio .NET chaitannyam Visual C++ 1 November 13th, 2005 09:26 AM
Visual Studio.Net manojbandgar .NET Framework 2.0 0 July 12th, 2005 06:57 AM
visual studio.net johnjohn Visual C++ 0 November 18th, 2004 10:56 AM
Visual Studio.NET vs C# Mike Smith Forum and Wrox.com Feedback 2 December 22nd, 2003 03:47 PM





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