D
Darrel
As a tangental question to the one below:
I can create a SQL express DB in my Data Connections folder titled
dimension.mdf
I then add this connection string to my web.config file:
<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="data
source=.\SQLEXPRESS;Integrated
Security=SSPI;AttachDBFilename=|DataDirectory|dimension.mdf;User
Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
I then go to WEBSITE > ASP.NET CONFIGURATION
I click on PROVIDER and test the connection. It works.
I then go to SECURITY and get this error:
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
Google seems to keep pointing at running the SQL server set up wizard. I do
that, it points at my local machine, but when I try to pick a DB, I get this
error:
====================
---------------------------
Connection failed
---------------------------
Failed to query a list of database names from the SQL server.
An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a connection to
SQL Server)
I can create a SQL express DB in my Data Connections folder titled
dimension.mdf
I then add this connection string to my web.config file:
<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="data
source=.\SQLEXPRESS;Integrated
Security=SSPI;AttachDBFilename=|DataDirectory|dimension.mdf;User
Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings>
I then go to WEBSITE > ASP.NET CONFIGURATION
I click on PROVIDER and test the connection. It works.
I then go to SECURITY and get this error:
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.
Google seems to keep pointing at running the SQL server set up wizard. I do
that, it points at my local machine, but when I try to pick a DB, I get this
error:
====================
---------------------------
Connection failed
---------------------------
Failed to query a list of database names from the SQL server.
An error has occurred while establishing a connection to the server. When
connecting to SQL Server 2005, this failure may be caused by the fact that
under the default settings SQL Server does not allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a connection to
SQL Server)