PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Failed to complete setup of assembly (hr = 0x8007000b)
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Failed to complete setup of assembly (hr = 0x8007000b)
![]() |
Failed to complete setup of assembly (hr = 0x8007000b) |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
I have a VB.net application that works in x86 but not in x64 system. I get BadImageFormatException error when it tries to load a file/assembly. I captured the error log shown below. The strange thing is that I have another application that uses the same DLL and works fine in both systems. Appreciate any help. I've run out of ideas on how to solve this issue. Glenn --------------------------- Workload Part Error --------------------------- System.BadImageFormatException: Could not load file or assembly 'WinManagement, Version=1.0.0.16881, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. File name: 'WinManagement, Version=1.0.0.16881, Culture=neutral, PublicKeyToken=null' at Workload.WorkloadPart.Run(ArrayList dataList, Boolean silent, Boolean parts) at Workload.modDriver.Main(String[] args) === Pre-bind state information === LOG: User = ADS\palomag LOG: DisplayName = WinManagement, Version=1.0.0.16881, Culture=neutral, PublicKeyToken=null (Fully-specified) LOG: Appbase = file:///C:/Workload/ LOG: Initial PrivatePath = NULL Calling assembly : Workload, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. === LOG: This bind starts in default load context. LOG: No application configuration file found. LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Workload/WinManagement.DLL. ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated. --------------------------- OK --------------------------- |
|
|
|
#2 |
|
Guest
Posts: n/a
|
dotnet is too verbose; your IDE is expecting more verbosity
I would reccomend just adding a whole assload of more code in it and see if it works then On Feb 12, 2:27 pm, "Glenn Palomar" <glenn.palo...@autodesk.com> wrote: > Hi, > > I have a VB.net application that works in x86 but not in x64 system. I get > BadImageFormatException error when it tries to load a file/assembly. I > captured the error log shown below. > > The strange thing is that I have another application that uses the same DLL > and works fine in both systems. > > Appreciate any help. I've run out of ideas on how to solve this issue. > > Glenn > > --------------------------- > Workload Part Error > --------------------------- > System.BadImageFormatException: Could not load file or assembly > 'WinManagement, Version=1.0.0.16881, Culture=neutral, PublicKeyToken=null' > or one of its dependencies. An attempt was made to load a program with an > incorrect format. > > File name: 'WinManagement, Version=1.0.0.16881, Culture=neutral, > PublicKeyToken=null' > > at Workload.WorkloadPart.Run(ArrayList dataList, Boolean silent, Boolean > parts) > > at Workload.modDriver.Main(String[] args) > > === Pre-bind state information === > > LOG: User = ADS\palomag > > LOG: DisplayName = WinManagement, Version=1.0.0.16881, Culture=neutral, > PublicKeyToken=null > (Fully-specified) > > LOG: Appbase = file:///C:/Workload/ > > LOG: Initial PrivatePath = NULL > > Calling assembly : Workload, Version=1.0.0.0, Culture=neutral, > PublicKeyToken=null. > > === > > LOG: This bind starts in default load context. > > LOG: No application configuration file found. > > LOG: Using machine configuration file from > C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\config\machine.config. > > LOG: Policy not being applied to reference at this time (private, custom, > partial, or location-based assembly bind). > > LOG: Attempting download of new URL file:///C:/Workload/WinManagement.DLL. > > ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing > terminated. > > --------------------------- > OK > --------------------------- |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

