web site administration tool

I'm doing this...

Walkthrough: Creating a Web Site with Membership and User Login (Visual Studio)

with a sqlserver db on my server.

I create this (not mentioned)

< xml version="1.0" >

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

<connectionStrings>

<remove name="LocalSqlServer"/>

<add name="LocalSqlServer" connectionString="Data Source=MYSERVER;Integrated Security=SSPI;Initial Catalog=MyDB" providerName="System.Data.SqlClient"/>

</connectionStrings>

<system.web>

<authentication mode="Forms" />

<compilation debug="true"/>

</system.web>

</configuration>

But i can't create user or try login with user created in web site administration tool.

Error:

Impossibile eseguire l'accesso per l'utente '(null)'. Motivo: l'utente non e associato a una connessione SQL Server trusted.

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: Impossibile eseguire l'accesso per l'utente '(null)'. Motivo: l'utente non e associato a una connessione SQL Server trusted.

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): Impossibile eseguire l'accesso per l'utente '(null)'. Motivo: l'utente non e associato a una connessione SQL Server trusted.]
  System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734883
...

Thx.

PS-not say to write on ASP forum because i didn't join it.




Answer this question

web site administration tool

  • web site administration tool