Quantcast
Channel: SQL Server Express forum
Viewing all articles
Browse latest Browse all 3319

The user instance login flag is not supported on this version of SQL Server. The connection will be closed

$
0
0

create project using visual studio 2010 ,sqlexpress 2008, mvc2 now using visual studio 2013 , 2014 mssql how i migrate this project to new version.. its show an error

The user instance login flag is not supported on this version of SQL Server. The connection will be closed

My connection string is

<connectionStrings><add name="AMZHConnectionString"
         connectionString="Data Source=dev-PC;Initial Catalog=developX27;Integrated Security=True"
         providerName="System.Data.SqlClient"/>

and one more connection string in model

public string cstring ="Data Source=dev-PC;Initial Catalog=developX27;Integrated Security=True";

Errors 1: when i try to connect with database through Server Explorer its show an error

This database file is not compatible with the current instance of SQL Server. To resolve this issue, you must upgrade the database file by creating a new data connection, or you must modify the existing connection to this database file.For more information, see http://go.microsoft.com/fwlink/?LinkId=235986

Error 2: When i run this project in vs2014 its show error in Session["Dcount"] = userpro.CheckDoctorcount(userpro);

Error is

An exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll but was not handled in user code

Additional information: The user instance login flag is not supported on this version of SQL Server. The connection will be closed.

How i run this project am a biginner in Developing


Viewing all articles
Browse latest Browse all 3319

Trending Articles



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