Results 1 to 3 of 3
  1. #1

    Problem in creating Object of QTP in IIS 6

    Hello All,

    I have a question here ..

    We have a framework which runs through a ASP user interface.
    It actually first Create the QTP object and then it launch the qtp and run the scripts.

    This is working fine with IIS 5.1 but while doing the same thing in IIS 6, it actually throwing error in creating the QTP object.

    Error is :

    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.Exception: Cannot create ActiveX component.

    Source Error:

    Line 32:
    Line 33: 'qtApp = New QuickTest.Application()
    Line 34: qtApp = CreateObject("QuickTest.Application")
    Line 35:
    Line 36: ' If QuickTest is not yet open

    Source File: C:\GreenScope\Framework\Modules\QTP.vb Line: 34

    Stack Trace:

    [Exception: Cannot create ActiveX component.]
    Microsoft.VisualBasic.Interaction.CreateObject(Str ing ProgId, String ServerName) +176
    WebFrameWork.QTP.LaunchQTP() in C:\GreenScope\Framework\Modules\QTP.vb:34
    WebFrameWork._Default.Page_Load(Object sender, EventArgs e) in C:\GreenScope\Framework\Default.aspx.vb:14
    System.Web.UI.Control.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +74
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

    can someone have any idea about it ?

    Thanks in advance

  2. #2
    Join Date
    Sep 2001
    Doncaster, UK

    Re: Problem in creating Object of QTP in IIS 6

    So This was working on a machine until you upgraded IIS on that same machine?

    Mark Smith.

  3. #3

    Re: Problem in creating Object of QTP in IIS 6

    yes smith .. we have a machine which has IIS 5, it is working fine on that machine .. now we have upgraded machine which has IIS 6....it's throwing the error....




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 07:24 PM.

Copyright BetaSoft Inc.