Error when trying to run demo code.

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Error when trying to run demo code.

Postby Mr_Data_Guy » Tue Apr 10, 2012 4:09 am

I am having issue trying to run the Demo code from the Professional Version of VPE via VB.Net 2008

Here is the error information that is given, any suggestions on what I need to do to get the demo to work?

System.InvalidOperationException was unhandled
Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'IDEALSoftware.VpeProfessional, Version=6.1.0.0, Culture=neutral, PublicKeyToken=cd7e57f4b5d80cd1' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Source="Professional"
StackTrace:
at Professional.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190 at Professional.My.MyProject.MyForms.get_Form1() at Professional.Form1.Main() in C:\Program Files (x86)\VPE_P32.610\VB NET\Professional\Form1.vb:line 6 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.BadImageFormatException
FileName="IDEALSoftware.VpeProfessional, Version=6.1.0.0, Culture=neutral, PublicKeyToken=cd7e57f4b5d80cd1"
FusionLog="=== Pre-bind state information === LOG: User = Notebook-i7\Anthony LOG: DisplayName = IDEALSoftware.VpeProfessional, Version=6.1.0.0, Culture=neutral, PublicKeyToken=cd7e57f4b5d80cd1 (Fully-specified) LOG: Appbase = file:///C:/Program Files (x86)/VPE_P32.610/VB NET/Professional/bin/ LOG: Initial PrivatePath = NULL Calling assembly : Professional, Version=1.0.4482.34372, 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: Post-policy reference: IDEALSoftware.VpeProfessional, Version=6.1.0.0, Culture=neutral, PublicKeyToken=cd7e57f4b5d80cd1 LOG: Attempting download of new URL file:///C:/Program Files (x86)/VPE_P32.610/VB NET/Professional/bin/IDEALSoftware.VpeProfessional.DLL. ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated. "
Message="Could not load file or assembly 'IDEALSoftware.VpeProfessional, Version=6.1.0.0, Culture=neutral, PublicKeyToken=cd7e57f4b5d80cd1' or one of its dependencies. An attempt was made to load a program with an incorrect format."
Source="Professional"
StackTrace:
at Professional.Form1..ctor()
InnerException:
Mr_Data_Guy
 
Posts: 8
Joined: Sat Apr 07, 2012 11:31 pm

Re: Error when trying to run demo code.

Postby Mr_Data_Guy » Tue Apr 10, 2012 4:50 am

I see I need to compile the solution for 32 bit not 64 bit.
Mr_Data_Guy
 
Posts: 8
Joined: Sat Apr 07, 2012 11:31 pm

Re: Error when trying to run demo code.

Postby IDEAL Software Support » Tue Apr 10, 2012 10:18 am

Yes. The 64-bit version will be available at a later point in time.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 20 guests

cron