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

Similar Messages

  • 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 file or assembly 'CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0

    hi experts,
    i have a problem while launching the crystal report in server machine.i am using VS2005. i have copied all(10) dll file into Bin folder. but not work
    Please advice

    I would suggest that you read through the deployment tutorials available starting on page 432 in the following document:
    http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf

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

  • 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.Enterprise.Desktop.User

    I had briefly looked into Crystal Reports within my Visual Studio 2008 solution. However since the project needed to be done quickly I removed the report and the references to Crystal.  Now I have deployed my application using Publish onto my QA server where I am getting the following error.  I checked my references, webconfig and imports to make sure the solution didnt have anything tied to Crystal and found nothing.  Why am I getting this error when I am no longer using the product?  Is there some way to remove the requirement for the assembly?  I also tried installing the Crystal Reports 2008 basic redistributable to my server with no luck.
    Error:
    Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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. 
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Stack Trace:
    [FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
       System.Reflection.Assembly.Load(String assemblyString) +25
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32
    [ConfigurationErrorsException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
       System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +267
       System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +39
       System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429
       System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +75
       System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +582
       System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
       System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +111
       System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54
       System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
       System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
       System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
       System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161

    There has to be a reference to it somewhere in the project or it would not be throwing the error.
    You will have to recheck each page, references, web.config, compile options, etc, until you find it.
    Make sure you don't have it in a using statement or are referencing it directly in code.
    Best Regards,
    Jason

  • Could not load file or assembly 'CrystalDecisions.Shared, Version=12.0.2000

    I downloaded the trial version of CR 2008 in order to test an update of a report from Crystal 10.  I would also add that I am using CR 2008 embedded in Visual Studio .Net 2005.  I was able to successfully upgrade the report and run it without issue from the .Net debugger.  However when I deploy the report to the users machine when it attempts to display the report I get the following error:
    Could not load file or assembly 'CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKey Token=692fbea5521e1304' or one of its dependencies.  The system cannot fined the file specified.
    Since I was able to successfully deploy the report with CR 10, my question is do I need to purchase a version of CR 2008 in order to deploy?  I just want to make sure that this is indeed the issue prior to making the purchase.  If that is not the case can you please point me to proper deployment procedures for 2008, perhaps there is something I am missing.
    Thanks much for your assistance,
    Mike

    I will assume that when you are viewing the report you are using a custom app which uses CR 2008.  To deploy your app you will need two things:
    1. The Runtimes
    2. A valid Keycode
    You can obtain the Runtimes here:
    Runtime Downloads
    CR 2008 msi: https://smpdl.sap-ag.de/~sapidp/012002523100005985862008E/cr120_redist_install.zip
    CR 2008 click once: https://smpdl.sap-ag.de/~sapidp/012002523100005986302008E/cr120_clickonce.zip
    CR 2008 msm: https://smpdl.sap-ag.de/~sapidp/012002523100005985842008E/cr120_mm.zip
    You can also find these by going to here:
    https://www.sdn.sap.com/irj/sdn/businessobjects-downloads
    and selecting "Crystal Reports", ".NET", and "Utility"
    I'm not sure if your eval keycode will work to deploy - but even if it does, the application will eventually stop working when the eval period runs out.  If you want it to keep working, you will need to purchase a permanent keycode.
    Shawn

  • Could not load file or assembly 'CrystalDecisions.Web,?

    Hi to all,
                 I created a webapplication using crystal report11.5, Asp.net2.0-C#.
    The same web application older version developed with crystal
    report10, that older version is installed in other machine it has
    CR 10.0 version only , the client dont like to install one more
    setup for CR11.5, so what i did is i build the lattest version
    application and copy the dll into the older version bin folder
    and pasted the
    CrystalReports11_5_NET_2005.msm, CrystalReports11_5_NET.msm to c:\program files\common
    files\merge modules now i run that older version application
    now it raise an error like
    Could not load file or assembly 'CrystalDecisions.Web,
    Version=11.5.3700.0, Culture=neutral,
    PublicKeyToken=692fbea5521e1304' or one of its
    dependencies. The system cannot find the file specified.
    May i know why it happens, i added the lattest version web application dll and msm then why it raise this error and experts help me how to resolve it. This is my urgent work please help

    Hi;
    I'm not sure how you deployed, but from the sounds of things you simply copied the .MSM files to the client computer - is that correct?
    What you need to do is create a runtime package on your development computer, adding the .MSM to that package.
    Or you can install the NET Server install .MSI file on the client ([download|https://smpdl.sap-ag.de/~sapidp/012002523100009657852008E/crxir2sp4_net_si.zip])
    This is discussed in the forums, such as here:
    https://forums.sdn.sap.com/click.jspa?searchID=17323912&messageID=6041034
    Regards,
    Jonathan

  • 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

  • Deploy Web Site Error:Could not load file or assembly 'System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies

    I have created a ASP.NET web Site (not Web application), using Visual Studio 2012 Ultimate and "SQL Server Compact 4.0 Local Database" in my C# Code.
    I am able to successfully compile & publish the website to another IIS Web Server, with Operating System Windows Server 2008 R2 Standard. I can even test, successfully, this website on the machine I developed it in.
    I am publishing the website, from within Visual Studio, to a Network web server running IIS.  To Publish I am using Build-> "Publish Web Site".  In the Publish Profile, I am using Web Deploy Method. Even though I am using, successfully,
    "SQL Server Compact 4.0 Local Database" in my website, the "settings" (in Publish Profile) does not detect any Databases in the project. Which may not be a problem.
    When I try to bring up the web site on the IIS Web Server machine I get the following error..    
    Could not load file or assembly 'System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies .
    As my project is a Web Site, not Web Site Application, I do not have a references node in the Solution Explorer. I think the System.Data.SqlServerCe.dll, which is type GAC in my project, is not getting published to the webserver, which is causing this Error.
    Can I copy this .dll over manually ? If yes, where to put on the ISS Web Server ? I do not see any bin folder.
    Any help to resolve this error will be appreciated.
    diana4

    Hello.. I went ahead and created web application project and have gone past that error. But I have a new error now
    System.Data.SqlServerCe.SqlCeException: Unable to load the native components of
    SQL Server Compact corresponding to the ADO.NET provider of version 8876.
    Install the correct version of SQL Server Compact. Refer to KB article 974247
    for more details.
    Compiling and Publishing (Deployment) are both successful 
    In my project, when adding reference to SQL Server Compact Edition , there are 2 possible locations to reference the DDL from:
    C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Private
    C:\Program Files\Microsoft SQL Server Compact Edition\v4.0\Desktop.
    I have tried both. I get the same error as shown above.
    Interestingly, in My WebConfig, I do not see any reference to System.Data.SqlServerCe.
    Yet, the Website works when I click on Ctrl+F5 
    diana4

  • Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'

    I am using .net application built in .net 2.0 using SQL server Express 2005 Replication publication functionality. Application setup is in 32 bit.
    Now i am running this .net application setup on Windows-7 [64 bit]. It gets installed successfully with SQL server Express 2005.
    But when starting the application getting below error while performing Synchronization of subscription and publication via .net app.  I have checked that Microsoft.SqlServer.Replication.dll file is installed in GAC having same version
    [Version=9.0.242.0]. It is working fine on 32-bit OS.    
    Below is error details.
    TITLE: SETSynchConsole
    Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    Hi deshpasu,
    According to your description, you install SQL Server Express 2005, and OS is 64bit. If your assembly is running as a 32 bit process and it is unable to load a 64 bit dll, we get a exception , so we need to verify if you install Microsoft SQL Server
    2005 Replication Management Objects. These are not installed by default database engine install.
    This is 64bit OS so you should install 64bit "Microsoft SQL Server 2005 Replication Management Objects" from online feature pack of SQL Server 2005.
    If SQL Express x86 setup (with Database Engine, Replication selected at setup) installs Microsoft.SqlServer.Replication and so this load error does not occur on 32bit systems.
    For more information, see:
    http://stackoverflow.com/questions/41449/i-get-a-an-attempt-was-made-to-load-a-program-with-an-incorrect-format-error-o
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Could not load file or assembly 'System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies.

    I have updraded my pocket pc application from VS 2005 to VS 2008 and had to convert all the sqlce* files to 35 from 30. all upgraded System.Data.SqlServerCe.dll to version 3.5.0.0 and runtime version as v2.0.50727. My Target Framwork is .NET Framework 2.0.
    All the other sqlce* files are:
    sqlceca35.dll
    sqlcecompact35.dll
    sqlceer35EN.dll
    sqlceme35.dll
    sqlceoledb35.dll
    sqlceqp35.dll
    sqlcese35.dll
    The application is compiling without errors with the above dll's and creating its own webservice dll. the webservice dll is the copied to webserver which has the following dll's:
    sqlceca30.dll
    sqlcecompact30.dll
    sqlceer30EN.dll
    sqlceme30.dll
    sqlceoledb30.dll
    sqlceqp30.dll
    sqlcese30.dll
    and System.Data.SqlServerCe.dll as Assembly version 9.0.242.0 and file version as 3.0.5300.0.
    but when i try to run my application using the emulator, i get the following error:
     Could not load file or assembly 'System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from
    HRESULT: 0x80131040)
    i cannot upgrade the dlls on the webserver as other apps are using the 30 dlls and if i try to use 30 dlls in my application, my application fails to build  on  System.Data.SqlServerCe.dll with Assembly version 9.0.242.0 and file
    version as 3.0.5300.0.
    i have spent a few days now trying to resolve this issue and none of the solutions provided on web have helped me so far. the application does not have app.config, but adding the following code to web.config did not help either:
    <
    runtime>
    <
    assemblyBinding
    xmlns="urn:schemas-microsoft-com:asm.v1">
    <
    dependentAssembly>
    <
    assemblyIdentity
    name="System.Data.SqlServerCe"
    publicKeyToken="89845DCD8080CC91"
    culture="neutral"/>
    <
    bindingRedirect
    oldVersion="0.0.0.0-9.0.242.0"
    newVersion="3.5.0.0"/>
    </
    dependentAssembly>
    </
    assemblyBinding>
    </
    runtime>
    any help will be highly appreciated.

    The binary 'System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'  is only to be used for windows desktop projects. For devices the PublicKeyToken is different and you should use the device
    binary "System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=3be235df1c8d2ad3" to compile your device project.
    Also in addition to what Erik mentioned, please check if you have
    Microsoft SQL Server Compact 3.5 for Windows Mobile installed on your machine.
    -Tarun Ramsinghani
    Please mark this post as answers if it solves your problem.

  • Release Management vNext Powershell Could not load file or assembly System.Management.Automation Version=3.0.0.0

    Hi,
    I'm running TFS2013.4 with a number of build servers and all working fine. 
    I'm also running Release Management with update 4 (12.0.31101.0) and am running into trouble when trying to run my first dummy release.
    I have setup my servers, stages, releases paths, components and release template (all vNext) with out issue.
    When I run my Release Template (Deploy Using PS/DSC) I'm getting the following error :-
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> System.IO.FileNotFoundException:
    Could not load file or assembly 'System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
    The system cannot find the file specified.
       at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.PowershellExecutor.DisposeCurrentSession()
       at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.RemoteDeploymentHelper.Dispose()
       at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.DeploymentClient.<RunAsync>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.VisualStudio.Services.DevTestLabs.Deployment.Deployment.DeploymentClient.<RunPowerShellAsync>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.TeamFoundation.Release.EnvironmentProvider.OnPrem.Implementation.OnPremDeploymentProvider.<CopyBuildsLocally>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.TeamFoundation.Release.EnvironmentProvider.OnPrem.Implementation.OnPremDeploymentProvider.<RunScript>d__0.MoveNext()
       --- End of inner exception stack trace ---
       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
       at Microsoft.TeamFoundation.Release.MonitorServices.Dsc.OnPrem.OnPremDeploymentActions.InvokePlatform(String activityId, MachineSpecification machineSpecification, StorageSpecification storageSpecification, String scriptPath, String configurationPath,
    Dictionary`2 configurationVariables)
       at Microsoft.TeamFoundation.Release.MonitorServices.Dsc.OnPrem.OnPremDeploymentActions.RunScript(DscComponent dscComponentParameters, String serverName, String userName, String password, String componentName, String scriptPath, String configurationPath,
    String useCredSecuritySupportProvider, String useHttps, String skipCACheck)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.TeamFoundation.Release.DeploymentAgent.Services.Deployer.Dsc.DscComponentInstaller.InvokeMethodByReflection(String methodArguments)
    I can't work out if my target machine (2008 R2 SP1) has a problem with WMA 3.0 or if the Release Template can't find the powershell script that I'm trying to call.  I figured that the relative path to the script could be wrong and have tried numerous
    iterations to no effect.  The error clearly points to a problem with WMA right?
    The target machine has .Net Framework 4.0, WMA Framework 3.0 and I can run Enter-PSSession to remote to it etc...
    Before I trash and rebuild my target machine I hoping someone may have some insight to my problem?
    Thanks in Advance
    Jason
    shroomie

    Daniel,
    The PS Script is taken from an MSDN blog and is fairly standard.  I'm sure it will run fine when executed, but I've not run it as it requires environment variables ($applicationPath) that will be present in the Release Management session calling it. 
    Here's the script :-
    configuration InstallModules
        param
            # Target nodes to apply the configuration
            [string[]]$NodeName = 'localhost',
            # Source Path for Modules
            [String]$SourcePath = "$applicationPath\Deploy\Modules",
            # Destination path for Modules
            [String]$DestinationPath = "$env:ProgramFiles\WindowsPowershell\Modules"
        Node $NodeName
            # Copy the Modules
            File ModuleContent
                Ensure          = "Present"
                SourcePath      = $SourcePath
                DestinationPath = $DestinationPath
                Recurse         = $true
                Type            = "Directory"
    InstallModules
    Thanks
    Jason
    shroomie

  • Adobe Plugin: FileLoadException: Could not load file or assembly 'System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

    I created one adobe plugins to work from Adobe Reader/Acrobat using Adobe Acrobat SDK and that was built on .net 3.5 version. On conversion of .net framework version from v3.5 to v4.5, we are now getting error while the Adobe Reader/Acrobat is starting and plugins are not working. While making the log we found following exception:
    System.IO.FileLoadException: Could not load file or assembly 'System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
    File name: 'System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
       at System.ServiceModel.Channels.Binding.set_ReceiveTimeout(TimeSpan value)
       at MyClass.Connect()
    === Pre-bind state information ===
    LOG: User = domainname\username
    LOG: DisplayName = System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    (Fully-specified)
    LOG: Appbase = file:///C:/Program Files (x86)/Adobe/Reader 11.0/Reader/
    LOG: Initial PrivatePath = NULL
    Calling assembly : System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
    ===
    LOG: This bind starts in default load context.
    LOG: No application configuration file found.
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
    LOG: Binding succeeds. Returns assembly from C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31 bf3856ad364e35\System.ServiceModel.Internals.dll.
    LOG: Assembly is loaded in default load context.
    The C# code is written as follows:
    EndpointAddress endpoint = new EndpointAddress("net.pipe://localhost/MyApp/");
    NetNamedPipeBinding binding = new NetNamedPipeBinding(NetNamedPipeSecurityMode.None);
    binding.ReceiveTimeout = TimeSpan.MaxValue;
    IAcroServer cserver = ChannelFactory<IAcroServer>.CreateChannel(binding, endpoint);
    Can anyone help me to find the reason and resolution of the problem I am facing. Thanks in advance.

    Yes plugin is written using C++ and that plugin is connecting with MyApp. Previously the plugin was working fine while the connection WCF service was in .net version 3.5 but on change of .net version to v4.5 is throwing the exception. This wcf service developed on C#.

Maybe you are looking for

  • IMac 10.6.8 / iTunes 11.1.3 Homeshare

    I don't know the system of our Apple TV, but we just bought it new a month ago (11/20/13) - and it won't show my entire librabry on homeshare - excuse my impatience, but ***?! I've been a mactard for a couple of decades now and this isn't getting eas

  • Best Way To Sync School Files

    Hi everybody, i am hoping to get an ipad 2 for x-mas and use it for fun and school work.  i know about file browser and that other app that lets you remote desktop to your mac.  i have some questions though.  first can you open a word doc file from a

  • Name disappear

    Hi friends, On MSS->ECM, the Employee name and Manager Name are missing from the table on the Select screen, but names are there on the Plan screen. Also the IT758, IT759 authorization error only appear on one plan but not on the rest of the plans, t

  • IDVD 08 won't show themes

    I seem to be running a mixed bag when it comes to iMovie and iDVD. I had been running OS 10.4.11 with iMovie 3 and iDVD 3 until earlier this year when I upgraded to 10.5.8 because I received and iPad as a gift. I knew iDVD3 would not work with 10.5 s

  • Just attempted to download the lastest ITunes update and received a Run Time error R6034

    Having a update issue! Most recent Itunes update would not load properly. Received the following ERRORS: C/RUN ERROR R6034 ERROR 7 WINDOWS ERROR 1114 MICROSOFT VISUAL C++ Now what? Any help out there? Thanks, vinylguru