Moved Servers - log4net could not be loaded error

My code programmatically creates crystal reports.
Everything was working fine until we moved servers (unfortunately don’t have access to the old server anymore)
Get the dreaded error about log4net 1.2.10 that could not be loaded.  (Other assemblies in my solution rely on 1.2.11, so can’t just take it out)
I installed (repeatedly uninstalling the other and restarting the server)  the CRforVS_clickonce_13_0_9 32bit and 64 bit versions.
My application pool is set to allow 32bit applications.
I checked an do have log4net 1.2.10 in the GAC
Really out of things to try here and need fix this urgently for a demo to important client tomorrow (it’s midnight..make it today!)
For what it matter:
Development Machine (all fine here)
Windows 7, 64 bit
Visual Studio 2012
Crystal Reports 2012
Production Machine
Windows Server 2008, 64 bit
Full error (but guess you know it well)
Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

btw, I moved 2 servers.  different projects but same technologies / tools.
Installed CRforVS_redist_install_64bit_13_0_8 on the one....works fine when creating reports and return as pdf.
On the other server....nope.  (the one I spoke about in original post)
For whatever it matter, here's the code I use (but doubt relevant since it worked just fine before)
var report = new ReportClass { FileName = reportPath };
report.Load();
report.SetDatabaseLogon(user, password, server, database);
var parameterValue = new ParameterDiscreteValue { Value = claim.Id };
var parameter = new ParameterValues { parameterValue };
report.DataDefinition.ParameterFields["@claimId"].ApplyCurrentValues(parameter);
report.ExportToDisk(ExportFormatType.PortableDocFormat, path);

Similar Messages

  • Class or Interface could not be loaded error on standard components

    I am trying to learn how to use Event Listeners. I created a
    TextInput field on my screen. In action script I have:
    var my_ti:TextInput;
    var enterHandler:Object = new Object();
    enterHandler.enter = function(e:Object):Void{
    trace("entered field");
    my_ti.addEventListener("enter", enterHandler);
    When I test the movie, I receive the error:
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: The
    class or interface 'TextInput' could not be loaded.
    var my_ti:TextInput;
    Any tips on fixing this would be greatly appreciated. All
    references that I have found to this error message have to do with
    paths. Given that this is a standard component, I don't know why it
    would be failing or what path to add, if that is indeed the
    problem.
    TIA

    You have the .fla and .as saved in the same file? Or the same folder?
    Also you will notice that you have
    class ship extends MovieClip
    But it looks like for your symbol you have given it a defintion of Ship. (Caps matter!)
    Your code should be capitalized, as should the name of the Ship.as file. You will notice that the Flash classes all start with a cap and that instances start with lowercase letters. You don't have to do this, but it makes it easier to know what is what.
    As a recommendation I would recommend the book by Keith Peters, Making things move. And also unless you have an overwhelming need to learn AS2, I would recommend skipping it and moving right to AS3.

  • Scripting.aex could not be loaded error

    I recently had a hard drive failure but managed to save everything onto a new drive.  All Creative Cloud program work except After Effects which gives me this error upon startup: "After Effects Error: plug-in "scripting.aex" could not be loaded (126)."  Do I need to uninstall and re-install AE cc?

    Based on the extremely limited amount of information in your post (you haven't even told us what operating system your computer has), I would say yes. That seems like a reasonable step.

  • ASIO Driver could not be loaded Error CS3

    Hi,
    Today, i have installed my Production premium CS3 on my MacBook Pro (Macbookpro 2,2) This Macbook is already 3 years old. Previously my production premium was installed on my iMac (iMac5,1). On my iMac everything worked perfect.
    But on my Macbook Pro i can't open premiere pro because of this error:
    'The previously selected ASIO driver could not be loaded, and may be in use by another application. The default ASIO driver is now in use"
    After this error, premiere gets another fatal error and shuts down.
    I already had find a solution but i can't perform it because premiere keeps shutting down before i can do something in the preferences.
    Because i know it is something with sound i tested Soundbooth. But soundbooth also keeps shutting down...
    Please help me, i need this software for school.
    If you need any other information, please say it and i will give it to you.
    SPECS: MACBOOK PRO: Mac OS Snow Leopard, 3GB RAM, 120GB HDD, Model: MACBOOKPRO2,2, Intel Core 2 duo 2.16Ghz. ATY RadeonX1600 128mb. 15"= 1440 x 900, 32bit pixel depth.
    AUDIO (built In): Device ID: 0x83847680
                             Audio ID:   30
    IMAC:  Device ID: 0x83847680
                  Audio ID:   23
    So, the only difference with the audio is the AUDIO iD...
    i Realy don't know what to do..
    I thank you already
    Nicholas.

    I am having similar problems on the Mac computers in our lab. I have found that the error does not appear in administrator accounts only on the standard user accounts. That makes me think that maybe Premiere might be looking at some file that my users accounts don't have acces to. It is a fresh install of CS3 onto OSX 10.6.2 What files is Premiere looking at when its trying to load the ASIO driver? Any help would be appreciated. At this point making the standard user administrators is not an option.
    Scott

  • Alarm & Event (AlertView​.dll) control report Control could not be loaded error on LV Runtime

    Hello, when I try to execute my application that use Alarm & Event control, the window show in red color the text: Control could not be loaded.
    I have tried to manually copy the AlertView.dll on C:\Program Files\National Instruments\Shared and then register the control with:
    regsvr32 C:\Program Files\National Instruments\Shared\AlertView.dll
    but still the control is never on the screen.
    When the window is invoked and the ActiveX is loading the system show several error message (unable to initialize ComponetWorks control ...) and then exit the the red color error message Control could not be loaded.
    If I install the DSC everything works fine ...
    Any idea?
    Regards.
    Marco Savegnago

    Hi msave,
    I'm not sure I've understood correctly your problem, but reading your post it seems that you want to execute your application that loads an ActiveX control without installing the DSC module.
    I did some researches for you and what I found is that copying the alertview.dll (in your case) into the path: <drive:>\Program Files\National Instruments\Shared  and register it into regsrv32, may not be sufficient.
    National Instruments, suggests to install the DSC (and from your post it seems you can do it) in order to have correctly installed all the parts you need effectively (in fact, in your case when you install the DSC all seems to work properly).
    I hope I've been of some help
    carlo> 

  • The common language runtime could not be loaded.

    The common language runtime could not be loaded error in receiving while opening excel file in windows 7.

    Hi,
    Is this problem just occures when opening excel file? How about other office program?
    Did you make any change to your Office, such as install language package, etc. that may cause this problem?
    Since your problem is specific with Office program, it would be better to provide your question at Office Forum.
    https://social.technet.microsoft.com/Forums/office/en-US/home?forum=officeitpro
    Roger Lu
    TechNet Community Support

  • MapPoint Control 11 in Labview Container = Control could not be loaded

    I am working with Labview 6.1 to create an application using a "Microsoft MapPoint Control 11.0" ActiveX component. When I first create a container for it, I can insert the component and it will load and operate correctly. However, after closing the vi and reopening it, the container says "Control could not be loaded", and I need to re-insert the object to get it to work each time. I will need to compile and run this at some point, so I need to fix this problem or ditch Labview now. I have tried reinstalling Labview runtime and the MapPoint Application, but this does not fix the problem. Working with MapPoint as an automation object (without a container) seems to work ok, but I need interactive control through the container. Any suggestions?

    Ankita--
    Yup. Tried that one, as a search of the NI site comes up with reinstall and register as the only solutions for "control could not be loaded" errors ... but it didn't make a difference for me...
    Odd to think that it can run fine right after the control is loaded, but after save/close/reopen, it's not working... hmmm.
    --Brent

  • 'crdb_oracle.dll' could not be loaded

    Post Author: jimg72
    CA Forum: Data Connectivity and SQL
                                                      Getting
    this error when trying to load a CR.  I'm in CR XI R2 and Visual Studio
    2.  I'm beginning to wonder if CR is worth the trouble. Failed to load database information.Details: The database DLL
    'crdb_oracle.dll' could not be loaded.Error in File
    C:\DOCUME1\BIGRED\ASPNET\LOCALS1\Temp\temp_ae31abe9-76e9-4e0d-b283-e647ae9c8ff0
    {D7E74355-4DBF-46A1-8518-C08B2822CD57}.rpt:Failed to load database
    information. Here's
    my login code that is causing the error.  The parameters I'm passing
    are correct, the report works fine in preview in VS and CR.  
        public static void LogonToDatabase(ReportDocument MyReport, string
    UserId, string Password, string ServerName, string DatabaseName)         {             ConnectionInfo MyConnectionInfo = new CrystalDecisions.Shared.ConnectionInfo();             TableLogOnInfo MyLogonInfo = new CrystalDecisions.Shared.TableLogOnInfo();             if (ServerName != "")             {                 MyConnectionInfo.ServerName = ServerName;                 MyConnectionInfo.DatabaseName = DatabaseName;             }             MyConnectionInfo.UserID = UserId;             MyConnectionInfo.Password = Password;             MyLogonInfo.ConnectionInfo = MyConnectionInfo;             foreach (CrystalDecisions.CrystalReports.Engine.Table MyTable in MyReport.Database.Tables)             {                 MyTable.ApplyLogOnInfo(MyLogonInfo);                 if (ServerName != "")                 {                     MyTable.Location = MyTable.Location.Substring(MyTable.Location.LastIndexOf(".") + 1);                 }             }         } 
                                                 This worked fine with CR 10 and ASP.net 1.1.

    Post Author: dotnetcoder08
    CA Forum: Data Connectivity and SQL
    Did you try and make sure that the aspnet account has access to the oracle home directory?

  • ERROR: Module load completed but symbols could not be loaded for Adobe AIR.dll

    Does anyone know what causes this error? The application installed on my machine is using Adobe Air.dll version 2.0.3.13070
    This dump file has an exception of interest stored in it.
    The stored exception information can be accessed via .ecxr.
    (2b84.2908): Application hang - code cfffffff (first/second chance not available)
    eax=00000000 ebx=05105dbc ecx=0c013503 edx=00002b84 esi=77f15b70 edi=00000002
    eip=00a68972 esp=0012e03c ebp=00000000 iopl=0         nv up ei pl zr na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00040246
    Unable to load image c:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for Adobe AIR.dll
    *** ERROR: Module load completed but symbols could not be loaded for Adobe AIR.dll
    Adobe_AIR+0x58972:
    00a68972 8bec            mov     ebp,esp

    Hi,
    Check weather its right path or not.Even check the call interface,weather you are giving the right one or not.
    Regards,
    Srikanth

  • Approval Center Error: One or more categories of approval could not be loaded

    Hi Team,
    We are using EPM 2013 version , recently one of our user encountered a problem with Approval Center while accepting task updates, on the Default welcome page he has 112 Pending approvals but while clicking Approval center he getting error as "Error:
    One or more categories of approval could not be loaded when user wants to approve" We have checked on the following possibilites but still we are facing this issue Kindly help us on this
    1. I have checked user permission He has Project Manager Access and Timehseet Approval Access
    2.While changing the task ownership to another PM and the task is reflecting correcly on the new PM's Approval center while reverting back the task owneership he faces same issue.
    3. He is trying  for the task updates, we have tried re sving user profiles but nothing changed issue still occours
    4. Checked on the ULS Log And find the error
    Permission denied: User i:0#.w|enterprise\User01
    does not have global permission 'ManageServerConfiguration'.
     Please revert for any other information required.
    Thank you
    Senthil Gopi
    Thanks and Regards, Senthil Gopi

    Hi,
    This is a known bug.
    You can find a workaround here:
    http://www.msprojectnow.com/Blog/tabid/142/entryid/828/Project-Server-2013-Error-loading-Approval-Page.aspx
    Regards,
    Philip
    Verlinden Philip

  • Error: One or more categories of approval could not be loaded when user wants to approve

    Two of my PM's are getting the error shown in the title of this post  (Error: One or more categories of approval could not be loaded when user wants to approve).    The "Related Topic" issues a work around of using the rules to "automatically approve the
    offending items".   This did not work for us.   Has anyone else experienced this issue? 
    Thanks,
    ~RK

    Hi Marc -  Per ytour request:   
    The PM does the following:
    1. Access PWA Home page and review messages
    2. Clicks on “You have 1 timesheet from resources pending your approval” message
    3. Approval Center Page loaded with “Error: One or more categories of approval could not be loaded” and “There are no new approvals to review at this time. If you have published your plan and
    still do not see approvals, have your resources submit updates from “Tasks” of “Timesheet”” messages.
    We've made certain the Schedule is published and the timesheet was submitted correctly.
    Expected behavior: Timesheet records should be available for review and approval.   Instead, the PM gets the screen below with the error message

  • When i want to download an app in app store give me an error number and i could not down load.how i can solve this error number?

    When i want to download an app in app store give me an error number and i could not down load.how i can solve this error number?

    Hi Amir.09395340646,
    Welcome to the Support Communities!
    What app are you trying to download? Is it iPhoto for iOS?  What error message are you receiving? The first thing I would suggest is to log out of your iTunes Store account on your iPhone. Then restart the device and log in again. 
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311?viewlocale=en_US
    If the above did not resolve your issue, follow the troubleshooting steps in the article below.
    The link includes the complete details and screenshots, but I've highlighted a few points for you:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    - Make sure that your iOS software is up to date by connecting your iOS device to iTunes and clicking on Check for Update in your device's Summary page in iTunes.
    - Check and verify that you are in range of a Wi-Fi router or base station. If you are on a 3G capable device, make sure that cellular data is turned on from Settings > General > Cellular.
    - Check to make sure you have an active internet connection. You can check the User Guide for your device for help with connecting to the internet.
    - Check to make sure other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the internet.
    - Try resetting (turning off and then on again) your Wi-Fi router
    - If the issue still persists see, iOS: Troubleshooting Wi-Fi networks and connections or iOS: Troubleshooting Wi-Fi networks and connections.
    I hope this information helps ....
    - Judy

  • How to resolve Error "Adobe Acrobat (AcroExch.App rc=-2147221005) could not be loaded"

    How to resolve Error  "Adobe Acrobat (AcroExch.App rc=-2147221005) could not be loaded"

    What is your operating system?  Reader version?
    You get this error when doing what?

  • Specified Driver could not be loaded due to system error 5

    Hello,
    I am trying to run oracle 9i on my lap top. I installed the package from the website and got everything installed correctly. I checked my sqlnet.ora and tsnnames.ora files and the test connection in the ODBC driver is working fine.
    However, as i try and connect to the database through my ASP application i get the error:
    Code: 80004005
    Specified Driver could not be loaded due to system error 5
    I have been searching these forums for an answer and the closest solution i found was that something may be wrong with my path variable. I checked it and everything looks fine, it points to my /bin directory.
    I am not sure if it is something wrong with my driver (though i installed the latest one available) or something else. I Would appreciate any help anyone can offer.
    Thanks
    samir.

    The user that IIS runs as doesn't have appropriate access to the Oracle directory or to ODBC. There's a good, recent Usenet thread on this
    http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3d119df8%240%24234%24ed9e5944%40reading.news.pipex.net&rnum=2&prev=/groups%3Fq%3DASP%2Bsystem%2Berror%2B5%2Bgroup:comp.databases.oracle.*%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26scoring%3Dd%26selm%3D3d119df8%25240%2524234%2524ed9e5944%2540reading.news.pipex.net%26rnum%3D2
    I'm assuming that you've verified that you can, say, create a new DSN with the Oracel driver and successfully test it with the "test connection" button.
    Justin

  • When I load Illustrator creative suit (5.5) on my new computer, it loads Then I put in the serial number, which is correct, but when i go to click on the program to use it it says ERROR: localized resource file from this program could not be loaded. pleas

    When I load Illustrator creative suit (5.5) on my new computer, it loads Then I put in the serial number, which is correct, but when i go to click on the program to use it it says ERROR: localized resource file from this program could not be loaded. please re install of repair the application and try again. I have done this and it's still not working                  

    anomaly jade,
    You only need to use the serial number during installation.
    Have you, at least seemingly, been able to install, and then you are unable to start up?
    If that is the case, you could try to reinstall using the full three step way:
    Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

Maybe you are looking for

  • Do I need to purchase RSA certificate?

    I have an applet that I believe needs to be signed. I am reading the HowTo of signing applets at: http://java.sun.com/products/plugin/1.3/docs/rsa_signing.html The web page says there are three steps. 1) Signing tool (I shall use jarsigner) 2) RSA ce

  • Error 'g_rpreview_global' is undefined -- bug?

    When attempting to Reorder Region Items: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.2; MS-RTC LM 8

  • Graph Types getting shuffled when use Series for both graph types

    Hi,     I have a requirement to use two Graph types in a single Business graphics UI element. First Graph type is of STACKED COLUMN, and the second one is of LINE. When i use Series for both graph types; they are getting shuffled and not readable. Sa

  • String dilemma... how can I do this?

    Sorry for the uninformative title. Hello. Lets say I have a string that looks like this.. String s = "1:0.375  2:0.33  5:0.244  88:433"What I need to do is, add 1 to every number preceeding the colon sign. In other words, the String should look like

  • Can I get my photo's back if I didn't back up?

    Can I get my photo's back if I didn't back up? Any ways that can get back my photo's?