Web Connection
Manually deploy my Web Test application on windows 2008 R2 Enterprise server
Gravatar is a globally recognized avatar based on your email address. Manually deploy my Web Test application on windows 2008 R2 Enterprise server
  Naeem Afzal
  All
  Jan 21, 2019 @ 05:38am

Hi,

I am trying to deploy me Webtest application manually on a server as directed in my previous message.

1) Created an Application pool

2) Set the Account Identity

3) Virtual Directory Configuration

4) Setting Authentication

5) Setting the ISAPI and CGI Restrictions.

6) Creating Script Mappings

7) Web.config file created.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <handlers>
            <add name="wt web connection handler for webtest project" path="*.wt" verb="*" type="C:\WC_Apps\WebTest\bin\webconnectionmodule.dll" resourceType="File" preCondition="integratedMode" />
        </handlers>
    </system.webServer>
</configuration>

8) Security : Lock down Admin folder

Not applied due to testing.

What are the next steps/configurations to run my application ?

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Manually deploy my Web Test application on windows 2008 R2 Enterprise server
  Rick Strahl
  Naeem Afzal
  Jan 21, 2019 @ 03:08pm

Please review how to set up script maps.

You're trying to map the .NET module incorrectly.

Specifically you are installing the .NET Module not the ISAPI dll so follow the instructions from the config file exactly.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Manually deploy my Web Test application on windows 2008 R2 Enterprise server
  Naeem Afzal
  Rick Strahl
  Jan 21, 2019 @ 10:04pm

This web.config file was created during the manual setup process by IIS.

I changed it like the following.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
            <add name="wt web connection handler for webtest project" path="*.wt" verb="*" type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" preCondition="integratedMode" />
        </handlers>
    </system.webServer>
</configuration>

I registered my webtest.exe with the following command.

webtest.exe /RegServer

After that opened my wbsite in browser

http://localhost/webtest/default.htm

but cannot access the "Hellow World Test Page (TestPage.WT)"

and now the web.config file is changed as following

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <configSections>
    <section name="webConnectionConfiguration" type="System.Configuration.NameValueSectionHandler,System,Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
    <section name="webConnectionErrorPages" type="System.Configuration.NameValueSectionHandler,System,Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
  </configSections>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="wt web connection handler for webtest project" path="*.wt" verb="*" type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" preCondition="integratedMode" />
    </handlers>
  </system.webServer>
  <webConnectionConfiguration>
    <add key="Timeout" value="60" />
    <add key="PostBufferLimit" value="0" />
    <add key="TempPath" value="c:\temp\wc\" />
    <add key="TempFilePrefix" value="WC_" />
    <add key="MessagingMechanism" value="File" />
    <add key="UseCustomManifestLoading" value="False" />
    <add key="AdminAccount" value="ANY" />
    <add key="AuthenticationMode" value="Default" />
    <add key="AdminPage" value="~/admin/admin.asp" />
    <add key="ExeFile" value="" />
    <add key="UpdateFile" value="" />
    <add key="LogDetail" value="False" />
    <add key="ValidateRequest" value="False" />
    <add key="ComServerProgId" value="wcDemo.wcDemoServer" />
    <add key="ServerCount" value="1" />
    <add key="AutoStartServers" value="False" />
    <add key="ComServerLoadingMode" value="LoadBased" />
    <add key="PassAspNetContext" value="False" />
    <add key="MessageDisplayFooter" value="Page generated by Web Connection IIS Connector Module" />
  </webConnectionConfiguration>
  <webConnectionErrorPages>
    <add key="Exception" value="" />
    <add key="OleError" value="" />
    <add key="Timeout" value="" />
    <add key="NoOutput" value="" />
    <add key="Busy" value="" />
    <add key="Maintenance" value="" />
    <add key="InvalidRequestId" value="" />
    <add key="TranmitFileFailure" value="" />
    <add key="PostBufferSize" value="" />
  </webConnectionErrorPages>
</configuration>

I saw this

It is not my webtest.webtestserver.

What should I do now ?

Regards

Gravatar is a globally recognized avatar based on your email address. re: Manually deploy my Web Test application on windows 2008 R2 Enterprise server
  Rick Strahl
  Naeem Afzal
  Jan 22, 2019 @ 04:25pm

Did you start your server?

You've got the app set to File mode. You need to start the EXE. Or switch to COM mode but don't do that until you have it running in file mode.

Are you just fumbling through this or did you try to actually read the documentation on how to configure your server?

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Manually deploy my Web Test application on windows 2008 R2 Enterprise server
  Naeem Afzal
  Rick Strahl
  Jan 27, 2019 @ 05:53am

Hi Rick,

I read help file many times during this setup process and also those links that you provided in replies.

Now it's working in file as well as in COM mode.

Thanks

© 1996-2019