Click here to Skip to main content
15,906,341 members
Home / Discussions / Database
   

Database

 
QuestionAccess Database Backup Pin
John Kh3-Jun-08 21:48
John Kh3-Jun-08 21:48 
AnswerRe: Access Database Backup Pin
ChandraRam4-Jun-08 1:21
ChandraRam4-Jun-08 1:21 
GeneralRe: Access Database Backup Pin
John Kh5-Jun-08 8:54
John Kh5-Jun-08 8:54 
GeneralRe: Access Database Backup Pin
ChandraRam5-Jun-08 19:02
ChandraRam5-Jun-08 19:02 
QuestionSQL Reporting Services Problem (SSRS) Pin
arnoldpinto843-Jun-08 21:48
arnoldpinto843-Jun-08 21:48 
AnswerRe: SQL Reporting Services Problem (SSRS) Pin
Mycroft Holmes4-Jun-08 18:11
professionalMycroft Holmes4-Jun-08 18:11 
GeneralRe: SQL Reporting Services Problem (SSRS) Pin
arnoldpinto844-Jun-08 20:41
arnoldpinto844-Jun-08 20:41 
QuestionError when connect to sql express database Pin
Mekong River3-Jun-08 18:58
Mekong River3-Jun-08 18:58 
Hi, I have develop database application in vb 2005 and using sql express as database back end. I have declare a connection as below
Dim cnnDICAdmin As New SqlConnection("Data Source=.\ SQLEXPRESS;Database=DICDbase;Integrated Security=True;User=Admin;Pwd=") 
but when my application but when i run amy application its display an error as below:

System.Data.SqlClient.SqlException was unhandled
  Class=11
  ErrorCode=-2146232060
  LineNumber=65536
  Message="Cannot open database "DICDbase" requested by the login. The login failed.
Login failed for user 'CAMBODIAGFATM\roathkanel'."
  Number=4060
  Procedure=""
  Server=".\ SQLEXPRESS"
  Source=".Net SqlClient Data Provider"
  State=1
  StackTrace:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at DIC_Administration.frmProvince.btnAdd_Click(Object sender, EventArgs e) in C:\Documents and Settings\roathkanel\My Documents\Database\DIC Administration\DIC Administration\Province\frmProvince.vb:line 38
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(ApplicationContext context)
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at DIC_Administration.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()


Please let me know how to solve this problem. Thank in advance.
AnswerRe: Error when connect to sql express database Pin
Ashfield3-Jun-08 21:03
Ashfield3-Jun-08 21:03 
AnswerRe: Error when connect to sql express database Pin
Rutvik Dave5-Jun-08 11:28
professionalRutvik Dave5-Jun-08 11:28 
QuestionSelect command Pin
mrkeivan3-Jun-08 8:42
mrkeivan3-Jun-08 8:42 
AnswerRe: Select command Pin
Mark J. Miller3-Jun-08 9:38
Mark J. Miller3-Jun-08 9:38 
QuestionView must begin with SELECT? Pin
boxubi3-Jun-08 4:26
boxubi3-Jun-08 4:26 
AnswerRe: View must begin with SELECT? Pin
Mark J. Miller3-Jun-08 8:11
Mark J. Miller3-Jun-08 8:11 
AnswerRe: View must begin with SELECT? Pin
SomeGuyThatIsMe3-Jun-08 8:13
SomeGuyThatIsMe3-Jun-08 8:13 
AnswerRe: View must begin with SELECT? Pin
Mycroft Holmes4-Jun-08 18:18
professionalMycroft Holmes4-Jun-08 18:18 
QuestionTable Variable result set ??? Pin
tthellebuyck3-Jun-08 3:52
tthellebuyck3-Jun-08 3:52 
AnswerRe: Table Variable result set ??? Pin
dan!sh 3-Jun-08 4:08
professional dan!sh 3-Jun-08 4:08 
AnswerRe: Table Variable result set ??? Pin
John Ad3-Jun-08 4:12
John Ad3-Jun-08 4:12 
Questioncalling procedure within trigger Pin
Mr.Kode2-Jun-08 20:44
Mr.Kode2-Jun-08 20:44 
AnswerRe: calling procedure within trigger Pin
Ashfield2-Jun-08 21:43
Ashfield2-Jun-08 21:43 
GeneralRe: calling procedure within trigger Pin
Mr.Kode2-Jun-08 22:42
Mr.Kode2-Jun-08 22:42 
GeneralRe: calling procedure within trigger Pin
Ashfield3-Jun-08 1:23
Ashfield3-Jun-08 1:23 
AnswerRe: calling procedure within trigger Pin
Member 33013254-Jun-08 10:00
Member 33013254-Jun-08 10:00 
QuestionProblem on applying MySql.Data.dll into Visual Studio 2003 for VB.NET Pin
drexler_kk2-Jun-08 16:31
drexler_kk2-Jun-08 16:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.