FoxPro Programming
Got STUCK - Web Connection Installation - Unable to Install-IIS-Features.ps1
Gravatar is a globally recognized avatar based on your email address. Got STUCK - Web Connection Installation - Unable to Install-IIS-Features.ps1
  Adams Mission Org
  Jan 16, 2024 @ 08:05am

Hi, I just wanted to try it out after having read Eric Selje's 'Fox on the Run' as West-Wind's solutions seemed promising.

I've seen West-Wind and their good works for a long time but am not so convinced about anything anymore after the attempt by MS to kill VFP. Been very disheartened about coding and did try to migrate to Java & .Net but too verbose and complex to do simple things which could be attained in VFP with either a few characters or a line of code.

So, after many years of keeping away from VFP just wanted to make a content manager for this website and touched the VFP. I think I've found the long lost (or deliberately been kept so) ability for VFP to get Unicode objects (Edit box, etc). I've not seen anything that could match with what I've found with. I'm able to write full Unicode data into SQLite dbs and retrieve it. I prefer to go with SQLite over MySQL as I've not been successful to make a connection via VFP to it for some reason. Am still using VFP9 still and didn't try on VFPA as it is in development phases.

I'm just using this UnicodeEditBox just like the native VFP one without writing a single character. I've even floated and encouraged Mr. Chen (VFPA guy) to see into those and if he could somehow incorporate it along with SQLite into the next VFPA version. That would solve all VFP issues. I think Mr. Chen has already fixed a lot of bugs and also found the breakthrough to the 2Gb limit of file size handlings as well.

Next, the last but not the least thing left for VFP is to solve the issue of mobile platform. When I read Eric Selje's paper I got encouraged and began.

But as am unable to get even installed (like the time I tried with Python - which I quitted for that specific reason) with this, I do want to still give it a try. And I would become customer as well, God Willing, too!

YELP! Pls.

Following is the error from PowerShell.

Kind regards, AMO

PS C:\wconnect> cd \wconnect PS C:\wconnect> .\Install-IIS-Features.ps1 .\Install-IIS-Features.ps1 : File C:\wconnect\Install-IIS-Features.ps1 cannot be loaded. The file C:\wconnect\Install-IIS-Features.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/ At line:1 char:1

  • .\Install-IIS-Features.ps1
  •   + CategoryInfo          : SecurityError: (:) [], PSSecurityException
      + FullyQualifiedErrorId : UnauthorizedAccess

PS C:\wconnect>

Gravatar is a globally recognized avatar based on your email address. re: Got STUCK - Web Connection Installation - Unable to Install-IIS-Features.ps1
  Rick Strahl
  Adams Mission Org
  Jan 16, 2024 @ 10:13am

You need to run as an Administrator and you need to probably set the execution policy explicitly if you have a company policy that is applied.

PS> Set-ExecutionPolicy Bypass -Scope Process

If that doesn't work check with your network administrator and ask them how to run Powershell scripts on your machine.

There are also manual install instructions in the same IIS Configuration Topic:

Additionally you don't have to use IIS. You can use either IIS Express (which is installable by a non-admin user) or use the built-in Web Connection Web Server (requires .NET 6.0 installation) which bypasses most of the IIS configuration in the first place.

+++ Rick ---

© 1996-2024