IIS 7 debugging error "Strong name validation failed"

Source: Internet
Author: User

Summary:
This article addresses the failure of "unable to start debugging on the Web server. Strong name verification" that occurs when you debug iis7 (Vista) sites using Visual Studio 2008 beta 2 ." Problem. (English text: unable to start debugging on the Web server. Strong name validation failed .)

Environment:
Vista Ultimate/business, IIS 7.0, Visual Studio 2008 beta 2 (en ).
The debugging method is to enable Visual Studio (unless otherwise specified, it indicates Visual Studio 2008 beta 2 in this article, the same below) to monitor HTTP instead of starting any debugging page: // localhost/. configure a site in IIS to point to the web directory and set sufficient permissions for the directory.

Problem:
Press F5 in Visual Studio to start debugging. The following dialog box is displayed:

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the Web server. Strong name verification failed.

Click Help for more information.
---------------------------
Confirm help
---------------------------

(The Chinese version is displayed here because the operating system is a Chinese version .)

Cause:
This is caused by strong name verification of the Visual Studio file (iisresolver. dll. Disable it.

Solution:
1. Open the Command Prompt window as an administrator (if UAC prompts, click "continue ").
2. Locate the sn.exe directory and run the following command:

"<Path_to_sn> \ sn.exe"-VR "% ProgramFiles % \ Microsoft Visual Studio 9.0 \ common7 \ ide \ iisresolver. dll"

3. When the following text appears on the screen, restart Visual Studio.

C: \ windows \ system32> sn.exe-VR "C: \ Program Files \ Microsoft Visual Studio 9.0 \ com
Mon7 \ ide \ iisresolver. dll"

Microsoft (R). Net Framework strong name utility version 3.5.20706.1
Copyright (c) Microsoft Corporation. All rights reserved.

Verification entry added for assembly 'isresolver, b03f5f7f11d50a3a'

(The final number "b03f5f7f11d50a3a" may change with your environment .)

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.