“/AJAXEnabledWebSite”应用程序中的服务器错误。
--------------------------------------------------------------------------------未能加载文件或程序集“Microstot.Web.Preview”或它的某一个依赖项。系统找不到指定的文件。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.FileNotFoundException: 未能加载文件或程序集“Microstot.Web.Preview”或它的某一个依赖项。系统找不到指定的文件。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 程序集加载跟踪: 下列信息有助于确定程序集“Microstot.Web.Preview”无法加载的原因。=== 预绑定状态信息 ===
日志: 用户 = YEZHANG\Administrator
日志: DisplayName = Microstot.Web.Preview
(Partial)
日志: Appbase = file:///D:/Programme/AJAXEnabledWebSite/
日志: 初始 PrivatePath = D:\Programme\AJAXEnabledWebSite\bin
调用程序集: (Unknown)。
===
日志: 此绑定从 default 加载上下文开始。
日志: 正在使用应用程序配置文件: D:\Programme\AJAXEnabledWebSite\web.config
日志: 使用 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config 的计算机配置文件。
日志: 此时没有为引用应用策略(私有、自定义、分部或基于位置的程序集绑定)。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview.EXE。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview/Microstot.Web.Preview.EXE。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview.EXE。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview/Microstot.Web.Preview.EXE。堆栈跟踪: [FileNotFoundException: 未能加载文件或程序集“Microstot.Web.Preview”或它的某一个依赖项。系统找不到指定的文件。]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.UI.AssemblyCache.Load(String assemblyName) +73
System.Web.UI.ScriptManager.RemoveDuplicates(List`1 scripts) +652
System.Web.UI.ScriptManager.RegisterScripts() +388
System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +111
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2058052
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832 请各位看下这是什么问题?我不明白,谢谢:)
--------------------------------------------------------------------------------未能加载文件或程序集“Microstot.Web.Preview”或它的某一个依赖项。系统找不到指定的文件。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.IO.FileNotFoundException: 未能加载文件或程序集“Microstot.Web.Preview”或它的某一个依赖项。系统找不到指定的文件。源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 程序集加载跟踪: 下列信息有助于确定程序集“Microstot.Web.Preview”无法加载的原因。=== 预绑定状态信息 ===
日志: 用户 = YEZHANG\Administrator
日志: DisplayName = Microstot.Web.Preview
(Partial)
日志: Appbase = file:///D:/Programme/AJAXEnabledWebSite/
日志: 初始 PrivatePath = D:\Programme\AJAXEnabledWebSite\bin
调用程序集: (Unknown)。
===
日志: 此绑定从 default 加载上下文开始。
日志: 正在使用应用程序配置文件: D:\Programme\AJAXEnabledWebSite\web.config
日志: 使用 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config 的计算机配置文件。
日志: 此时没有为引用应用策略(私有、自定义、分部或基于位置的程序集绑定)。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview/Microstot.Web.Preview.DLL。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview.EXE。
日志: 试图下载新的 URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/ajaxenabledwebsite/f205d4b7/78a5ee8a/Microstot.Web.Preview/Microstot.Web.Preview.EXE。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview.EXE。
日志: 试图下载新的 URL file:///D:/Programme/AJAXEnabledWebSite/bin/Microstot.Web.Preview/Microstot.Web.Preview.EXE。堆栈跟踪: [FileNotFoundException: 未能加载文件或程序集“Microstot.Web.Preview”或它的某一个依赖项。系统找不到指定的文件。]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly.Load(String assemblyString) +25
System.Web.UI.AssemblyCache.Load(String assemblyName) +73
System.Web.UI.ScriptManager.RemoveDuplicates(List`1 scripts) +652
System.Web.UI.ScriptManager.RegisterScripts() +388
System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +111
System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +2058052
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1566--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.832; ASP.NET 版本:2.0.50727.832 请各位看下这是什么问题?我不明白,谢谢:)
解决方案 »
- Web部件的问题
- 关于access
- 将vb转换为c#时出现如下错误:找不到类型或命名空间名称“dropstype”(是否缺少 using 指令或程序集引用?)
- 用什么语句判断checkbox 已经被选中呢
- 使用javascript的getElementsById方法时提示"对象不支持此属性或方法".
- lable控件如何联动显示?
- 请帮我看看下面这些代码有什么问题,谢谢!
- Gridview点编辑返回后,如何能列出上一次的查询内容?
- asp.net 页面的textbox 设置为多行文本框之后后台无法获取值
- 请教:datagrid怎末用?
- 隐藏域赋值!求救
- 关于Request.QueryString[]奇怪的问题,请高手指点下
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<style type="text/css">
*
{
font-family:Tahoma;
font-size:0.96em;
}
input
{
border:1px solid #000;
}
</style>
<script language="javascript" type="text/javascript">
var g_thName=null;
var g_btnSayHello=null;
var g_lbMessage=null;
function pageLoad()
{
g_thName=new Sys.Preview.UI.TextBox($get('tbName'));
g_thName.initialize();
g_btnSayHello=new Sys.Preview.UI.Button($get('btnSayHello'));
g_btnSayHello.add_click(getServerHelloString);
g_btnSayHello.initialize();
g_lbMessage=new Sys.Preview.UI.Label($get('lbMessage'));
g_lbMessage.initialize();
}
function cb_getServerHelloString(result)
{
g_lbMessage.set_text(result);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="HelloWorldService.asmx" />
</Services>
<Scripts>
<asp:ScriptReference Assembly="Microstot.Web.Preview" Name="PreviewScript.js" />
</Scripts>
</asp:ScriptManager>
<label for="tbName">Your Name: </label>
<input id="tbName" type="text" />
<input id="btnSayHello" type="button" value="Say Hello From Server!" />
<div id="lbMessage"></div>
</div>
</form>
</body>
</html>
HelloWorldService.cs:
using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;/// <summary>
/// HelloWorldService 的摘要说明
/// </summary>
[WebService(Namespace = "http://dflying.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Web.Script.Services.ScriptService()]
public class HelloWorldService : System.Web.Services.WebService
{
public HelloWorldService ()
{
//如果使用设计的组件,请取消注释以下行
//InitializeComponent();
} [WebMethod]
public string GetHelloWorldString(string name)
{
return string.Format("Welcome to ASP.NET AJAX world,{0}!. Now it is {1}.", name, DateTime.Now);
}
}