Two problems after the website is released

Source: Internet
Author: User

After the website is published, the following two problems occur when it is uploaded to the space (ASP. NET 2.0 + SQL 2000)

1Compilation Error

Note: An error occurs during compilation of resources required to provide services to this request. Check the following error details and modify the source code as appropriate.

Compiler error message: cs0030: The type "ASP. tgview_aspx" cannot be converted to "system. Web. UI. webcontrols. View"

Solution: After searching, it is found that the CS file name corresponding to tgview_aspx is view, which is in conflict with system. Web. UI. webcontrols. View. Just change the CS name to tgview.

2Analyzer Error

Note: An error occurred while analyzing the resources required to provide services to this request. Check the following detailed analysis error information and modify the source file as appropriate.

Analyzer error message: failed to load assembly "app_web_tyn6zjmq ". Make sure that this Assembly has been compiled before accessing this page.

Source error:

Row 1: <% @ page Language = "C #" autoeventwireup = "true" inherits = "_ default, app_web_tyn6zjmq" %>

Row 2:

Row 3: <! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Solution:My website directory is TG "Web. At first I set the TG directory to a virtual directory, so this error occurs. Then I changed the web directory to a virtual directory.

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.