悬赏园豆:50
[已解决问题]
解决于 2010-03-15 10:52
<h2><em>对注册表项“HKEY_CLASSES_ROOT\JESoft.GoodsAgent.JEComponent.SystemMaintenance.UserMgt.UserInfoDS”的访问被拒绝。</em> </h2>
<p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"><strong>说明: </strong>执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 <br /><br /><strong>异常详细信息: </strong>System.UnauthorizedAccessException: 对注册表项“HKEY_CLASSES_ROOT\JESoft.GoodsAgent.JEComponent.SystemMaintenance.UserMgt.UserInfoDS”的访问被拒绝。 <br /><br />ASP.NET 未被授权访问所请求的资源。请考虑授予 ASP.NET 请求标识访问此资源的权限。ASP.NET 有一个在应用程序没有模拟时使用的基进程标识(通常,在 IIS 5 上为 {MACHINE}\ASPNET,在 IIS 6 上为网络服务)。如果应用程序正在通过 <identity impersonate="true"/> 模拟,则标识将为匿名用户(通常为 IUSR_MACHINENAME)或经过身份验证的请求用户。 <br /><br />要将 ASP.NET 访问权限授予某个文件,请在资源管理器中右击该文件,选择“属性”,然后选择“安全”选项卡。单击“添加”添加适当的用户或组。突出显示 ASP.NET 帐户,选中所需访问权限对应的框。<br /><br /><strong>源错误:</strong> </span>
<p> </p>
<pre>行 33: protected override JESoft.LibBase.ComponentBase.Bussiness.Common.BrowsePageMgtInterFace BrowseMgt行 34: {<span style="color: red;">行 35: get { return new PrintFormMgt(); }</span>行 36: }行 37: </pre>
<p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;">
<p><br /><strong>源文件: </strong>C:\inetpub\wwwroot\JEGoodsAgent\JEClient\PrintFormManagement\PrintFormBrowse.aspx.cs<strong> 行: </strong>35 <br /><br /><strong>堆栈跟踪:</strong>
<p> </p>
<p> </p>
<pre>[UnauthorizedAccessException: 对注册表项“HKEY_CLASSES_ROOT\JESoft.GoodsAgent.JEComponent.SystemMaintenance.UserMgt.UserInfoDS”的访问被拒绝。] </pre>
<pre> Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) +2738109 </pre>
<pre>Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) +7716503 </pre>
<pre> Microsoft.Win32.RegistryKey.CreateSubKey(String subkey) +10 </pre>
<pre>System.Runtime.InteropServices.RegistrationServices.RegisterManagedType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion) +247 </pre>
<pre>System.Runtime.InteropServices.RegistrationServices.RegisterAssembly(Assembly assembly, AssemblyRegistrationFlags flags) +293 </pre>
<pre> System.EnterpriseServices.RegistrationDriver.ClassicRegistration(Assembly asm) +116</pre>
<pre> </pre>
<pre>[RegistrationException: 注册程序集“JESoft.GoodsAgent.JEComponent, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b3ccda43b2da8274”失败。] </pre>
<pre> System.EnterpriseServices.RegistrationDriver.ClassicRegistration(Assembly asm) +180 </pre>
<pre>System.EnterpriseServices.RegistrationDriver.InstallAssembly(RegistrationConfig regConfig, Object obSync) +367</pre>
<pre> </pre>
<pre>[RegistrationException: 要执行此任务,您必须具有管理凭据。请与您的系统管理员联系以获得帮助。] </pre>
<pre>System.EnterpriseServices.RegistrationDriver.InstallAssembly(RegistrationConfig regConfig, Object obSync) +995 </pre>
<pre>System.EnterpriseServices.RegistrationHelper.InstallAssemblyFromConfig(RegistrationConfig& regConfig) +453 </pre>
<pre>System.EnterpriseServices.RegistrationHelper.InstallAssembly(String assembly, String& application, String partition, String& tlb, InstallationFlags installFlags) +104 </pre>
<pre>System.EnterpriseServices.RegistrationHelper.System.EnterpriseServices.Thunk.IThunkInstallation.DefaultInstall(String asm) +39 </pre>
<pre>System.EnterpriseServices.Thunk.Proxy.RegisterAssembly(Assembly assembly) +91 </pre>
<pre>System.EnterpriseServices.Thunk.Proxy.LazyRegister(Guid id, Type serverType, Boolean checkCache) +194 </pre>
<pre>System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, Boolean bQuerySCInfo, Boolean& bIsAnotherProcess, String& uri) +205 </pre>
<pre>System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType) +159 </pre>
<pre>System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj) +7556164 </pre>
<pre> </pre>
<pre>JESoft.GoodsAgent.JEClient.PrintFormManagement.PrintFormBrowse.get_BrowseMgt() in C:\inetpub\wwwroot\JEGoodsAgent\JEClient\PrintFormManagement\PrintFormBrowse.aspx.cs:35 </pre>
<pre>JESoft.LibBase.WebUIBase.Page.Browse.BrowseBasePage..ctor() in C:\Inetpub\wwwroot\JESoftBase\JESoft.LibBase.WebUIBase\Page\Browse\BrowseBasePage.cs:334 </pre>
<pre>JESoft.GoodsAgent.JEClient.PrintFormManagement.PrintFormBrowse..ctor() +29 </pre>
<pre>ASP.printformmanagement_printformbrowse_aspx..ctor() in c:\Users\lulu\AppData\Local\Temp\Temporary</pre>
<pre> ASP.NET Files\root\92011846\614f98ad\App_Web_2opjpmdp.0.cs:0 __ASP.FastObjectFactory_app_web_2opjpmdp.Create_ASP_printformmanagement_printformbrowse_aspx() in c:\Users\lulu\AppData\Local\Temp\Temporary </pre>
<pre>ASP.NET Files\root\92011846\614f98ad\App_Web_2opjpmdp.4.cs:0 System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32 </pre>
<pre>System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119 </pre>
<pre>System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33 </pre>
<pre>System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40 </pre>
<pre>System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160 </pre>
<pre> System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155</pre>
<p><br /><br />
<p> </p>
<p>
<p> </p>
<p><span style="font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif;"> </span>
<p> </p>
</p>
</p>
</p>
</p>
</span></p>
</p>
别惹蚂蚁
|
初学一级
|
园豆:
75
提问于:2010-03-14 14:45