I have created a webservice in vs.net on local IIS and then copied the project to the discountasp server to my account into a folder where it shows read/write permissions. However when I tried to open this web service i.e .asmx file in the IE browser I got the following error: The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. -------------------------------------------------------------------------------- Please try the following: Contact the Web site administrator if you believe this directory should allow execute access. HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS) -------------------------- Can some one suggest what is to be done?
This is one of thousands stupid FrontPage extension problem. Why in the world would you turn off executable permission when you are publishing a ASP.NET site??? To fix it - Logon to the control panel - Navigate to Web Application Tool - Select the directory / Application - Click Uninstall Application - Wait 5 seconds - Click Install Application quote:Originally posted by gpi I have created a webservice in vs.net on local IIS and then copied the project to the discountasp server to my account into a folder where it shows read/write permissions. However when I tried to open this web service i.e .asmx file in the IE browser I got the following error: The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. -------------------------------------------------------------------------------- Please try the following: Contact the Web site administrator if you believe this directory should allow execute access. HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS) -------------------------- Can some one suggest what is to be done? </blockquote id="quote"></font id="quote"> B. DiscountASP.NET http://www.DiscountASP.NET
FYI That would make a great FAQ. I had the same issue. I think it happens when one does a copy project from within Visual Studio
yeah... we debated over this. we didn't want to make a faq on this because we are still working w/ MS on the issue. The case we have opened w/ MS has been going on for more than 6 months. Took them 2 months to acknowledge this is a bug and we have 3 groups involved in this ticket current. Bruce DiscountASP.NET www.DiscountASP.NET