21.vs2005 cannot switch from source file mode to view mode
Solution: Under DOS run under devenv/resetskippkgs (win+r cmd)
22.Validation of ViewState MAC failed
Workaround: Page with enableviewstate= "false" enableViewStateMac = "false" to solve the problem
23.Automation server can ' t create object (Automation server cannot be created)
Solution: Run: Regsvr32 Scrrun.dll can be.
24. Package Load failed
The package "Visual Web Developer Trident Designer Package" was not loaded correctly (GUID =
{30ae7e28-6c02-496d-8e43-85f7a90aeff1}.
Workaround:
1. Set the system variable Vslogactivity=1
2, create the file under the%appdata%microsoftvisualstudio8.0 folder Activitylog.xml
Error
Microsoft Visual Studio
LoadLibrary failed for package [Visual Web Developer Trident Designer Package]
{30AE7E2B-6C02-496D-8E43-85F7A90AEFF1}
--------------------------------------------------------------------------------
8007007e
C:Program FilesMicrosoft Visual Studio 8Common7Packagestridsn.dll
3. Copy files from winntmicrosoft.netframeworkv2.0.xxx gdiplus.dll to program filesvisual Studio 8common7packages folder
4. Run the command at the command line: devenv/resetskippkgs
25.Error spawning ' cmd.exe '.
Solution: Copy the Cmd.exe to the Vc/bin directory under the VS installation directory to solve the problem.
26. Attempt to read or write protected memory
Resolution: Hardware problems, general memory problems
27. Unable to find the manifest signing certificate in the certificate store
WORKAROUND: Open the project's. csproj file with Notepad and delete the similar
28. There is no target "ResolveKeySource" in the project.
Reason: This question is very rare, inquires the overseas related material, basically is because deploys is not a standard solution, needs to run the following this thing to restore in the VS from the command prompt
Workaround:
(1). Save the following code as an XML file named Testbuild.xml
<project defaulttargets= "Build" xmlns= "http://schemas.microsoft.com/developer/msbuild/2003" >
<PropertyGroup>
<targetconnectionstring>data Source=.sql2005%3buser id=sqluser%3bpooling=false%3bpassword=x</ Targetconnectionstring>
</PropertyGroup>
<ItemGroup>
<databaseproject include= "Database1database1.dbproj"/>
<databaseproject include= "Database2database2.dbproj"/>
</ItemGroup>
<target name= "Buildalldatabaseprojects" >
<msbuild
Properties= "targetconnectionstring=$ (targetconnectionstring)"
Projects= "@ (DatabaseProject)"
targets= "Build;deploy" >
</MSBuild>
</Target>
(2) run in command prompt: Msbuild/t:buildalldatabaseprojects testbuild.xml
</Project>
29. Cannot insert value NULL into column ' * * '
Reason: This is a database table design error, the table involved in the field has set the NOT NULL attribute, but the passed value is null, so the error
Workaround: See if the value passed in is null, or modify the properties of the column corresponding to the table in the database
30. Failed to load type "namespace. Class" ...
Reason:
(1) The project has not been compiled after the modification
(2) Some of the namespaces in the project may have been modified
(3) The required ascx or other pages in the project do not exist or are not included in the project
Workaround:
(1) Rebuild or compile the entire project or solution after the modification is complete
(2) Manually modify the namespace changed, pay attention to the case of the name, and then recompile
(3) Include related files in the project