Wednesday, October 26, 2005 - Posts

The request failed with HTTP status 405: Method Not Allowed

Calling my web service like a do everyday fails with, “The request failed with HTTP status 405: Method Not Allowed.”

SOLUTION :
Check that our IIS Extensions for .wsdl have not been removed from your server! Read on if you want to hear about my experience.

My Project Server WorkFlow application was having some problems today, accessing the PDS WebService it uses as Project Server’s recommended API. I thought it might be useful to post what I found because it has happened to me numerous times and I keep forgetting!

There was some work done on our development server today and I was not made aware which is no big deal because it is development right? Well when I am trying to develop, I need to know so I do not work all day trying to figure out what I did wrong with my code. I call our Infostructure group in another state and ask if any changes have taken place and of course some changes have been made. Once we agreed that any database maintenance is not the issue we focus on what might have changed to IIS since the error is IIS based. Once I had heard that a tool was used to change the sites extensions I knew we had a contender.

Quick instructions :

  1. Open IIS
  2. Right click on your site and select properties
  3. Select the ‘Home Directory’ Tab
  4. On the bottom right, click the ‘Configuration’ button
  5. Click the add button
  6. Execute path for me was "C:\Program Files\Common Files\MSSOAP\BINARIES\SOAPIS30.DLL" but you can browse
  7. Extension is “.WSDL”
  8. Limit To "Get,Post"
  9. Check “Script Engine” and “Verify That File Exists”
  10. Click “OK” and it should work!

SQLConnections

Brian and I have been invited to speak at SQL Connections 2006. These guys either saw or heard about our PASS Session on SQL Server Hacking/Prevention this year and invited us to Orlando with them this April. We keep building on our session with new material that you request us to demonstrate, so no doubt we will have some new exciting hacking techniques and solutions for preventing them.

2005 Summit CD-ROMs

Last September, Brian and I were invited back to speak at PASS 2005. We spoke in 2004 and did a great job demonstrating how databases are attacked by hackers and ways to prevent hacks. This year we were invited back for the Spotlight Session and therefore added some new hacking scenarios for the big event. Brian and I love interacting with the crowd. We had a packed session of 350+ attendees and getting them involved with our sessions is the best part. It makes the session more interesting and attendees are more relaxed with asking questions. The most important thing is that you can have your very own copy of our session and others that made the cut from PASS. There is a 2005 Summit CD ROM for sale, so get it while supplies last.

Wow, I have fallen into the marketing trap of that last phrase.

Hey, many thanks to Don Kiely for attending our session. Don, you have been a hero of mine for sometime on dealing with security. It was an honor to have you in my session!