Web Connection
New Project
Gravatar is a globally recognized avatar based on your email address. New Project
  Luca
  All
  Feb 25, 2019 @ 02:38am

Dear Rick,
I have wc 6.05 and I started a Renieri new project for first time in Web Connection 6 version.
I created a new menu.wc page as usual.
When I call http://localhost/Renieri/Menu.wc I get no response.

wcerrors.txt file shows:
19/02/25 15:24:25.425 - 55_35ef6db9 - File request timed out. - /Renieri/menu.wc?
19/02/25 15:25:01.477 - 56_dcccbb6a - File request timed out. - /Renieri/menu.wc?

I get this problem both if I create new project in C:\webconnectionprojects\Renieri\ and if I create it in C:\wconnect\Renieri\

In IIS manager I see the new Renieri website and mapping shows *.wc as Westwind.WebConnection.WebConnectionHandler,WebConnectionModule
Usually the *.wc manager was IsapiModule (proper wc.dll) in WC 5.

In web.config I see:
add name=".wc_wconnect-module" path=".wc" verb="" type="Westwind.WebConnection.WebConnectionHandler,WebConnectionModule" preCondition="integratedMode"

This is Menu.wc:

Please what is wrong?
I suspect no parsing.
I never had this problem creating new projects in version 5.
Thank you very much for support

Gravatar is a globally recognized avatar based on your email address. re: New Project
  Rick Strahl
  Luca
  Feb 25, 2019 @ 01:35pm

If you're running in File Mode make sure you start hte Web Connection server. This is the likely problem.

Please see the documentation for server deployment for more information on how to configure and deploy your server. If you're starting a new project you'll want to take advantage of the new Project Management features in Web Connection 6 and later to automatically configure your projects.

Deploying an Application on a Live Server

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: New Project
  Luca
  Rick Strahl
  Feb 25, 2019 @ 07:12pm

Hi Rick,
I have just started the development of a new project on development machine. This is just the first web page, and it does not run. I never had this problem in wc 5. This is the first time I create a new project since I installed wc 6. I am blocked and cannot start to develop the project. I have Windows 7.

I made a little step forward: I did think development startup folder was c:\wconnect\renieri\deploy\ but startup directory is c:\wconnect\
so I moved Renieri.ini file
from c:\wconnect\renieri\deploy\ to c:\wconnect\ and changed relative Temp Files path.
Now I have a response from server when browser calls http://localhost/Renieri/menu.wc
However what I see in browser is

I cannot understand what is the problem, I suspect parsing problem.
Is it possible do not use new Project Management features of Web Connection 6 and manage projects like in version 5?
Help me!
Many thanks for support

Gravatar is a globally recognized avatar based on your email address. re: New Project
  Rick Strahl
  Luca
  Feb 26, 2019 @ 05:20pm

Web Connection 6 and later uses different default settings than Web Connection 5 did - we basically removed the Web Control Framework default. I'm guessing you need to switch the default page processing mode.

In your process class for your scriptmap you need to set the script mode:

*** Default for page script processing if no method exists
*** 1 - MVC Template (ExpandTemplate()) 
*** 2 - Web Control Framework Pages
*** 3 - MVC Script (ExpandScript())
nPageScriptMode = 2

in order to process Web Control pages.

You're also using a .wc page which is mapped to templates, so that won't work. You need to .wcsx for Web Control pages or using your own scriptmap in your own process class.

FWIW, the Web Control framework is deprecated as of Web Connection 7.0. It's still in there and it still works but no longer supported and most of the functionality has been turned off by default - it has to be turned on and explicitly. v6 still has everything turned on, but some of the default are not set.

© 1996-2024