收藏
来源:互联网 发布:帝国cms仿今日头条 编辑:程序博客网 时间:2024/04/28 03:15
SQL Server Express 必须在Visual Studio 2005之前安装
对应微软的文档:
Installing SQL Server Express and Visual Studio 2005
When installing this CTP release of SQL Server Express with Visual Studio 2005 Beta 2, you must always install SQL Server Express before installing Visual Studio 2005.
You must also remove all previous builds of SQL Server Express, Visual Studio 2005, and the .NET Framework 2.0 before installing this CTP release. Because both products depend on the same version of the .NET Framework, they must be uninstalled in the following order:
SQL Server Express
Visual Studio 2005
.NET Framework 2.0
目前的解决方法,运行 iisreset ,同时关闭掉 VS.net 2003 ,再次打开即可。不知道是那个进程把这个Dll给锁住了。
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300 解决方法:给everyone帐号 C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files这个文件权限 错误信息: 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^ 解决方法:给everyone帐号 C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files这个文件权限 错误信息: 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^ 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^“/”应用程序中的服务器错误。
配置错误
分析器错误信息: 访问被拒绝:“CSDN.Authentication”。
源错误: 行 196:<add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>行 197:<add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>行 198:<add assembly="*"/>行 199:</assemblies>行 200:</compilation>
源文件: c:/windows/microsoft.net/framework/v1.1.4322/Config/machine.config 行: 198
程序集加载跟踪: 下列信息有助于确定程序集“CSDN.Authentication”无法加载的原因。=== Pre-bind state information ===LOG: DisplayName = CSDN.Authentication (Partial)LOG: Appbase = file:///F:/MyDevelop/AD/Code/ADManageWebLOG: Initial PrivatePath = binCalling assembly : (Unknown).===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).LOG: Post-policy reference: CSDN.AuthenticationLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/3151f96f/581ce000/CSDN.Authentication.DLL.LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/3151f96f/581ce000/CSDN.Authentication/CSDN.Authentication.DLL.LOG: Attempting download of new URL file:///F:/MyDevelop/AD/Code/ADManageWeb/bin/CSDN.Authentication.DLL.LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).LOG: Post-policy reference: CSDN.Authentication, Version=1.0.1965.30523, Culture=neutral, PublicKeyToken=null
在你装了某些软件后,你的ASP.net 程序会报下面错误,没有权限。
这个目录的可写权限“/AD”应用程序中的服务器错误。
对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
异常详细信息: System.UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}/ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。
若要授予 ASP.NET 对文件的写访问权,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪: [UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632 System.IO.Directory.CreateDirectory(String path) +195 System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85 System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +88 System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171 System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43 System.Web.HttpApplicationFactory.Init(HttpContext context) +485 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
在你装了某些软件后,你的ASP.net 程序会报下面错误,没有权限。
这个目录的可写权限“/AD”应用程序中的服务器错误。
对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
异常详细信息: System.UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}/ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。
若要授予 ASP.NET 对文件的写访问权,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪: [UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632 System.IO.Directory.CreateDirectory(String path) +195 System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85 System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +88 System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171 System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43 System.Web.HttpApplicationFactory.Init(HttpContext context) +485 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
“/”应用程序中的服务器错误。
配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300 解决方法:给everyone帐号 C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files这个文件权限 错误信息: 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^ 解决方法:给everyone帐号 C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files这个文件权限 错误信息: 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^ 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^
分析器错误信息: 访问被拒绝:“CSDN.Authentication”。
源错误: 行 196:<add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>行 197:<add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>行 198:<add assembly="*"/>行 199:</assemblies>行 200:</compilation>
源文件: c:/windows/microsoft.net/framework/v1.1.4322/Config/machine.config 行: 198
程序集加载跟踪: 下列信息有助于确定程序集“CSDN.Authentication”无法加载的原因。=== Pre-bind state information ===LOG: DisplayName = CSDN.Authentication (Partial)LOG: Appbase = file:///F:/MyDevelop/AD/Code/ADManageWebLOG: Initial PrivatePath = binCalling assembly : (Unknown).===LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).LOG: Post-policy reference: CSDN.AuthenticationLOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/3151f96f/581ce000/CSDN.Authentication.DLL.LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/3151f96f/581ce000/CSDN.Authentication/CSDN.Authentication.DLL.LOG: Attempting download of new URL file:///F:/MyDevelop/AD/Code/ADManageWeb/bin/CSDN.Authentication.DLL.LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).LOG: Post-policy reference: CSDN.Authentication, Version=1.0.1965.30523, Culture=neutral, PublicKeyToken=null
在你装了某些软件后,你的ASP.net 程序会报下面错误,没有权限。
这个目录的可写权限“/AD”应用程序中的服务器错误。
对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
异常详细信息: System.UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}/ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。
若要授予 ASP.NET 对文件的写访问权,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪: [UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632 System.IO.Directory.CreateDirectory(String path) +195 System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85 System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +88 System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171 System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43 System.Web.HttpApplicationFactory.Init(HttpContext context) +485 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
在你装了某些软件后,你的ASP.net 程序会报下面错误,没有权限。
这个目录的可写权限“/AD”应用程序中的服务器错误。
对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
异常详细信息: System.UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}/ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。
若要授予 ASP.NET 对文件的写访问权,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪: [UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632 System.IO.Directory.CreateDirectory(String path) +195 System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85 System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +88 System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171 System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43 System.Web.HttpApplicationFactory.Init(HttpContext context) +485 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300
解决方法:给everyone帐号 C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files这个文件权限 错误信息: 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^在你装了某些软件后,你的ASP.net 程序会报下面错误,没有权限。
这个目录的可写权限“/AD”应用程序中的服务器错误。
对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
异常详细信息: System.UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}/ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。
若要授予 ASP.NET 对文件的写访问权,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪: [UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632 System.IO.Directory.CreateDirectory(String path) +195 System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85 System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +88 System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171 System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43 System.Web.HttpApplicationFactory.Init(HttpContext context) +485 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
在你装了某些软件后,你的ASP.net 程序会报下面错误,没有权限。
解决方法:给everyone帐号
C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files这个文件权限
这个目录的可写权限
错误信息:
“/AD”应用程序中的服务器错误。
对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573 这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。 由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。 后来咨询思归。 知道这个英文错误是:“Surrogate Pair is invalid” 再去Google查错误,发现原因是, 默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。 参见: http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897 http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033 http://www.dotnet247.com/247reference/msgs/7/38749.aspx 解决方案,就是把数据再封装编码一次。使用base64encode。 不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^
异常详细信息: System.UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。
ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}/ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。
若要授予 ASP.NET 对文件的写访问权,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。
源错误: 执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪: [UnauthorizedAccessException: 对路径“C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ad/0543a390/6b5a633c”的访问被拒绝。] System.IO.__Error.WinIOError(Int32 errorCode, String str) +393 System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632 System.IO.Directory.CreateDirectory(String path) +195 System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85 System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97 System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29 System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91 System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +148 System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125 System.Web.UI.TemplateParser.GetParserCacheItem() +88 System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171 System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43 System.Web.HttpApplicationFactory.Init(HttpContext context) +485 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
这一段时间,一直被一个问题困扰,CSDN的一个对内的 WEB Service 一直报错误:“生成 XML 文档时出错。 --> 代理项对无效”。
由于一直没弄明白这个英文是如何说的。到处搜索,也没有找到解决方法和错误原因。
后来咨询思归。
知道这个英文错误是:“Surrogate Pair is invalid”
再去Google查错误,发现原因是,
默认情况下,.net的序列化,是UTF-8编码方式的序列化。如果你需要序列化的内容中,存在非UTF-8的内容,就会产生上述错误。
参见:
http://fuzzysoftware.com/newsgroups.asp?action=showmsgs&group=microsoft.public.dotnet.framework.aspnet.webservices&messid=29897
http://search.csdn.net/Expert/topic/2356/2356559.xml?temp=.5971033
http://www.dotnet247.com/247reference/msgs/7/38749.aspx
解决方案,就是把数据再封装编码一次。使用base64encode。
不过我这个WEB Service返回的是DataSet, 考虑到麻烦性,我直接把那段时间错误的131条记录都删除掉了。 ^&^
- 收藏
- 收藏!
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 收藏
- 首次发表,测试
- 关于C++泛型编程的一些杂感
- 用java生成jpg图片
- resin2.1.14+mysql4.1.12调试jsp时的问题
- Java bytecode assembler : jasmin
- 收藏
- 【收藏】使用网络地址转换 增强网络安全
- PHP验证码的实现
- Excercise 9_1
- 看程序员是怎么喝酒的(搞笑)
- 【收藏】一个老程序员的工作经历 误导中国IT该当何罪
- VC++技术点滴
- 使用FileSystemWatcher监测大文件时,如何判断文件已经创建完成?
- 局域網中共用.net的應用程式.