Web Apps won't work - Crypto provider access is denied

This is a fresh SharePoint Foundation 2010 install following well documented steps that have worked on other servers.  The OS is 2008 R2.  The error in the log file is the following:
03/19/2011 09:37:58.58  w3wp.exe (0x1428)                        0x1BF4 Excel Services Application     Excel
Calculation Services     d51d Medium   MossHost.CreateServiceChannel<IExcelServiceSoap>: Failed with the following exception: System.Security.Cryptography.CryptographicException: Access is denied.      
at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)     at System.Security.Cryptography.Utils._GenerateKey(SafeProvHandle hProv, Int32 algid, CspProviderFlags flags, Int32 keySize, SafeKeyHandle&
hKey)     at System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle)    
at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()     at System.Security.Cryptography.RSACryptoServiceProvider.ExportParameters(Boolean includePrivatePa... cf1ea827-a292-4ddf-a520-d80a781f1b25
The app pool for the "SharePoint Web Services Root" is running under the LocalSystem account.  I have verified that the SYSTEM account has access (full) to all the MachineKeys in the C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys folder.
Any idea on what the permission is causing this problem?
Just as a side note, all the Excel services, web apps activation, etc. have all been confirmed they are setup, running, etc.  No errors are logged in the event log.
Rob

If your application uses impersonation or the IUSR_MACHINENAME user, then configure the MachineKeys folder security rights and give the following rights to the user:
Read & Execute, List Folder Contents, Read, Write
Hi Rob,
From the error message "Security.Cryptography.CryptographicException: Access is denied", we can know this issue was caused by access denied. Based on your description, you known that. It is great.
However, I would like to mention that the Excel Calculation Services is running under another application pool other than the SharePoint Web Services Root. So the application pool account may be different.
Please follow these steps to get the application pool account:
1. Open Internet Information Server(IIS) manager.
2. Expand the site "SharePoint Web Services"
3. Select each application under the site
4. Click "Basic Settings..." from the right panel.
5. Repeat step 3 and 4 till we get the application that has path like C:\Program Files\Microsoft Office Servers\14.0\WebServices\Shared\ExcelCalculationServer from the "Basic Settings"
6. Now, get the application pool name from the "Basic Settings"(Edit applicatoin) dialog.
7. Go to Application pools
8. Select the Excel Calculation Services application pool.
9. click "Advanced Settings" from the right panel.
Now, we can get the application pool account from the "Advanced Setting" dialog.
Please make sure this account has permissions to write key to Machine Keys folder.
Alternatively, use the Process Monitor to monitor which account is used to write file to the machine key folder. We can filter the Result column to check who is denied to access the folder.
If you have any more questions, please feel free to ask.
Thanks,
Jinchun Chen
Jin Chen - MSFT

Similar Messages

  • Flash web app won't work on all computers

    I have three computers, a desktop and notenook both running Win7 Home Premium SP1, and another desktop running XP SP3. The Boss and I joined Weight Watchers and we try to use their tracker app. On the laptop and XP box, the flash app loads just fine, albeit VERY slowly. On the Win7 desktop only the loading screen shows but it never runs. The Win7 DT has Flash 11. The Win7 NB has Flash 10. I think the XP has Flash 9. The two Win7s also run Norton Internet Security and the XP runs Avast & Win Firewall.
    How can I determine what's keeping the one Win7 box from running the tracker app? All the setting seem to be the same.

    Try a clean install, as follows:
    Download the current 32 or 64 bit uninstaller
    Uninstaller for 64 bit Operating Systems
    Uninstaller for 32 bit Operating Systems
    Close all browser windows and run the uninstaller
    Restart Windows
    Delete all remaining files and folders located in the following directories.  (tip: copy and paste these paths into the path bar in an Explorer window)
    C:\Windows\system32\Macromed\Flash
    C:\Windows\SysWOW64\Macromed\Flash
    %appdata%\Adobe\Flash Player
    %appdata%\Macromedia\Flash Player
    Verify that the file “FlashPlayerCPLApp.cpl” in C:\Window\system32\ for 32 bit systems or C:\Windows\SysWOW64\ if you are using a 64 bit system, has been deleted
    download the appropriate installers from http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#Ins tall_in_a_firewall_proxy_server_environment
    close all browser windows, then run the downloaded installers

  • Mail.app won't work properly after installing Yosemite

    My "new viewer window" in Mail.app won't work after installing Yosemite. I can not access the viewer window and thus none of my email.
    How can I fix this?
    Mail.app v 8.0

    some updates on this issue, Mail application uses the same proxy that has been set on your system (system preferences==>Network==>Advanced==>proxies). People usually use HTTP/HTTPS proxy for surfing the web. You should make sure to set SOCKS proxy as well. Mail application works with SOCKS proxy. Note that port number for SOCKS proxy is usually different from the port number for HTTP and HTTPS but the IP address of  your server (apparently) is the same.
    Hope this helps

  • Banking apps won't work in mavericks 10.9.1 on mackbook air

    banking apps won't work in mavericks 10.9.1 on mackbook air

    Welcome to Apple Discussions
    This is more a function of your bank and it's decision to use some non-standard Windows programing than it is an issue with your MBA.
    If you are talking about accessing a financial site through Safari you could try using Firefox. Sometimes Firefox plays better on a Windows WYSIWYG written web page than Safari. A second workaround (but by no means a desirable one) would be to run Windows under emulation or Bootcamp. This means you have to obtain a legitimate copy of Windows OS.

  • Will Office Web Apps Server 2013 work with SharePoint 2013 sites hosted in SP2010 compatibility mode?

    We are planning a upgrade of a SP2010 farm to 2013. There has been a bit of customization so we wish to run the old sites on the new SP2013 platform in SP2010 compatibility mode.
    So my question is will Office Web Apps Server 2013 work with the old sites hosted in compatibility mode?
    I found a similar query from March 2014 found here 
    http://sharepoint.stackexchange.com/questions/93101/office-web-apps-2010-running-on-sharepoint-2013-for-compatibility-mode-sites/116281#116281 
    Has there been an update released to resolve this
    Cheers D

    Hi  ,
    According to your description, my understanding is that you need to know whether Office Web Apps 2013 is working with SharePoint 2013 sites which is in SharePoint 2010 compatibility mode.
    For my test, Office Web Apps 2013 with SharePoint 2013 sites which is in SharePoint 2010 compatibility mode is working fine.
    Thanks,
    Eric
    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]
    Eric Tao
    TechNet Community Support

  • Camera app won't work stuck on shutter

    My camera app won't work it stuck on the shutter
    iOS 5.0 i never did an Update or restore to the software
    iPhone 4S white
    16GB
    iOS 5.0
    Unlocked Version But now im using China Unicom Carrier
    Bought on January 2012

    I happen to be experiencing then same problem again!
    I have followed all the steps and my phone will just not come right. I love my iPhone but I have no clue what is going on sometimes it will just freeze in the camera app and I have to restart my whole phone.
    I have downloaded another camera app to see if it would make any difference and it hasn't.
    Should I take it back to the service provider that I have my contract with and get them to send it in to apple? Because the phone is only 3 months old.
    Please Help me or advise me on what to do because I don't want to leave it and it causes more problems.

  • Firefox froze up. So I removed from computer and reloaded. If I close Firefox, can't restart by clicking on the icon. Have to end process in Task Manager. It then starts. Some links on some web pages won't work.

    Hi,
    As I say in the question I don't know what happened but Firefox just stopped operating and then became erratic. So I removed the firefox programme from my computer and reloaded Firefox.
    It now runs normally but I can't run Firefox on two tabs, only one, and if I close it down during a session I can't reopen it using the desk top icon. I go to task manager, processes, and end process for Firefox - then I can start it using the icon on the desktop.
    I have also noticed that some links on a web page won't work - javascript is involved.
    Thanks for your herlp,
    Mike FD

    It sounds like you are getting in a hurry.
    If you force Firefox to close in a hurry, then it won't normally start until you re-start the computer. There are ways around this, but I'm not going to go into them right now.
    None-force way to close Firefox down: Close the program and wait. Do something else. Firefox appears as if it is closed, but it's not. Firefox cleans out cookies and it's cache after you close it. That takes a few minutes. You can't restart it while it's doing house cleaning.
    After it is done, then you can restart Firefox normally. You can watch it in the Task Manager.
    The same applies if you are installing javascript. You have to wait a few minutes.
    As for running it with multiple tabs, I usually have 5 or 6, or more, tabs open at a time. Have no idea what the problem is there. Firefox needs special permission by use of a pop-up option to close with multiple tabs open.

  • I upgraded to 5.0.1 and now 2 apps won't work.  Skype and Pinterest.  When i tap them they open and immediately close.  I deleted and reinstalled both.  What do I do now?

    I upgraded to 5.0.5 on my iphone4 and now 2 apps won't work - Skype and Pinterest.  When I tap them they open and then immediately close.  I have tried turning off my phone and deleting the apps then reinstalling them.  They still don't work.  What do I try next?

    I went through your instructions  Notification was already off
                                                   Alert Sytie was set on None - switched to Alerts
                                                   Badge App icon was set on off   Turned it on
                                                   Sounds was set to off   Turned it on
                                                   View in Lock Screen was set to off  Turned it on
    Still does not work.  Thanks for trying

  • I just got an iPhone 5S, now when I try to use my old iPad the apps won't work because they are syncing with my new phone. Can I have the same account for an old iPad and a new iPhone?

    I just got an iPhone 5S, now when I try to use my old iPad the apps won't work because they are syncing with my new phone. Can I have the same account for an old iPad and a new iPhone?

    Connect your iPad to iTunes on the computer you usually Sync with and “ Check for Updates “...
    If an Update Appears Install it... if not... you are up to date for your particular Device...
    See the Using iTunes Section Here...
    How to update your iPhone, iPad, or iPod touch
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • Why is it that each time I upgrade my iPad, half of my apps won't work properly but worst of all my email won't send after the latest "patch" today, wake up Apple I am a new user and getting sick of this problems

    WHy is it that each time I get an upgrade some of my Apps won't work when they did with the previous version. I have just upgraded to v7.01 and now I cannot send email, wake up Apple and get it right as I am a new user of Apple technology and not impressed.

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • Updated OS X Mavericks and now USB ports and MS Office apps won't work. How do I fix this?

    I updated  my MacBook Pro (mid 2012) to OS X Mavericks 10.9.4 and now my USB ports and MS Office apps won't work.  What do I do to fix this?

    What system version were you running before you updated to 10.9.4? Another 10.9.x or something earlier?
    What version of Office? 2004, 2008, or 2011?
    Were you aware that Office 2004 does not run on recent versions of the system?
    When you say your USB ports do not work, on what are you determining that?
    Were you aware that Mavericks does not display external disk volumes by default?

  • Most of my Apple apps won't work. Suddenly on my MacbookPro running 10.9.2

    Most of my Apple apps won't work. Suddenly on my MacbookPro running 10.9.2

    blakefromsaint george,
    if you boot your MacBook Pro into Safe mode, do your apps still not work then?

  • TS2771 I have the iPod Touch 2G and for some reason half of my apps won't work.

    I have the iPod Touch 2G and for some reason half of my apps won't work.

    - Reset the iPod, nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Purchase/install any new app
    - The remaining items of:
    iOS: Troubleshooting applications purchased from the App Store
    - Last, restore the iPod

  • After updating my 5S phone to 8.0.2 twitter app won't work

    updated OS on my iPhone 5S to 8.0.2 and the twitter app won't work anymore. Tried deleting and re-installing and it still won't work - any ideas?

    My twitter account showed up twice in the settings for twitter. I deleted one of the accounts and now the twitter app is working normally.

  • Apps won't work after sync and software update

    Just syncd my ipod 4.  Now FB, games and other apps won't work.  The screen just goes blank.  Re did the sync and still nothing.  I really don't want to restore the settings because I have a lot of info on this pod.  What can I do?

    Try restarting your iPod by holding down the on/off and home buttons at the same time until you see the Apple logo, if that don't work try double clicking your home button to open your multi-task window hold you finger on the first app until it start to wiggle and the red minus sign shows up in the left corner tap the red minus sign to close all of your open programs.

Maybe you are looking for

  • Need some help with Slow Downs in Java3D and Servlets

    Hi, I realize that there is a separate forum for Java 3D, but I posted there, and did not get any response. This is kinda the crux of my program, so I would like to invite anybody on this forum with knowledge of Java 3D and servlets to give it a stab

  • Bottom/base price check in Sales order processing

    Hi In my company we are using process Sales Order > DO > Billing. Same pricing procedure for sales document types and billing types. No pricing procedure for DO. Our management wants to implement bottom price check in sales order processing e.g there

  • Installing an AIR application generated from a PHP script using a badge

    I have written a PHP script to return a file with the Content-Type header set to application/vnd.adobe.air-application-installer-package+zip to simulate a response that looks like an AIR file.  The Content-Length and Content-Disposition headers are a

  • Keychain syncing between two computers

    I'm not sure where this post belongs as the issues seems to span different aspects of my computers. Originally I thought it was a mobileme issue but support was unable to help and over the last year I've tried many internet searches and asked many pe

  • Doesn't start, Apple logo blinks on and off.

    My iPod Classic won't start.  There's just a pale image of the Apple logo which blinks on and off.  Plugging it into various USB ports has no effect. Dying battery?  (I've had the device for about a year only.)