In WebMatrix 2 Beta, I am trying to delete a SQL Server 2008 R2 connection from the "Databases" pane. The database itself is deleted from the server, so, as expected, an error correctly appears when I click on the arrow next to the database connection in
the Databases pane. However, I don't see any options to delete the connection in WebMatrix. Another user said he was able to delete the connection string in his web.config file and then restart WebMatrix to get rid of the connection, but my web.config file
in the site root doesn't contain the connection string. When I right-click on the database connection in the "Databases" pane, the only options are "Copy connection string" and "Refresh."
mwassmer
Member
2 Points
4 Posts
Can't delete connection string in WebMatrix 2 Beta
Apr 19, 2012 03:40 AM|LINK
In WebMatrix 2 Beta, I am trying to delete a SQL Server 2008 R2 connection from the "Databases" pane. The database itself is deleted from the server, so, as expected, an error correctly appears when I click on the arrow next to the database connection in the Databases pane. However, I don't see any options to delete the connection in WebMatrix. Another user said he was able to delete the connection string in his web.config file and then restart WebMatrix to get rid of the connection, but my web.config file in the site root doesn't contain the connection string. When I right-click on the database connection in the "Databases" pane, the only options are "Copy connection string" and "Refresh."
beta2 Database sql
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Can't delete connection string in WebMatrix 2 Beta
Apr 23, 2012 12:19 PM|LINK
Hi
You can try this:
http://www.microsoft.com/web/post/connecting-to-a-sql-server-or-mysql-database-in-webmatrix
Regards
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework