Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. 'Red Cross' is displayed for non-admin user

'Red Cross' is displayed for non-admin user

Scheduled Pinned Locked Moved C#
helpsysadmindata-structuresquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sifar 0
    wrote on last edited by
    #1

    Hi All, I am re-posting this question with some more detail. In my windows application I am using 'Zedgraph' dll for displaying graph. In my code I am not using multithreading anywhere. On some of the systems (Windows XP) it shows unhandled exception 'System.InvalidOperationException' (object is currently in use elsewhere). And the instead of graph it just shows RED CROSS. At client side network, if the user is an Administrator then the application runs fine. But if the user is not an Administrator then after few seconds above error is being observed. That means non-admin user can view the graph only for few seconds during starting of the application. Any idea... I have googled about this issue but I found that it may be due to Multithreading and I am not using it anywhere. Any suggestion would be helpful...

    Regards, -SIFAR.

    H 1 Reply Last reply
    0
    • S Sifar 0

      Hi All, I am re-posting this question with some more detail. In my windows application I am using 'Zedgraph' dll for displaying graph. In my code I am not using multithreading anywhere. On some of the systems (Windows XP) it shows unhandled exception 'System.InvalidOperationException' (object is currently in use elsewhere). And the instead of graph it just shows RED CROSS. At client side network, if the user is an Administrator then the application runs fine. But if the user is not an Administrator then after few seconds above error is being observed. That means non-admin user can view the graph only for few seconds during starting of the application. Any idea... I have googled about this issue but I found that it may be due to Multithreading and I am not using it anywhere. Any suggestion would be helpful...

      Regards, -SIFAR.

      H Offline
      H Offline
      Hariharan T
      wrote on last edited by
      #2

      Check the event viewer for any permission errors as you mentioned the administrators doesnt have any issues in viewing the graph...

      Hariharan.T

      S 1 Reply Last reply
      0
      • H Hariharan T

        Check the event viewer for any permission errors as you mentioned the administrators doesnt have any issues in viewing the graph...

        Hariharan.T

        S Offline
        S Offline
        Sifar 0
        wrote on last edited by
        #3

        Thanks Hariharan, But a non-admin user can view the graph for few seconds when the application starts. After that the 'Red Cross' appears...

        Regards, -SIFAR.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups