Sunday, November 9, 2014

How to install OAM IIS 11g R2 PS2 WebGate Installation on IIS 8.5

Environments:

  1. Oracle Access Manager 11g R2 PS2(11.1.2.2.0)
  2. IIS 8.5
  3. Windows Server 2012 R2 64-bit

    Steps:

    1) Download IIS 11g R2 PS2 WebGate from Oracle E-Delivery Site.


    2) Extract and navigate to Disk1 and run setup.exe as shown in the below screen shot.

    3) Click Next


    4) Click Next 



    5) Change the default installation if required


    6) Click Install




    7) Installation is completed


    Now, Lets deploy web gate instance with the command as shown in the screen shot below.


    A new web gate instance folder will be created and copies required files.


    Now, Configure the web gate instance with IIS Web Site as shown in the below screen shot.



    Check "webgate.ini" file for registered web gate instance.



    Check "web.config" file as shown in the below screen shots


    Now, Restart the IIS web server



    Create New 11g WebGate Profile from OAM Admin Console and copy the "cwallet.sso" & "ObAccessClient.xml" from output folder to webgate instance "config" folder as shown in the below screen shot.


    Now, test the application URL http://ssodev.pokuri.com:8888/hello.html






    Hope this helps some one out there!!

    -- Siva Pokuri

34 comments:

  1. I am facing an issue.

    When i browser the url, i am getting below error

    Calling LoadLibraryEx on ISAPI filter "C:\Oracle\product\11.1.1\as_1\webgate\iis\lib\webgate.dll" failed

    Can you please help me Siva.

    ReplyDelete
    Replies
    1. Please let me know the environment details and versions of OAM, IIS, OS etc.

      Then I can suggest something.

      -- Siva Pokuri.

      Delete
  2. Thanks for the reply Siva, below are the details:

    OS : win 2012 R2
    IIS : 8.5
    OAM : 11.1.2.3.0
    Webgate : 11.1.2.2.0

    Please let me know if you need a ny more details.

    ReplyDelete
    Replies
    1. Ok. I would suggest to check if there are any dependent DLL's missing for webgate.dll.

      You can use any DDL dependency viewer tool to check if any dependent DLL's missing for webgate.dll

      And confirm if you have below list of DLL's installed in your server.

      IEShims.dll
      mfplat.dll
      msvcp110.dll
      msvcr110.dll
      wlanapi.dll

      Siva Pokuri

      Delete
    2. I have installed Dependency Walker and as you said the dlls were missing.
      To install the dlls, i tried installing vcredist_x86 and vcredist_x64 but still the below dlls are missing :
      API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
      EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
      SETTINGSYNCPOLICY.DLL

      Is there any other software which will provide the above dlls? :(

      Delete
    3. Vasu,

      I believe you checked dependencies for webgate.dll. Most of the DLL's can be found in web. If not, I would suggest to check with your Windows admin team.

      -- Siva Pokuri.

      Delete
    4. Hi Siva,

      I am also facing the above issue with same version of products. i have placed all the dependancy dll files under system32 folder. but still i am facing same issue.

      Regards,
      Magesh

      Delete
  3. Thanks Siva.

    I have resolved dependency issues.

    Now when i try to access hello.html,i'm getting "The Webpage cannot be found" error.
    Do i need to place hello.html in any particular location in IIS?

    ReplyDelete
    Replies
    1. Good to hear that.

      Your page has to be in wwwroot directory(if you are using default IIS website).

      -- Siva Pokuri.

      -- Siva Pokuri.

      Delete
    2. hello Vasu, i got same problem with u. can u tell me how to solve this problem?

      Delete
  4. hello Siva. I got same problem as Vasu. I installed missing Dll file but can not solve this problem. I am using 1 OAM server place on Oracle Linux 6.5 and IIS Server on Windows SV 2008. Can u suggest something?

    ReplyDelete
    Replies
    1. What is IIS version you are using?

      -- Siva Pokuri

      Delete
    2. im using IIS 7.5, Webgate 11G, OAM 11gR3 on Oracle linux 6.5

      Delete
    3. Let me know if you see any error messages in webgate logs and in windows event viewer also.

      And check the version compatibility also once.

      -- Siva Pokuri.

      Delete
    4. i got same problem with vasu. Error code 700c1. i think this is about 32 bit and 64 bit application. But i tried follow some guide from google but nothing happen. its include replace some dll file as u said below. And i got same issue with IIS 7.5,8.

      Delete
    5. What document you followed?

      Please check webgate logs ad windows event viewer also.. you may find some useful information.

      -- Siva Pokuri.

      Delete

  5. C:\oracle\product\11.1.1\as_1\webgate\iis\lib\webgate.dll
    x86
    C1000000
    here come from windows event logs

    ReplyDelete
  6. Hi Cuong,

    I have updated applicationHost.config file to resolve the issue.
    Below is the change:


    Add preCondition="bitness64" and reset your IIS and it should resolve the dll issue.

    ReplyDelete
    Replies
    1. Hi Vasu, i am getting the same error i.e,

      Calling LoadLibraryEx on ISAPI filter "c:\oracle\product\11.1.1\as_1\webgate\iis\lib\webgate.dll" failed

      i have also installed vcredist_x86 and vcredist_x64 but still getting same error.
      than i saw you have appended applicationHost.conf file and that resolved the error in your case. can you please specifically tell me the exact location of applicationHost.conf file and the complete entry to enter in the file.
      Thank you for this anticipation. I would be more than thankful to you for this.
      Please do reply... i am waiting for you reply.

      Delete
  7. I have run into the same problem. I am running WebGate 11.1.2.2.0 on Windows Server 2008 R2 Enterprise.

    My applicationHost settings are as follows












    ReplyDelete
    Replies
    1. In the isapifilter section,

      <filter name="OracleWebGate" path="C:\oracle\product\11.1.1\as_1\webgate\iis\lib\webgate.dll" enabled="true"

      Delete
  8. Dear Sir Siva,

    I have a little query please help.
    When i run the ConfigureIISWebgate.bat command same as you did in the tutorial.

    It throws error: ERROR: Site with specified name doesn't exist.

    please help out i will be glad.

    ReplyDelete
  9. I have done the same environment as you did in the Vm.

    But when i run the ConfigureIISWebgate.bat command as you did.

    It throws an error:
    ERROR: Site with specified name doesn't exist.

    Please help in this. Its Urgent.

    ReplyDelete
  10. this post is extremely useful without any doubt.

    I have done the same environment as you did in the Vm.

    But when i run the ConfigureIISWebgate.bat command as you did.

    It throws an error:
    ERROR: Site with specified name doesn't exist.

    Please help in this. Its Urgent.

    ReplyDelete
    Replies
    1. What is the IIS website name you giving in configureIISWebgate.bat command?

      You most to give same name what you have for IIS website. In my configuration I created new website in IIS called "OAM11gTestSite" and so used that in config command.

      If it still didn't work then share me the command you executing and any errors from windows even logs.

      Hope this helps.

      -- Siva Pokuri.

      Delete
    2. thank you so much dear siva for your reply. i am new to IDM and IIS so just stuck here, now i have resolved this issue and now getting the following error:

      Calling LoadLibraryEx on ISAPI filter "c:\oracle\product\11.1.1\as_1\webgate\iis\lib\webgate.dll" failed

      Detailed Error Information
      Module IIS Web Core
      Notification Unknown
      Handler OracleWebGateExtension
      Error Code 0x800700c1
      Requested URL http://localhost:8080/
      Physical Path C:\ecc
      Logon Method Not yet determined
      Logon User Not yet determined


      I have found in the above post that Vasu had same error and he installed the c++ redistributions 32 and 64 bit so as i did but still didnot solved the issue. please do reply in this regards. I will be thankful to you sir.

      Delete
  11. Hello Siva

    I'm using OAM version 11.1.2.2.0 , Webgate version 11g IIS 7.5 64bit , Window Server 2008 R2 ,
    When i hit the http://:8888/hello.html VisualSVN server authentication box is appear but i don't know the username and password. There is any default username and password or should i use AD username and password ?

    One thing when i hit the http:// the error message is getting (HTTP 503 Error)

    ReplyDelete
  12. Hello Siva

    I'm using OAM version 11.1.2.2.0, webgate version IIS 11g 64bit, Window Server 2008 R2, IIS version 7.5,
    When i hit the http://:8888/hello.html the visual SVN authentication box is appear but i don't know what is the username and password. Is there any default username and password or should i need to login with AD username and credential.

    One Thing - When i hit the http:// the error message is getting HTTP 503

    ReplyDelete
  13. Hi! Do you know if they make any plugins to help with Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good results. If you know of any please share. Appreciate it! yahoo sign in

    ReplyDelete