收到错误消息“无法加载程序集" App_web" [英] Getting an error'could not load the assembly'App_web'

查看:355
本文介绍了收到错误消息“无法加载程序集" App_web"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试运行IIS中部署的网站时出现错误.

I am getting an error when trying to run a website deployed in IIS.

parser error message-could not load the assemble''App_web_doc8x9lk''.make sure it is compiled before accesing the page.



可能出了什么问题?



What may have gone wrong?

Please help, I am stuck with this.

推荐答案

当您在同一IIS上具有不同版本的.net时,会发生此错误.
解决这个问题

创建您的应用程序池.
之后,使用此将池分配给您的应用程序

This error occurs when u have different version of .net on same IIS

To solve this problem

Create your Application Pool.
After that assign pool to ur application using this

1)  Go to Properties of your application in IIS
2)  In that, use Application pool dropdown to select your pool.



试试这个.
希望对您有所帮助.



try with this.
Hope it helps.


您好,

您何时以及多久收到一次此错误消息?
是在将页面部署到IIS之后吗?

您是否尝试过以下方法:

  • 在cmd框中启动cmd.exe
  • 运行iisreset(这将重新启动IIS,因此,如果您正在运行多个网站,请当心!)
Hello,

When and how often you get this error message?
Is it just after you deployed your page to the IIS?

Have you tried the following:

  • Start cmd.exe
  • run iisreset in the cmd box (this will restart your IIS, so if you have multiple websites running, be careful!)


嗨!

右键单击解决方案资源管理器中的网站"来发布您的网站.然后从发布位置复制目录中的所有文件.将这些文件复制到您的根目录(请勿复制网站文件夹本身,仅复制目录中的文件),看看是否可以解决您的问题.

另一种解决方案是创建一个虚拟目录,并将该虚拟目录指向您的应用程序目录.希望这能解决您的问题.

也可以尝试 HotFix 解决您的查询. >
问候.
Hi!

Publish your website by right clicking on the Website in the Solution explorer. Then copy all the files from directory where your published location. Copy those files to your root directory (Do not copy the website folder itself.only files from the directory) and see if it solve your problem.

The another solution is to create one virtual directory and point this Virtual directory to your application directory. Hope this solve your issue.

Also try HotFix to solve your query.

Regards.


这篇关于收到错误消息“无法加载程序集" App_web"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆