首页上一页 1  下一页尾页 4 条记录 1/1页
        如何运行书本的实例???
                 	
                        发表在ASP.NET图书答疑
                        2010-04-29                                                
                    		
                                                                            	
                        
                        
                    
                    
                    	是否精华
                    	是
                    	否
                    
                    
                    
                            版块置顶:
                            是
                            否
                        
                    
                                           XML解析错误:未组织好 
位置:http://172.16.144.56/BlogIndex.aspx
行:1,列:2:<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="BlogIndex.aspx.cs" Inherits="BlogIndex" Title="Untitled Page" %>
-^
“/XMLBBS”应用程序中的服务器错误。
--------------------------------------------------------------------------------
应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Web.HttpException: 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[HttpException (0x80004005): 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。]
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +226
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +198
System.Web.Compilation.BuildManager.CompileCodeDirectories() +368
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +402
[HttpException (0x80004005): 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +81
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +524
System.Web.Compilation.BuildManager.CallAppInitializeMethod() +27
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +560
[HttpException (0x80004005): 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +644
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +151
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +173
 
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42
我的是《典型模块》
尝试了1-7的实例都是这个样子,部署的步骤是按提供文档的步骤做的,请问这是什么问题??
PS:iis服务器中.net框架的版本已经设为2.0
                
        	
        
        
    位置:http://172.16.144.56/BlogIndex.aspx
行:1,列:2:<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="BlogIndex.aspx.cs" Inherits="BlogIndex" Title="Untitled Page" %>
-^
“/XMLBBS”应用程序中的服务器错误。
--------------------------------------------------------------------------------
应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Web.HttpException: 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[HttpException (0x80004005): 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。]
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +226
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +198
System.Web.Compilation.BuildManager.CompileCodeDirectories() +368
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +402
[HttpException (0x80004005): 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +81
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +524
System.Web.Compilation.BuildManager.CallAppInitializeMethod() +27
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +560
[HttpException (0x80004005): 应用程序已预编译,因此不允许使用目录“/XMLBBS/App_Code/”。]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +644
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +151
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +173
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42
我的是《典型模块》
尝试了1-7的实例都是这个样子,部署的步骤是按提供文档的步骤做的,请问这是什么问题??
PS:iis服务器中.net框架的版本已经设为2.0

 
	
                                                 VIP会员
VIP会员 购物车
购物车

 私信
                         私信 
                     发表新帖
发表新帖 立即签到
立即签到 
        		  
        		 
         		 关注
关注
                  回复
 回复 支持(
                	支持( 反对(
                    反对( 
               			  
                







 
                     
                     
					 
						 
						 
						 
						