<?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>Community Starter Kit</title><link>http://forums.asp.net/88.aspx</link><description>Discuss the Community Starter Kit for ASP.NET 1.x.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/3492678.aspx</link><pubDate>Wed, 04 Nov 2009 00:37:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3492678</guid><dc:creator>dotnetruler</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3492678.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=3492678</wfw:commentRss><description>&lt;p&gt;Check here&lt;/p&gt;&lt;p&gt;&lt;a href="http://devilswork.wordpress.com/2009/01/28/login-failed-for-user-networkservice/"&gt;http://devilswork.wordpress.com/2009/01/28/login-failed-for-user-networkservice/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/3446115.aspx</link><pubDate>Wed, 07 Oct 2009 18:20:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3446115</guid><dc:creator>MasterV23</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3446115.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=3446115</wfw:commentRss><description>&lt;p&gt;Check your SQL DB and make sure under your DB instance &amp;gt; Security &amp;gt; Logins &amp;gt; Right Click&amp;nbsp;&amp;gt; Properties of that USER.&amp;nbsp; Then under server roles, make sure that &amp;quot;sysadmin&amp;quot; is check.&lt;/p&gt;
&lt;p&gt;Next try your website again and see if it fixes the problem.&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/3444913.aspx</link><pubDate>Wed, 07 Oct 2009 07:57:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3444913</guid><dc:creator>vkkreddy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3444913.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=3444913</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, I&amp;nbsp;have the same Problem. I had a Web Application. It was developed in ASP.NET , C# , VS 2008 and SQL Server 2008. I am using connection string as &lt;/p&gt;
&lt;p&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;
&lt;p&gt;&amp;quot;Data Source=xxxx;Initial Catalog=xxx;Integrated Security=True&amp;quot;.&lt;/p&gt;
&lt;p&gt;It is working fine, when I run it from the Visual Studio. When I run it from the Internet Exlporer(After Creating Virtual Directory), I am able to access the Home Page. When I provide the User name and Password in that page and click on Login Button, i.e., at the time when it is hiting the Data Base, I am getting the Same Error. The Error is as Follows&lt;/p&gt;
&lt;p&gt;&lt;span&gt; &lt;/p&gt;
&lt;h1&gt;Server Error in &amp;#39;/SriVariVevaCell&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;Login failed for user &amp;#39;NT AUTHORITY\IUSR&amp;#39;.&lt;/i&gt; &lt;/h2&gt;
&lt;p&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;&lt;font face="Verdana"&gt;Description: &lt;/font&gt;&lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;font face="Verdana"&gt;Exception Details: &lt;/font&gt;&lt;/b&gt;System.Data.SqlClient.SqlException: Login failed for user &amp;#39;NT AUTHORITY\IUSR&amp;#39;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;font face="Verdana"&gt;Source Error:&lt;/font&gt;&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/code&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&lt;font face="Verdana"&gt;Stack Trace:&lt;/font&gt;&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;pre&gt;[SqlException (0x80131904): Login failed for user &amp;#39;NT AUTHORITY\IUSR&amp;#39;.]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4844759
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
   System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +144
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState&amp;amp; originalState) +31
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1297
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   System.Web.UI.WebControls.GridView.DataBind() +4
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +44
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
&lt;/pre&gt;&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;/p&gt;
&lt;hr /&gt;

&lt;p&gt;&lt;b&gt;&lt;font face="Verdana"&gt;Version Information:&lt;/font&gt;&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053&amp;nbsp;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;I think the Problem was in Connection String. I using the SQL Server Windows Authentication. Please Help me ASAP.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;kiran&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/3237649.aspx</link><pubDate>Tue, 16 Jun 2009 17:22:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3237649</guid><dc:creator>madanmohan2k6</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3237649.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=3237649</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi &lt;/p&gt;&lt;p&gt;&amp;nbsp; for the error &amp;quot;Login failed for user &amp;#39;SERVERNAME\IUSR_WEB-SERVER&amp;#39;&amp;quot; do following settings to work fine&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Start--&amp;gt;Run--&amp;gt;inetmgr--&amp;gt;right click on your application and select Properties--&amp;gt;&amp;nbsp; Directory Security --&amp;gt;click edit for &amp;quot;Authentication and access control&amp;quot; ---&amp;gt; uncheck the check at &amp;quot;Enable the anonymus access&amp;quot;--&amp;gt; click ok and apply that&amp;#39;s it.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/3237628.aspx</link><pubDate>Tue, 16 Jun 2009 17:12:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3237628</guid><dc:creator>madanmohan2k6</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3237628.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=3237628</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;It helped me a lot&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/3237575.aspx</link><pubDate>Tue, 16 Jun 2009 16:41:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3237575</guid><dc:creator>madanmohan2k6</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3237575.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=3237575</wfw:commentRss><description>it worked for me Thanks a lot..&lt;br /&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/2784246.aspx</link><pubDate>Thu, 04 Dec 2008 06:23:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2784246</guid><dc:creator>rmsohaila</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2784246.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=2784246</wfw:commentRss><description>&lt;p&gt;Thanks a lot it works.&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/2203642.aspx</link><pubDate>Fri, 29 Feb 2008 09:44:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2203642</guid><dc:creator>poddar_himanshu@yahoo.co.in</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2203642.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=2203642</wfw:commentRss><description>&lt;p&gt;Hi Shaukat,&lt;/p&gt;
&lt;p&gt;Hope u hv checked ur IIS setting and is fine.&lt;/p&gt;
&lt;p&gt;Next see the database u r using has &amp;#39;sa&amp;#39; dbo&amp;nbsp;Login Name which is created at the time of database creation.&lt;/p&gt;
&lt;p&gt;This will be under databasename&amp;gt;users.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards.&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/2201942.aspx</link><pubDate>Thu, 28 Feb 2008 16:58:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2201942</guid><dc:creator>shwaqar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2201942.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=2201942</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have the same issue. I tried using the above code in web.config. Nothing happens. Any help please......?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Shaukat&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/2048170.aspx</link><pubDate>Sat, 08 Dec 2007 07:46:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2048170</guid><dc:creator>poddar_himanshu@yahoo.co.in</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2048170.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=2048170</wfw:commentRss><description>&lt;p&gt;hi all,&lt;/p&gt;
&lt;p&gt;when i run my application on local pc or local host it runs fine but when i put it on server and try running from IP of server &amp;quot;Login failed for user &amp;#39;NT AUTHORITY\NETWORK SERVICE&amp;#39;&amp;quot; error come,&lt;/p&gt;
&lt;p&gt;i made changes as suggested above in &amp;lt;System.web&amp;gt; now the error changes to &amp;quot;Login failed for user &amp;#39;SERVERNAME\IUSR_WEB-SERVER&amp;#39;&amp;quot;.&lt;/p&gt;
&lt;p&gt;can any one help....i have been using same web.config with same code in other project too...but without error.&lt;/p&gt;
&lt;p&gt;please tell me the possible source of error.&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/1901664.aspx</link><pubDate>Mon, 10 Sep 2007 20:56:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1901664</guid><dc:creator>user2008</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1901664.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=1901664</wfw:commentRss><description>&lt;p&gt;Hi,&amp;nbsp; One doubt with this!&amp;nbsp; If&amp;nbsp;the configuration is hardcoded with&amp;nbsp;username and password of one user, how will other users be able to authenticate through those credentials??&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/1862480.aspx</link><pubDate>Fri, 17 Aug 2007 01:38:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1862480</guid><dc:creator>geoDenver</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1862480.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=1862480</wfw:commentRss><description>&lt;p&gt;Just an addendum. If you exclude the usernName=&amp;quot;&amp;quot; and password=&amp;quot;&amp;quot;, it uses the authenticated user&amp;#39;s permissions. That way you can customize permissions based on the Windows users or groups and you&amp;#39;re not stuck with only one account.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks so much for your post, it helped solve a very nagging problem.&lt;/p&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/393323.aspx</link><pubDate>Thu, 13 Nov 2003 19:44:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:393323</guid><dc:creator>saxroots</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/393323.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=393323</wfw:commentRss><description>Thank you so much - I had the same problem and your solution worked perfectly - thanks!
&lt;br /&gt;</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/258541.aspx</link><pubDate>Wed, 25 Jun 2003 13:36:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:258541</guid><dc:creator>foo73</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/258541.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=258541</wfw:commentRss><description>I added this using a local account and it worked beautifully.  Thanks for your help.</description></item><item><title>Re: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.</title><link>http://forums.asp.net/thread/258508.aspx</link><pubDate>Wed, 25 Jun 2003 13:07:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:258508</guid><dc:creator>bentomkins</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/258508.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=88&amp;PostID=258508</wfw:commentRss><description>try putting this inside your web.config file inside the &amp;lt;system.web&amp;gt; tag...
&lt;br /&gt;

&lt;br /&gt;
     &amp;lt;system.web&amp;gt;   
&lt;br /&gt;

&lt;br /&gt;
	&amp;lt;identity impersonate=&amp;quot;true&amp;quot; userName=&amp;quot;xxxxx&amp;quot; password=&amp;quot;xxxxx&amp;quot; /&amp;gt;
&lt;br /&gt;
 
&lt;br /&gt;
    &amp;lt;.system.web&amp;gt;</description></item></channel></rss>