c# project issue on 64-bit vista system
-
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: 1033this 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
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 -
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 Kreskowiakthank 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... :(
-
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... :(
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 -
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 Kreskowiakafter 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
-
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
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 -
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 Kreskowiaki m trying to find problem. now i m confirm about this. thank u so much for ur suggestions :)
-
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 Kreskowiakafter 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
-
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
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 -
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 Kreskowiakmy problem is solved. i always checked my project using proper setup. problem occured due to System.Core.dll not found on system.........
-
my problem is solved. i always checked my project using proper setup. problem occured due to System.Core.dll not found on system.........
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