更新后运行我的网站时出错。 [英] Error in run my website after update it.

查看:63
本文介绍了更新后运行我的网站时出错。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我的网站上有文件夹App_Code和bin。发布后,在已发布的文件中,文件夹App_Code不存在。

和bin有一些主要来源不存在的文件。



现在我在我的主机上传文件(更新一些文件)。但是我会因为打开一些页面而面临错误。

例如:对于打开页面等.aspx,将显示波纹管错误。



解析器错误消息:无法加载程序集App_Web_dy11l2au。确保在访问页面之前编译它。

源错误:

第1行:<%@ page title =language =C#masterpagefile = 〜/ Site.Masterautoeventwireup =trueinherits =Login,App_Web_dy11l2ausmartnavigation =true%>

第2行:<%@ Register assembly =AjaxControlToolkitnamespace = AjaxControlToolkittagprefix =cc1%>

第3行:







文件'App_Web_dy11l2au'不存在于我的网站的源代码中,也不存在于已发布的文件中。

我该怎么办?同时在localhost它工作正常。



谢谢



我尝试过:



i无法做任何事情。





help

hello

there are folders "App_Code" and "bin" in my web site. after publish, in published files, folders "App_Code" is not exist.
and "bin" has some files which didn't exist in main source.

now i upload files in my host (update some files). but i will faces with error for open some pages.
for example : for open page etc.aspx , the bellow error will be shown.

Parser Error Message: Could not load the assembly 'App_Web_dy11l2au'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ page title="" language="C#" masterpagefile="~/Site.Master" autoeventwireup="true" inherits="Login, App_Web_dy11l2au" smartnavigation="true" %>
Line 2: <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
Line 3:



the file 'App_Web_dy11l2au' not exist in source of my website and also not exist in published files.
what should i do? meanwhile in localhost it works fine.

thanks

What I have tried:

i couldn't do any things.


help

推荐答案

'App_Web_dy11l2au' is a file which is generated after publish of your code, search for you published BIN folder there you will find this file and paste in hosted location bin folder.


但我查看已发布文件中的bin文件夹。这个文件不存在。
每次重新发布时,
是更改文件吗?
but i look at bin folder in published files. and this file was not exist.
is change files every time when republish?


这篇关于更新后运行我的网站时出错。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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