PDA

View Full Version : عدم دیباگ شدن برنامه



VisualStudio
جمعه 22 تیر 1386, 16:42 عصر
من زمانی که دکمه دیباگ را می زنم تا برنامه ام اجرا بشه این ارور را میده من نمی تونم برنامه را دوباره بسازم چون خیلی زیاد هست
برنامه من درست کار می کرد زمانی که یک قطعه کد به قسمت Form_Load برنامه اضافه کردم اجرا نشد اما اون کد را با یانکه پاک کردم باز هم اجرا نشد چطوری حل کنم


System.InvalidOperationException was unhandled

Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object."
Source="LIB Smart Manager"
StackTrace:
at LIB__Smart.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at LIB__Smart.My.MyProject.MyForms.get_frmLog()
at LIB__Smart.My.MyApplication.OnCreateMainForm() in G:\My Documents\Programing\BKSt! Managament\BKSt! Managament\My Project\Application.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[] commandLine)
at LIB__Smart.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.Run UsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

VisualStudio
جمعه 22 تیر 1386, 16:47 عصر
System.InvalidOperationException was unhandled

Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object."
Source="LIB Smart Manager"
StackTrace:
at LIB__Smart.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at LIB__Smart.My.MyProject.MyForms.get_frmLog()
at LIB__Smart.My.MyApplication.OnCreateMainForm() in G:\My Documents\Programing\BKSt! Managament\BKSt! Managament\My Project\Application.Designer.vb:line 35
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[] commandLine)
at LIB__Smart.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.Run UsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()