Web Connection
Demo Page Won't Display
Gravatar is a globally recognized avatar based on your email address. Demo Page Won't Display
  Steve
  All
  Sep 7, 2023 @ 07:33am

Hi Rick,
Wanted to run this by you. After installing WWWC, everything seems to go well and it starts the Demo Server. The default page displays nothing, it's blank. Also, no request hit is displayed in the server window. So, it's like this url http://localhost/wconnect/default.htm never gets routed to the server.

I then tried this url: http://localhost/wconnect/admin/admin.aspx This page displays, and when I click on the links on admin.aspx, they work and display a request in the server window. For example, localhost/wconnect/admin/wc.wc?wwmaint-showlog works. It displays a request entry in the server window and displays the data in the browser.

I then setup a Test Project and I get the same result. The default page will not display and never gets routed to the server, but the admin.aspx page will display and the links on admin.aspx work.

So, the Virtual seems to be working because both the WC Demo and my Test Project admin.aspx is referenced via the virtual name and the links from admin.aspx are using the virtual name. So it seems IIS is working but not the default page for some reason.

Any idea what this might be? I have run the WC Setup.exe a couple of times to try and ensure everything is setup in IIS. I installed IIS per the instructions in the getting started with WWWC video, same as I have done in the past. I double-checked to make sure I have all the correct IIS options checked. I have looked at several settings within IIS, and the various WC .ini files. They all seem perfectly fine. All the folders are there where they should be, or they seem to be. I expect this is something simple, maybe some new security setting in Win10 Pro, just can't put my finger on it.

TIA,
Steve

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Rick Strahl
  Steve
  Sep 7, 2023 @ 09:11am

This sounds like an old version of Web Connection. There should be no admin.aspx page in current versions.

What are you doing to install exactly? It sounds like you're using IIS? Did the Wizard run and work without errors?

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Steve
  Rick Strahl
  Sep 7, 2023 @ 09:35am

It is WWWC v6.17. I probably need to upgrade but was waiting to make sure I can actually make some time to work on the web stuff again. Yes, I am using IIS.

For the install, I setup IIS per the Getting Started Video. IIS installed without error.
I then unzipped the WWWC_v6.17.0 file into the C:\Wconnect folder.
I then ran the Setup.exe file in the C:\Wconnect folder.
After Setup.exe completes, it starts the WWWC Demo Server, launches the browser, and tries to hit the localhost/wconnect/default.htm webpage. This is where things stop working as expected. The server never receives the request and the default.htm page never displays.

No errors during any of the installs. This a a fresh build laptop. Maybe I should download the latest shareware version as a test to see if it works?
Thanks for your help/thoughts!

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Rick Strahl
  Steve
  Sep 7, 2023 @ 09:44am

Not sure but if the default page doesn't display there's some problem with IIS. Double check the site or virtual in IIS and make sure it's pointing at the right location of the folder. Also you'll want to make sure you have only one site running on port 80 (unless you're using host headers, which you are not if you're accessing localhost).

Is it possible you're missing the static file module in IIS. Did you follow the install instructions for what needs to be installed?

One of the big improvements in v7.0 is improved setup and installation especially for new projects as well as the abililty to not require use of IIS. However, the config for the demo project hasn't changed a lot, so that seems like it might be something else.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Steve
  Rick Strahl
  Sep 7, 2023 @ 10:35am

Thanks for the feedback Rick!

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Steve
  Rick Strahl
  Sep 8, 2023 @ 02:38am

Hi Rick,
OK, it's working now!!

  1. I ran the Install-IIS-Features.ps1 script
    After this, I actually starting getting an error when trying to display the demo default.htm page: HTTP Error 500.19 (overrideModeDefault='Deny')

  2. I searched on the above error and found
    https://support.west-wind.com/Thread4ZV0DSWG7.wwt

Updating %windir%\system32\inetsrv\config\applicationHost.config per the above solved the issue. Simply changed to overrideModeDefault='Allow'

Thanks a bunch! It's nice to have WWWC up and running again! Onward and upward!!

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Rick Strahl
  Steve
  Sep 8, 2023 @ 05:44am

I wonder if this setting (overrideModeDefault='Deny') is somehow related to the Windows version.

It shouldn't be set to block writing by default unless manually changed - it's not in any of my installs. I use Windows 11 Professional. But I wonder if perhaps on Home the setting is different.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Steve
  Rick Strahl
  Sep 8, 2023 @ 09:24am

On this particular laptop, I am running Win10 Pro. IIS wasn't even installed until a couple days ago when I started playing with WWWC again. This is actually a new/clean install of Win10 Pro.

Thanks again!
Steve

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Rick Strahl
  Steve
  Sep 8, 2023 @ 01:35pm

Hmmm... is there another Web Site that was running at the top level that was introducing this setting perhaps?

This setting is definitely not a default at the machine level because I've never had to set it manually so I'm puzzled that this would show up in the default configuration.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Demo Page Won't Display
  Steve
  Rick Strahl
  Sep 8, 2023 @ 04:52pm

No other websites. IIS wasn't even installed until I worked on setting up WWWC. I ran the Powershell Script, Install-IIS-Features.ps1, and then immediately installed WWWC. So, it was set to Deny by default evidently.

Honestly, with my VFP Desktop App, many of my support issues seem to be caused by little bugs or issues in Windows 10. Now, I love Windows, and it was love at first sight, all the way back to Windows 3.0 in 1991! I consider it a great OS. But, sometimes I shake my head and think, why can't M$ get their act together!! Easier said then done I guess, especially with such a complex piece of software.

Thanks again!
Steve

© 1996-2024