Hi
i am having problem with the microsoft enterprise library. i have uploaded
the site to the hosting server and it gives the following error
it works well in my server. can some one help me what kind of permission to
set?
thanks
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.PolicyE xception: 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 .SecurityManage r.ResolvePolicy (Evidence evidence,
PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet& denied, Boolean checkExecutionP ermission) +2709488
System.Security .SecurityManage r.ResolvePolicy (Evidence evidence,
PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet& denied, Int32& securitySpecial Flags, Boolean
checkExecutionP ermission) +57
[FileLoadExcepti on: Could not load file or assembly
'Microsoft.Prac tices.Enterpris eLibrary.Data.C onfiguration.De sign,
Version=2.0.0.0 , Culture=neutral , PublicKeyToken= null' or one of its
dependencies. Failed to grant minimum permission requests. (Exception from
HRESULT: 0x80131417)]
System.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String codeBase,
Evidence assemblySecurit y, Assembly locationHint, StackCrawlMark& stackMark,
Boolean throwOnFileNotF ound, Boolean forIntrospectio n) +0
System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef,
Evidence assemblySecurit y, StackCrawlMark& stackMark, Boolean
forIntrospectio n) +211
System.Reflecti on.Assembly.Int ernalLoad(Strin g assemblyString, Evidence
assemblySecurit y, StackCrawlMark& stackMark, Boolean forIntrospectio n) +141
System.Reflecti on.Assembly.Loa d(String assemblyString) +25
System.Web.Conf iguration.Compi lationSection.L oadAssemblyHelp er(String
assemblyName, Boolean starDirective) +32
[ConfigurationEr rorsException: Could not load file or assembly
'Microsoft.Prac tices.Enterpris eLibrary.Data.C onfiguration.De sign,
Version=2.0.0.0 , Culture=neutral , PublicKeyToken= null' or one of its
dependencies. Failed to grant minimum permission requests. (Exception from
HRESULT: 0x80131417)]
System.Web.Conf iguration.Compi lationSection.L oadAssemblyHelp er(String
assemblyName, Boolean starDirective) +596
System.Web.Conf iguration.Compi lationSection.L oadAllAssemblie sFromAppDomainB inDirectory()
+3596761
System.Web.Conf iguration.Compi lationSection.L oadAssembly(Ass emblyInfo ai)
+46
System.Web.Comp ilation.BuildMa nager.GetRefere ncedAssemblies( CompilationSect ion
compConfig) +177
System.Web.Comp ilation.WebDire ctoryBatchCompi ler..ctor(Virtu alDirectory
vdir) +267
System.Web.Comp ilation.BuildMa nager.BatchComp ileWebDirectory Internal(Virtua lDirectory
vdir, Boolean ignoreErrors) +36
System.Web.Comp ilation.BuildMa nager.BatchComp ileWebDirectory (VirtualDirecto ry
vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429
System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th
virtualPath) +73
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPre compile) +580
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(HttpCon text
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPre compile) +93
System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
+111
System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa th
virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean
allowCrossApp, Boolean noAssert) +54
System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t context,
String requestType, VirtualPath virtualPath, String physicalPath) +31
System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler (HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
+40
System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
+139
System.Web.MapH andlerExecution Step.System.Web .HttpApplicatio n.IExecutionSte p.Execute()
+120
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +155
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.832; ASP.NET
Version:2.0.507 27.832 1 5046
Without any information on what version of Enterprise Library or how you
were using them, I found this post matching your error on Google: http://forums.microsoft.com/MSDN/Sho...65715&SiteID=1
Googled: http://www.google.com/search?hl=en&r...ise+Library%22
HTH.
-dl
--
David R. Longnecker http://blog.tiredstudent.com
Hi
i am having problem with the microsoft enterprise library. i have
uploaded
the site to the hosting server and it gives the following error
it works well in my server. can some one help me what kind of
permission to
set?
thanks
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.PolicyE xception: 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 .SecurityManage r.ResolvePolicy (Evidence evidence,
PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet& denied, Boolean checkExecutionP ermission) +2709488
System.Security .SecurityManage r.ResolvePolicy (Evidence evidence,
PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset,
PermissionSet& denied, Int32& securitySpecial Flags, Boolean
checkExecutionP ermission) +57
[FileLoadExcepti on: Could not load file or assembly
'Microsoft.Prac tices.Enterpris eLibrary.Data.C onfiguration.De sign,
Version=2.0.0.0 , Culture=neutral , PublicKeyToken= null' or one of its
dependencies. Failed to grant minimum permission requests. (Exception
from
HRESULT: 0x80131417)]
System.Reflecti on.Assembly.nLo ad(AssemblyName fileName, String
codeBase,
Evidence assemblySecurit y, Assembly locationHint, StackCrawlMark&
stackMark,
Boolean throwOnFileNotF ound, Boolean forIntrospectio n) +0
System.Reflecti on.Assembly.Int ernalLoad(Assem blyName assemblyRef,
Evidence assemblySecurit y, StackCrawlMark& stackMark, Boolean
forIntrospectio n) +211
System.Reflecti on.Assembly.Int ernalLoad(Strin g assemblyString,
Evidence
assemblySecurit y, StackCrawlMark& stackMark, Boolean forIntrospectio n)
+141
System.Reflecti on.Assembly.Loa d(String assemblyString) +25
System.Web.Conf iguration.Compi lationSection.L oadAssemblyHelp er(String
assemblyName, Boolean starDirective) +32
[ConfigurationEr rorsException: Could not load file or assembly
'Microsoft.Prac tices.Enterpris eLibrary.Data.C onfiguration.De sign,
Version=2.0.0.0 , Culture=neutral , PublicKeyToken= null' or one of its
dependencies. Failed to grant minimum permission requests. (Exception
from
HRESULT: 0x80131417)]
System.Web.Conf iguration.Compi lationSection.L oadAssemblyHelp er(String
assemblyName, Boolean starDirective) +596
System.Web.Conf iguration.Compi lationSection.L oadAllAssemblie sFromAppDo
mainBinDirector y()
+3596761
System.Web.Conf iguration.Compi lationSection.L oadAssembly(Ass emblyInfo
ai)
+46
System.Web.Comp ilation.BuildMa nager.GetRefere ncedAssemblies( Compilatio
nSection
compConfig) +177
System.Web.Comp ilation.WebDire ctoryBatchCompi ler..ctor(Virtu alDirector
y
vdir) +267
System.Web.Comp ilation.BuildMa nager.BatchComp ileWebDirectory Internal(V
irtualDirectory
vdir, Boolean ignoreErrors) +36
System.Web.Comp ilation.BuildMa nager.BatchComp ileWebDirectory (VirtualDi
rectory
vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429
System.Web.Comp ilation.BuildMa nager.CompileWe bFile(VirtualPa th
virtualPath) +73
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultInter nal(Virtua
lPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPre compile) +580
System.Web.Comp ilation.BuildMa nager.GetVPathB uildResultWithN oAssert(Ht
tpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean
allowCrossApp,
Boolean allowBuildInPre compile) +93
System.Web.Comp ilation.BuildMa nager.GetVirtua lPathObjectFact ory(Virtua
lPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean
noAssert)
+111
System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(Virt
ualPath
virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean
allowCrossApp, Boolean noAssert) +54
System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t
context,
String requestType, VirtualPath virtualPath, String physicalPath) +31
System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHa
ndler(HttpConte xt
context, String requestType, VirtualPath virtualPath, String
physicalPath)
+40
System.Web.Http Application.Map HttpHandler(Htt pContext context,
String
requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
+139
System.Web.MapH andlerExecution Step.System.Web .HttpApplicatio n.IExecuti
onStep.Execute( )
+120
System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean&
completedSynchr onously) +155
----------------------------------------------------------------------
---------- Version Information: Microsoft .NET Framework
Version:2.0.507 27.832; ASP.NET Version:2.0.507 27.832 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matthieu Gaillet |
last post by:
Hello everyone,
I try to launch a simple aspx (webmatrix) page onto an W2k / IIS5.0 / .net
framework 1.1 but still get this error page :
Server Error in '/pagaille' Application.
----------------------------------------------------------------------------
----
Configuration Error
|
by: fred |
last post by:
I don't know if I'm doing this correctly. I have a little programming
experience in python, c++ and some others but this is my first time with
javascript. I'm trying have my website detect the user's browser and
assign a variable with different items if it's Internet Explorer. My
code works with firefox, opera and others but not IE.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled...
|
by: WilliamSerg |
last post by:
I developed a C#.net program and running on my local machine was fine. Then
I run it on a server machine and got an exception error: execution
permission cannot be acquired. I googled and the answer was to delete the
files C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG\enterprisesec.config
and security.config. The program run without problem. My question is:
1) What is the magic behind this deleting? Is this a bug or is there a...
|
by: Jéjé |
last post by:
Hi,
I've just installed the UDDI Service to test it and when I try to access the
localhost/UDDI virtual folder I receive the
Required permissions cannot be acquired
error
I've changed the security in machine.config without any effect (system,
administrator and new ASPUSER account)
|
by: jhcorey |
last post by:
(I had posted this in the vsnet.studio group without a response.)
We have VS with framework 1.1 on an xp machine, and this was working
fine the last time we used it, which was probably several months ago.
Now we cannot create new projects, and keep getting an error,
"Required permissions cannot be acquired".
We tried created a windows app, but got the error when we tried to add
a new form.
We tried to create a web app, and the toolbox...
| |
by: Andy Sutorius via DotNetMonster.com |
last post by:
Hi,
I have a web app that works on my workstation (WinXP sp2). It does not work
after I copy it to the test bed. The test bed is a farm with 2 servers
(W2K3) sharing a file server (W2K3). I have IIS on the test web servers
pointing to the file share. I get the error below when attempting to view
the website on the test bed. However, if I copy the web app to one of the
test webservers and attempt to view the website on that server it...
|
by: Andy Sutorius via DotNetMonster.com |
last post by:
After installing Sharepoint Portal Services I am no longer able to see my
website. When I try I get Required permissions cannot be acquired. I have
tried to put the Trust key in the web.config but that made things worse as
the SPS Website became the dominant website and reported an error trying to
connect to the database. Can you assist?
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Forums.aspx/asp-net/200602/1
|
by: Simon Harvey |
last post by:
Hi everyone,
If anyone can help me with the following - I would be VERY grateful.
I need to deploy an 2 ASP.net applications that I've been creating onto
one of our live servers. Both applications use the Microsoft Enterprise
Library dlls and have them located in their respective bin directories.
Everything works fine on my development machine.
|
by: spardi |
last post by:
I try to launch a simple aspx (webmatrix) page onto an W2k / IIS5.0 / .net
framework 1.1 but still get this error page :
Server Error in '/pagaille' Application.
----------------------------------------------------------------------------
----
Configuration Error
Description: An error occurred during the processing of a configuration file
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |