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

Similar Messages

  • Multiple "slapd[46]: could not load the replica file" Errors

    Hi,
    We've got an OD master (10.4.8) that sporadically falls into a state where it reports the error "slapd[46]: could not load the replica file." many times over in the system log. It will start this with no warning and when everything is running just fine, but once it has started there errors build up until it is reporting them up to 20 times a second. Usually once it gets to this stage directory services start to suffer badly across the network and all connected servers. We usually have to reboot various servers at this point including the ODM in order to get services up and running again. After the reboots sometimes the problem will just disappear, sometimes it will just start building up again.
    We only have one other replica (down from 4) which is on a separate subnet across a WAN. We managed to get rid of the problem for a while by getting rid of the replicas on the local subnet, but it just pops back up again for no apparent reason.
    We attempted to install a new ODM with a brand spanking PW server a while ago and new replicas, but hit the same issue sometime into the install.
    The only time I've ever seen an issue with this many errors being reported so often it turned out to be a network loop, but I know there is not one present now. I did wonder about a rogue device on the network causing issues but I'm not fixed on this.
    Can anyone give me any ideas where to start looking for a resolution?
    Cheers
    Dan

    Step 1: Download subinacl.msi from the link
    http://go.microsoft.com/fwlink/?LinkId=23418 and install it.
    Step 2: Download my modified version of reset.cmd from
    http://gerger.com/o/assets/x/?id=22540 and save the file in 'C:\Program
    Files\Windows Resource Kits\Tools'.
    Step 3: Open Command Prompt as Administrator and type the following without
    quotes (hit Enter):
    'cd c:\program files\windows resource kits\tools'
    Step 4: Now type 'reset.cmd' and hit Enter (without quotes)
    You will see the Command Line Tool running for some seconds. The issue
    should have been fixed and Quicktime should run again.
    Enjoy!

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

  • Deploytool could not load my class files

    Hi,
    believe me I have searched half of the web and I hope some of this forum could help me now.
    I have created three class-Files for a Session Bean I want to create for my Application.
    First I created a new Application in the forlder c:\workspace\fs and then I wanted to add an Enterprise Bean. With the button "edit Contents" I found myself in the folder c:\workspace\fs. I clicked on my class-files in the subfolder com\abc\session\ and added these files.
    But when i close the window and want to get to the next step the following message comes: "the class (com.abc.session.homeimpl) could not be loaded. Please ... in setting up the class root directory and choosing class files".
    So, I just have to set up the class root directory? Thats all?
    Where can I do this???
    Thanks to everyone who try to help me!
    Hannes
    PS: excuse my english, but school was not long enough ;-)

    Hello,
    finally I found out why it doesn't work.
    My class-Files were compiled by JDK 1.5. After I compiled them with JDK 1.4 everything works.
    Does anybody know how I can switch my J2EE to Java 1.5 ?
    Hannes

  • Error when attempting to sign panel - could not load the keystore file (password may be incorrect)

    Hi
    I always get the same error when trying to export as a cs extension for indesign cs5 and cs6 (haven't tried for any thing else)
    I am not trying to export to a read only address.
    I set up my own certificate, I have not registered with any authority like VeriSign so I presume that I can fill the details as I like, i.e. one name, any password I like.
    I select my Java installation by browsing see bellow
    I type the same password that I made up for the certificate and then get the error shown above.
    Note although it say that it exported the file with some error in fact it doesn't export any zxp file or anything else to any location that I could see let alone the location I specified.
    I get the same error when using the adobe exchange packer.
    Would very much appreciate a solution
    Thanks in advance
    Trevor

    Hi Yanwen Ju
    Thanks
    I tried that both the 64 and 32 bit versions, neither work.
    The file I use is called "Java.exe" please let me know if this is the correct one and if you have any other ideas
    Thanks in advance.
    Trevor

  • 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

  • I get the message  Could not load "   .ai"  The file might be an unsupported format or may be corrupt.

    I am trying to open the Ai. file in my graphtec ce6000 program and I receive this message. Worked fine before and now I keep getting this message.  I can cut directly from my cutter program. So I know it has to do with an error in Ai. Please help! I have an install today and because of the holiday I cant reach technical support.

    I think you need to ask in the forum used to create the AI file
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Error 2519 LabVIEW could not load the TDMS file component

    Hi there, 
    I have LabVIEW 2014 for Linux, and have successfully installed it on OpenSUSE 13.1 with no issues. 
    The problem I am seeing is with TDMS, I have placed down and "Open TDMS" followed by "close TDMS" provided it my file path to my TMDS File and I see the following error:
    I have searched NI.com and google, and what I keep finding is the problem with cRIO. I am running a desktop version of Linux as mentioned above. 
    Any help or advise would be greatly appreciated.
    Many thanks
    Kevin
    Solved!
    Go to Solution.

    Hey 
    Thanks for getting in touch with me. I can confirm I have the TDMS components installed and in the correct location.
    I will try to reinstall my LabVIEW and see if that helps.
    I have two systems that both are running the same version of Linux and I have the same issue on both systems. One is a physical system the other is a virtual machine replicating the physical system. 
    Many Thanks

  • 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

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

  • Could not load file or assembly 'CrystalDecisions.Windows.Forms Error

    Hello All,
       I have created a Crystal Reports .Net Executable and it runs fine on the PC that it was built on. However, when I copy the exe application to another system and try to run it, I get the following error message:
    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 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."
      Source="Sample Report"
      StackTrace:
           at Sample_Report.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
           at Sample_Report.My.MyProject.MyForms.get_Form1()
           at Sample_Report.My.MyApplication.OnCreateMainForm() in C:\Users\saikaleya\AppData\Local\Temporary Projects\Sample Report\My Project\Application.Designer.vb:line 35
           at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
           at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
           at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
           at Sample_Report.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 78
      InnerException: System.IO.FileNotFoundException
           Message="Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."
           Source="Sample Report"
           FileName="CrystalDecisions.Windows.Forms, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
           FusionLog="WRN: Assembly binding logging is turned OFF.\r\nTo enable assembly bind failure logging, set the registry value [HKLM
    Software
    Microsoft
    Fusion!EnableLog] (DWORD) to 1.\r\nNote: There is some performance penalty associated with assembly bind failure logging.\r\nTo turn this feature off, remove the registry value [HKLM
    Software
    Microsoft
    Fusion!EnableLog].\r\n"
           StackTrace:
                at Sample_Report.Form1.InitializeComponent()
                at Sample_Report.Form1..ctor()
           InnerException:
    Any tips/suggestions would be greatly appreciated.
    P.S. I am using Crystal Reports 2008 and Visual Studio 2008.
    Thank you in advance.

    A couple things here:
    Your application is referencing the Windows form dll for the bundled version of Cr that comes with VS.NET 2008 and NOT the Crystal Reports 2008 runtime.  You need to change the references in the project to 12.xxx assuming you have Crystal Reports 2008 SP0 installed (this is needed for it to work with .NET 2008)
    You need to make sure you deploy the runtimes for the appropriate version.  If you get your application upgraded to use all of the CR 2008 runtimes you will then need to deploy the runtimes to the machine you are deploying to.  You can do this by using the merge modules or the server install msi to get them on the machine.
    Jason

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

      Hi
    I get the below error message when I deploy the application on Windows server 2008 R2 (64Bit)
    Could not load file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 148:        <add assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
      Line 149:         <add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
      Line 150: <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>  Line 151:  Line 152:  
    Here are the steps followed
    Installed the develper edition of crystal report 13 on development machine which is XP(32 bit)
    Application works fine on development machine and target platform for the application is "Any CPU"
    On Deployement Machine [Windows server 2008 R2 (64Bit)] insatlled the (v. 13.0.2.x) 64 bit MSI from http://scn.sap.com/docs/DOC-7824
    I reffered many post for the issue but no help. Please help me to fix this issue.
    -Manish

    You're on a 64 bit box, running a 32 bit web app. Make sure the app pool is set to 32 bit. Also see the following:
    http://adilmca.wordpress.com/2013/04/08/visual-studio-2012-crystal-report-not-working-on-windows-server-2012-0x800a1391-javascript-runtime-error-bobj-is-undefined/
    http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2012/10/16/report-appears-blank-in-browser-after-deploying-a-crystal-reportsnet-web-application
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Could not load file or assembly CrystalDecisions.ReportAppServer.Controller

    Hello
    I am getting this error in Visual Studio 2010 on Windows 7 64 bit.
    Could not load file or assembly 'CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692....1304' or one of its dependencies. The system cannot find the file specified.
    I installed CR redistributable on the workstation and verified that the file does in fact exist and is the correct version.
    Please help.

    Hi Ludek, thanks for your reply. Sorry if I'm confusing you, but I'm a bit confused myself
    Here is what I hope is a better explanation.
    The way it works is that we have a web application in IIS on Windows Server 2008 64-bit. What we do is copy the templates (ASPX files) and bin (DLL) files to the Windows Server's IIS via Team Foundation. The files are accessed with a web browser. We don't compile/debug because previously, our CMS's code behinds were mixed C# and VB and the application would not compile. However, the files can still be accessed via a web browser and the dynamic website worked fine. "Debugging" was done via trial and error on a testing server.
    Now, we have upgraded the CMS so all the code behinds are C# and the site should compile. One of our web apps (that doesn't use Crystal Reports) has compiled successfully and I am currently doing the second one. I am trying to compile the whole application for the first time on my workstation, but the Crystal Reports DLLs are causing errors. I used the 64-bit re-distributable Crystal Reports for Visual Studio version 13_0_1 because I wanted to make sure I had the same version as our Web servers.
    We do not run the web app from the IDE (have never been able to), except for now when I am trying to build/compile on my workstation via Visual Studio. In production it is accessed on the web server via web browsers only.
    I hope this makes more sense as to what I am trying to do. Thanks for the link but I am afraid if I install 13_0_2 I will start getting version conflicts.as the server has 13_0_1 64-bit.
    Thanks for your help so far and I hope this helps!

Maybe you are looking for

  • Question about LRU in a replicated cache

    Hi Tangosol, I have a question about how the LRU eviction policy works in a replicated cache that uses a local cache for its backing map. My cache config looks like this: <replicated-scheme> <scheme-name>local-repl-scheme</scheme-name> <backing-map-s

  • Keynote with Mavericks locks up continually

    I am wondering why several things disappeared with the new version of Keynote: -- ability to configure and adjust the presenter layout, not just what shows up -- ability for a movie to start playing when the slide changes, doesn't require an extra "c

  • Bill-to-Party and Payer Partner Determination in CRM Sales Order

    Hi, In ECC, the sold-to-party has different bill-to-party and payer for each sales areas .For example: Sold-to-party:2001826 For 8000 sales org/72 distribution channel: Payer: 2004818 Bill-to-party: 2004818 For 2000 sales org/ 02 distribution channel

  • Not enough space in iTunes?

    When I tried to sync my iPod I keep getting a pop-up that says that there is not enough free space in my iTunes library for all of the content to sync. This makes no sense to me because I want to put the stuff from my iTunes onto my iPod. Also there

  • Costing enabled check in oracle inventory

    Hi, While defining inventory master item, in costing tab, Costing enabled and inventory asset value enabled tab cannot be saved when checked. I m click enable and then try to save the master item it does not take any effect and ultimately I'm having