简体   繁体   English

IIS7解析错误

[英]IIS7 parse error

I just put all my aspx files on the local folder and made a website in IIS7. 我只是将所有的aspx文件放在本地文件夹中,并在IIS7中建立了一个网站。 I added a virtual directory to it and then converted the virtual directory to application. 我向其中添加了虚拟目录,然后将虚拟目录转换为应用程序。 The website loads properly but when i click the link that calls my application i get this error message. 该网站正常加载,但是当我单击调用我的应用程序的链接时,我收到此错误消息。

Description: An error occurred during the parsing of a resource required to service this request. 说明:在解析服务于此请求所需的资源期间发生错误。 Please review the following specific parse error details and modify your source file appropriately. 请查看以下特定的解析错误详细信息,并适当地修改您的源文件。

Parser Error Message: Could not load type 'XXXX.xxxx'. 解析器错误消息:无法加载类型'XXXX.xxxx'。

The error line in code is this - 代码中的错误行是:

Line 1: <%@ Master Language="VB" Inherits="_XXXX.xxxx" Codebehind="XXX.xx.vb" %> 第1行:<%@主语言=“ VB” Inherits =“ _ XXXX.xxxx” Codebehind =“ XXX.xx.vb”%>

How do i fix this? 我该如何解决?

Have you also deployed your bin folder with the compiled dlls? 您是否还使用已编译的dll部署了bin文件夹?

Take a look at this walkthrough for a guide on how to publish an asp.net site. 查看本演练 ,以获取有关如何发布asp.net网站的指南。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM