SQL y ASP

25/06/2004 - 17:38 por JCMH | Informe spam
Hola Todos:

Tengo una pagina .aspx con conexion a una base de datos de
la siguiente forma:


<wmx:SqlDataSourceControl id="SqlDataSourceControl1"
runat="server" UpdateCommand="" SelectCommand="SELECT
Tagname,value,DateTime FROM INSQL.Runtime.dbo.History
WHERE TagName = 'T102_TT0T1'"
ConnectionString="server='(local)';trusted_connection=true;
database='Runtime'"
DeleteCommand=""></wmx:SqlDataSourceControl>



Pero al ejecutarla me sale el siguiente error:

Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
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 for user 'NT AUTHORITY\NETWORK SERVICE'.


Muchas Gracias

Preguntas similare

Leer las respuestas

#6 Franco Figún
25/06/2004 - 22:27 | Informe spam
Te envié un mail a tu correo, con las imagenes copiadas de mi server, que
tiene el mismo software que el tuyo, para que veas como hacerlo.
Si no te llegó, avisame, lo envio de vuelta.

FF
www.francofigun.com.ar
www.microsofties.com.ar
MSN:
UIN: 314408886
Yahoo MSN:
"JCMH" wrote in message
news:218d801c45aea$de34b5e0$
Mostrar la cita
#7 JCMH
01/07/2004 - 00:03 | Informe spam
Muchas Gracias Franco:

La solucion a mi problema esta en:

http://www.cgnit.com/resources/ntau...kservice_e
rror.html

De nuevo Gracias


Mostrar la cita
de mi server, que
Mostrar la cita
hacerlo.
Mostrar la cita
punto
Mostrar la cita
in
Mostrar la cita
id="SqlDataSourceControl1"
Mostrar la cita
SelectCommand="SELECT
Mostrar la cita
INSQL.Runtime.dbo.History
Mostrar la cita
ConnectionString="server='(local)';trusted_connection=true;
Mostrar la cita
SERVICE'.
Mostrar la cita
during
Mostrar la cita
review
Mostrar la cita
and
Mostrar la cita
SERVICE'.
Mostrar la cita
Ads by Google
Search Busqueda sugerida