I have created an httphandlers of the js file to spilt one js file into 3 and code save in app_code, It works fine locally but when i publish my files on the productions server the file doesn't exist
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Below is web.config and IIS 7 is in integrated mode
I manage to make it work by removing * in the Integrated App pool mode but unfortunately my website is on Classic app pool could anyone provide me the code for the HttpHandlers classic app pool mode, Below is code which works in integrated mode
Member
180 Points
724 Posts
HTTPHandlers doesn't work on the Production server
Sep 17, 2012 05:59 AM|shabbir_215|LINK
Hi Guys ,
I have created an httphandlers of the js file to spilt one js file into 3 and code save in app_code, It works fine locally but when i publish my files on the productions server the file doesn't exist
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Below is web.config and IIS 7 is in integrated mode
Thanks in advance
Shabbir
Star
11922 Points
2643 Posts
MVP
Re: HTTPHandlers doesn't work on the Production server
Sep 17, 2012 06:02 AM|Ken Tucker|LINK
Try using ~ instead of * in the path
Space Coast .Net User Group
Orlando Windows Phone/ Windows Store User Group
Member
180 Points
724 Posts
Re: HTTPHandlers doesn't work on the Production server
Sep 17, 2012 06:10 AM|shabbir_215|LINK
Dear Ken,
I tried using ~ instead of * but still unable to find the file :(
Kind Regards,
Shabbir
Member
180 Points
724 Posts
Re: HTTPHandlers doesn't work on the Production server
Sep 18, 2012 06:07 AM|shabbir_215|LINK
Hi Guys,
I manage to make it work by removing * in the Integrated App pool mode but unfortunately my website is on Classic app pool could anyone provide me the code for the HttpHandlers classic app pool mode, Below is code which works in integrated mode