I was setting that ...
 
Notifications
Clear all

I was setting that >> Web Site Properties > Extensions > asp > enabled ----> deselect

16 Posts
4 Users
0 Likes
1,777 Views
Posts: 99
 Ben
(@maoxiong)
Estimable Member
Joined: 6 years ago

I'm not sure what you want me to show you - ASP pages will run fine, there is no 404 error.

How is ASP supposed to be being disabled though in the backend? Should the ASP handler be removed from the web.config file - as if so, it's not.

Reply
Posts: 1456
Admin
(@trobinson)
Noble Member
Joined: 8 years ago

Hello,

 

ASP is disabled in the handler mappings for the website.

 

There should be no asp handler in the web.config.

 

Thanks,

 

Trevor

Reply
Posts: 99
 Ben
(@maoxiong)
Estimable Member
Joined: 6 years ago

Ok, then that's the issue - it's not removing it.

You can get the problem in reverse too (it won't enable ASP) by doing the following:

(Set plan default to ASP off)

Create site (ASP is off)
Change PHP 5 version to something different and save.
(At this point, the handlers stop being inherited from the parent and are all written to the web.config file)
Tick to enable "ASP" and then save.

ASP won't be enabled and is not present as a hander in the web.config file.

Reply
Posts: 1456
Admin
(@trobinson)
Noble Member
Joined: 8 years ago

Hello,

Can you please show me the contents of your web.config?

The settings should have only been changed in the servers applicationHost.config.

 

Kind Regards,

 

Trevor Robinson

Reply
Posts: 99
 Ben
(@maoxiong)
Estimable Member
Joined: 6 years ago

Hi Trevor,

That is true - *UNTIL* you change the PHP version from the default, at which point all the handlers are written to the web.config (with the php version selected at the top)

Ben

Reply
Page 3 / 4
Share: