none
MIM 2016 SP1 Service and Portal Installation fails RRS feed

  • Question

  • MIM 2016 SP1 Service and Portal installation fails with this error message:

    CAQuietExec:  Adding feature for microsoftilmportalcommondlls.wsp
    CAQuietExec:  An exception occurred while running Microsoft.IdentityManagement.SolutionPackUtility.exe: System.IO.FileNotFoundException: Could not find file 'C:\web.config'.
    CAQuietExec:  File name: 'C:\web.config'
    CAQuietExec:     at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    CAQuietExec:     at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    CAQuietExec:     at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
    CAQuietExec:     at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
    CAQuietExec:     at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
    CAQuietExec:     at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
    CAQuietExec:     at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
    CAQuietExec:     at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
    CAQuietExec:     at System.Xml.XmlTextReaderImpl.OpenUrl()
    CAQuietExec:     at System.Xml.XmlTextReaderImpl.Read()
    CAQuietExec:     at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    CAQuietExec:     at System.Xml.XmlDocument.Load(XmlReader reader)
    CAQuietExec:     at Microsoft.IdentityManagement.FeatureReceivers.XmlHelper.LoadSafeExtension(XmlDocument xmlDocument, String xmlFileName)
    CAQuietExec:     at Microsoft.IdentityManagement.FeatureReceivers.WebConfigModificationUtility.MoveErrorModuleToTop(SPWebApplication webApp)
    CAQuietExec:     at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
    CAQuietExec:     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
    CAQuietExec:     at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)
    CAQuietExec:     at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, Boolean fIgnoreMissing, SPFeatureDefinitionScope featdefScope)
    CAQuietExec:     at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)
    CAQuietExec:     at Microsoft.IdentityManagement.SolutionPackUtility.Program.DeploySolutionPack(String solutionPackName, String path, Boolean allowGacDeployment, String baseSiteURL, String siteName, String featureGUID, String scope, String webTemplate, String title, Boolean createWeb)
    CAQuietExec:  An error occurred while deploying FIM portal solution packs. 
    CAQuietExec:  Error 0xfffffffa: Command line returned an error.
    CAQuietExec:  Error 0xfffffffa: CAQuietExec Failed
    CustomAction InstallCommonPortal returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

    Any suggestions what is wrong? It is a little bit weird that installer looks web.config from C:\ root folder.

    Thursday, April 13, 2017 5:40 AM

Answers

  • So what version of OS are you running??

    Did SharePoint installation complete successfully?

    I the user running this installation the same as the SharePoint Farm admin?


    Nosh Mernacaj, Identity Management Specialist


    Well the problem was broken IIS. Removing IIS and reinstalling it fixed the problem. Ok, we still don't know the root cause but thats ok.
    • Marked as answer by 2xTsei Monday, April 24, 2017 5:08 AM
    Monday, April 24, 2017 5:08 AM

All replies

  • What installer are you running?

    The Stand-alone installer? The SP1 Upgrade Pack?


    Did my post help? Please use "Vote As Helpful", "Mark as answer" or "Propose as answer". Thank you!

    Thursday, April 13, 2017 6:18 AM
  • Stand-alone Service and Portal installer.
    Thursday, April 13, 2017 6:29 AM
  • Have you followed the steps here to prepare the server?

    https://docs.microsoft.com/microsoft-identity-manager/deploy-use/prepare-server-sharepoint


    Did my post help? Please use "Vote As Helpful", "Mark as answer" or "Propose as answer". Thank you!

    Thursday, April 13, 2017 7:45 AM
  • Have you followed the steps here to prepare the server?

    https://docs.microsoft.com/microsoft-identity-manager/deploy-use/prepare-server-sharepoint


    Did my post help? Please use "Vote As Helpful", "Mark as answer" or "Propose as answer". Thank you!

    Yes. And actually we have experience of many many installations but in this case we faced an issue which is new.

    I think this issue is related somehow to the Sharepoint and or IIS rather than MIM, but unfortunately the error itself appears when we try to install MIM Service and Portal.

    Thursday, April 13, 2017 7:51 AM
  • So, has anyone faced the same issue? We have already installed a test environment which is exactly same like this production environment and followed same installation guide without any issues. Why the installer is looking web.config from the C:\ root folder?

    Wednesday, April 19, 2017 11:33 AM
  • First of, everyone has issues with this, one way or another.

    The only way to troubleshoot it is to run the verbose login, not the quit mode.

    1- Login to the MIMServer as the user who is the SharePoint farm administrator (user who installed it basically)

    2- Open CMD as Administrator and swith to the directory where the installaer is

    3- run this command "msiexec /I "Service and Portal.msi" /L*V log.log

    4- When it fails, look at the log you will find something more meaningful

    In addition,  What is the Windows OS Version?


    Nosh Mernacaj, Identity Management Specialist

    Thursday, April 20, 2017 12:26 PM
  • First of, everyone has issues with this, one way or another.

    The only way to troubleshoot it is to run the verbose login, not the quit mode.

    1- Login to the MIMServer as the user who is the SharePoint farm administrator (user who installed it basically)

    2- Open CMD as Administrator and swith to the directory where the installaer is

    3- run this command "msiexec /I "Service and Portal.msi" /L*V log.log

    4- When it fails, look at the log you will find something more meaningful

    In addition,  What is the Windows OS Version?


    Nosh Mernacaj, Identity Management Specialist


    Yes, the error message from original post is taken from Service and Portal verbose log. And actually that is most meaningfull.
    Friday, April 21, 2017 10:25 AM
  • So what version of OS are you running??

    Did SharePoint installation complete successfully?

    I the user running this installation the same as the SharePoint Farm admin?


    Nosh Mernacaj, Identity Management Specialist


    Friday, April 21, 2017 12:48 PM
  • So what version of OS are you running??

    Did SharePoint installation complete successfully?

    I the user running this installation the same as the SharePoint Farm admin?


    Nosh Mernacaj, Identity Management Specialist


    Well the problem was broken IIS. Removing IIS and reinstalling it fixed the problem. Ok, we still don't know the root cause but thats ok.
    • Marked as answer by 2xTsei Monday, April 24, 2017 5:08 AM
    Monday, April 24, 2017 5:08 AM
  • Leo, this part of the guide fails for me, cannot sign in as enterprise admin, only as a local admin. Any ideas? Thanks.
    Friday, May 12, 2017 1:39 PM