Cannot import this Web Part

tinoruijstinoruijs Member Posts: 1,226
edited 2009-10-20 in Navision e-Commerce
Hi,

I'm getting the message "Cannot import this Web Part" in Windows SharePoint Services 3.0 when I try to insert a NAV web part.
The NAS is running.
I'm using NAV 5.0 SP1.

I've tried to reinstall Employee Portal, but that is not the solution...
:-k

Anybody familiair with this message?

Tino Ruijs
Microsoft Dynamics NAV specialist

Comments

  • tinoruijstinoruijs Member Posts: 1,226
    I'm still working on it...
    I installed Application Server and Employee Portal again and just noticed nep_request_queue wasn't created in Private Queues..

    Gonna try to create it manually and see where that takes me.

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • tinoruijstinoruijs Member Posts: 1,226
    I took a look in Event Viewer and read an error:

    Exception information:
    Exception type: HttpException
    Exception message: Could not load file or assembly 'Microsoft.Navision.EmployeePortal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7eb48bed34e26dda' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)


    Looks like a permission problem. Now the question is; Where and to which user do I have to grant permissions?

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • tinoruijstinoruijs Member Posts: 1,226
    tinoruijs wrote:
    I took a look in Event Viewer and read an error:

    Exception information:
    Exception type: HttpException
    Exception message: Could not load file or assembly 'Microsoft.Navision.EmployeePortal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7eb48bed34e26dda' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)


    Looks like a permission problem. Now the question is; Where and to which user do I have to grant permissions?

    Anybody a solution for the error above?

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • icobaniicobani Member Posts: 70
    I get this error when runing http://localhost/BusinessNotificationMe ... rvice.asmx
    We need help realy.

    [-o<

    My Error is bellow

    Server Error in '/BusinessNotificationMessageBus' 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) +2770052
    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 'Utils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=59776d37495308c4' 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) +54
    System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
    System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
    System.Reflection.Assembly.Load(String assemblyString) +25
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32

    [ConfigurationErrorsException: Could not load file or assembly 'Utils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=59776d37495308c4' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
    System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
    System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +211
    System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
    System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
    System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185
    System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +230
    System.Web.Compilation.BuildManager.CompileGlobalAsax() +49
    System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +462

    [HttpException (0x80004005): Could not load file or assembly 'Utils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=59776d37495308c4' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
    System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57
    System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612
    System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644

    [HttpException (0x80004005): Could not load file or assembly 'Utils, Version=1.0.0.0, Culture=neutral, PublicKeyToken=59776d37495308c4' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]
    System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427
    System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
    System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279
    Ibrahim COBANI | Dynamics-NAV Developer Team Manager
    I m a Consult

    E-Mail: ibrahim@imaconsult.com
    My BLOG
  • PetrelliPetrelli Member Posts: 6
    I've got the same error too, how did you fixed it?
Sign In or Register to comment.