Solution to an error in ASP. NET name starting with invalid characters

Source: Internet
Author: User

IIS cannot recognize ASP. NET and reports the following error:

The name must start with an invalid character. An error occurred while processing the resource 'HTTP: // localhost/likong. Row 1st, Location: 2

Solution:

Run: C: \ WINDOWS \ Microsoft. NET \ Framework \ v1.1.4322 \ aspnet_regiis.exe-I [. NET 1.1] in the Command window.

C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727 \ aspnet_regiis.exe-I [. NET 2.0]

Failed to Load file or assembly "EnvDTE, Version = 8.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" or one of its dependencies. The system cannot find the specified file.

Select EnvDTE. dll and EnvDTE80.dll from the Start Menu. And copy the two files to the BIN directory of the virtual space (if this directory is not available, manually create it)

How to resolve the issue of "register as allowDefinition = 'machinetoapplication

Error 1 The Section registered as allowDefinition = 'machinetoapplication' outside the application level is incorrect. This error may occur if the virtual directory is not configured as an application in IIS. D: \ myweb \ YuJieSuanGenZong \ WebApplication1 \ WebApplication1 \ Web. config 25

View All Folders involved in the project. If there are two web. config files, this error occurs. Solution: Delete unnecessary web. config files.

An error occurred while establishing a connection with the server. When you connect to SQL Server 2005, the default setting does not allow remote connection to SQL Server may cause this failure. (Provider: SQL network interface, error: 26-An error occurred while locating the specified server/instance)
First, make sure that SQL server exprss is installed on the local computer and the SQL SERVER (SQLEXPRESS) service is successfully started. If the problem persists, open "SQL Server peripheral application configurator" and select "service and connected peripheral application configurator ", then configure "remote connection" as "using TCP/IP and named pipes at the same time"

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.