ASP.NET Publish Compiled code Problem RRS feed

  • Question

  •  I was developing a web application using the Framework version 2.0 and VS 2005. My Application runs just fine with the development server. Yesterday I had deployed the compiled code and I got the
    "Object reference not set to instance of an object" error in the below method


    Yes, I was using ODP helper to connect with Oracle. I had checked the ODPHelper.dll was available in the bin folder.

    I am using impersonation with the user rights of local admin in web.config file.

    When I try to deploy all the files (All the files in my solution) in the IIS and Its running fine. When I try to deploy only the aspx and DLLs inside the bin folder, it shows the above exception.

    Where am i missing something?

    Friday, December 5, 2008 7:22 AM


  • You've probably got a bug in your code, you'll need to debug it on the IIS instance that shows the problem.
    Hans Passant.
    • Marked as answer by Zhi-Xin Ye Thursday, December 11, 2008 1:10 PM
    Friday, December 5, 2008 1:59 PM