Saludos espero alguien me ayude xq estoy deseperado, yo tengo mi proyecto con visual basic y cree mi base desde visual pero si tengo instalado sql server 2005 en mi maquina y el express tambien obviament., el problema esta que al correr el proyecto me sale este error:
Server Error in '/proyecto' Application.
--------------------------------------------------------------------------------
Cannot open user default database. Login failed.
Login failed for user 'SERVERNAME\ASPNET'.
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: Cannot open user default database. Login failed.
Login failed for user 'SERVERNAME\ASPNET'.
Source Error:
Line 67: nube.Text = String.Empty
Line 68: Dim Datos As DataView = CType(SqlDataSource1.Select(DataSourceSelectArgume nts.Empty), DataView)
Source File: c:\inetpub\wwwroot\proyecto\default.aspx.vb Line: 68
Bueno ese es el error que me esta matando lentamente a veces se arregla y me deja trabajar de maravilla pero a veces por nada del mundo puedo correr el proyecto les dejo mi cadena de conexion en el web.config para ver si alguien tiene alguna idea de algo que estoy definiendo mal:
<connectionStrings>
<add name="conectionstring" connectionString="Data Source=.\SQLExpress;AttachDbFilename=|DataDirector y|\mybase.mdf;Integrated Security=True;User Instance=True;" providerName="System.Data.SqlClient" />
</connectionStrings>
bueno espero alguien me pueda ayudar con esto porque ya he intentado todo,
Voy a seguir intentando solucionar el problema si lo logro definitivamente lo poesteo por si acaso alguien tiene un error similar. gracias!