Hope you can help with my permissions issue... I have a clean install of Windows 7 64 / VS2010 express and sql express 2008 r2. I have c# code to create and populate a database, which works fine. When I try to add a connection inside vs2010 express I get
a permission denied message. In more detail...
private String _dataFolder = @"C:\ProgramData\test\data\USDA\sr24\";
public void CreateDatabase()
{
SqlConnection con = new SqlConnection("Server=.\\SQLEXPRESS;Integrated security=SSPI;database=master;");
String str = "CREATE DATABASE test ON PRIMARY " +
...
Go to the complete details ...