Hola, tengo mi proyecto en asp y sql, una de las paginas cuando presiono un boton, me salta el error que dejo aqui. Pense que era de la cadena de conexión, pero la borre entera y sigue saliendo, alguna idea amigos?
Aprovecho para preguntar, si creo una bd en sql desde el panel de control, en que ruta me la guarda?
salu2
El error:
Server Error in '/' Application
Keyword not supported : 'userid'.
Description: HTTP 500. Error processing request.
Stack Trace:
System.ArgumentException: Keyword not supported : 'userid'.
at System.Data.SqlClient.SqlConnection.SetProperties (System.String name, System.String value) [0x00000] in <filename unknown>:0
at System.Data.SqlClient.SqlConnection.SetConnectionString (System.String connectionString) [0x00000] in <filename unknown>:0
at System.Data.SqlClient.SqlConnection.set_ConnectionString (System.String value) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:set_ConnectionString (string)
at System.Data.SqlClient.SqlConnection..ctor (System.String connectionString) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:.ctor (string)
at WebApplication1.acceso.pas (System.String n, System.String p) [0x00000] in <filename unknown>:0
at WebApplication1.acceso.Button2_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000] in <filename unknown>:0
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000] in <filename unknown>:0
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] in <filename unknown>:0
at System.Web.UI.Page.RaisePostBackEvents () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
Aprovecho para preguntar, si creo una bd en sql desde el panel de control, en que ruta me la guarda?
salu2
El error:
Server Error in '/' Application
Keyword not supported : 'userid'.
Description: HTTP 500. Error processing request.
Stack Trace:
System.ArgumentException: Keyword not supported : 'userid'.
at System.Data.SqlClient.SqlConnection.SetProperties (System.String name, System.String value) [0x00000] in <filename unknown>:0
at System.Data.SqlClient.SqlConnection.SetConnectionString (System.String connectionString) [0x00000] in <filename unknown>:0
at System.Data.SqlClient.SqlConnection.set_ConnectionString (System.String value) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:set_ConnectionString (string)
at System.Data.SqlClient.SqlConnection..ctor (System.String connectionString) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlConnection:.ctor (string)
at WebApplication1.acceso.pas (System.String n, System.String p) [0x00000] in <filename unknown>:0
at WebApplication1.acceso.Button2_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Web.UI.WebControls.Button.RaisePostBackEvent (System.String eventArgument) [0x00000] in <filename unknown>:0
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000] in <filename unknown>:0
at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000] in <filename unknown>:0
at System.Web.UI.Page.RaisePostBackEvents () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.ProcessRaiseEvents () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0