locked
Object reference not set to an instance of an object RRS feed

  • Question

  • Hi All,
        I am getting error "Object reference not set to an instance of an object" in my deployment. However the same code is working on my development server. what may be the error?
        I need solution urgently.
        Thanks in advance.
    Vipin
    - Vipin Kavishwar
    Thursday, May 14, 2009 11:27 AM

Answers

  • Hi Vipin,

    and it just seemd to be a minor errror in your code .You can double check the entity names and object names you have used
    Thanks, Aarch
    Thursday, May 14, 2009 12:28 PM
  • Hi Vipin,

    it seems you did not initialize a Property which is initialized in your other deployment.

    Could you please post your code?

    Best regards,
    Jürgen
    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified CRM Developer
    Microsoft Certified Trainer

    ComBeck IT Services & Business Solutions
    Microsoft Gold Certified Partner
    Microsoft Small Business Specialist

    Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors

    http://www.combeck.de
    Thursday, May 14, 2009 3:52 PM
    Moderator

All replies

  • Hi Vipin,

    Can you share the code also to find the solution?
    Thanks, Aarch
    Thursday, May 14, 2009 11:33 AM
  • Hi
        Is it a workflow, plugin, custom aspx page or something else?
    everything is a matter of probability...
    Thursday, May 14, 2009 11:41 AM
  • Hi Vipin,

    and it just seemd to be a minor errror in your code .You can double check the entity names and object names you have used
    Thanks, Aarch
    Thursday, May 14, 2009 12:28 PM
  • Hi Vipin,

    it seems you did not initialize a Property which is initialized in your other deployment.

    Could you please post your code?

    Best regards,
    Jürgen
    Jürgen Beck

    Dipl. Kfm./Wirtschaftsinformatik
    MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified CRM Developer
    Microsoft Certified Trainer

    ComBeck IT Services & Business Solutions
    Microsoft Gold Certified Partner
    Microsoft Small Business Specialist

    Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors

    http://www.combeck.de
    Thursday, May 14, 2009 3:52 PM
    Moderator
  • Hi,
       Thanks every one. I was missing some initilization in the code and that has been fixed. Thanks again.
    -Vipin
    - Vipin Kavishwar
    Tuesday, June 16, 2009 4:18 AM