Error 405 - Method not allowed when trying to use a function via .NET Remoting under IIS
Posted on 2004-10-28
I am trying out an example found on Microsoft website. Look for vbremoting on google and you'll find it. I use VS .NET 2002, Upgraded to 2003 on XP pro - all service packs and patches installed except for xp2 (causing problems with my wireless network at home!). IIS Version? I assume 5.xxx. Whatever the version is with XP Pro.
It basically creates an object, and then shows you how to access this object via an asp.net service and via .net remoting.
I have no problems with the object being access via asp.net service, but I just can't get the .net remoting example to work. I keep getting error 405 - Method not allowed.
My laptop is kind of in an akward position as it is neither part of my domain at home nor is it at the office. Problem could be down to that but then it would not explain why it works with asp.net service!
I hope someone can help me out on that one. I have found various articles on the web and all are suggesting more or less the same thing but none of sorted out my problem.
I have uninstall ASP.NET via asp_netiis.exe -u, and re-install it via the -i, but no difference. I have added the asp.net user, vs studio user, internet user, etc... all with full access rights to the folder containing the project.
I have also modified web.config with various other settings, but no luck.
Anyone has faced this problem?
Thanks in advance.