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!

Similar Messages

  • Labview 2011: Distributed System Manager does not load variables in process

    Hi everyone,
    I'm having problems with the DSM of Labview 2011.
    My application consists of a main VI.
    There will be loaded a sub VI in this main VI, which subVI will be loaded depends on the button that is pressed.
    The problem that I have is the following(the problem comes up on a Windows 7 system, on Windows XP system everything works well):
    - When I open a subVI, it will be opened in mij DSM, but it takes a while before it is visible, not immediately but after a while.
    - Normally, when I open the process(in the DSM) of the subVI, the variables that are present in the subVI, should be visible.
    - In this case, non of the variables is visible.
    Is it possible that there is something wrong with the DSM?
    Or do I have to make some changes to my settings on the computer?
    The firewall is off and the DCOM settings are ok.
    I hope someone can help me.
    With kind regards,
    Cheese

    I observed a similar behaviour in case I changed my configuration during development: the variables were not changed accordingly, from time to time.
    The most effective corrective actions was to manually stop and restart the NI Variable Engine service.
    Surprisingly, restarting the PC was uneffective.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Win2000 & 1.4.0 Beta2: Could not load jvm.dll

    Question: How does 1.4 Beta2 find it's resources?
    When trying to run Install Anywhere 4.5, I get the error message:
    Can't launch executable.
    Could not load jvm.dll
    Try re-installing the Java VM and change the java VM used by the application
    The call is
    D:\Compiere2\jre\bin\java.exe -Xms16777216 -Xmx50331648 -noverify com.zerog.lax.LAX C:\\Temp\\I1003700413\\Windows\\CUpdate.lax C:\\Temp\\env.prop
    OK, I have about 4 different SDKs installed and I heard that if you deinstall everything else and just install 1.4 Beta 2 - it supposetly works. This is not an option, if you try to install/upgrade an application where the user does not know that a VM is.
    The environment:
    JAVA_HOME is set to a 1.4.0 Beta 2 JRE and the PATH is also pointing to the \bin directory ... and in their server/client sub-directories is the jvm.dll
    I guess, that some registry entry is used ... but where do I find that?

    You're running Java2 from "D:\Compiere2\jre". Does the file "D:\Compiere2\jre\bin\hotspot\jvm.dll" exist? And is this the installation which is Java 1.4?
    As far as where the registry entry is kept, it is in HKEY_LOCAL_MACHINE/Software/JavaSoft. However, this value only seems to be used when you run the java.exe which Sun install in the Windows system directory.

  • 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

  • CRVS2010 Beta - Could not load crpe32.dll

    On the report.Load() line I get this message.
    could not load file or assembly "c:\program files\SAP Business Objects\SAP Business Objects Enterprise XI 4.0\Win32_x86\crpe32.dll
    then
    The type initialiizer for 'CrystalDecisions.CrystalReports.Engine.CRPE' threw an expcetion.
    then
    LoadReport failed
    I am using Beta 2 and have the 32 bit runtime installed on my development machine alone with VS 2010 Ultimate.
    Here is the code at that spot.
                   this.report = new ReportDocument();
                   string reportToLoad = @"d:\Receipt.rpt";
                    this.report.Load(reportToLoad);
                    this.reportViewer.ViewerCore.ReportSource = this.report;
    I checked the directory and crpe32.dll is there.
    Bill

    Solved it. I removed both the beta 2 and the runtime beta 2 and reinstalled both. It works fine.

  • Could not load libamapc2.dll into apache server 2.0.54

    My environment is
    JES Access Manager 2005Q4 on Solaris 9 sparc
    Apache web server 2.0.54 on Windows 2003 Enterprise
    Policy agent 2.2 on Windows 2003 Enterprise Edition to protect my Apache web server 2.0.54
    after i install the Policy agent and config it. i start my apache and got following information
    Syntax error on line 1 of :/Sun/Access_Manager/Agents/2.2/apache/config/apache_
    80/dsame.conf:
    Cannot load C:/Sun/Access_Manager/Agents/2.2/apache/bin/libamapc2.dll into serve
    r: The specified module could not be found.
    my dsame.conf is
    LoadModule dsame_module C:\Sun\Access_Manager\Agents\2.2\apache\bin\libamapc2.dll
    Agent_Config_File     C:\Sun\Access_Manager\Agents\2.2\apache\config\apache_80\AMAgent.properties
    i also chek the libamapc2.dll. it is in the "C:\Sun\Access_Manager\Agents\2.2\apache\bin\"
    how can i solve the problem ?

    I had this same error, but msvcp70.dll and msvcr70.dll were already in my system32 directory. I took care of the problem by modifying the PATH environment variable to position the "<agent_root>\bin" and "<agent_root>\apache\bin" entries before the system32 path entries.

  • 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

  • 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

  • Firefox starts with a "could not load xpcom.dll" error.

    When I open Firefox, I sometimes get the error message as per subject. It only happens 1 out of 10 times. When I acknowledge this error message and open Firefox again, it works with no errors seen. Now, I've seen this issue posted many times on these forums but none solve the issue or have an acceptable answer.
    - I do not have Firefox in my startup folder.
    - I cannot do a clean uninstall as I have a plethora of add-ons, extensions and settings.
    What causes this error and how can I fix it permanently?
    Thanks for reading.

    Note that the xpcom.dll file is no longer present in current Firefox versions, so you may have an extension or other software that needs to be updated for the current release.
    *Bug 852950 - Kill xpcom.dll/libxpcom.so/xpcom.dylib
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • 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?

  • 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.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

  • Error Code: -17004, Could not load DLL or library

    Hi All,
    I am getting the following error message:
    Error loading step 'x' of sequence 'MainSequence' in file 'y'.  Could not load DLL or external library C:\bin\driver.dll
    Error Code: -17004, Could not load DLL or library.
    Source 'TSAPI"
    My main DLL is one written in C in LabWindows.  This DLL calls a second DLL that was written in Visual C++
    I am using TestStand 2010 SP1 as well as CVI/LabWindows 2010.  I have WinXP Professioanl SP3.
    This same sequence, DLL1, and DLL2 have worked together in previous versions of TestStand!!!!  All I did was upgrade to Developer Suite 2011.......??????
    I have reviewed all the posts regarding this problem and have so far done the following:
    1.  Verified Both DLL1 and DLL2 reside in the same directory
    2.  Copied DLL2 into C:\Windows\system32
    3.  Used Dependency Walker to verify that there are no other missing DLL's
    4.  Unistalled Explorer 8 and installed Explorer 7 because of somthing I saw in depends and something I read while researching this problem.
    5.  Verified the Search Directories in TestStand
    I am wits end, as I cannot determine what the problem is and any suggestions would be welcome
    Solved!
    Go to Solution.

    So I did come up with a solution to this problem, but I don't understand why it solves the issue.  Hopefully some of you can provide some insight.
    So all my sequences were experiencing the problem described, and all sequences basically call the same dll's over and over.
    I have a dll that I use as my "main" dll.  All my sequences use this dll and I continually add more functions as our company designes new products, etc.  This dll uses functions that are from my CommDll.  The CommDll was written in C++, and it is also used in several other dll's that my sequence call's as I use it for all serial/telnet requirements. 
    So my test sequences for example calls the following dll's usually in this particular order ---
    DbDriver - This dll handles all the database functioanality for our products, and calls libMysql.dll
    PwrController.dll - this dll controls a pwrcontroller for all power on/power off, reboot, etc of our product.  This dll calls the CommDll.
    CompanyDll - This is the "main" dll that hadles all the cli commands and other test functions that our product requires.  This also calls CommDll.
    When the sequence calls are done in the order above, it does not work..  However, if I switch the sequence file to call the CompanyDll before the PwrController.dll everything works fine.  Is there an order of operations here????
    I also found that when I compiled my PwrController.dll with CVI 2010, it gave me an error could not load PwrController.dll no matter what order the seqence calls were, leading me to believe that I am missing something when building this particular dll.  As soon as I copy the original, developed and compiled in 2006, everything works again.
    Thanks,
    greggj

  • 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.

  • 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.

Maybe you are looking for

  • Images are not loading - but work in Preview mode

    Hi - I was wondering if anyone can help me.  I'm kind of new to Dreamweaver and I can't seem to figure this out on my own.  I'm using Dreamweaver 8.  I developed a web page based on a template in which everything works perfectly in "Preview" mode on

  • How Can I debug into  a BADI?

    I m not able to debug into a BADI, though I tried putting a break point in the include for the BADI as well as tried using break-point 'MYUSERID'. It still doesnt work

  • I bought blackberry in india. can i use it in usa?

    i bought blackberry in india. can i use it in usa?

  • Videos behaving wierd!

    Hi everyone, I have an flash application, which is essentially a videos/photos gallery...its done, now I am testing it, and i got a weird bug. I have put my application(swf file) file on a web server, the videos(flv files) and jpg pics are also locat

  • One apple id but content on two machines

    I have one apple id but have bought music/tv shows on my iMac and also on my MacBook.  Can I merge the two libraries and access stuff from both.  I've genuinely paid for the content and used just the one apple id. Thanks.