System.BadImageFormatException: Could not load assembly

Hello, I've bees using LabVIEW for a few years now and would consider myself between novice and intermediate. I previously used version 8.5, but at my new job they havnt got me a copy of LV yet so I'm using 2013 evaluation for now.
My question is  I am trying to figure out how to use these manufacturer-supplied .NET dll's to extract measurement data from a proprietary .dat format (Orbit F/R). I read in the help that I should start by creating a .net constructor and load an assembly. When I try to do this my assembly is not in the list (from what I can tell) and if I browse for one of the DLL's and try to load it, it gives me an error.
How do I get this to work?
Attachments:
FileSystemCOM_Server_1.x.zip ‏3587 KB
labview .net assembly error.png ‏21 KB

Hi,
Here are some resources on how to load .NET dlls:
http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/loading_assemblies/
http://digital.ni.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33
Here is a discussion on the error:
http://forums.ni.com/t5/LabVIEW/NET-DLL-System-BadImageFormatException/m-p/1829579/highlight/true#M6...
Paolo F.
National Instruments
Applications Engineer

Similar Messages

  • Could not load assembly or file "crystaldecisions.windows.forms"

    Hi,
    I have a VS2005 C# .net application which works fine when I run on the programming machine.
    Now , I copy all files (dll , pdb , exe) from the Project's "..bin\Debug " directory .
    These files I transfer to another computer which does not have VS 2005 .NET installed (or any separate crystal reports program), but it does have .netframework 1 and 2, so that I can test the application on that "test" computer.
    When I double click the .exe , I log in and then I click a menu item which shows a form which has a crystalreport viewer in it.Here , an unhandled excepion error is shown like this...
    Could not load assembly or file "crystaldecisions.windows.forms" version 10.2.3600.0
    Note please: I have not created an installer(.msi) package for our application yet.
    The application does not refer to any crystal reports dlls in it's directory
    Thanks -

    Hello Dimitar,
    If Crystal Reports is not properly integrated into your VS IDE you'll usually see that kind of message.
    You have to make sure that Crystal Reports is properly integrated into Visual Studios.  Do you have a full version of Crystal Reports installed on your Visual Studios .NET 2005 development machine? If so, what is the version of Crystal Reports?  Open Crystal Reports, go to the Help menu, and then About Crystal Reports.  What is the version number and name (listed near the top)?
    Now open Visual Studios and go to Help > About VS.  In the list of Installed Products what does it say for Crystal (usually near the bottom of the list).  Please DO NOT include your keycode - just what it says for Crystal.
    Sincerely,
    Dan Kelleher

  • Adding secondary ADFS server to farm fails with Could Not Load Assembly error

    Hi all,
    I have two servers running Server 2012 R2.
    There are two AD sites, in site 1, I have the primary ADFS server running on a member server.  In site 2 I have a secondary ADFS server running on the only DC in the site.  There will be WAP servers publishing these servers in either site.
    I successfully set up the first ADFS server in site 1, and this is working ok.  However, when I set up the server in site 2 I get the following error during the prerequisite checker:
    Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Access is denied.
    Unable to retrieve configuration from the primary server. Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Access is denied.
    I ran this as my domain admin account and also as domain\administrator which is seldom used.
    When I run the resulting PowerShell script, I get errors relating to the GSMA, so not sure if that is where my issue lies.  Here is the script:
    # Windows PowerShell script for AD FS Deployment
    Import-Module ADFS
    # Get the credential used for performaing installation/configuration of ADFS
    $installationCredential = Get-Credential -Message "Enter the credential for the account used to perform the configuration."
    Add-AdfsFarmNode `
    -CertificateThumbprint:"Thumbprint Here" `
    -Credential:$installationCredential `
    -GroupServiceAccountIdentifier:"DOMAIN\STSSvc`$" `
    -PrimaryComputerName:"machine.domain.net"
    I tried using the FQDN of the ADFS server as well as the common name of sts.domain.net, neither worked.
    Any suggestions?
    Andrew Hodgson

    Hi,
    Thanks for your post.
    According to the error message, it is more about permission issue.
    Please refer to this artile about how to resolve the error "Could not load file or assembly or one of its dependencies. Access is denied"
    http://blogs.msdn.com/b/sayanghosh/archive/2007/04/21/solution-to-could-not-load-file-or-assembly-or-one-of-its-dependencies-access-is-denied.aspx
    Regards.
    Vivian Wang

  • Visual Studio 2013 Code Analysis Exception CA0055: Could not load assembly

    I am trying to run the Code analysis on Web Project in VS2013 but i am getting the exception CA0055.
    I took a look at the log file. Here is the exception information which is getting logged.
    <Exception Keyword="CA0055" Kind="AssemblyLoad">
    <Type>Microsoft.FxCop.Common.AssemblyLoadException</Type>
    <ExceptionMessage>Could not load MyProject.dll.</ExceptionMessage>
    <InnerType>System.NullReferenceException</InnerType>
    <InnerExceptionMessage>Object reference not set to an instance of an object.</InnerExceptionMessage>
    <InnerStackTrace> at Phx.Metadata.ReaderImplementation.CreateTokenMap()
    at Phx.Metadata.MetadataLoader.GetModule(String fileName, FileInfo fileInfo, AssemblyUnit unit)
    at Phx.Metadata.MetadataLoader.GetAssembly(String fileName, AssemblyUnit unit)
    at Phx.Metadata.MetadataLoader.LoadAssemblyDefinition(AssemblyUnit unit)
    at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.ProcessWorklist(MetadataLoader metadataLoader, Boolean ignoreErrors)
    at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributeType(AggregateType type, MetadataLoader metadataLoader)
    at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributes(List`1 attributes, MetadataLoader metadataLoader)
    at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAttributes(ProgramUnit programUnit, MetadataLoader metadataLoader)
    at Microsoft.FxCop.Engines.Phoenix.AssemblyLoader.LoadAssembly(String filePath)
    at Microsoft.FxCop.Engines.Phoenix.PhoenixAnalysisEngine.AnalyzeInternal()
    </InnerStackTrace>
    </Exception>
    Nayan K

    Hi Nayan K,
    >>ExceptionMessage>Could not load MyProject.dll.</ExceptionMessage>
    <InnerType>System.NullReferenceException</InnerType>
    If you disable the code analyze tool, and then build your web project, could you get this error message?
    Generally this occurs if the file is not found or access to the file was denied.
    Reference:
    https://msdn.microsoft.com/en-us/library/ms244741(v=vs.90).aspx
    Please check your project folder, whether you could get this dll file? Or make sure that you add the correct references in your project.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Distributed system manager-could not load sysmanui.dll

    Hi all,
    Whenever I try to deploy variables in DSC, it displays "could not load sysmanui.dll file".
    I checked the location "program files>>National Instruments>>LabVIEW11>>shared" and found it was there.
    I am using evaluation version of DSC but LV is licensed.
    Any suggestion for correcting the error is appreciated.
    Thanks.

    Did someone find a solution to this problem? Whenever I tried to open the DSM I get an error message, screenshots below.
    Please Help!

  • System Preferences: Could not load Keyboard and Mouse

    Hi all, so after inadvertently reverting my Keyboard and Mouse PreferencePane to v3.0 (I'm currently on 10.4.11), my keyboard shortcuts are not being saved. I've tried countless ways to put the current version, 3.2, back into the PreferencePanes folder, repaired permissions and trashed the systempreferences.plist, but every time I open Sys Prefs again, Keyboard and Mouse cannot be loaded. I've tried installing the Pane using Pacifist which results in the same problem (using the 10.4.11 single, ie not combo update) and installing the single 10.4.11 update works, creating Keyboard and Mouse 3.2, but this Pane still cannot be loaded. If anyone has any idea how to make 3.2 work with the rest of my system- possibly with something related to Extensions? that's what started this problem- I would be extremely grateful.

    Hi endingstart, and a warm welcome to the forums!
    Use Disk Utility to Verify the HD first, then it appears to be time for An Archive & Install, which gives you a new OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space...
    http://docs.info.apple.com/article.html?artnum=107120

  • System.Bad​ImageForma​tException​: could not load file or assembly 'C:\projec​ts\QR\Emb.​dll' or one of its dependenci​es.

    Hi all,
    when i try to use DLL in Labview2012 ,it throws with the below error.
    System.BadImageFormatException: could not load file or assembly 'C:\projects\QR\Emb.dll' or one of its dependencies.
    This assemly is built by a runtime newer than the currently loaded runtime and cannot be loaded
    <append><b>System.BadImageFormatException</b>
    The DLL has been developed using .net framework. please help me to overcome the issues.
    Regards,
    Arun

    What is CLR version used for compiling this library?

  • Help with Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    This was all working yesterday, but this morning, I cannot run in the dev fabric, or even setting the website project as a startup project directly, I get the following error:
    Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'msshrtmi' could not be loaded.
    === Pre-bind state information ===
    LOG: User = Andrew-VAIO\Andrew
    LOG: DisplayName = msshrtmi
    (Partial)
    WRN: Partial binding information was supplied for an assembly:
    WRN: Assembly Name: msshrtmi | Domain ID: 3
    WRN: A partial bind occurs when only part of the assembly display name is provided.
    WRN: This might result in the binder loading an incorrect assembly.
    WRN: It is recommended to provide a fully specified textual identity for the assembly,
    WRN: that consists of the simple name, version, culture, and public key token.
    WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
    LOG: Appbase = file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/
    LOG: Initial PrivatePath = C:\Users\Andrew\Desktop\Beko2011Azure\Website\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Users\Andrew\Desktop\Beko2011Azure\Website\web.config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\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:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/cb955b02/eef106e2/msshrtmi/msshrtmi.DLL.
    LOG: Attempting download of new URL file:///C:/Users/Andrew/Desktop/Beko2011Azure/Website/bin/msshrtmi.DLL.
    ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
    Stack Trace:
    [BadImageFormatException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0
    System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +39
    System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) +132
    System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +144
    System.Reflection.Assembly.Load(String assemblyString) +28
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
    [ConfigurationErrorsException: Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +618
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +209
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
    System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +94
    System.Web.Compilation.BuildManager.CallPreStartInitMethods() +332
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +677
    [HttpException (0x80004005): Could not load file or assembly 'msshrtmi' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9079228
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
    Note that the dev machine is x64 Win7.
    I have not tried deploying this to staging since the issue started as I'm a bit nervous of touching the staging/live environment until this is solved.
    Removing the PlatformTarget element from the project file has no effect
    Removing the msshrtmi.dll file from the bin directory of the website project ends up with 
    'Could not load file or assembly 'Microsoft.WindowsFabric.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified'
    I have used Git to revert to the last working build to no effect (But I don't have the obj/bin folders in GIT), but it has atleast reset the project files etc.
    If I return msshrtmi.dll to the bin folder and switch the model and website projects to x64 there is no change
    If I switch both to x86 then I get an error Could not load file or assembly 'BekoModel2011' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    which is the model project - presumably because to run on my x64 machine I need the 64bit version?
    I really need to be able to debug and then publish some changes ASAP.
    Andrew

    Hi,
    Is it true that you're using IIS to host the application? Could you check whether the process is x64 or x86 one via task manager or config in IIS manager?
    http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx
    Allen Chen [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine.dll

    Hi there,
    I am going through the process of migrating an existing web solution from Visual Studio 2008 to Visual Studio 2010.
    As part of that I have installed the recently released Crystal Reports for Visual Studio 2010.
    One of our projects has a reference to  'CrystalDecisions.CrystalReports.Engine and everything seems fine within Visual Studio 2010, but when I try to run the solution I get the following error.
    System.BadImageFormatException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine.dll' or one of its dependencies.  is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
    I have set up the projects to target .net framework 4 and started by setting them to compile for 32 bit....
    This is quite frustrating so any ideas would be very much appreciated.
    Kind Regards
    Robert

    Hi Don,
    Yes, it is set to the full framework... I am running on a 64 bit Windows 7 machine. 
    One thing I have noticed is that if I try to load the crystal library through Depends (an application that shows the library dependancies), the different libraries that CrystalDecisions.CrystalReports.Engine.dll depend on are listed as 64 bit (on my machine), yet  'CrystalDecisions.CrystalReports.Engine.dll  is a 32 bit library... this is flagged as an error in depends... In fact the first time I ran it it also couldn't find IESHIMS.DLL (because it is not in the PATH) by default.  Anyway, there is no 64 bit CrystalDecisions.CrystalReports.Engine.dll that I can see so I'm a bit confused.  In fact I am a lot confused.
    I have not as yet tried to building a fresh simple test solution with a crystal reference in it..
    Thanks
    Robert

  • Receiving error message 'Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'

    I started getting this error message for the first time today. When I look in the event log I see it every time anyone tries to sync to a mobile device to the exchange server. I've also had this problem trying to connect using
    Outlook. I believe it is an IIS issue but I'm not absolutely sure so I'm posting this in the Exchange forum as well.
    The event viewer has the following information...
    3008
    A configuration error has occurred.
    5/1/2014 10:41:08 PM
    5/2/2014 5:41:08 AM
    7539d8a38c8b47869eda3f1749aba08d
    1
    1
    0
    /LM/W3SVC/1/ROOT/Microsoft-Server-ActiveSync-75-130434828686436855
    Full
    /Microsoft-Server-ActiveSync
    C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync\
    SERVER
    16284
    w3wp.exe
    NT AUTHORITY\SYSTEM
    ConfigurationErrorsException
    Could not load file or assembly 'System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
    https://remote.testserver.com:443/Microsoft-Server-ActiveSync/default.eas?User=user.name&DeviceId=ApplC39GQ5xxxxxx&DeviceType=iPhone&Cmd=Ping
    /Microsoft-Server-ActiveSync/default.eas
    174.224.130.31
    False
    NT AUTHORITY\SYSTEM
    24
    NT AUTHORITY\SYSTEM
    False
    at System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) at System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) at System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) at System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
    I have tried most, if not all, of the different post's suggestions to no avail.
    The steps I have taken are as follows...
    1. Repaired .Net 4 (Both the client and extended)
    2. Uninstalled and reinstalled .Net Framework 4.0.
    3. Verified that the dll exists.
    4. Checked the applicationHost.config file. It contains the follow statement...
    <add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0"
    />
    5. Changed the following line in web.config to include the runtimeVersion...
    <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv2.0" />
    6. Executed aspnet_regiis.exe -iru from the ...\Framework64\v4.0.30319 directory.
    7. Went to inetpub\history to use an applicationHost.config file from yesterday but it only has history from 9PM tonight. It probably had what I needed before I started changing it tonight.
    I still receive the same error message.
    Like I said everything was working yesterday. In fact I didn't hear or see any issue until after 1PM today.
    Any help would be very appreciated!

    Hi,
    Please confirm whether users can access their mailboxes from Outlook Web Access or not. We can do the following changes to have a try:
    1. In IIS > Application Pools, change the .NET Framework Version to v2.0 and restart IIS service.
    2. If it doesn’t work, explore the Default Web site.
    3. Renamed the web.config file to web.config.old
    4. Reset IIS using iisreset command to have a try.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral

    On Windows Server 2008 R2 I have installed dot net framework 4.5 and also installed CRruntime_64bit_13_0_2 msi . Bus when I run the application It gives an error could not load assembly .

    Yah, remember it is not the "bitness" of the OS that counts, it is the "bitness" of your app. E.g.; compiled as 32 bit, use 32 bit runtime on 32 bit or 64 bit OS. Compiled as 64 bit, deploy 64 bit runtime to 64 bit OS. Compiled as any cpu, deploy 64 bit runtime to 64 bit OS, 32 bit runtime to 32 bit OS.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Could not load crpe32.dll

    I am using Crystal Reports XI release 2 and we run the reports from a .NET component. The line that produces the error is:
    custReport.Load(reportFile, OpenReportMethod.OpenReportByTempCopy);
    where:
    custReport is an instance of ReportDocument
    reportFile is the path to the rpt file and is correct at runtime.
    Here's the error in it's entirety:
    System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.CRPE' threw an exception. ---> System.Exception: Could not load C:\Program Files\Business Objects\Common\3.5\bin\crpe32.dll.
       at CrystalDecisions.CrystalReports.Engine.CRPE..cctor()
       --- End of inner exception stack trace ---
       at CrystalDecisions.CrystalReports.Engine.CRPE.InitCrpe()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod)
       at TSYS.Report.Generator.ServiceFacade.CrystalReportCreator.CreateReport(Parameter parameter)
       at TSYS.Report.Generator.ServiceFacade.Renderer.GetReportData(String uniqueStackTraceGuid, Int16 clientOriginatorID, Parameter parameter)
       at TSYS.Report.Generator.ServiceFacade.ReportGeneratorFacadeImpl.GetReport(String uniqueStackTraceGuid, Int16 clientOriginatorID, Parameter parameter)
    crpe32.dll is at the location indicated in the exception message and it's version is 11.5.8.998
    The line that produces the error is in CrystalReportCreator.CreateReport
    Thanks for your help
    Chris

    Hi Chris,
    Check this link
    Re: Error 532 "Cannot find database.dll" <Execute PEStartPrintJob>
    Re: Error loading Crystal Reports with Delphi 2006
    *Close the thread if issue solved
    Regards
    Jambulingam.P

  • Could not load iCloud preference pane and could not load internet accounts preference pane

    after a recent not so succesful time machine restore, and after turning internal hard drive and ssd on my macbook pro late 2008 into a fusion drive, I get these error messages in the system preference : could not load iCloud preference pane and could not load internet accounts preference pane. I noted that Mail, Calendar, notes etc all sync to my various device, but on my mac, I can't access the accounts feature. Can anyone help me resolve this issue ? I searched all over the net with no success...
    cheers !

    iMac (Processor 3.2GHz, 8GB 1600MHz DDR3, 3TB HD) Running Mavericks (10.9.4), I have the exact same problem. Local Apple Store unable to help. Turned to my AppleCare Program. They say their techs have never come across this issue this was what was done:
    Have downloaded & new copy of OS X  = same issue.
    Deleted OS X Reinstalled OS X on blank drive - restored all my data from backup = now have no MS Office, no Adobe Photoshop Elements, no iWeb, no Parallels, no VMWare, no iPhoto in fact, nothing of "my" machine. (but problem is still there)
    Advised to do an "Internet Restore" from good Backup (over 24 hours to complete); when complete, machine restarts = a circle with a cross diagonally through it and the spinning wheel. (It goes no further no matter how many times you reboot)
    Now on my own, booted using "Command + R" to start in Recovery mode. Changed all permissions in Disk Utility. Rebooted. = my machine is back - all data intact and all programs there & working BUT problem persists.
    I have now turned to Communities. Followed everything people said worked for them but in my case, after a reboot, I still cannot load iCloud OR Internet Accounts Preferences panes!!
    If I add a calendar item on my iMac it will not sync with either my iPad or iPhone. If I add a calendar item on either my iPhone or my iPad that item will sync with the other device but will not sync to my iMac. The same is true for Contacts as well. Extremely annoying to have to type it in all the time. This is Apple for heavens sake and therefore it should work!!

  • Upgrading to MBAM 2.5: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0.....the system cannot find the file specified.

    Upgrading from MBAM 1.0 to 2.5 on the Administration and Monitoring server (database server already upgraded). To upgrade the administration server, I uninstalled MBAM 1.0 -> Deleted the MBAM website from IIS manually -> Reboot -> Installed MBAM
    2.5. After upgrade if I go to selfservice portal via
    https://myserver.mycompany.com/selfservice, I get this error:
    Server Error in '/SelfService' Application.
    Could not load file or assembly 'System.Web.WebPages.Razor,
    Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its
    dependencies. The system cannot find the file specified.
    Description:
    An unhandled exception occurred during the execution of the current web
    request. Please review the stack trace for more information about the error and
    where it originated in the code.
    Exception Details:
    System.IO.FileNotFoundException: Could not load file or assembly
    'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
    find the file specified.
    Source Error:
    An unhandled exception was generated during the execution of the
    current web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.
    Stack Trace:
    [FileNotFoundException: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
    System.Web.Mvc.PreApplicationStartCode.Start() +0
    [InvalidOperationException: The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12980619
    System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12980328
    System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +280
    System.Web.Compilation.BuildManager.ExecutePreAppStart() +172
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
    [HttpException (0x80004005): The pre-application start initialization method Start on type System.Web.Mvc.PreApplicationStartCode threw an exception with the following error message: Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12979668
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
    System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12819261
    Anyone know how to solve this? Thanks in advance

    Sorry for late response. I fixed the issue by installing the correct version of ASP .NET 4 from
    here.
    If .NET Framework 4.5 is already installed, also run aspnet_regiis -i from C:\windows\microsoft.net\Framework\v4.0.30319

  • Could not load file or assembly 'System.EnterpriseServices

    Hello Guys,
    I"m new to Oracle and .Net, I'm trying to display data in a gridview but when I run my Asp.net application I get this error: "*System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified*"
    I am not sure wat this means and I have been searching the internet with no success. I'm using Oracle 9i Client 9.2.0.1.0 and I downloaded ODP.NET Version=9.2.0.700 just recently. Cud this have caused the problem????
    Here is a snippet of my code and the program bombs at conn.open(), it seems like it cannot read my connectionString.
    public DataTable FetchData(string statement)
    DataTable dt = new DataTable();
    string constr = "Data Source=PSM1;User ID=CHRHRDM;Password=CHRHRDM";
    //conn.ConnectionString = "Data Source=PSM1;User ID=CHRHRDM;Password=CHRHRDM";
    OracleConnection conn = new OracleConnection(constr);
    conn.Open();
    OracleCommand cmd = new OracleCommand(statement, conn);
    cmd.ExecuteNonQuery();
    OracleDataAdapter adapter = new OracleDataAdapter(cmd);
    adapter.Fill(dt);
    //cmd.Connection.Close();
    conn.Close();
    return dt;
    And this is wat I see in my Event Viewer:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 2010/02/11 10:38:59 AM
    Event time (UTC): 2010/02/11 08:38:59 AM
    Event ID: 16667c76f5eb459abfa0066c08b62c6d
    Event sequence: 4
    Event occurrence: 1
    Event detail code: 0
    Application information:
    Application domain: 5ba4c282-1-129103511373281250
    Trust level: Full
    Application Virtual Path: /SSU_Website
    Application Path: C:\Documents and Settings\user\My Documents\Work\HRODS\Junno Work\SSU Project\SSU_Website\
    Machine name: ACER-926C8D0979
    Process information:
    Process ID: 5328
    Process name: WebDev.WebServer.EXE
    Account name: ACER-926C8D0979\bothank
    Exception information:
    Exception type: FileNotFoundException
    Exception message: Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    Request information:
    Request URL: http://localhost:1241/SSU_Website/Default2.aspx
    Request path: /SSU_Website/Default2.aspx
    User host address: 127.0.0.1
    User: ACER-926C8D0979\bothank
    Is authenticated: True
    Authentication Type: NTLM
    Thread account name: ACER-926C8D0979\bothank
    Thread information:
    Thread ID: 4
    Thread account name: ACER-926C8D0979\bothank
    Is impersonating: False
    Stack trace: at Oracle.DataAccess.Client.OpoConRefCtx..ctor()
    at Oracle.DataAccess.Client.OracleConnection.Open()
    at DAL.FetchData(String statement) in c:\Documents and Settings\user\My Documents\Work\HRODS\Junno Work\SSU Project\SSU_Website\App_Code\DAL\DAL.cs:line 26
    at CommonQueries.GetAllDetails() in c:\Documents and Settings\user\My Documents\Work\HRODS\Junno Work\SSU Project\SSU_Website\App_Code\BLL\CommonQueries.cs:line 30
    at Default2.populateGridView() in c:\Documents and Settings\user\My Documents\Work\HRODS\Junno Work\SSU Project\SSU_Website\Default2.aspx.cs:line 28
    at Default2.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\user\My Documents\Work\HRODS\Junno Work\SSU Project\SSU_Website\Default2.aspx.cs:line 20
    at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Can Someone Please help me... I'm in desperate need

    Hi,
    For anyone with a similar error, I added System.EnterpriseService reference to my project. Now I can see my data on the gridview.
    Thanks

Maybe you are looking for