<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Time Tracker Starter Kit</title><link>http://forums.asp.net/1005.aspx</link><description>Discussions about the Time Tracker Starter Kit for ASP.NET 2.0.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3409642.aspx</link><pubDate>Thu, 17 Sep 2009 03:00:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3409642</guid><dc:creator>chetan.sarode</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3409642.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3409642</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I already post this in my previous reply&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3409465.aspx</link><pubDate>Wed, 16 Sep 2009 23:29:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3409465</guid><dc:creator>fmorris0</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3409465.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3409465</wfw:commentRss><description>&lt;p&gt;When you are using SQL Server (the one you pay for) instead of SQL Server Express (the free one), you must either (1) do as you have done and specify User Instance=False or (2) leave it out completely.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;One way I know you are using &amp;quot;regular&amp;quot; SQL Server instead of SQL Server Express is that the Data Source value in your connection string is &amp;quot;(local)\&amp;quot; instead of &amp;quot;.\sqlexpress&amp;quot; or &amp;quot;(local)\sqlexpress&amp;quot;.&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3408511.aspx</link><pubDate>Wed, 16 Sep 2009 13:38:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3408511</guid><dc:creator>JillG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3408511.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3408511</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Honestly cannot tell you idea what I did to get this working that I hadn&amp;#39;t already tried before... but I wanted to post my connection string incase anyone has this problem in the future.&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;
&lt;p&gt;connectionString&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Data Source=(local)\;AttachDbFilename=|DataDirectory|\NORTHWND.MDF;Integrated Security=True;User Instance=False&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3405049.aspx</link><pubDate>Tue, 15 Sep 2009 05:09:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3405049</guid><dc:creator>chetan.sarode</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3405049.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3405049</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Are also getting same error&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3398254.aspx</link><pubDate>Thu, 10 Sep 2009 18:08:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3398254</guid><dc:creator>JillG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3398254.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3398254</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have gotten this error also. I am using VS 2008 TFS, and am trying to install the Northwind db so that I can demo the following tutorial &lt;a href="http://www.asp.net/learn/data-access/tutorial-49-vb.aspx"&gt;http://www.asp.net/learn/data-access/tutorial-49-vb.aspx&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;I am running SQL Server 2005, and had already had the northwind db on it, but for somereason when I built the site&amp;#39;s code, it didn&amp;#39;t recognize it.... so whatever, I attached their version of the northwind db. &lt;/p&gt;
&lt;p&gt;After reading others&amp;#39; posts on this problem (&lt;font color="#0000ff" size="2"&gt;&lt;a href="http://social.msdn.microsoft.com/forums/en-US/sqlexpress/thread/0d94d542-6366-48df-9d6b-2771261944e3/"&gt;http://social.msdn.microsoft.com/forums/en-US/sqlexpress/thread/0d94d542-6366-48df-9d6b-2771261944e3/&lt;/a&gt;&amp;nbsp;and (&lt;font color="#0000ff" size="2"&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/0738cb01-106f-4376-b92d-a977a022ece8"&gt;http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/0738cb01-106f-4376-b92d-a977a022ece8&lt;/a&gt;)&lt;/font&gt;&lt;/font&gt;, I have modified the connection string in my project to&amp;nbsp;=&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Data Source=(local)\;AttachDbFilename=|DataDirectory|\NORTHWND.MDF;Integrated Security=True&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I&amp;#39;m not sure I understand what follows this- should I detach and then reattach the db?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Please help.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Thanks~ Jg&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3216652.aspx</link><pubDate>Mon, 08 Jun 2009 03:02:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3216652</guid><dc:creator>chetan.sarode</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3216652.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3216652</wfw:commentRss><description>&lt;p&gt;Can you please start new thread, as this is the different one from original post&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3207234.aspx</link><pubDate>Wed, 03 Jun 2009 11:02:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3207234</guid><dc:creator>fmorris0</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3207234.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3207234</wfw:commentRss><description>&lt;p&gt;It doesn&amp;#39;t appear your specific error has anything to do with the subject of this thread (user instance flag in connection string), so my advice is to start a whole new thread to help increase the chances of getting an answer.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3206277.aspx</link><pubDate>Wed, 03 Jun 2009 03:23:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3206277</guid><dc:creator>milan.s</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3206277.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3206277</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am having a similar problem on sqlserver, but i get it only on login page after submit, other wise its working fine.&lt;/p&gt;&lt;p&gt;do you have any suggestions?&lt;/p&gt;&lt;p&gt;Thanks in advance. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h2&gt;&lt;i&gt;&lt;i&gt;SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified&lt;/i&gt;&lt;/i&gt; &lt;br /&gt;&lt;/h2&gt;&lt;p&gt; &lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;pre&gt;[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)]&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846887&lt;br /&gt;   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194&lt;br /&gt;   System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +4860189&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +90&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221&lt;br /&gt;   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189&lt;br /&gt;   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185&lt;br /&gt;   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66&lt;br /&gt;   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499&lt;br /&gt;   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65&lt;br /&gt;   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117&lt;br /&gt;   System.Data.SqlClient.SqlConnection.Open() +122&lt;br /&gt;   System.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +87&lt;br /&gt;   System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +221&lt;br /&gt;   System.Web.Security.SqlMembershipProvider.GetPasswordWithFormat(String username, Boolean updateLastLoginActivityDate, Int32&amp;amp; status, String&amp;amp; password, Int32&amp;amp; passwordFormat, String&amp;amp; passwordSalt, Int32&amp;amp; failedPasswordAttemptCount, Int32&amp;amp; failedPasswordAnswerAttemptCount, Boolean&amp;amp; isApproved, DateTime&amp;amp; lastLoginDate, DateTime&amp;amp; lastActivityDate) +815&lt;br /&gt;   System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved, String&amp;amp; salt, Int32&amp;amp; passwordFormat) +105&lt;br /&gt;   System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved) +42&lt;br /&gt;   System.Web.Security.SqlMembershipProvider.ValidateUser(String username, String password) +78&lt;br /&gt;   System.Web.UI.WebControls.Login.AuthenticateUsingMembershipProvider(AuthenticateEventArgs e) +60&lt;br /&gt;   System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +119&lt;br /&gt;   System.Web.UI.WebControls.Login.AttemptLogin() +115&lt;br /&gt;   System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +101&lt;br /&gt;   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37&lt;br /&gt;   System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118&lt;br /&gt;   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166&lt;br /&gt;   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10&lt;br /&gt;   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13&lt;br /&gt;   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565&lt;br /&gt;&lt;/pre&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3140101.aspx</link><pubDate>Tue, 05 May 2009 03:26:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3140101</guid><dc:creator>chetan.sarode</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3140101.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3140101</wfw:commentRss><description>&lt;p&gt;Thats great&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/3124898.aspx</link><pubDate>Tue, 28 Apr 2009 12:52:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3124898</guid><dc:creator>maybetommorow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3124898.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=3124898</wfw:commentRss><description>&lt;p&gt;I had some Visual Web Designer created &amp;lt;add name=&amp;gt; tag that was messing things up, I changed it as you directed (to &amp;#39;LocalSqlServer&amp;#39;, removing/creating) and it finally worked.&amp;nbsp; Days if effort would have been saved had I happened across your article.&amp;nbsp; I have no idea why VWD creates useless code like this in web.config, should have written it myself really and not relied on it in all honesty.&amp;nbsp; Many thanks for post Scott.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/2803080.aspx</link><pubDate>Fri, 12 Dec 2008 03:27:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2803080</guid><dc:creator>chetan.sarode</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2803080.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=2803080</wfw:commentRss><description>&lt;p&gt;The full version of SQL Server doesn&amp;#39;t support creating [user instance] &amp;#39;attached&amp;#39; databases like sql express does&amp;nbsp;(it looks like the connection string is intended for sql express).&lt;/p&gt;
&lt;p&gt;create and use&amp;nbsp;the database on your sql server.&lt;/p&gt;
&lt;p&gt;then use a connection string something like: &amp;quot;server=localhost;database=TimeTracker;uid=sa;pwd=..&amp;quot;&amp;nbsp; (or use integrated security)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Change in connectionString User Instance = false&lt;/p&gt;
&lt;p&gt;&amp;lt;connectionStrings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;add name=&amp;quot;aspnet_staterKits_TimeTracker&amp;quot; connectionString=&amp;quot;Data Source=RELSEC_FE\SQLServer2005;Integrated Security=True;AttachDBFilename=|DataDirectory|TimeTracker.mdf;User Instance=false&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;remove name=&amp;quot;LocalSqlServer&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;add name=&amp;quot;LocalSqlServer&amp;quot; connectionString=&amp;quot;Data Source=RELSEC_FE\SQLServer2005;Integrated Security=True;AttachDBFilename=|DataDirectory|TimeTracker.mdf;User Instance=false&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/connectionStrings&amp;gt;&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/2802917.aspx</link><pubDate>Fri, 12 Dec 2008 01:46:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2802917</guid><dc:creator>roozbeh_noroozi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2802917.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=2802917</wfw:commentRss><description>f</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/2802914.aspx</link><pubDate>Fri, 12 Dec 2008 01:43:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2802914</guid><dc:creator>roozbeh_noroozi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2802914.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=2802914</wfw:commentRss><description>if you have sql server2008 developer edition :

 

1)create &amp;quot;aspnetdb&amp;quot; database with &amp;quot;aspnet_regsql&amp;quot; in vs command prompt.

2)find location of &amp;quot; aspnetdb.mdf&amp;quot; and &amp;quot; aspnetdb_log.ldf &amp;quot; files with right click on database name in mss management studio.

3)stop sqlserver service. 

4)copy two files .mdf and .ldf in App_Data folder of your site.

5)start sqlserver service.

6)attach aspnetdb database from files to sqlserver.

6)chang in machine.config file instance to false:instance=false.

7)press asp.net configuration in your project.

8)define your users and roles. 

 

make sure to create ur website project in &amp;quot;C:\Documents and Settings\username\My Documents\Visual Studio 2008&amp;quot;

 

roozbeh noroozy GIS Developer in IRAN -Tehran: roozbeh.n@live.com

 

with thanks from:

sanjitpatel :  http://forums.asp.net/p/1090491/2802641.aspx#2802641

and

thomassamson :  http://forums.asp.net/t/913172.aspx?PageIndex=2</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/2641450.aspx</link><pubDate>Wed, 24 Sep 2008 03:31:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2641450</guid><dc:creator>chetan.sarode</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2641450.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=2641450</wfw:commentRss><description>&lt;p&gt;Nice one &lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;</description></item><item><title>Re: Error Message:  The user instance login flag is not supported on this version of SQL Server. The connection will be closed</title><link>http://forums.asp.net/thread/2637444.aspx</link><pubDate>Mon, 22 Sep 2008 15:13:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2637444</guid><dc:creator>fmorris0</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2637444.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1005&amp;PostID=2637444</wfw:commentRss><description>&lt;p&gt;For SQL Server 2008 Developer Edition, I found that when I got that particular error while trying to run example code I downloaded from the ASP.Net Dynamic Data Futures project, all I had to do was find all occurrences of the following:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;DataSource=.\sqlexpress;User Instance=True;&lt;/p&gt;
&lt;p&gt;and change them to the following:&lt;/p&gt;
&lt;p&gt;DataSource=.;&amp;nbsp; &amp;lt;-- notice I simply removed User Instance =&amp;nbsp;rather than set it to False&lt;/p&gt;
&lt;p&gt;Once I did the above, everything worked fine for me.&amp;nbsp; My environment:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Windows XP Pro SP3&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;SQL Server 2008 Developer Edition with both a default instance and a second named instance called sqlexpresss&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;.Net Framework 3.5 SP1&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Visual Studio Team System&amp;nbsp;2008 Development Edition&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Hope this helps anybody dealing with sample code pulled down from the internet that don&amp;#39;t want to install SQL Server 2008 Express in addition to Sql Server 2008 Developer Edition.&lt;/p&gt;</description></item></channel></rss>