The best way to trouble shoot is to compare your development server's set up and production server's set up side by side so you know it is identical.
Main Topics
Browse All TopicsI have an inhouse WCF / ASP.NET page combination. in my unit tests my method called works fine. When i call same method from ASP.NET with same data, i get this error:
The remote server returned an error: (405) Method Not Allowed.
[WebException: The remote server returned an error: (405) Method Not Allowed.]
System.Net.HttpWebRequest.
System.ServiceModel.Channe
[ProtocolException: The remote server returned an unexpected response: (405) Method Not Allowed.]
System.Runtime.Remoting.Pr
System.Runtime.Remoting.Pr
Mimeo.Services.Enterprise.
Mimeo.Services.Enterprise.
Mimeo.Tools.ShippingTools.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.Page.RaisePo
System.Web.UI.Page.RaisePo
System.Web.UI.Page.Process
I can see from Line # 30 that my button click passes the params back to the WCF service. Then these 2 lines are trying to deal with it:
System.Runtime.Remoting.Pr
System.Runtime.Remoting.Pr
I am expectin bool back.
What have i missed in either a configuration of IIS or some other space?
TIA
__Stephen
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Check the folder security? Sometime the folders set to view only so you need to make sure the folders allow execution. For an example, I have my code loaded in d:\Inetpub\wwwroot\quality
Business Accounts
Answer for Membership
by: 60MXGPosted on 2008-07-17 at 13:15:25ID: 22029764
I think it is your IIS setting!
open the IIS Manager and navigate to the virtual folder which you are using.
Then right-click and select properties.
Then, on the Virtual Directory tab, change the "Execute Permissions" to script and execute
Make sure the Directory folder allow users to execute too!