Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Unable to connect to SQL DB converted from ASPNETDB.mdf

$
0
0

We imported  a new web projects  ASPNETDB..MDF into an enterprise SQL DB. When I attempt to connect to the DB and log into my web app though, I am getting a lengthy ASP.net error message (that I am having a hard time parsing for the cause of the crash).

The DB seems to have been migrated OK, I can open the DB from SQL Studio and see the tables;

I am attempting to tweak a new connection string to point to the enterprise version of the DB, (trying to get it to look like connection strings that we use for our other enterprise DBs) but I can't get connected.

<connectionStrings>
 <addname="ApplicationServices"   connectionString="data source=.\SQLEXPRESS;Integrated    Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"providerName="System.Data.SqlClient" />

 <addname="ApplicationServices2"connectionString="Data Source=(Removed);Initial Catalog=ASPNetDB;Persist Security Info=True;User;ID=(removed)Password=(removed);User Instance=true" />
</connectionStrings>

Has anyone published a how-to on using the ASP.Net membership provider with a non-local SQL DB?

 


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>