Click here to Skip to main content
15,893,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Load data into detailsview via C# Pin
_ASPAle_27-Sep-09 0:10
_ASPAle_27-Sep-09 0:10 
GeneralRe: Load data into detailsview via C# Pin
Abhijit Jana27-Sep-09 0:15
professionalAbhijit Jana27-Sep-09 0:15 
GeneralRe: Load data into detailsview via C# Pin
_ASPAle_27-Sep-09 0:17
_ASPAle_27-Sep-09 0:17 
GeneralRe: Load data into detailsview via C# Pin
N a v a n e e t h27-Sep-09 0:19
N a v a n e e t h27-Sep-09 0:19 
GeneralRe: Load data into detailsview via C# Pin
_ASPAle_27-Sep-09 1:12
_ASPAle_27-Sep-09 1:12 
GeneralRe: Load data into detailsview via C# Pin
N a v a n e e t h27-Sep-09 1:41
N a v a n e e t h27-Sep-09 1:41 
AnswerRe: Load data into detailsview via C# Pin
khaleel the kiraak27-Sep-09 10:41
khaleel the kiraak27-Sep-09 10:41 
QuestionAbout ASP.NET application Hosting Pin
jahirhstu26-Sep-09 23:27
jahirhstu26-Sep-09 23:27 
Dear All,
I am using asp.net 3.5 with Microsoft Reporting Service (RDLC).

My Application works fine in local machine. But when I upload my application in my real application server it shows the following error message
My real application server is a shared asp.net 3.5 hosting provider.
Can anyone advice to resolve it.



Server Error in '/' Application.
Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[PolicyException: Required permissions cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7604211
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 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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) +83
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.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155





I have tried with crystal report too.
It shows the error as follows




Server Error in '/' Application.
Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[PolicyException: Required permissions cannot be acquired.]
System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7604211
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 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' 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) +83
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.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
AnswerRe: About ASP.NET application Hosting [modified] Pin
Abhishek Sur27-Sep-09 9:56
professionalAbhishek Sur27-Sep-09 9:56 
Questionabout publishing website [modified] Pin
hasani200726-Sep-09 23:08
hasani200726-Sep-09 23:08 
AnswerRe: about publishing website Pin
Abhijit Jana26-Sep-09 23:14
professionalAbhijit Jana26-Sep-09 23:14 
GeneralRe: about publishing website Pin
sashidhar26-Sep-09 23:19
sashidhar26-Sep-09 23:19 
AnswerRe: about publishing website Pin
sashidhar26-Sep-09 23:17
sashidhar26-Sep-09 23:17 
AnswerRe: about publishing website Pin
sashidhar26-Sep-09 23:20
sashidhar26-Sep-09 23:20 
GeneralRe: about publishing website Pin
hasani200727-Sep-09 0:52
hasani200727-Sep-09 0:52 
AnswerRe: about publishing website Pin
sashidhar27-Sep-09 1:55
sashidhar27-Sep-09 1:55 
Questionchange data value by one when I click on checkbox in gridview Pin
robotz26-Sep-09 22:26
robotz26-Sep-09 22:26 
AnswerRe: change data value by one when I click on checkbox in gridview Pin
Christian Graus26-Sep-09 22:30
protectorChristian Graus26-Sep-09 22:30 
GeneralRe: change data value by one when I click on checkbox in gridview Pin
robotz26-Sep-09 22:39
robotz26-Sep-09 22:39 
GeneralRe: change data value by one when I click on checkbox in gridview Pin
Christian Graus26-Sep-09 22:50
protectorChristian Graus26-Sep-09 22:50 
QuestionVisual Studio .NET Debugger Does Not Stop on Breakpoints When I Debug ASP.NET Pages in VS1.1 Pin
K.Safvi26-Sep-09 20:20
K.Safvi26-Sep-09 20:20 
AnswerRe: Visual Studio .NET Debugger Does Not Stop on Breakpoints When I Debug ASP.NET Pages in VS1.1 Pin
Parwej Ahamad26-Sep-09 20:59
professionalParwej Ahamad26-Sep-09 20:59 
GeneralRe: Visual Studio .NET Debugger Does Not Stop on Breakpoints When I Debug ASP.NET Pages in VS1.1 Pin
K.Safvi26-Sep-09 21:26
K.Safvi26-Sep-09 21:26 
GeneralRe: Visual Studio .NET Debugger Does Not Stop on Breakpoints When I Debug ASP.NET Pages in VS1.1 Pin
Parwej Ahamad26-Sep-09 21:28
professionalParwej Ahamad26-Sep-09 21:28 
GeneralRe: Visual Studio .NET Debugger Does Not Stop on Breakpoints When I Debug ASP.NET Pages in VS1.1 Pin
K.Safvi26-Sep-09 21:51
K.Safvi26-Sep-09 21:51 

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.