Web Connection
Web sites on a new PC
Gravatar is a globally recognized avatar based on your email address. Web sites on a new PC
  Luca
  All
  Jun 7, 2017 @ 12:50pm

Dear Rick, I buyed a new PC with Windows 7, I copied files, installed FoxPro, IIS, Visual Studio and Web Connection 6.05
In Visual Studio I see (on another PC) every directory related to IIS like boxes:

In Visual Studio I see (on the new PC) every directory related to IIS in a different way:

I suspect web sites are not well configured.
Please how to configure correctly web sites directories?
Many thanks for support

Gravatar is a globally recognized avatar based on your email address. re: Web sites on a new PC
  Rick Strahl
  Luca
  Jun 8, 2017 @ 02:55pm

It's the difference of a Folder that just happens to be below the root Web site, and an application that is its own application boundary. An Application is like a Web Site, but for a virtual folder. Actually a Web Site technically is also an Application, but the naming is typical Microsoft and doesn't actually reflect the underlying logistics.

For Web Connection all your apps need to live in an Application, which is the box with web file in it in your screen shot.

FWIW, personally I like to use Web Sites these days for all new development. I create a custom host header like myapp.west-wind.com in my local HOSTS file then use that domain as my root. I like this because it'll match how I likely want to run my application on the live server, or if I just want to switch between full IIS and IIS Express.

Unfortunately making this work automatically on a local machine is not so nice because it does require the custom host header setup both in the IIS Site Bindings and in the HOSTS file for the custom local domain.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Web sites on a new PC
  Luca
  Rick Strahl
  Jun 9, 2017 @ 12:44am

Dear Rick,
my projects are in WC 5.x structure (projects in Wconnect folder, development in a proper Wconnect subdirectory, web files in a proper WwwRoot subdirectory).
On my new PC with Windows 7 I mapped *.wc in IIS as usual:

However when I run the project and call the default.wc page I get this strange error ("The required content appears to be a script and will not be provided by the static file manager"):

Please what is wrong?
Many thanks again for support

Gravatar is a globally recognized avatar based on your email address. re: Web sites on a new PC
  Rick Strahl
  Luca
  Jun 9, 2017 @ 04:03pm

I have no idea - not enough information.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Web sites on a new PC
  Luca
  Rick Strahl
  Jun 10, 2017 @ 12:30am

enable 32 bit application in IIS:

© 1996-2017