J
Jonathan Wood
I'm a long-time programmer new to server administration and SQL. For some
reason, this stuff just doesn't seem to ever work for me.
I'm developing an ASP.NET application in Visual Studio 2008. I recently
upgraded from SQL Server 2005 Express to SQL Server 2005 (with SP2).
It took Microsoft technical support about three hours to figure out why SQL
Server Management Studio was unable to log onto SQL Server, so I can finally
do that. (The proper accounts were not created.) But I am unable to access
SQL Server from Visual Studio.
1. In VS2008 Server Explorer, I was able to modify the database connection
so that it works with SQL Server 2005 instead of SQL Server Express.
However, every time I reload Visual Studio, I have to make these changes
again. Does anyone know how to get VS2008 to remember these settings?
2. When I select the ASP.NET Configuration command, it's horribly slow and
tells me there are no longer any users. (I can see them looking at the
aspnet_Membership table.) It also now calls the application "/<appname>"
whereas before it was just "/".
Under the Security tab, it says:
"There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.
The following message may help in diagnosing the problem: 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:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified)"
When I click Choose Data Store, I have the option of "Select a single
provider for all site management data" and "Select a different provider for
each feature (advanced)".
I choose the first one and I get a page that says No providers created.
I'm also struggling with the connection string but maybe that's working and
it just doesn't recognize anything because of the problems described above.
Does anyone know what happened here, or how I might try and troubleshoot it?
I'd appreciate any input.
Thanks.
reason, this stuff just doesn't seem to ever work for me.
I'm developing an ASP.NET application in Visual Studio 2008. I recently
upgraded from SQL Server 2005 Express to SQL Server 2005 (with SP2).
It took Microsoft technical support about three hours to figure out why SQL
Server Management Studio was unable to log onto SQL Server, so I can finally
do that. (The proper accounts were not created.) But I am unable to access
SQL Server from Visual Studio.
1. In VS2008 Server Explorer, I was able to modify the database connection
so that it works with SQL Server 2005 instead of SQL Server Express.
However, every time I reload Visual Studio, I have to make these changes
again. Does anyone know how to get VS2008 to remember these settings?
2. When I select the ASP.NET Configuration command, it's horribly slow and
tells me there are no longer any users. (I can see them looking at the
aspnet_Membership table.) It also now calls the application "/<appname>"
whereas before it was just "/".
Under the Security tab, it says:
"There is a problem with your selected data store. This can be caused by an
invalid server name or credentials, or by insufficient permission. It can
also be caused by the role manager feature not being enabled. Click the
button below to be redirected to a page where you can choose a new data
store.
The following message may help in diagnosing the problem: 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:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified)"
When I click Choose Data Store, I have the option of "Select a single
provider for all site management data" and "Select a different provider for
each feature (advanced)".
I choose the first one and I get a page that says No providers created.
I'm also struggling with the connection string but maybe that's working and
it just doesn't recognize anything because of the problems described above.
Does anyone know what happened here, or how I might try and troubleshoot it?
I'd appreciate any input.
Thanks.