Click here to Skip to main content
15,886,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionLocalizaing the data populating from database Pin
dev_asp_shreshtha26-Jul-10 5:20
dev_asp_shreshtha26-Jul-10 5:20 
AnswerRe: Localizaing the data populating from database Pin
Yusuf26-Jul-10 6:30
Yusuf26-Jul-10 6:30 
QuestionPost Alert Issue Pin
dev_asp_shreshtha26-Jul-10 5:14
dev_asp_shreshtha26-Jul-10 5:14 
QuestionSystem.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
antony beula26-Jul-10 4:42
antony beula26-Jul-10 4:42 
AnswerRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
Yusuf26-Jul-10 4:50
Yusuf26-Jul-10 4:50 
GeneralRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
antony beula26-Jul-10 5:05
antony beula26-Jul-10 5:05 
GeneralRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
Yusuf26-Jul-10 5:08
Yusuf26-Jul-10 5:08 
GeneralRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. [modified] Pin
antony beula26-Jul-10 5:14
antony beula26-Jul-10 5:14 
<trust level="Full" originUrl="" />
is already available in my application and am getting this error only on some of the pages in my application.


Error Message:

[PolicyException: Required permissions cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7606807
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57

[FileLoadException: Could not load file or assembly 'WebChart, Version=1.1.1.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'WebChart, Version=1.1.1.4, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +163
System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53
System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175
System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +86
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

modified on Monday, July 26, 2010 11:28 AM

Questiondisplaying problem Pin
Dhyanga26-Jul-10 4:35
Dhyanga26-Jul-10 4:35 
AnswerRe: displaying problem Pin
Yusuf26-Jul-10 4:48
Yusuf26-Jul-10 4:48 
GeneralRe: displaying problem Pin
Dhyanga26-Jul-10 4:53
Dhyanga26-Jul-10 4:53 
GeneralRe: displaying problem Pin
Martin Jarvis26-Jul-10 6:51
Martin Jarvis26-Jul-10 6:51 
AnswerRe: displaying problem Pin
Stoffy197226-Jul-10 9:16
Stoffy197226-Jul-10 9:16 
GeneralRe: displaying problem Pin
Dhyanga27-Jul-10 2:53
Dhyanga27-Jul-10 2:53 
AnswerRe: displaying problem Pin
aswinnnnnnn26-Jul-10 18:21
aswinnnnnnn26-Jul-10 18:21 
QuestionPopupcontrol extender Pin
Amit Patel198526-Jul-10 4:03
Amit Patel198526-Jul-10 4:03 
AnswerRe: Popupcontrol extender Pin
Yusuf26-Jul-10 4:13
Yusuf26-Jul-10 4:13 
GeneralRe: ModalPopupExtender extender Pin
Amit Patel198526-Jul-10 4:22
Amit Patel198526-Jul-10 4:22 
GeneralRe: ModalPopupExtender extender Pin
saanj27-Jul-10 3:04
saanj27-Jul-10 3:04 
Questiondrop down with check box Pin
Amit Patel198526-Jul-10 3:13
Amit Patel198526-Jul-10 3:13 
AnswerRe: drop down with check box Pin
Not Active26-Jul-10 3:33
mentorNot Active26-Jul-10 3:33 
AnswerRe: drop down with check box Pin
Yusuf26-Jul-10 4:43
Yusuf26-Jul-10 4:43 
QuestionAuto Complete extender problem Pin
Amit Patel198526-Jul-10 3:09
Amit Patel198526-Jul-10 3:09 
Questionhow to avoid loading time while using repeater Pin
prakash.ss8326-Jul-10 2:23
prakash.ss8326-Jul-10 2:23 
AnswerRe: how to avoid loading time while using repeater Pin
Not Active26-Jul-10 2:42
mentorNot Active26-Jul-10 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.