i have made a databse then i follow this guide to add membership implementation my existing db but when i run asp.net configuration on security tabit says its impossible to connecto to sql databse cehck my conection string if something is wrong
<connectionStrings>
<add name="my_dbConnectionStringLocalHost" connectionString="Data Source=my-PC;Initial Catalog=my_db;Persist Security Info=True;User ID=myuser;Password=mypass"
providerName="System.Data.SqlClient" />
</connectionStrings>
i use sql server 2012 non express version
i havent change thatb so it still th default port but i cant connect
Hi,
You can try to open the Vs and then try to create a connection to the specific db's table and then have a test——if that connects successfully, please copy the whole connection string from the property panel and paste it into the web.config.
troika
Member
22 Points
230 Posts
membership
Feb 08, 2013 10:20 AM|LINK
i have made a databse then i follow this guide to add membership implementation my existing db but when i run asp.net configuration on security tabit says its impossible to connecto to sql databse cehck my conection string if something is wrong
<connectionStrings> <add name="my_dbConnectionStringLocalHost" connectionString="Data Source=my-PC;Initial Catalog=my_db;Persist Security Info=True;User ID=myuser;Password=mypass" providerName="System.Data.SqlClient" /> </connectionStrings> i use sql server 2012 non express versionanj1212
Member
333 Points
74 Posts
Re: membership
Feb 08, 2013 10:51 AM|LINK
I think this may helpful,
http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx
regards,
anj.
troika
Member
22 Points
230 Posts
Re: membership
Feb 08, 2013 11:18 AM|LINK
thats the guide i have followed but it cont connects to db the asp configuration...
anj1212
Member
333 Points
74 Posts
Re: membership
Feb 08, 2013 11:26 AM|LINK
Check user & roles permissions on sql server,
follow below link,
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00040000002p000000
CruzerB
Contributor
5399 Points
1098 Posts
Re: membership
Feb 08, 2013 11:50 AM|LINK
Hi,
Make sure the database port number remain the default port number. Otherwise, do include the port number for Data Source.
My Technical Blog
CruzerB
Contributor
5399 Points
1098 Posts
Re: membership
Feb 08, 2013 11:50 AM|LINK
Hi,
Make sure the database port number remain the default port number. Otherwise, do include the port number for Data Source.
My Technical Blog
troika
Member
22 Points
230 Posts
Re: membership
Feb 09, 2013 10:03 AM|LINK
i havent change thatb so it still th default port but i cant connect
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: membership
Feb 10, 2013 12:48 AM|LINK
Hi,
You can try to open the Vs and then try to create a connection to the specific db's table and then have a test——if that connects successfully, please copy the whole connection string from the property panel and paste it into the web.config.