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$
hola:

Windows 2003 server
IIS 6.0
ASP.Net webmatrix
SQL 2000 SERVER


>Que windows tienes?
>
>
>FF
>www.francofigun.com.ar
>www.microsofties.com.ar
>MSN:
>UIN: 314408886
>Yahoo MSN:
>"JCMH" wrote in
message
>news:21bd901c45ad3$f7cc7ef0$
>> Hola Franco:
>>
>> De ante mano muchas gracias.
>>
>> Pero no encuentro el boton create que dices en el punto
2.
>> Y tampoco lo del punto 3.
>>
>> Muchas Gracias
>> >Te envio un link de referencia:
>> >http://dev.mysql.com/tech-resources...es/dotnet/
>> >
>> >FF
>> >www.francofigun.com.ar
>> >www.microsofties.com.ar
>> >MSN:
>> >UIN: 314408886
>> >Yahoo MSN:
>> >"JCMH" wrote in
>> message
>> >news:21b5501c45aca$8752f130$
>> >> 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
>> >
>> >
>> >.
>> >
>
>
>.
>
Respuesta Responder a este mensaje
#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


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$
hola:

Windows 2003 server
IIS 6.0
ASP.Net webmatrix
SQL 2000 SERVER


>Que windows tienes?
>
>
>FF
>www.francofigun.com.ar
>www.microsofties.com.ar
>MSN:
>UIN: 314408886
>Yahoo MSN:
>"JCMH" wrote in
message
>news:21bd901c45ad3$f7cc7ef0$
>> Hola Franco:
>>
>> De ante mano muchas gracias.
>>
>> Pero no encuentro el boton create que dices en el




punto
2.
>> Y tampoco lo del punto 3.
>>
>> Muchas Gracias
>> >Te envio un link de referencia:
>> >http://dev.mysql.com/tech-resources...es/dotnet/
>> >
>> >FF
>> >www.francofigun.com.ar
>> >www.microsofties.com.ar
>> >MSN:
>> >UIN: 314408886
>> >Yahoo MSN:
>> >"JCMH" wrote




in
>> message
>> >news:21b5501c45aca$8752f130$
>> >> 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
>> >
>> >
>> >.
>> >
>
>
>.
>




.

email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una pregunta AnteriorRespuesta Tengo una respuesta
Search Busqueda sugerida