Login failed for user 'Domainname\servername$' error when hosting application in IIS RRS feed

  • Question

  • User-133573814 posted

    Hello Friends,

    I have developed a web application using dbml concepts. The application works good for code. When host the same code in IIS 6.0, i receive the error as Login failed for user 'Domainname\servername$'.

    Note: I have changed my connectionstring from

    <add name="ConnectionString" connectionString="Data Source=server78;Initial Catalog=Calnoc;Integrated Security=True" providerName="System.Data.SqlClient"/>


    <add name="ConnectionString" connectionString="Data Source=server78;Persist Security Info=True;Initial Catalog=Calnoc;uid=user123; pwd=welcome" providerName="System.Data.SqlClient"/>

    Changed the connection string in all the necessary places. But not sure why this error occured. Could any one help me on this pls.


    Venkat V

    Tuesday, June 19, 2012 6:27 AM

All replies

  • User-354744307 posted

    Either provide a login for Domainname\Server$ or use another login as the application pool identity for the application pool mapped to your web application.

    Monday, December 3, 2012 5:58 PM