hi.i can login to my site in local but in the host i cant do that.

in the page i use this connection string:

string StringConnection = "Server=mssql.mydomain.ir;Database=rezadb;User ID=datanir;Password=fer44";

and in web.config page i have:

<connectionStrings>
<add name="ApplicationServices" connectionString="data source=mssql.mydomain.ir\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\asp netdb.mdf;User Instance=true"
providerName="System.Data.SqlClient" />
<add name="rezadbConnectionString" connectionString="Server=mydomain.datanir.ir;Datab ase=rezadb;User ID=datanir;Password=fer44;"
providerName="System.Data.SqlClient" />
</connectionStrings>

i dont sure that its true or not. and error is:

Server Error in '/' Application.
Login failed. The login is from an untrusted domain and cannot be used with

Windows authentication.

Description: 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.

Exception Details: System.Data.SqlClient.SqlException: Login failed. The

login is from an untrusted domain and cannot be used with Windows

authentication.

Source Error:

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.


Stack Trace:

[SqlException (0x80131904): Login failed. The login is from an untrusted

domain and cannot be used with Windows authentication.]
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException

exception, Boolean breakConnection) +5064474
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning() +234
System.Data.SqlClient.TdsParser****n(RunBehavior runBehavior, SqlCommand

cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet

bulkCopyHandler, TdsParserStateObject stateObj) +2275
System.Data.SqlClient.SqlInternalConnectionTds.Com pleteLogin(Boolean

enlistOK) +35
System.Data.SqlClient.SqlInternalConnectionTds.Att emptOneLogin(ServerInfo

serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer

timeout, SqlConnection owningObject) +183
System.Data.SqlClient.SqlInternalConnectionTds.Log inNoFailover(ServerInfo

serverInfo, String newPassword, Boolean redirectedUserInstance,

SqlConnection owningObject, SqlConnectionString connectionOptions,

TimeoutTimer timeout) +239
System.Data.SqlClient.SqlInternalConnectionTds.Ope nLoginEnlist

(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString

connectionOptions, String newPassword, Boolean redirectedUserInstance) +195
System.Data.SqlClient.SqlInternalConnectionTds..ct or

(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions,

Object providerInfo, String newPassword, SqlConnection owningObject, Boolean

redirectedUserInstance) +232
System.Data.SqlClient.SqlConnectionFactory.CreateC onnection

(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool

pool, DbConnection owningConnection) +185
System.Data.ProviderBase.DbConnectionFactory.Creat ePooledConnection

(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions

options) +33
System.Data.ProviderBase.DbConnectionPool.CreateOb ject(DbConnection

owningObject) +524
System.Data.ProviderBase.DbConnectionPool.UserCrea teRequest(DbConnection

owningObject) +66
System.Data.ProviderBase.DbConnectionPool.GetConne ction(DbConnection

owningObject) +479
System.Data.ProviderBase.DbConnectionFactory.GetCo nnection(DbConnection

owningConnection) +108
System.Data.ProviderBase.DbConnectionClosed.OpenCo nnection(DbConnection

outerConnection, DbConnectionFactory connectionFactory) +126
System.Data.SqlClient.SqlConnection.Open() +125
WebApplication7.SiteMaster.Button3_Click(Object sender, EventArgs e) in

C:\Users\reza1\Documents\Visual Studio 2010\Projects

\WebApplication7\WebApplication7\Site.Master.cs:26
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument)

+112


System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePo

stBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler

sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean

includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


please guidance me