Solutions to 3 problems that are easily encountered in the VS2008 development environment

Source: Internet
Author: User
Tags control label win32

Long time no write technology related blog, today will be some easy to encounter, but very trivial 3 small problems sent out. After all, more resources, less trouble.


Filename.aspx.designer.cs the control ID is updated differently in the following steps:

When we work in the ASPX source interface, sometimes we modify the IDs of some control label, TextBox, etc., which cannot be perceived by vs IntelliSense in the CS code.

Open the corresponding XXX.aspx.designer.cs, only to discover that the IDs of these controls are not automatically modified as we wrote in the ASPX source code.

If you change it again in the XXX.aspx.designer.cs, it must be troublesome and error-prone.

After a few attempts, you can generally resolve this problem by switching the ASPX from source to View Designer. Some stubborn, can switch, then save, and restart vs.

In addition, there are two ways to switch to the View Designer in VS2008 to cause the IDE to feign death without responding:

====1====

VS 2008 Solutions that cannot be switched to Design view

Home computer installed VS2008, before the other version of VS, recently in the use of the WebForm form can not switch to the Design view, a bit of switching vs to die, the net

On the search for a bit in addition to reload vs2008 found no other solution, found vs2005 also have this problem, vs2005 solution is

Http://www.cnblogs.com/abeen/archive/2007/02/04/639871.html

To vs2008 not work, next VS2008 solution:

Remove or rename C:/Program Files/common files/microsoft shared/office12/office Setup Controller/setup.exe

Reboot VS, Problem solving

I don't know why vs. when you switch to Design view, this setup.exe, it's weird, it seems to be a conflict with Office 2007. Office is not installed on the computer

2007, you need to open it at once. docx, installed a related plugin, the result led to this trouble, write down hope to have the same problem people a little help

=========

====2====

Registry causes VS2008 to switch Design view suspended animation

VS2008 just out of time, installed once, a period of time useless, later opened WebApplication, a little design, Vs2008ide died. It was later deleted.

Out. Recently intended to use VS2008, and then began to install.

First installment: Uses the computer company clone version 9, the Clone good system installs the VS2008, starts the empty webapplication point design to die.

To search the Internet, there are a lot of questions raised, but there is no solution.

Also downloaded a YLMF clone version, the clone is good to install VS2008, test no problem. You can install the required software after the point of design and die.

The following is the painful process, many times of cloning, installation, but Kungfu is not negative, determined the cause of the problem, installed RTX2006 (Tencent Pass), led to the VS2008

The web design was suspended.

After the culprit is identified, it is to find out what the RTX2006 installer did. After a couple of hours of tossing and closing, it was decided that the reason was above a key value in the registry.

Original key value:

[Hkey_local_machine/software/classes/typelib/{f5078f18-c551-11d3-89b9-0000f81fe221}/5.0/0/win32]

@= "C://program Files//common files//microsoft Shared//office11//msxml5.dll"

After installing RTX2006:

[Hkey_local_machine/software/classes/typelib/{f5078f18-c551-11d3-89b9-0000f81fe221}/5.0/0/win32]

@= "C://program Files//common files//tencent//msxml5.dll"

If this key value is not C://program Files//common Files//microsoft Shared//office11//msxml5.dll, starting the VS2008 Web design interface

Suspended animation.

Do not know what the key value is to install VS2008 on a machine that does not have OFFICE2003 installed.

========

VS2008 the element's error message appears in the source view of ASPX.

"Cannot load" *.site "", or:

When the master is loaded, a asp.net run-time error occurs and the master file (*.master) cannot be processed because the code directory has not been generated.

The problem is that some code in the compilation directory is caused by errors. Just remove the error from the relevant code (if you are using the source control system, please get to the latest)

The answer comes from: http://social.microsoft.com/Forums/zh-CN/vstszhchs/thread/3878e61d-b1ab-46c6-8763-02871be4ca54

http://four-corner.appspot.com/

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.