Unable to publish ASPX page with PowerShell script to IIS

Hi,

Apologies if this is the wrong forum.

I am trying to create an aspx webpage which lets be execute powershell code.

I followed the guides here:

http://jeffmurr.com/blog/?p=142 http://devinfra-us.blogspot.com/2011/02/using-powershell-20-from-aspnet-part-1.html

When running the test in Visual Studio 2017 it all works great.

The only problem I have is with Publishing the page.

I’ve tried publishing it to IIS and to Folder as per the guides.

I’ve even tried the guide here:

https://forums.asp.net/t/1731589.aspx?How+to+publish+web+site+on+IIS+server+in+window+s+7+

The error is H=404.3 – Not Found

The page you are requesting could not be served because of the extension configuration. If the page is a script add a handler. If the file should be dowloaded add a MIME map.

I am a newb when it comes to ASPX and IIS.

Thanks

submitted by /u/mcaulr09
[link] [comments]

Leave a Reply