i tried to implement a custom solution in sharepoint, i was able to enable the feature for the site. But when i tried to access the portal page it gave the message as below. now even my homepage and admin ssp is not working. Plz help.
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.Pol
icyExcepti
on: 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.SecurityMa
nager.Reso
lvePolicy(
Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +2738437
System.Security.SecurityMa
nager.Reso
lvePolicy(
Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57
[FileLoadException: Could not load file or assembly 'BluePortal.SP2007.Config,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a4c1f3ac00f
bdfad' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Reflection.Assembly
.nLoad(Ass
emblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly
.InternalL
oad(Assemb
lyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly
.InternalL
oad(String
assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
System.Reflection.Assembly
.Load(Stri
ng assemblyString) +25
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +32
[ConfigurationErrorsExcept
ion: Could not load file or assembly 'BluePortal.SP2007.Config,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a4c1f3ac00f
bdfad' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
Helper(Str
ing assemblyName, Boolean starDirective) +596
System.Web.Configuration.C
ompilation
Section.Lo
adAllAssem
bliesFromA
ppDomainBi
nDirectory
() +3479081
System.Web.Configuration.C
ompilation
Section.Lo
adAssembly
(AssemblyI
nfo ai) +46
System.Web.Compilation.Bui
ldManager.
GetReferen
cedAssembl
ies(Compil
ationSecti
on compConfig) +177
System.Web.Compilation.Bui
ldProvider
sCompiler.
.ctor(Virt
ualPath configPath, Boolean supportLocalization, String outputAssemblyName) +180
System.Web.Compilation.Cod
eDirectory
Compiler.G
etCodeDire
ctoryAssem
bly(Virtua
lPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +347
System.Web.Compilation.Bui
ldManager.
CompileCod
eDirectory
(VirtualPa
th virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +125
System.Web.Compilation.Bui
ldManager.
EnsureTopL
evelFilesC
ompiled() +378
[HttpException (0x80004005): Could not load file or assembly 'BluePortal.SP2007.Config,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a4c1f3ac00f
bdfad' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.Compilation.Bui
ldManager.
ReportTopL
evelCompil
ationExcep
tion() +57
System.Web.Compilation.Bui
ldManager.
EnsureTopL
evelFilesC
ompiled() +612
System.Web.Hosting.Hosting
Environmen
t.Initiali
ze(Applica
tionManage
r appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParamete
rs hostingParameters) +456
[HttpException (0x80004005): Could not load file or assembly 'BluePortal.SP2007.Config,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=a4c1f3ac00f
bdfad' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
System.Web.HttpRuntime.Fir
stRequestI
nit(HttpCo
ntext context) +3426887
System.Web.HttpRuntime.Ens
ureFirstRe
questInit(
HttpContex
t context) +88
System.Web.HttpRuntime.Pro
cessReques
tInternal(
HttpWorker
Request wr) +149
--------------------------
----------
----------
----------
----------
----------
----
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Start Free Trial