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. Web Development
  3. ASP.NET
  4. Common Application error in ASP.net

Common Application error in ASP.net

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netquestion
7 Posts 3 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
    Skanless
    wrote on last edited by
    #1

    I currently work as tech support for an online application development company and have noticed a very prominent issue with the application and was trying to find an expalantion as to the cause. Here is the issue. Users needs constantly be clearing their cache when using our application and I can not unnderstand why? Upon accessing our website the receive an errror which states "Application Error-Object reference is not set to an intance of an object.." the only way to fix this is to clear the users cache and heve them re-log back in. I would greatly appreciate it if someone could explain to me why this happens? What does clearing cache do? How can our developers make this better so the users do not need to be clearig their cache so many times during a session or everytime the want to logon.

    Greg Coding makes the world go round!!!

    G A 2 Replies Last reply
    0
    • S Skanless

      I currently work as tech support for an online application development company and have noticed a very prominent issue with the application and was trying to find an expalantion as to the cause. Here is the issue. Users needs constantly be clearing their cache when using our application and I can not unnderstand why? Upon accessing our website the receive an errror which states "Application Error-Object reference is not set to an intance of an object.." the only way to fix this is to clear the users cache and heve them re-log back in. I would greatly appreciate it if someone could explain to me why this happens? What does clearing cache do? How can our developers make this better so the users do not need to be clearig their cache so many times during a session or everytime the want to logon.

      Greg Coding makes the world go round!!!

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      There is something in the code that makes an assumption that is not true. Find out what reference it is that is null, and why it is null.

      --- b { font-weight: normal; }

      1 Reply Last reply
      0
      • S Skanless

        I currently work as tech support for an online application development company and have noticed a very prominent issue with the application and was trying to find an expalantion as to the cause. Here is the issue. Users needs constantly be clearing their cache when using our application and I can not unnderstand why? Upon accessing our website the receive an errror which states "Application Error-Object reference is not set to an intance of an object.." the only way to fix this is to clear the users cache and heve them re-log back in. I would greatly appreciate it if someone could explain to me why this happens? What does clearing cache do? How can our developers make this better so the users do not need to be clearig their cache so many times during a session or everytime the want to logon.

        Greg Coding makes the world go round!!!

        A Offline
        A Offline
        Amit Kumar G
        wrote on last edited by
        #3

        Are any activex or third party control are consumed by app. Pl reply , may be then i can help you. Amit

        S 1 Reply Last reply
        0
        • A Amit Kumar G

          Are any activex or third party control are consumed by app. Pl reply , may be then i can help you. Amit

          S Offline
          S Offline
          Skanless
          wrote on last edited by
          #4

          Yes, there are Active-X used by the system when users logging on. However, I am not sure what they are.

          Greg Coding makes the world go round!!!

          A 1 Reply Last reply
          0
          • S Skanless

            Yes, there are Active-X used by the system when users logging on. However, I am not sure what they are.

            Greg Coding makes the world go round!!!

            A Offline
            A Offline
            Amit Kumar G
            wrote on last edited by
            #5

            ya , here you go. Probelm can be 1) Activex not downloaded properly (this can be because of some common reason like IE settings, user deleted the IE temp files etc....) 2) In your code, see how activex code is being refer. Prefer approach is use classId's. But most commonly this happen because of issue one. I hope this will help you..... Regards Amit

            S 1 Reply Last reply
            0
            • A Amit Kumar G

              ya , here you go. Probelm can be 1) Activex not downloaded properly (this can be because of some common reason like IE settings, user deleted the IE temp files etc....) 2) In your code, see how activex code is being refer. Prefer approach is use classId's. But most commonly this happen because of issue one. I hope this will help you..... Regards Amit

              S Offline
              S Offline
              Skanless
              wrote on last edited by
              #6

              I can agree with you. Your explanation makes sense. But beyond your brief recommendation, how can that be fixed and how should I make a recommendation to Management so they can advise the programmer to review the way they look at it? I most agree with your first suggestion. Thanks

              Greg Coding makes the world go round!!!

              A 1 Reply Last reply
              0
              • S Skanless

                I can agree with you. Your explanation makes sense. But beyond your brief recommendation, how can that be fixed and how should I make a recommendation to Management so they can advise the programmer to review the way they look at it? I most agree with your first suggestion. Thanks

                Greg Coding makes the world go round!!!

                A Offline
                A Offline
                Amit Kumar G
                wrote on last edited by
                #7

                When the application is run first time on the user machine, which is on a remote location, the application asks to download the activeX controls. This will initiate the process of installing the cab file related to a particular control to the user machine. All the information related to the control is downloaded in the form of cab file, which is used later to access the control. The OBJECT tag in HTML file identifies the ActiveX control. If the control has been stored in a .cab file, OBJECT must include a CODEBASE attribute that specifies the URL for this .cab file. The following sample HTML file demonstrates how the OBJECT and CODEBASE attribute are used. Example: Microsoft Internet Explorer 4.0 or later versions handle the OBJECT and the CODEBASE attribute in the following manner for accessing controls stored in cabinet files. • Parses the OBJECT and searches for the CODEBASE attribute. • Locates the .cab file identified by the CODEBASE attribute. • Expands the files found in the .cab file. • Copies the expanded files to the user's computer (the default directory is \windows\occache). • Registers the objects and/or files that require registration. • Calls the Component Object Model (COM) CoCreateInstance function to create an instance of the specified object. For eample Following is a Textbox Object created using the tags in the XYZ application. The Classid, which is the universal id, which specifies the physical location of the library, is used to refer the date Object in to the ASP pages. This date TextBox object is having a standard input format and all the attributes are set using the tag. Example ....... But please note, here the story does not end. Because in your case, we need to find out which Activex control is creating problem. But definitely above things can be good start point for you. Amit

                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