How to Use DW (Dreamweaver) to develop Asp.net: "HTTP Error 500, internal server error" occurs when connecting to the database

Source: Internet
Author: User

When developing Asp.net using Dreamweaver a few days ago, the DataGrid is required, but the "ApplicationProgram/Database "Panel for database connection, always pop-up dialog box:" HTTP Error 500, internal server error ", unable to connect to the database, did not deal with it for a few days, go to the Internet to check, most of them refer to the user passwords of "iwam_servername" in IIS and user groups, which are inconsistent with those in IIS database. However, as they do, they do not work at all, finally, I saw a solution on the forum.

This situation occurs when Windows XP is upgraded to SP2 and Windows 2003 is upgraded to SP1.
The solution is as follows:
1. Enable Dreamweaver and open An ASPX or ASP file containing database connections;
2. Click [site] -- [advanced] -- [Remove Connection script]
3. Delete the abnormal database connection (Be sure to delete it !)
Download the officially released plug-in!
Http://download.macromedia.com/pub/dreamweaver/extensions/SP2DBFix1.0.2.mxp
4. Restart Dreamweaver and open Dreamweaver Extension Manager to install the file: Dreamweaver extention fix.
5. Restart Dreamweaver and set up a database connection again. Generally, you can do this. If not, restart your computer.

After answering a question from the landlord, the elder brother on the Forum said, "thank you to all those who have helped me. I will help everyone who can help me !", I deeply share the same feelings. Here I would like to thank the dear friend and those who are willing to share the solution. I would like to thank all those who have helped me and those who will help me in the future, I will also help people who can help. The mood of people who encounter this kind of problem can only be realized after personal experience. I am for everyone and everyone is for me. Oh, too !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.