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. c# project issue on 64-bit vista system

c# project issue on 64-bit vista system

Scheduled Pinned Locked Moved C#
helpcsharpannouncement
11 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.
  • A Aisha sharma

    hello everyone i need a suggestion, actually my C# project developed on vista 32-bit i3 system generate error on vista 64-bit AMD processor system. error is .........

    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: myapp.exe
    Problem Signature 02: 3.0.1.5
    Problem Signature 03: 4e33b2b6
    Problem Signature 04: mscorlib
    Problem Signature 05: 2.0.0.0
    Problem Signature 06: 47577b16
    Problem Signature 07: f8f
    Problem Signature 08: 80
    Problem Signature 09: System.IO.FileNotFoundException
    OS Version: 6.0.6001.2.1.0.256.6
    Locale ID: 1033

    this one is error and as i searched about it i found one of dll may be not found related with excel file creation module. but i added microsoft excel 12.0 object library and my project run on win7 64-bit amd processor system. so give me any suggestion if u know about this error thank u in advance

    D Offline
    D Offline
    Dave Kreskowiak
    wrote on last edited by
    #2

    We have no idea what you're app does, what is uses, other than Office, or what file it's looking for. Most of the error details you posted are utterly useless. The only useful bit what the FileNotFound exception. Does the machine have the appropriate version of Office installed?? If not, you need to install it. The office Interop library is not enough. If your code is using OleDb to read the data in an Excel file, you'll have to specify that. The connection string you used would also need to be shown.

    A guide to posting questions on CodeProject[^]
    Dave Kreskowiak

    A 1 Reply Last reply
    0
    • D Dave Kreskowiak

      We have no idea what you're app does, what is uses, other than Office, or what file it's looking for. Most of the error details you posted are utterly useless. The only useful bit what the FileNotFound exception. Does the machine have the appropriate version of Office installed?? If not, you need to install it. The office Interop library is not enough. If your code is using OleDb to read the data in an Excel file, you'll have to specify that. The connection string you used would also need to be shown.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      A Offline
      A Offline
      Aisha sharma
      wrote on last edited by
      #3

      thank u so much for ur reply :) after ur reply i tried to run my project without using excel module and related dll and still i got this error........ mainly i used dll - imapi2.interop - Interop.IWshRuntimeLibrary : to create shortcut file - Interop.shell32 - Interop.WbemScripting that's all........... now i m more confused. project executed on win7 with 64 bit AMD Processor but failed on Vista with 64bit AMD processor... :(

      D 1 Reply Last reply
      0
      • A Aisha sharma

        thank u so much for ur reply :) after ur reply i tried to run my project without using excel module and related dll and still i got this error........ mainly i used dll - imapi2.interop - Interop.IWshRuntimeLibrary : to create shortcut file - Interop.shell32 - Interop.WbemScripting that's all........... now i m more confused. project executed on win7 with 64 bit AMD Processor but failed on Vista with 64bit AMD processor... :(

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #4

        It fails probably because of IMAPI2. Create a Setup project in your solution so you can install your application on another machine and have the stuff that's missing installed. Not every machine has all of this stuff available to your app, so you have to make sure you bring it with you.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        A 1 Reply Last reply
        0
        • D Dave Kreskowiak

          It fails probably because of IMAPI2. Create a Setup project in your solution so you can install your application on another machine and have the stuff that's missing installed. Not every machine has all of this stuff available to your app, so you have to make sure you bring it with you.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          A Offline
          A Offline
          Aisha sharma
          wrote on last edited by
          #5

          after ur suggestion i tried myproject without using imapi2 dll but still i got this error. ok i don't know exactly but may be there is compatibility issue with vista AMD 64 bit processor........... my app is developed on vista 32 bit intel processor.......... thank u .......... -- Modified Monday, August 1, 2011 8:41 AM

          D 1 Reply Last reply
          0
          • A Aisha sharma

            after ur suggestion i tried myproject without using imapi2 dll but still i got this error. ok i don't know exactly but may be there is compatibility issue with vista AMD 64 bit processor........... my app is developed on vista 32 bit intel processor.......... thank u .......... -- Modified Monday, August 1, 2011 8:41 AM

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #6

            Aisha sharma wrote:

            may be there is compatibility issue
            with vista AMD 64 bit processor...........

            There's no such thing. This is not a compatibility issue. This is happening because you didn't ship all the required libraries your app needs with your app. Just shipping the Interop files is not enough. You have to install the .DLL's those Interop files call with your app in case they are missing on the target machine. I already told you what to do.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            A 2 Replies Last reply
            0
            • D Dave Kreskowiak

              Aisha sharma wrote:

              may be there is compatibility issue
              with vista AMD 64 bit processor...........

              There's no such thing. This is not a compatibility issue. This is happening because you didn't ship all the required libraries your app needs with your app. Just shipping the Interop files is not enough. You have to install the .DLL's those Interop files call with your app in case they are missing on the target machine. I already told you what to do.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak

              A Offline
              A Offline
              Aisha sharma
              wrote on last edited by
              #7

              i m trying to find problem. now i m confirm about this. thank u so much for ur suggestions :)

              1 Reply Last reply
              0
              • D Dave Kreskowiak

                Aisha sharma wrote:

                may be there is compatibility issue
                with vista AMD 64 bit processor...........

                There's no such thing. This is not a compatibility issue. This is happening because you didn't ship all the required libraries your app needs with your app. Just shipping the Interop files is not enough. You have to install the .DLL's those Interop files call with your app in case they are missing on the target machine. I already told you what to do.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak

                A Offline
                A Offline
                Aisha sharma
                wrote on last edited by
                #8

                after some testing conclusion is : project not run on vista with amd processor exception occured on form's InitializeComponent() method. and run on vista with intel processor.... after installig visual studio it work fine on vista with amd processor. if u require any other info then let me know....... thank u

                D 1 Reply Last reply
                0
                • A Aisha sharma

                  after some testing conclusion is : project not run on vista with amd processor exception occured on form's InitializeComponent() method. and run on vista with intel processor.... after installig visual studio it work fine on vista with amd processor. if u require any other info then let me know....... thank u

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #9

                  Again, and for the last time, it has NOTHING to do with the processor. Since you installed Visual Studio on the bad machine, you installed a bunch of components on that machine as well. Obviously, your application reuiqres one of those components that you did not install on the target machine. You cannot just copy your bin folder to the target machine and expect it to work. It will for simpler apps, but yours is requiring a components that has to be installed and you are not shipping with your .EXE. How do I know this? Because the error popped up in your InitializeComponent call. You're more than likely using a control that doesn't exist on the target Vista machine.

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak

                  A 1 Reply Last reply
                  0
                  • D Dave Kreskowiak

                    Again, and for the last time, it has NOTHING to do with the processor. Since you installed Visual Studio on the bad machine, you installed a bunch of components on that machine as well. Obviously, your application reuiqres one of those components that you did not install on the target machine. You cannot just copy your bin folder to the target machine and expect it to work. It will for simpler apps, but yours is requiring a components that has to be installed and you are not shipping with your .EXE. How do I know this? Because the error popped up in your InitializeComponent call. You're more than likely using a control that doesn't exist on the target Vista machine.

                    A guide to posting questions on CodeProject[^]
                    Dave Kreskowiak

                    A Offline
                    A Offline
                    Aisha sharma
                    wrote on last edited by
                    #10

                    my problem is solved. i always checked my project using proper setup. problem occured due to System.Core.dll not found on system.........

                    D 1 Reply Last reply
                    0
                    • A Aisha sharma

                      my problem is solved. i always checked my project using proper setup. problem occured due to System.Core.dll not found on system.........

                      D Offline
                      D Offline
                      Dave Kreskowiak
                      wrote on last edited by
                      #11

                      That would mean that either the correct .NET Framework wasn't installed or the installation was screwed up, which is a very rare occurrence.

                      A guide to posting questions on CodeProject[^]
                      Dave Kreskowiak

                      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