Announcement

Collapse
No announcement yet.

Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt

    Hallo zusammen,

    ich versuche heraus zu finden welche Objektinstanz gemeint ist. Aber ich komme nicht weiter. Viellicht kann man mir hier im Forum helfen. Bei der Fehlermeldung steht unter anderem in den Details:
    {System.Collections.ListDictionaryInternal}
    "Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt."
    "System.Windows.Forms"
    " bei System.Windows.Forms.ToolStripControlHost.get_Text ()\r\n bei Microsoft.Reporting.WinForms.ReportViewer.UpdateUI State(UIState newState)\r\n bei Microsoft.Reporting.WinForms.ReportViewer.UpdateUI State(Exception e)\r\n bei Microsoft.Reporting.WinForms.ReportViewer.OnRefres h(Object sender, EventArgs e)\r\n bei System.Windows.Forms.Timer.OnTick(EventArgs e)\r\n bei System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)\r\n bei System.Windows.Forms.NativeWindow.DebuggableCallba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n bei System.Windows.Forms.UnsafeNativeMethods.DispatchM essageW(MSG& msg)\r\n bei System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n bei System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)\r\n bei System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)\r\n bei System.Windows.Forms.Application.Run(ApplicationCo ntext context)\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.OnRun()\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.DoApplicationModel()\r\n bei Microsoft.VisualBasic.ApplicationServices.WindowsF ormsApplicationBase.Run(String[] commandLine)\r\n bei WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.\r\n bei System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)\r\n bei System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)\r\n bei System.Runtime.Hosting.ManifestRunner.ExecuteAsAss embly()\r\n bei System.Runtime.Hosting.ApplicationActivator.Create Instance(ActivationContext activationContext, String[] activationCustomData)\r\n bei System.Runtime.Hosting.ApplicationActivator.Create Instance(ActivationContext activationContext)\r\n bei Microsoft.VisualStudio.HostingProcess.HostProc.Run UsersAssemblyDebugInZone()\r\n bei System.Threading.ThreadHelper.ThreadStart_Context( Object state)\r\n bei System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)\r\n bei System.Threading.ThreadHelper.ThreadStart()"

    {System.String get_Text()}
    {Name = "ToolStripControlHost" FullName = "System.Windows.Forms.ToolStripControlHost"}

  • #2
    Hallo,

    ich denke mit Deiner Fehlermeldung kommt keiner weiter . Zeig uns doch mal den Codeabschnitt wo der Fehler ausgelöst wurde.

    Gruß
    Oliver

    Comment


    • #3
      Originally posted by Oliver Michalski View Post
      Hallo,

      ich denke mit Deiner Fehlermeldung kommt keiner weiter . Zeig uns doch mal den Codeabschnitt wo der Fehler ausgelöst wurde.

      Gruß
      Oliver
      Hallo Oliver,

      wenn ich die Anwendung debugge, das heist ich rufe die Druckvorschau mit dem ReportViewer auf, dann flimmert er. Schließe ich den ReportViewer, ist im Visual-Studio nur dieses Fenster (siehe Anlage) vorhanden. Im Code selber wird nichts markiert.
      Gruß
      Schluppe
      Attached Files

      Comment


      • #4
        Hallo Schluppe,

        dann zeig mal den Codeabschnitt wo Deine Druckvorschau aufgerufen wird. Die Fehlermeldung ist zu allgemein, um daraus Rückschlüsse zu ziehen.

        Gruß
        Oliver

        Comment


        • #5
          Danke für deine Bemühungen, aber ich habe den Report neu erstellt, und bisher funktioniert er.

          MfG
          Schluppe

          Comment

          Working...
          X