Troubleshoot Visual Studio 2005 ways to display design views-practical tips

Source: Internet
Author: User
Tags visual studio
Visual Studio 2005 cannot display a workaround for Design view
Have you ever encountered such a situation, in the use of VS2005 development, click Design view is not used, how to click to see the design page, a period of time for this was depressed by this problem for a while, has been the solution is only to reinstall, VS2005 so large, Each reinstall will take me a long time, and then find solutions on the Internet, Kung Fu will always let me find out, and now I put the solution to write down, we encounter such a problem will not be so hard.

First you have to make sure that your HTML code is fine, because the new visual Web Designer built into Visual Studio 2005 is more restrictive than Visual Studio. NET 2003 in the correct HTML. If the ASPX page contains mismatched tags or malformed HTML, the designer will not allow you to switch to Design view within Visual Studio 2005. Instead, you will be limited to code view until the problem is fixed. This problem occurs because Visual Studio 2005 has a new source code retention and validation feature built into it. If it's because the HTML code can't switch Design view, the solution is simple. Just make sure the HTML code is correct, and remember to write the code HTML.

Let's look at the case where the HTML code is not a problem can not switch design view how to solve, generally in the absence of HTML errors can not switch the Design view will pop up the error window, this situation is usually some loading of the program error, this time we can use the following methods to solve.
First to confirm Gdiplus.dll this file in c:\WINNT\Microsoft.NET\Framework\V2.0.50727 and "Installation path \visual Studio 8\common7\packages" The two folders exist, and then run this command in the start-run devenv/resetskippkgs, run the command, restart the VS2005 on OK. If you want to know the devenv command, look at the address below http://msdn2.microsoft.com/zh-cn/library/xee0c8y7.aspx

The article is reproduced from the ' Great Intelligence Blog ': http://www.csafe.cn/article.asp?id=1249
Related Article

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.