BSM 9.10: Error when trying to log into BSM

Hello,  

 

I am getting the below error from IIS.   I have checked everything on the Microsoft website for the article on this error. 

 

HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "I:\HPBSM\bin\IIS\isapi_redirect.dll" failed

 

Does anyone have a clue as to hpow to resovle this or seen this with BSM 9.10 and IIS 7.5?

 

Any information greatly appreciated.

 

Thanks.

Parents
  • Check the handlers for the IIS.

    Also mention what handlers are enabled currently for the website.

     

    Regards,

    kumaran dp

  • Hi Kumaran,

    Ensure the ID with which your BSM service is running is having admin rights on GW & DPS server.

    First stop BSM Service. Then run <BAC_install_dir>\dat\iisremoveconfig.bat and then again
    <BAC_install_dir>\dat\iisconfig.bat. It should fix the issue.
  • Make sure you have all the IIS7 roles installed

    Here is all the IIS7 roles required for BSM:

    ISAPI Extensions; ISAPI Filters; IIS Management Scripts and Tools.

     

    Danny Wang

  • Make sure you have all the IIS7 roles installed

    Here is all the IIS7 roles required for BSM:

    ISAPI Extensions; ISAPI Filters; IIS Management Scripts and Tools.

     

    Danny Wang

  • Are you using OutOftheBox setup or you changed the "default web site"?.

    Also, please check if  full path is used  in IISconfig.bat and IISRemoveConfig.bat? if not, you may open a ticket with HP support.

  • Rajeskare,

     

    Here are the supervisor log files attached.

     

    Let me know what you find.

     

    Thanks.

  • I don't see any issues on BSM side and there is no information about attaching to IIS. Have you tried re-installing IIS? Can you try again running the batch files manually from command prompt & provide the output?

    See the application/system event logs for any error information for IIS. One way to verify if your IIS is working fine is to remove topaz at the end BSM URL and open it in a browser. You should get "It Works" message.

    Just wondering if this is an upgraded environment from BAC 8.x to BSM 9.10 environment? If so, there is a bigger issue that need to be addressed.

    On the other note, is this a single server deployment & your DB installed on same server?
  • I don't see any issues on BSM side and there is no information about attaching to IIS. Have you tried re-installing IIS? Can you try again running the batch files manually from command prompt & provide the output?

    See the application/system event logs for any error information for IIS. One way to verify if your IIS is working fine is to remove topaz at the end BSM URL and open it in a browser. You should get "It Works" message.

    Just wondering if this is an upgraded environment from BAC 8.x to BSM 9.10 environment? If so, there is a bigger issue that need to be addressed.

    On the other note, is this a single server deployment & your DB installed on same server?
  • Looks to me like there was an upgrade and IIS settings (path to isapi_redirect.dll) have not been updated properly during the upgrade, causing access to BSM Gateway server to fail with HTTP error.

     

    The IIS configuration needs to be changed (via IIS applet in Windows) to reflect the new updated path.


    Can you try this, stop BSM services and on GW execute the following

     

    In the example below BAC 8.07 was installed in D:\HPBAC, BSM 9.12 was installed to D:\HPBSM,
    So the path needs to be changed from "D:\HPBAC" to "D:\HPBSM"

    start
     Internet Information Services (IIS) Manager
    on the left pane select
     <BSM_GW_host>
      IIS
    on the right pane click on
        ISAPI Filters
          Filter name : jakartaFilter
          Executable  : D:\HPBSM\bin\IIS\isapi_redirect.dll

    on the right pane click on
        ISAPI and CGI Restrictions
          ISAPI or CGI path : D:\HPBSM\bin\IIS\isapi_redirect.dll
          Description       : jakartaFilter
          Allow extension path to execute : checked

     


    --Sujith

  • Rajasekhar,

     

    IIS has not been reinstalled as it has been working prior to BSM isntall.

     

    I ran the batch scripts again and outputs are attahced.

     

    I can see IIS 7 is working fine and says "It works"

     

    No this is not an upgraded environment. This is a new clean install on W2K8 Server.

     

    This is a single server deployment.

     

    Also, I got this error after running the iisconfig.bat script:

     

     

    I:\HPBSM\dat>iisconfig.bat
    log4j:WARN No appenders could be found for logger (com.mercury.infra.utils.logge
    r.LogFactory).
    log4j:WARN Please initialize the log4j system properly.

     

    Thanks.

  • Rajasekhar,

     

    IIS has not been reinstalled as it has been working prior to BSM isntall.

     

    I ran the batch scripts again and outputs are attahced.

     

    I can see IIS 7 is working fine and says "It works"

     

    No this is not an upgraded environment. This is a new clean install on W2K8 Server.

     

    This is a single server deployment.

     

    Also, I got this error after running the iisconfig.bat script:

     

     

    I:\HPBSM\dat>iisconfig.bat
    log4j:WARN No appenders could be found for logger (com.mercury.infra.utils.logge
    r.LogFactory).
    log4j:WARN Please initialize the log4j system properly.

     

    Thanks.

  • Rajasekhar,

     

    IIS has not been reinstalled as it has been working prior to BSM isntall.

     

    I ran the batch scripts again and outputs are attahced.

     

    I can see IIS 7 is working fine and says "It works"

     

    No this is not an upgraded environment. This is a new clean install on W2K8 Server.

     

    This is a single server deployment.

     

    Also, I got this error after running the iisconfig.bat script:

     

     

    I:\HPBSM\dat>iisconfig.bat
    log4j:WARN No appenders could be found for logger (com.mercury.infra.utils.logge
    r.LogFactory).
    log4j:WARN Please initialize the log4j system properly.

     

    Thanks.

Reply
  • Rajasekhar,

     

    IIS has not been reinstalled as it has been working prior to BSM isntall.

     

    I ran the batch scripts again and outputs are attahced.

     

    I can see IIS 7 is working fine and says "It works"

     

    No this is not an upgraded environment. This is a new clean install on W2K8 Server.

     

    This is a single server deployment.

     

    Also, I got this error after running the iisconfig.bat script:

     

     

    I:\HPBSM\dat>iisconfig.bat
    log4j:WARN No appenders could be found for logger (com.mercury.infra.utils.logge
    r.LogFactory).
    log4j:WARN Please initialize the log4j system properly.

     

    Thanks.

Children
  • you are getting it works message without topaz

     

    Can you provide screenshot of error you are getting while accessing bsm url ?

  • I hope you have followed this during initial IIS configuration, if not please stop BSM & do this.

    If you are installing on a Microsoft Windows Server 2008 and using the IIS 7.X Web server, you must perform the following procedure:
    1 In the Control Panel, select Administrative Tools > Server Manager.
    2 Right-click Roles and select Add server role to launch the Add Roles wizard.
    3 On the Select Role Services page, select Web Server (IIS) role to install.
    If a popup opens with the question Add features required for Web Server (IIS)?, click the Add required features button.
    4 Click Next twice.
    5 In the Select Role Services panel, select the following roles:
    ➤ Application Development section: ISAPI Extensions and ISAPI Filters.
    ➤ Management Tools section: IIS Management Scripts and Tools
    6 Click Install.

  • I hope you have followed this during initial IIS configuration, if not please stop BSM & do this.

    If you are installing on a Microsoft Windows Server 2008 and using the IIS 7.X Web server, you must perform the following procedure:
    1 In the Control Panel, select Administrative Tools > Server Manager.
    2 Right-click Roles and select Add server role to launch the Add Roles wizard.
    3 On the Select Role Services page, select Web Server (IIS) role to install.
    If a popup opens with the question Add features required for Web Server (IIS)?, click the Add required features button.
    4 Click Next twice.
    5 In the Select Role Services panel, select the following roles:
    ➤ Application Development section: ISAPI Extensions and ISAPI Filters.
    ➤ Management Tools section: IIS Management Scripts and Tools
    6 Click Install.

  • I hope you have followed this during initial IIS configuration, if not please stop BSM & do this.

    If you are installing on a Microsoft Windows Server 2008 and using the IIS 7.X Web server, you must perform the following procedure:
    1 In the Control Panel, select Administrative Tools > Server Manager.
    2 Right-click Roles and select Add server role to launch the Add Roles wizard.
    3 On the Select Role Services page, select Web Server (IIS) role to install.
    If a popup opens with the question Add features required for Web Server (IIS)?, click the Add required features button.
    4 Click Next twice.
    5 In the Select Role Services panel, select the following roles:
    ➤ Application Development section: ISAPI Extensions and ISAPI Filters.
    ➤ Management Tools section: IIS Management Scripts and Tools
    6 Click Install.

  • Ok. after reading through the logs you have provided, understood that the IIS Config has failed.

    In the same directory, you will see IISRemoveConfigNEW.bat & IISConfigNEW.bat batch files. Can you run them manually in command prompt & provide the output. This should fix the issue. Ensure that your BSM is stopped while you are doing this. If possible do a hard reboot of the server.

    Let us know if it fixed the environment.
  • Ok. after reading through the logs you have provided, understood that the IIS Config has failed.

    In the same directory, you will see IISRemoveConfigNEW.bat & IISConfigNEW.bat batch files. Can you run them manually in command prompt & provide the output. This should fix the issue. Ensure that your BSM is stopped while you are doing this. If possible do a hard reboot of the server.

    Let us know if it fixed the environment.
  • Ok. after reading through the logs you have provided, understood that the IIS Config has failed.

    In the same directory, you will see IISRemoveConfigNEW.bat & IISConfigNEW.bat batch files. Can you run them manually in command prompt & provide the output. This should fix the issue. Ensure that your BSM is stopped while you are doing this. If possible do a hard reboot of the server.

    Let us know if it fixed the environment.
  • Rajasekhar,

     

    I performed steps as you requested.

     

    I have attached the outputs of the IISRemoveConfigNEW and IISConfigNEW.

     

    I also performed a reboot of server afterwards.

     

    Still having the same issue.

     

    Also, Why is the website trying to download files to my computer?

     

    It does this everytime.

     

    Thanks.

     

     

  • Just a quick thought. I hope you are not running both web servers (apache and IIS)

     

    Try the following

     

    1. Using Windows Explorer go to %TOPAZ_HOME%\dat folder.
    2. Edit the IISConfig.bat file.
    3. Under the IIS7 section make sure the full path to APPCMD is specified:
    e.g. %systemroot%\system32\inetsrv\APPCMD
    4. Lines 35 - 51 have double quotes (") at the beginning of the line which start "%systemroot%\system32\inetsrv\APPCMD. Remove the double quote (") at the beginning of the each line (line numbers 35 to 51).
    5. Save the file.
    6. Run: IISConfig.bat
    7. Open Internet Explorer and connect to the HP BSM again

     

    --Sujith 

  • Sujith,

     

    I did as you requested and now I am getting this error:

     

     

    HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "I:\HPBSM\bin\ApmApiIsapiFilter.dll" failed

     

    I searched for this file and it is nowhere on my server and not in that directory.

     

    Any ideas?

     

    Thanks.