I am an ASP.Net beginner so please try not to use too much jargon. I have completed client-side study & assignments in HTML, CSS & JavaScript, and now I have the p2p book "Beginning ASP.Net 2.0" 2006 edition.
I followed Appendix B to install Visual Web Developer Express. My laptop exceeds the minimum system requirements with WinXPPro SP2. I already had the .Net Framework 2.0 but I installed VWD 2005 Express and MS SQL Server 2005 Express. All these three are now shown in the Add/Remove Programs list in Control Panel.
VWD setup completed and I created a folder for the example website at C:\Websites\WroxUnited. I skipped the IIS setup pages in App B because I want to use the built-in Cassini web server. I downloaded the WroxUnited application file FinalApplication.zip into the folder and extracted the 222 files into the same folder. I enabled Write access to the Network Service account on the Security tab in the WroxUnited folder (I had to disable Simple File Sharing first).
To check the installation with VWD & Cassini, I ran VWD, opened the website and double-clicked default.aspx and pressed F5 to check in my browser (Firefox v2). A timeout occurred and the following was displayed in the browser. I reviewed the install procedure several times but I don't know what I haven't done. Can you give me any pointers, please?
Server Error in '/WroxUnited' Application.
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Source Error:
Line 112: Public Overridable Property Theme() As String
Line 113: Get
Line 114: Return CType(Me.GetPropertyValue("Theme"),String)
Line 115: End Get
Line 116: Set
Source File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\wroxunited\2112705c\14c1a696\App_Code.x9ab24 uw.6.vb Line: 114
Stack Trace:
(removed to save space).
(Edit) In VWD, I clicked Tools, Connect to Database, and navigated to C:\Websites\WroxUnited\app_Data\WroxUnited.mdf, then clicked OK. The website now displays in the browser.
Perhaps this step should be added to the procedure in Appendix B?
Richard
Rugeley, UK
WinXP Pro SP2
VBW Express