Skip to main content
Participating Frequently
March 26, 2007
Question

HTTP Error Code 405

  • March 26, 2007
  • 3 replies
  • 3145 views
Hi I am new to web design and just started learning Dreamweaver 8 and have hit a little bump in the road. I have been following a book (Dreamweaver 8 Unleashed) as a teaching tool and have come to the point in the totorial where I need to connect a database to my web page. I'm running on windows vista premium with IIS 7, ASP.NET, and Microsoft Access 2007. I follow all the steps to connect the Access Database but when I try to test the connection string, I get an HTTP Error Code 405 Method Not Allowed. I have tried to use my limited knowledge to try and solve the problem, but am all out of ideas. If anyone could help me solve this problem I would be extremely grateful. It's really frustrating to be stuck like this and not able to move forward.

This topic has been closed for replies.

3 replies

Inspiring
March 27, 2007
> Thanks for the reply. I have to head to class here in a few minutes so I
> will try the things you mentioned when I get home. Out of curiousity, why
> do you recommend I switch to SQL over Access?


Access will be just fine for you to learn data access. It runs bazillions of
production sites, regardless of how much it is pooh-poohed by the
old-timers. After you get more comfortable with the process, you can
download SQLEXPRESS for your development.

In Internet Explorer, go to Tools - Internet Options - Advanced, and uncheck
"Show friendly error messages" so IE will display the true error message.

Then, in Computer Management - Services and Applications - Internet
Information Server - Web Sites - Default Web Site - IIS - ASP - Compilation,
change "Send Errors To Browser" to TRUE.

Lastly - navigate the file system to
C:\Windows\ServiceProfiles\NetworkService\AppData\Local and give that folder
Change permission for IUSR.

SchrawgsAuthor
Participating Frequently
March 29, 2007
HA! Finally made a successful connection to the database. Thank you so much for the reply, you have no idea how relieved I am now. I'm extremely curious though, how did unchecking friendly error messages, "sending errors to browser" and giving permission to IUSR fix my problem?
SchrawgsAuthor
Participating Frequently
March 26, 2007
Thanks for the reply. I have to head to class here in a few minutes so I will try the things you mentioned when I get home. Out of curiousity, why do you recommend I switch to SQL over Access?
March 26, 2007
The latest version of Windows, IIS7 and Access!!!!

Seriously, forget about MSAccess. If you are starting out and learning this stuff go for SQL. It will be worth the extra effort IMHO.

405 errors can be traced to configuration of the Web server and security governing access to the content of the Web site. If you are testing on your local PC I would take a look at the permissions on the directory holding your db. Using IIS. Navigate to the directory and check / set permissions to Read and Write. It may help you, but equally could be a number of things .... sorry :-)