 |
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
|
|
|
|
|

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

January 27th, 2004, 03:16 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Hello,
I'm not sure if I understand the problem correctly, but is there a related ".vbproj" or ".csproj" file with that .sln?
Brian
|
|

January 29th, 2004, 11:50 AM
|
|
Authorized User
|
|
Join Date: Jan 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes, there is a .csproj associated with the .sln file.
Thanks for taking the time to this about this.
-Michael
|
|

January 29th, 2004, 01:19 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello Guys,
Me too I have the same problem and Wrox didn't reply my 11 message about running this code. please advice
Salwa
|
|

January 29th, 2004, 02:23 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
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.
|
|

January 29th, 2004, 08:35 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

January 30th, 2004, 04:28 AM
|
|
Friend of Wrox
|
|
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

February 6th, 2004, 02:49 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

August 24th, 2005, 11:29 AM
|
|
Registered User
|
|
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
|

August 25th, 2005, 06:51 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|
 |