Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS restriction error for .aspx page, but .aspx is not restricted

I have recently tried to install TargetProcess http://www.targetprocess.com/ on my windows machine, which involves installing IIS and an instance of SQLEXPRESS.

I have no previous with IIS so most to the concepts where new to me. After much head scratching and tinkering I managed to get TargetProcess to install. However when I try to run it in a browser I get teh following error

The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server.

The page I am trying to run is .aspx and I have run a page.aspx to verify that .aspx are not being restricted as suggested by the error message.

Anyone got any ideas as to what else it could be?

like image 961
Kevin Bradshaw Avatar asked Dec 13 '25 15:12

Kevin Bradshaw


2 Answers

Kevin,

In the IIS management console, please open ISAPI and CGI Restrictions feature fro your hosting server. ASP.NET v2.0 and v4.0 restrictions are set separately. TargetProcess application is using .NET v4.0 since 2.22.9 build, so please check, that MS .NET framework v4.0 is installed and ASP.NET v4.0 is allowed. Also on the Handler Mappings section for TP web site PageHandlerFactory-ISAPI-4.0 should be enabled.

Please contact us via http://messenger.providesupport.com/messenger/targetprocess.html if you need any assistance.

Regards, Alex - TargetPro

like image 61
user1390046 Avatar answered Dec 15 '25 13:12

user1390046


To solve:

1.- Go to IIS manager and clic on your server name (when tooltip says localhosts)

2.- double clic on ASAPI and CGI restriction

3.- right clic to change all items to ALLOWED

like image 38
cmujica Avatar answered Dec 15 '25 14:12

cmujica



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!