data source not supported keyword

asp.net connection-string entity-framework

Question

I have a default membership database in my asp.net-mvc application. I'm using ADO.NET Entity Framework to access it.

Now I want to move it to IIS, but several problems showed up. In order to import all the data from the previous.MDF file, I had to install SQL Server Management Studio, create a new DB, and do so. As far as I'm aware, there is just one thing left to do: modify the connection string. However, since I lack much familiarity with this, I consistently get the error "Keyword not supported: data source". My connection string is as follows:

<add name="ASPNETDBEntities" 
     connectionString="Data Source=MONTGOMERY-DEV\SQLEXPRESS;Initial Catalog=ASPNETDB;Integrated Security=True;" 
     providerName="System.Data.EntityClient" />

Any suggestions as to what's wrong?

1
72
9/10/2009 10:14:26 AM

Accepted Answer

ZZZ_tmp
133
9/10/2009 10:35:18 AM

Popular Answer

ZZZ_tmp


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow