Microsoft.ApplicationServer.Caching.AzureClientHelper.dll in Caching 2.3.1.0 can not be copied locally

There is a problem with Microsoft.ApplicationServer.Caching.AzureClientHelper.dl.
Here is the problem :
I have Web assembly which does not use caching. Caching is used by other assembly and it is in another assembly. But the config is in web. Caching nuget package is added in Services assembly and all the implementations and usages go there.
At the end everything must be copied to Web/bin for the app to load all of its dependencies. The problem is here - Settings CopyLocal = True for Microsoft.ApplicationServer.Caching.AzureClientHelper.dll in Service assembly copies it locally to the Service/bin/Debug
but not in Web/bin because I do not reference it in Web assembly.
The problem could be solved easily with a type variable somewhere but the problem is that all the types of this assembly are internal.
Any proposal to solve this?
Thanks.

Hi,
From my experience, we could use startup task to do this, startup tasks are actions that are taken before your roles begin, we could copy the dll file to the folder where we want to. see more details at:
http://msdn.microsoft.com/en-us/library/hh180155.aspx
Best Regards
Jambor
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.

Similar Messages

  • Error creating site collection - Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0

    Hi,
    When creating a Site collection using Central admin, i am getting the error "One or more types failed to load. Please refer to the upgrade log for more details." . Microsoft.ApplicationServer.Caching.Core dll version on my machine is 1.0.4632 (App
    Fabric 1.1). 
    Stack Trace
    SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
    find the file specified. dd64ad9c-0f90-e07d-aaaa-13533e0e9e4f
    Thanks,
    Thomas

    Hi Thomas,
    According to your description, my understanding is that you got an error when you created a site collection in SharePoint 2013.
    I found a similar thread with yours, maybe it also was created by you. Anyway ,in the thread, the workaround is Changing the virtual directory web config of CA (Option 1 and 2 mentioned at
    http://technet.microsoft.com/en-us/library/dn473937.aspx ) and it worked.
    More information, please take a look at:
    http://sharepoint.stackexchange.com/questions/111439/error-creating-site-collection-could-not-load-file-or-assembly-microsoft-appl
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Method not found: 'Void Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.set_DataCacheServiceAccountType('...

    After install SharePoint 2013 SP 1, I have a broken list Workflows.
    The logs contants the following error:
    05/13/2014 14:49:03.86  w3wp.exe (0x2FB4)                               0x0774  SharePoint Foundation      
        DistributedCache                air4g
    Monitorable     Token Cache: Failed to initialize SPDistributedSecurityTokenCache  Exception: 'System.MissingMethodException: Method not found: 'Void Microsoft.ApplicationServer.Caching.DataCacheFactoryConfiguration.set_DataCacheServiceAccountType(Microsoft.ApplicationServer.Caching.DataCacheServiceAc
    countType)'.    
    at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory()    
    at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData)    
    at
     Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow)
    at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCacheInitializer.Init(Object state)'. 
    As I understand, I have to install some update in the system, but windows update don't show any available updates.
    Any ideas?

    Hi,
    According to your post, my understanding is that you got a broken list Workflows after install SharePoint 2013 SP1.
    I recommend to check is that your cachecluster is up and running through:
    Get-CacheHostConfig -ComputerName $env:computername -CachePort 22233
    when your cache is up and running, run the following 2 commands:
    Remove-SPDistributedCacheServiceInstance
    Add-SPDistributedCacheServiceInstance
    For more information, you can refer to:
    Distrubited Cache in SharePoint 2013
    SharePoint 2013 - Distributed Cache: ErrorCode ERRCA0017 SubStatus ES0006 e ES0001
    Replacing missing named caches to a SharePoint Distributed Cache cluster
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Error with Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException

    Hello All
    I am getting the below error while I am searching for a huge record (more than 8.5 MB).
    Microsoft.ApplicationServer.Caching.VelocityPacketTooBigException: Size of message to be sent is 8837220 bytes which is larger than the maximum message size 8388608 specified in configuration.
    I have tried to change the settings in web.config cloud as below:-
    <dataCacheClient name="default" isCompressionEnabled="true">
    <autoDiscover isEnabled="true" identifier="foo" />
    <!--<localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" />-->
    <transportProperties maxBufferSize="67108864"/>
    </dataCacheClient>
    But no luck...
    Please help me as am new to Azure.
    Thanks in Advance
    Deepak Gupta
    [email protected]
    919910164863

    Hi Deepak,
    Looks like, you only changed the Cache client config setting in app.config/web.config.
    You have to set the maxbuffersize on both the client and server.
    You also need to set the maxBufferSize for the server. To do this
    Right click your role
    Add -> New Item -> XML File
    Name it "CacheSettings.xml"
    Paste the following XML:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <configSections>
    <section name="dataCache" type="Microsoft.ApplicationServer.Caching.DataCacheSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" />
    </configSections>
    <dataCache size="Small">
    <advancedProperties>
    <transportProperties maxBufferSize="XXXX" maxBufferPoolSize="XXXX" />
    </advancedProperties>
    </dataCache>
    </configuration>
    Regards,
    Manu Rekhar

  • Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode ERRCA0017 :SubStatus ES0002 :

    Hello everyone!
    For a long time I've been using the shared cache feature without any trouble with a Windows Azure Website (using session cache).
    The last couple of days, I've been receiving a slew of errors: 
    Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0002>:
    It continues by saying this:
    There is a temporary failure. Please retry later. (The request did not find the primary.). 
    I really don't understand why this is happening now. It was working fine. And all my configuration settings in my web.config are correct.
    The URL is right, and my key is right.  What could be wrong?
    Thanks!
    -Eric
    Eric

    Hi,
    Did you update your azure SDK? Or encounter this issue without doing anything? From my research, I found an article,
    Please have a look at it:
    http://blogs.msdn.com/b/akshar/archive/2011/05/01/azure-appfabric-caching-errorcode-lt-errca0017-gt-substatus-lt-es0006-gt-what-to-do.aspx 
    Hope this helps
    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.

  • I had MSN messenger on my PC but Microsoft changed it worldwide in an outlook version and now i can not open my mails. My system is a windows 7 version.

    I can't open my mails in outlook version after Microsoft (worldwide) changed MSN messenger in outlook

    Could you describe the problem you're having with the new style email in more detail?
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    orange Firefox button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove your live.com cookies (save any pending work first). While viewing a page on the site:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    This will open a dialog where you can remove the cookies individually.
    Then try reloading the page and logging in again. Does that help?

  • Folder %USERPROFILE%\Appdata\local\Microsoft\Windows\caches created everywhere

    Everywhere in all folders that I access a new (empty) folder is created called:
    %USERPROFILE%\Appdata\local\Microsoft\Windows\caches
    Apparently some application/service is not able to resolve %USERPROFILE%. Which application is it and what is the cause?

    Hi,
    Could you please share more information with me? I don't quite understand this issue
    "Everywhere in all folders that I access a new (empty) folder is created called:
    %USERPROFILE%\Appdata\local\Microsoft\Windows\caches"
    Or you can share some screenshots with us.
    What is the result if you manually delete it?
    Regards
    Yolanda
    TechNet Community Support

  • Firefox.exe application error, tried uninstalling firefox but will not delete Scriptff.dll says access is denied. so i can't make a complete clean reinstall. how do i fix this?? thanks!

    saw in previous questions that to fix this application error, i need to uninstall and do a clean install of firefox. however, Scriptff.dll says that access is denied and can not be deleted from the program files. how can i fix this so i can run a clean install?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • Can not open lightroom 3.6 it shows error reading preview cache and closes what can i do. it does not stay open long enough to do anything

    has anyone had an issue that lightroom has error reading preview cache and closes immediately. what can i do to correct this

    Re: "Lightroom encountered and error when reading from its preview cache and needs to quit"

  • Can not launch lightroom says error when reading its preview cache

    I can not launch Lightroom is puts up a error message that says it encountered an error when reading its preview cache and goes in to a loop that keeps closing the program
    I have restarted my comp 4 times same this each time
    I can't find any trouble shooting and when I try and download lightroom again it just puts me back at the creative cloud desktop which I can't click in anything

    You need to delete the preview cache. LR will automatically create new previews.
    Read here and here are the locations. Don't touch the *.lrcat file.

  • Cache Refresh for Adapter Engine is not working

    Hi,
    our adaper engine is not working. At RTW no there are no channels visible and the button "Test Cache Connectivity" leads to a yellow icon for the adapter engine with the error text: "Attempt to fetch cache data from Integration Directory not yet started or still in process".
    The error reason is at <i>http://<j2ee host>:<port>/CPACache/history.jsp</i> available: <i>com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Couldn't open Directory URL (http://pixd1.digoff.no:55200/dir/hmi_cache_refresh_service/ext?method=CacheRefresh&mode=C&consumer=af.xd1.dat-dof-xi), due to: HTTP 403: Forbidden</i>
    <b>The cache refreh request from adapter engine to directory gets an 403 error.</b> What is strange: No problem, to execute that request in a browser, i get the right message, no fault.
    I searched for notes or other threads, i could find only <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_xi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373531383536%7d">SAP note 751856</a> , but it is valid for XI 3.0; we are on PI 7.0.
    I checked out:
    - no user blocked
    - all system users have standard authorisations
    - reimport of SAP BASIS SWC
    - SICF services for XI active
    - destination INTEGRATION_DIRECTORY_HMI working
    Any idea, how i can get the adapter engine working?
    Regards,
    Udo

    Hi,
    There are two ways to display the content of the CPA cache refresh.
    1. The Cache-Update Content-XML
    Document can be stored in the Adapter Framework database (J2EE schema) for further analysis. Here you have to set the property in the J2EE Visual Administrator tool.
    To do so, proceed as follows:
    =>J2EE-service SAP XI AF CPA Cache
    => set property trackCacheUpdateXML= true
    => You can now display the cache update XML with the alias  CPACache
    => View Cache Update History
    => View Cache Update XML
    2. The content of the cache refresh from the Integration Directory intothe CPA cache can be written to an XML file: Here you have to set the property inthe J2EE Visual Administrator tool:
    =>J2EE-service SAP XI AF CPA Cache
    => set property J2EE service SAP XI AF CPA Cache cacheUpdateDebugFile = true
    => the CPA cache refresh XML file will be in the server(0) directory search for the following file names:
    => value of the property cacheUpdateDebugFile.deltaif you intend to see the delta refresh accordingly and the value of the property cacheUpdateDebugFile.full if
    you intend to see the full cache refresh content
    Note: After your analysis, do not forget to reset the properties value to false.
    You can delete the XML cache-
    refresh table: alias CPACache
    => View Cache Update History
    => Delete History
    Also check out the user and its permission.
    regards
    Aashish Sinha
    PS : Reward points if Helpful

  • Can you please help to understand how the firefox decides on the Expires date for a cached javascript file ( my server did not set any Expire header, but firebox set it down).

    # Question
    Can you please help to understand how the firefox decides on the Expires date for a cached javascript file ( my server did not set any Expire header, but firebox set it down). I tried to understand but different javascript file gets different Expires date value when it is being cached. Please help me as I tried lot and could not get proper answer for this. Thanks in Advance.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • "Sent Items" folder can not be synced up in time for Outlook 2013 cache mode

    Hi,
    I found a strange problem in Outlook 2013 cache mode. Hope anyone can help me find out if it is the new design of outlook 2013 or outlook 2013 issue.
    I am using Exchange 2013 and Outlook 2013 client. I created two outlook profiles in two machines separately with a same exchange user, the difference for the two profiles is one is in cache mode, and the other is in uncache mode.
    I launched outlook using the profiles in the two machines, go to "Sent Items" folder, I assume there are some messages in this folder in your mailbox, do below steps:
    1. modify one of the messages in the "Sent Items" folder from the profile in cache mode, in this case, the changes to the message will be synced up to the profile which is in uncache mode immediately.
    2. modify another messages in the "Sent Items" folder from the profile in uncache mode, in this case, the changes will never be synced up to the profile in cache mode.
    In the second action above, even if I clicked "Send/Receive" button, and waited for whole night, the changes was not synched up to the cached mode side. The way I can get the latest changes to the "Sent Items" folder is "clear
    offline items" and click "Update folder" or I need to remove and create the profile again.
    All in all, the changes to the items in "Sent Items" folder of Outlook 2013 which was did from cache mode will be synched up to exchange server side immediately, but the changes which was did from exchange server side will
    never be synched up to the cache mode side unless the end-user clear the offline items and update folder or create a new profile again.
    Any help would be appreciated, thanks in advance!
    Best Regards, Emily

    The first behavior is by design even in the previous version of Office.
    "1. modify one of the messages in the "Sent Items" folder from the profile in cache mode, in this case, the changes to the message will be synced up to the profile which is in uncache mode immediately." 
    Uploading local changes ---- By default, when you make a change locally, that change is synced to the server after 15 seconds. When you make another change within those 15 seconds, then the timer is reset again. As now you
    could in theory hold off synchronization indefinitely, there is the maximum timer. This timer is started after the first change that you made and when it reaches 60 seconds, then a synchronization will occur to upload all the changes that you have made thus
    far, no matter how many seconds are left on the upload timer.
    However, in second section, this should be a downloading server changes
    behavior ---- When a server side mailbox change occurs, Outlook is notified by the Exchange server of this change. By default, Outlook will then wait 30 seconds before synchronizing these changes. If there are any other changes occurring
    at the server level within these 30 seconds, then these changes are downloaded at the same time as well.
    At this time, please directly modify the message in sender items folders through Web-based access and then wait over 30 seconds to check if the items changes from cache mode profile. Please also test if we can reproduce that in other folder.
    Let me know the result. Thanks.
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • Entity-Named Query Caching - Need live results from DB not Cached

    I've developed an application EJB3 web application which uses Entity Beans and NamedQueries to retrieve my results.
    Aswell as my main EJB3 web application I also have an external interface (Oracle Stored Procedure) which is updating data in my database tables. The problem is that the when the NamedQueries are called they only bring back "Cached" resultsets and not the live results that exists in the database at that time. If my Stored Procedure updates a value (or if I update a value via Toad for testing) the NamedQuery does not bring back these changes. From what I have read about NamedQueries it seems that they do actually query the live db but send back the cached values for performance reasons.
    Is there a way to turn off caching of Query results?
    If not is there another way to deal with this issue?
    ps. I'm using Jdev 10.1.3.4 and appserver 10.1.3.1

    Anyone?

  • When I load sites such as ESPN it loads the headlines and news from weeks ago. I've cleared my cache, history, cookies, and it did not fix the issue.

    When I visit sites such as ESPN where the news and headlines change daily or even hourly for some reason my browser loads the site from a few days ago. I try to refresh the page but that does not fix the problem. I have cleared all history, cache, etc... that did not work. I added a ? to the end of the URL and that loaded a different page but still not the current new head lines. It's almost like it is stuck with the info from a previous visit.

    Hi Elkhorn,
    Please try this:
    # Open the url about:permissions
    # search for the site in the filter
    # click "Forget this site"
    # Restart Firefox
    # Open the site and see if the headlines change :-)

Maybe you are looking for

  • BI Content Install SHORT DUMP

    HELP! I am trying to install BI Content on a newly installed netweaver Box.  We are running BI 7.0 with SP 15 and BI_CONT 703 SP 5.  This is the error: Runtime Errors         ASSIGN_LENGTH_0 Date and Time          2008/02/18 12:55:36 Short dump has n

  • How can I use JAXB on Java 1.4?

    My code is developed on 1.4 and my firm has not upgraded to 1.5 yet. Can I use JAXB? All I see on web is JAXB2.0 hat requires Java 1.5. What can I do? Is there any pre-2.0 release of JAXB - I am sure they had JAXB before Java 1.5 Please shed some lig

  • Remove line breaks within a xml element

    Hi, I have a xml element that contains a long text string with multiple line breaks. something like this: text text text text text text text text text How can I remove all line breks except one, i e I still want a line brek after each text line: text

  • ABAP:File = Write Up to 300 Records in file

    HI friends, One quick question on ABAP file handling Can you let me know the logic , When user writes 300 Records in a file and when he tries to write 301 records the select screen should through an error message saying "only 300 records can be downl

  • Returning table without defining structure

    Hello, I'm back again, finally I can work with general tables without defining structures but now I found a problem, I want introduce the modified fields into a table for returning it,  but the question is that this table hasn't the structure definit