Hi
Having used the original Beerhouse to build a website (which is almost finished after 2 yrs!), I'm now taking a look at this version.
I've spent a couple of hours trying to install the ASPNETDB database. I tried it on SQLEXPRESS but received an error 'version was 652 and only 610 supported' or similar.
So then I attached it successfully to my local sql 2008 (developer edition) with the MDF file located outside of the App_Data folder.
The connection string in web.config is:
<add name="LocalSqlServer" connectionString="Data Source=xxxx\xxxx1;Initial Catalog=TheBeerHouseVB;Integrated Security=True"
providerName="System.Data.SqlClient" />
I can add the database as a data connection in my VS2008 server explorer and also create an identical connection string by adding a datasource in design view on one of the beerhouse aspx pages.
Help with the following error message would be appreciated:
Server Error in '/BeerHouse35' Application.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Source Error:
Line 140: Public Function GetSiteMapInfoByURL(ByVal URL As String) As SiteMapInfo
Line 141:
Line 142: Dim lsmi As SiteMapInfo = (From lai In SiteMapctx.SiteMapInfos _
Line 143: Where lai.URL = URL).FirstOrDefault
Line 144: Return lsmi
Source File: F:\xxx\TheBeerHouse3.5\VB\TBHBLL\Navigation\SiteMa pRepository.vb
Paul