הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Question
Thursday, July 1, 2010 7:26 PM
I have a VB.Net Visual Basic 2005 Desk Top application that’s distributed to about 1500 companies. One company is having problems running the application. Here are the symptoms:
System.IO.FileNotFoundException: Could not load file or assembly 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
File name: 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
at System.Signature._GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle)
at System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandle fieldHandle, RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
at System.Signature..ctor(RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
at System.Reflection.RuntimeMethodInfo.get_Signature()
at System.Reflection.RuntimeMethodInfo.GetParametersNoCopy()
at System.Reflection.RuntimePropertyInfo.GetIndexParameters()
at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetProperties(Type type)
at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetProperties()
at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
at System.ComponentModel.TypeDescriptor.GetProperties(Type componentType, Attribute[] attributes)
at System.Windows.Forms.ListBindingHelper.GetListItemPropertiesByEnumerable(IEnumerable enumerable)
at System.Windows.Forms.ListBindingHelper.GetListItemProperties(Object list)
at System.Windows.Forms.BindingSource.SetList(IList list, Boolean metaDataChanged, Boolean applySortAndFilter)
at System.Windows.Forms.BindingSource.ResetList()
at System.Windows.Forms.BindingSource.EnsureInnerList()
Here are the user’s desktop specs:
Computer Manufacturer = Dell Inc.
Computer Model = Latitude E6500
OS Name = Microsoft Windows XP
Professional|C:\WINDOWS|\Device\Harddisk0\Partition2
OS Version = 5.1.2600
System Type = X86-based PC
Total RAM = 3.45297241210938 GB
Microsoft.NET Framework 2.0 is installed.
MS XP Professional, Version 2002, Service Pack 3
The application was built on a desk top:
OS Name = Microsoft Windows XP
Professional|C:\WINDOWS|\Device\Harddisk0\Partition2
OS Version = 5.1.2600
System Type = X86-based PC
Total RAM = 3.9 GB
Microsoft.NET Framework 3.0 installed
I’ve personally run it on another machine with Microsoft.NET Framework 2.0. It’s published using ClickOnce.
Currently, I’ve removed late binding and implicit conversions and thought of using an Installation project instead of ClickOnce. But before I keep going back the user over and over again I’d like to have a better idea what the cause and solution are. I’ve searched the internet and a few forums but unlike in the past, this one’s come up empty. I’ve seen similar but not the same msgs like referencing Office 2003 PIA's.
I’ve been working on this for a few days and don’t what else to do so any help is greatly appreciated.
Thanks
All replies (2)
Monday, July 5, 2010 4:10 AM ✅Answered
Hi dennismichaelb,
Thank you for your post!
Based on your error message, I found some errors as blow:
1, System.IO.FileNotFoundException: Could not load file or assembly 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
File name: 'office, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c'
Here are ours options:
1, whether add some reference into your list of reference or not, like offices’ reference (including Excel etc.).
2, whether exists file paths or not.
3, whether have the privilege to access the files or not.
If you have any doubts and concerns, please feel free to let me know. We are going to continue to follow-up.
Best Regards
Axel Gong
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Monday, July 5, 2010 11:49 AM
Hi Dennismichaelb,
I am moving this thread from Base ".Net Framework Setup" forum to the "Visual Basic General" forum, since the issue is related to VB.NET project. There are more experts in the "Visual Basic General" forum.
Thanks!
Best regards,
Yichun Chen 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.