Visual C# Developer Center > Visual C# Forums > Visual C# Language > BadImageFormate Exception when i am using installutil.exe to install windows service...
Ask a questionAsk a question
 

General DiscussionBadImageFormate Exception when i am using installutil.exe to install windows service...

  • Wednesday, October 28, 2009 10:07 AMSharad Kumar Sharma Bangalore Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    BadImageFormate Exception when i am using installutil.exe to install windows service...

    even in my system .net framwork 2.0 intalled and installutil is also pointing to .net framwork 2.0
    hw to do this...
    Sharad Sharma Pursuit Technologies Bangalore

All Replies

  • Friday, October 30, 2009 4:10 PMDavid M MortonMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    BadImageFormatException typically means you're trying to access, via reflection, some assembly that isn't implemented in .NET.  Can you give more details as to what you're trying to do?  Perhaps you could also provide us with a stack trace.
    Coding Light - Illuminated Ideas and Algorithms in Software
    Coding Light WikiLinkedInForumsBrowser
  • Wednesday, November 04, 2009 1:43 AMHarry ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by opening the Options list at the top of the post  window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.