pfoppe

Authorizing Portal for ArcGIS

Discussion created by pfoppe on Aug 13, 2013
We have installed the Portal for ArcGIS on a Windows Server 2008 R2 SP1 64-bit virtual machine. 

This is our second installation.  The first worked just fine.  This installation succeeded but the SoftwareAuthorization.exe file fails to execute.  We receive the following error in the event viewer:

Log Name: Application
Source: SideBySide
Date: 8/13/2013 8:04:26 AM
Event ID: 33
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: <HOSTNAME>.<DOMAIN>
Description:
Activation context generation failed for "C:\Program Files\Common Files\ArcGIS\bin\SoftwareAuthorization.exe". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SideBySide" />
    <EventID Qualifiers="49409">33</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-08-13T14:04:26.000000000Z" />
    <EventRecordID>1639</EventRecordID>
    <Channel>Application</Channel>
    <Computer><HOSTNAME>.<DOMAIN></Computer>
    <Security />
  </System>
  <EventData>
    <Data>Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>C:\Program Files\Common Files\ArcGIS\bin\SoftwareAuthorization.exe</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>


Couple web-searches seem to indicate there is an issue with the Microsoft c++ redistributable package


SideBySide errors are typically caused by the current Microsoft Visual C++ version not being backward compatible with the application that failed. The Event ID 33 error message is typically: Activation context generation failed for �??program name�?�..Please use sxstrace.exe for detailed diagnosis. There are other similar SideBySide errors with the same problem of backward compatibility. If the software works OK then you don't have to fix it but if it does not or you want to get rid of this error here are two Fixes:

1) Reinstall or Repair (preferred if an option) the application. Often the installation package will have the version of Microsoft Visual C++ that it uses and will install it.

2) Try to figure out what Microsoft Visual C++ Redistributable Package version (available versions are: 2003, 2005, 2008, & 2010) the application needs (most likely the one that came out prior to the date that the application software was created; check the dates of the files in the package). . These are available through Microsoft's Downloads.
Worse comes to worse you can just try installing a previous version to see if it works, if not then try the one before that. Though I don't like it, you can have multiple versions of Microsoft  on your computer and most people do because various install programs will install the one that they like.


and

Error message: "Side-by-side configuration is incorrect"
The machine is missing the correct C++ runtime components for your type of system. (x86 or x64).
Installing the following update resolved the issue.
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
http://www.microsoft.com/downloads/en/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en
Microsoft Visual C++ 2008 SP1 Redistributable Package for (x64)
http://www.microsoft.com/downloads/en/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en
Microsoft
Visual C++ 2010 Redistributable Package (x86)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84
Microsoft
Visual C++ 2010 Redistributable Package (x64)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=bd512d9e-43c8-4655-81bf-9350143d5867

Thanks,


We tried installing the Visual C++ 2005 Redistributable Package (x64) with no success.  Also tried the 2010 version with no avail...

Our first portal had ArcGIS Desktop 10.2 installed.  We started the 10.2 desktop install on this portal solution and once we installed the .Net 3.5 SP1 to prepare the desktop install the authorization executable succeeded. 

Figured I would post our experience in case someone else had the same issue... If I get a chance I will have our Esri rep submit an incident, but this got us past the issue...

Outcomes