Hello,I installed the web adaptor for IIS with no issues but when the initial web page tries to come up I am getting the below error.My IIS settings have all the requirements listed in the help doc. I believe my machine meets all the system requirements.I installed successfully to Win2008r2 successfully off the exact same ico image. The web page came up no problem.Server and IIS seem to be running fine I have been able to publish services, create web apps (js), etc etc on this laptop.I have the System.Security assembly registered in my C:\Windows\assembly folder. I can't think of what may be causing this.I have unistalled Web-adaptor and re-installed, no luck.Possible related link: http://forums.arcgis.com/threads/80023-Web-Adapter-Installation-Error-ProblemWin7 sp1 (hp laptop)ArcGIS_Server 10.1 (sp1)IIS (6.1) and ArcGIS server installed on same machine.no Citrixno windows domain accountno active DirectoryThanks for any clues**************Error Error Error*************** 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.Security.Cryptography.CryptographicException: 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.Stack Trace:[CryptographicException: The system cannot find the file specified.] System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) +369 System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKeyContainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) +151 System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair() +85 System.Security.Cryptography.RSACryptoServiceProvider.ExportParameters(Boolean includePrivateParameters) +98 ESRI.ArcGIS.WebAdaptor.Config.SetupUI() +378 ESRI.ArcGIS.WebAdaptor.Config.Page_Load(Object sender, EventArgs e) +76 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42 System.Web.UI.Control.OnLoad(EventArgs e) +132 System.Web.UI.Control.LoadRecursive() +66 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456
I ran into this issue before with 10.2 and again with 10.2.2. For me I had to change the Authentication Settings in IIS to use 'Windows Authentication'. Worked like a charm.
Chaps,
I have had this problem but only in relation to changing the AppPool user as we have multiple WebAdaptors within multiple sites on the same IIS instance.So traffic from one site does not affect the AppPool from another site, the AppPools required different instances/identities i.e. ArcGISWebAdaptorAppPool for the Default Site and ANotherWebAdaptorAppPool for ANother Site. The cryptography error occurs only when I moved away from the Default - ArcGISWebApatorAppPool user Identity...? So I discovered that The WebAdaptor installer set 'Load User Profile' to 'True' for the ArcGISWebAdaptorAppPool. My ANotherWebAdaptorAppPool didn't have it set up and therefore couldn't use the 'Windows Cryptographic Service Provider' therefore making Cryptographic Context unavailable as this is only available to windows account within the .NET framework. 'Load User Profile' elevates the AppPool identity to a sudo user level enabling it to use the 'Windows Cryptographic Service Provider'.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.