PDA

View Full Version : Starting a web service


gpi
10-17-2004, 08:20 AM
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?

bruce
10-18-2004, 10:53 AM
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




[b]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

SEAN432
12-14-2005, 04:20 AM
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

bruce
12-14-2005, 06:28 AM
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 (http://www.DiscountASP.NET)