Import Module Woes

I'm having some problems trying to import one module into another.
Here's the beginning of a module:
module namespace bar='http://ceridwen.us/2006/bar';
import module namespace foo='http://ceridwen.us/2006/foo' at 'file://relative_path/to_foo';
Module bar is imported into the main module with
import module namespace bar='http://ceridwen.us/2006/bar' at 'file://relative_path/to_bar';
Module bar declares functions which use functions from module foo.
I have registered an XmlResolver which handles the relative path URI; it worked fine when there was only one library module. With the import module line in module bar, trying to prepare a query which imports bar throws "Cannot locate the requested module".
If the import module line in bar is changed to an absolute path, then the error is "No namespace for prefix foo".
If the main module prolog imports foo in the second case, xquery throws XQST0034.
Everything works if the main module prolog imports foo and bar, and bar doesn't import foo.
In the first case, it's evident that my XmlResolver isn't being called. I don't understand what's going on in the second case.
The third and fourth case appear to me to violate the requirement that module imports aren't transitive.
Are these bugs, or do I misunderstand the draft recommendation and XmlResolver docs?
Regards,
John Ralls

Hi John,
It looks like you are hitting a few module bugs that we have fixed in the development version of DB XML. The XmlResolver not being called in the first case, and the transitiveness of module imports are both incorrect.
I don't understand why you are getting a namespace error in the second case - but there is good news about that. The development version of DB XML will also give you much better error reporting, including more accurate file, line, and column information in the majority of cases.
I don't know that I can suggest a work around apart from only using one level of modules for the moment. We are actively working on getting the next version of DB XML out the door as I speak...
John

Similar Messages

  • When i am trying to create a report(using graph) in Word97 using Report generation Toolkit from Labview it's giving error in word import Module.vi that no such interface is supported could anyone help me out to solve this problem

    Word import Module.vi is trying to call Vb project and VB components thru active X controls when it's trying to call Vb components it's giving the error no such interface found..I am using Labview 6,MSoffice97,Graph8

    Hi Adam,
    It seems that there have been a couple other instances of the same error occurring and the problem is a conflict that occurs with the Office 97 only. Somehow the MS Office type library has been modified and this is causing incompatibilities with MS Office 97. Have you installed any other application on top of MS Office that plugs into MS Office tools – Adobe Acrobat, Visio, Reflection?? If so, you will want to see about uninstalling or reinstalling those utilities and then reinstalling Office 97 to restore the original MS Office 97 type library.
    Also, if you have a newer version of MS Office, I would highly recommend upgrading your computer. It seems that this problem is only with Office 97 and later versions of Office do not have this issue.
    Thanks again for bringing this question up.
    Kileen

  • Import-Module NTFSSecurity error

    I downloaded the ZIP file from: https:// gallery technet microsoft com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85
    created a folder "NTFSSecurity" in C:\Users\username\Documents\WindowsPowerShell\Modules\
    copied the files in the ZIP file there
    Added Roles and Features to the fileserver
    WebServer (IIS)
    .Net Framework 3.5.1. Features
    Windows Process Activation Service
    set-executionpolicy UnRestricted
    Import-Module NTFSSecurity
    Import-Module : The following error occurred while loading the extended type data file:
    Microsoft.PowerShell, C:\Users\username\Documents\WindowsPowerShell\Modules\NTFSSecurity\NTFSSecurity.types.ps1xml
    : File skipped because it was already present from "Microsoft.PowerShell".
    Microsoft.PowerShell, C:\Users\username\Documents\WindowsPowerShell\Modules\NTFSSecurity\NTFSSecurity.types.ps1xml
    : File skipped because it was already present from "Microsoft.PowerShell".
    At line:1 char:14
    + Import-Module <<<<  NTFSSecurity
        + CategoryInfo          : InvalidOperation: (:) [Import-Module], RuntimeException
        + FullyQualifiedErrorId : FormatXmlUpateException,Microsoft.PowerShell.Commands.ImportModuleCommand
    can someone please tell me what I am doing wrong?
    With regards,
    Wim van Esch

    The name is already in use.  Use a differnt name.
    Start with Get=Module NTFSSecurity.
    YOu likely have more than one.
    ¯\_(ツ)_/¯

  • Programmatic use of Powershell Import-Module fails

    Hi all,
    I've just start to try out Win 8 and have come across a problem with use of Powershell from C#. When trying to run the following in a pipeline:
    Import-Module -Name ServerManager
    a failure is reported that states that the module cannot be loaded due to the manifest containing one or more invalid members. In this case it's the HelpInfoUri that is causing the problem. I did some trawling and found out that this exact same problem was
    reported for the Win 8 Client.
    Is there a workaround that allows v3.0 of Powershell to be used by the C# code (which will load the module as that appears to be what happens when running powershell.exe) rather than v2.0?
    Edit: Forgot to mention, this is with the code compiled to .Net v3.5 rather than v4.0 (which works).
    Cheers!

    Actually this doesn't work in a programmatic environment, for example, attempting to execute the cmdlet "Get-WindowsFeature" results in a CommandNotFoundException being raised, whereas when run from powershell.exe it does work as stated.
    The problem I am seeking an answer to is how to get a program that calls powershell using the C# api, that has a need to be compiled under .Net 3.5 such that it can run on non- .Net 4 powershell 3.0 environments and has a supportedRuntime element in its
    config file set to v2.0, to work when it tries to import a module when it happens to be run on a .Net 4 powershell 3.0 environment that has .Net 3.5 installed, like Windows 8 Server Beta.

  • Import-Module WebAdministration question

    Hello all:
    I am writing a script that will copy files to a local root directory for a web app we have.  Once this is done, I want to refresh the application pool.  In reading on the process, I believe I would have to import the WebAdministration module in
    order to do so.  Can anyone confirm this and 2) what exactly happens when I use the Import-Module WebAdministration?  Does it do anything to my server?  Or does it just import it into powershell for use? We are running Win 2008 R2.  I want
    to make sure it doesn't mess up our application.
    Thanks,
    jocasio

    Hi,
    Using Import-Module WebAdministration will make the following cmdlets available to you in your current PowerShell session only:
    http://technet.microsoft.com/en-us/library/ee790599.aspx
    No changes are made to the server, so no worries there.
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • In Windows Server 2008 : Powershell can't import-module ActiveDirectory

    Hi,
    Thank you in advance for any possible help.
    I am using Windows Server 2008 with a x64 machine and I have Powershell 3.0.
    After searching for similar problems, I found that I have to install the patches KB969166, KB968934, KB967574, KB968930.
    This was done and as a result, the "Web Service Active Directory" appeared in "services".
    However, the "ActiveDirectory Module for Windows Powershell"  is still not visible in "Windows Features" .
    What can I do to make it appear ?
    Is there a different way to go so I can have "ActiveDirectory" module in the list of modules I can import in Powershell 3.0 ?
    Actually, the command "import-module ActiveDirectory" results in a Not Found error.
    I would really appreciate your help.
    Thank you !
    Bill

    Hi Bill,
    You can't use the Active Directory module on WS2008, it requires WS2008R2 at a minimum.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • SQL Server 2012 Import-Module 'sqlps' breaks the "Test-Path" PowerShell cmdlet

    I've run into something that is "very" frustrating with the new SQL Server 2012 PowerShell module.  When I Import the module, it breaks the "Test-Path" cmdlet when trying to test a UNC path to a directory.
    For example:  
    "Test-Path -path \\server\dirname" returns true as expected before the sqlps module is imported.  But after you import the SQL Server module "Import-Module 'sqlps' –DisableNameChecking" the same Test-Path
    now returns false.
    If I run the following in Windows PowerShell ISE I see the following results:
    Test-Path -path "\\server\directoryname"
    Import-Module 'sqlps' –DisableNameChecking
    Test-Path -path "\\server\directoryname"
    True
    False
    Anyone have any idea what's going on?
    UPDATE: after more testing, it looks like the problem happens with any cmdlet that references a UNC.  The New-Item has the same problem.  Before importing 'sqlps', New-Item is able to create a directory at the UNC path specified, but ater importing
    'sqlps', the New-Item fails.
    Thanks!

    Hi Mikea730,
    Sqlps.exe doesn't take advantage of a couple of these nice PowerShell V2 cmdlets without doing a bit of configuring in your environment. 
    Please refer to the following references to make some configuration in your server
    http://www.maxtblog.com/2010/11/denali-get-your-sqlpsv2-module-set-to-go/
    http://www.simple-talk.com/sql/database-administration/practical-powershell-for-sql-server-developers-and-dbas-%E2%80%93-part-1/
    http://sev17.com/2010/07/making-a-sqlps-module/
    Thanks,
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Iric Wen
    TechNet Community Support

  • Imported modules missing titles

    Hello, all,
    Hopefully, someone has experienced this issue before and can shed some light on the subject, and, hopefully, a viable solution...
    This is a different title issue than I've previously posted (these modules all had correct titles, and no mysterious rewrite of the resources path)...
    We have an application, Main, that acts as a "host" for indiviual nested modules/apps (JAR files)... For instance, Main has the MainModel and MainViewController, and the running app displays Acquisitions, Disposals, and RAP Application modules as tabs. We've placed the paths to the individual ApplicationResources_en.properties, separated by commas, in the "Imported Resource Bundles" property under "Internationalization" in the JHS App Def Editor.
    We had titles showing up, and then one day they stopped, for all but one (RAP Application)... We've been trying to diagnose the issue (hopefully, we just changed a setting on accident), but everything appears to be set up correctly, and we still need to keep merging/importing modules as they are completed in order to meet the deadline...
    We added Management, and RAP still had the only titles... Once we added Work Assignment, though, only the Work Assignment tab would show titles. Then we added Hotline, but Work Assignment still had the only titles... Maybe it's just coincidence, but it seems the last tab name in the alphabet gets titles...
    We're experimenting with a workaround (will post it, if it resolves the issue), but we'd really prefer to get the process to work as described in the documentation...
    Once again, thank you for any replies/advice/assistance...
    Happy Thoughts,
    --DaveB
    "Most people are about as happy as they make up their minds to be."
    --Abraham Lincoln                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks, Steven!
    One of our other developers found that little nugget of knowledge in his research of the issue... Once we deployed them all without the JhsCommon-beans.xml, all was well... :-)
    We also had some server log warnings popping up about duplicate pageDef identifiers for all of the UIShell and PopupShell pageDefs that JHS generates. We fixed that issue by givng them all unique names in each module's DatBindings.cpx before deploying the module(s) as JAR files and importing the libraries...
    I was coming back here to post the solution, but you beat me to it... Many thanks for the reply, though!
    Happy Thoughts,
    --DaveB
    "Most people are about as happy as they make up their minds to be."
    -- Abraham Lincoln

  • 2.3.10 "import module" XmlResolver bug

    Hello,
    I upgraded my application what uses Java bindings from Berkeley DB XML 2.2.13 to 2.3.10 (with patches 1, 2, 3, 4, 5) and came upon a problem with XmlResolver.
    When I register XmlResolver to XmlManager, dbxml crashes (on Mac OS X) with EXC_BAD_ACCESS (resolveEntity method in resolver is not called - exception in test code below is not thrown):
    error: null :: Container - test.dbxml - Node storage container opened.
    error: null :: Optimizer - Started parse
    Invalid memory access of location 00000000 eip=0003200f
    Tested only on Mac OS X, Berkeley DB XML built using:
    CFLAGS="-O0" CXXFLAGS="-O0" ./buildall.sh --enable-java
    Here is stack trace:
    0 <<00000000>>      0x00000000 0 + 0
    1 libdbxml_java-2.3.jnilib      0x5f77fb88 DbXml::DbXmlURIResolver::resolveEntity(xercesc_2_7::XMLResourceIdentifier*) + 704
    2 libxqilla.1.dylib      0x5fbb84a8 XQQuery::importModule(XQilla::Language, unsigned short const*, std::vector<unsigned short const*, XQillaAllocator<unsigned short const*> >*, StaticContext*) + 2122
    3 libxqilla.1.dylib      0x5fc45e6d XQParser::yyparse(void*) + 9387
    4 libxqilla.1.dylib      0x5fbb248f XQilla::parse(unsigned short const*, XQilla::Language, DynamicContext*, unsigned short const*, unsigned, xercesc_2_7::MemoryManager*) + 609
    5 libdbxml_java-2.3.jnilib      0x5f6d25e9 DbXml::QueryExpression::QueryExpression[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DbXml::XmlQueryContext&, DbXml::Transaction*) + 631
    6 libdbxml_java-2.3.jnilib      0x5f71ce45 DbXml::XmlManager::prepare(DbXml::XmlTransaction&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DbXml::XmlQueryContext&) + 67
    7 libdbxml_java-2.3.jnilib      0x5f71cf19 DbXml::XmlManager::query(DbXml::XmlTransaction&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DbXml::XmlQueryContext&, unsigned) + 47
    8 libdbxml_java-2.3.jnilib      0x5f7d419e Java_com_sleepycat_dbxml_dbxml_1javaJNI_XmlManager_1query_1_1SWIG_13 + 518
    ..and here is test code:
    public class Main {
         public Main() throws FileNotFoundException, DatabaseException {
              EnvironmentConfig envConf = new EnvironmentConfig();
              envConf.setAllowCreate(true);
              envConf.setInitializeCache(true);
              envConf.setErrorHandler(new ErrorHandler() {
                   public void error(Environment arg0, String arg1, String arg2) {
                        System.out.println("error: " + arg1 + " :: " + arg2);
              Environment env = new Environment(new File("data"), envConf);
              XmlManager.setLogLevel(XmlManager.LEVEL_ALL, true);
              XmlManager.setLogCategory(XmlManager.CATEGORY_ALL, true);
              XmlManagerConfig config = new XmlManagerConfig();
              config.setAllowExternalAccess(true);
              config.setAdoptEnvironment(true);
              config.setAllowAutoOpen(false);
              XmlManager mgr = new XmlManager(env, config);
              mgr.registerResolver(new XmlResolver() {
                   public XmlInputStream resolveEntity(XmlTransaction arg0,
                             XmlManager arg1, String arg2, String arg3)
                             throws XmlException {
                        throw new RuntimeException("not impl.");
              final String cName = "test.dbxml";
              XmlContainerConfig c = new XmlContainerConfig();
              c.setAllowCreate(true);
              XmlContainer testContainer = mgr.openContainer(cName, c);
              XmlQueryContext qc = mgr.createQueryContext();
              XmlResults res = mgr
                        .query(
                                  "import module namespace whatever = 'whatever' at 'whatever.xq'; <whatever/>",
                                  qc);
              while (res.hasNext()) {
                   XmlValue n = res.next();
                   System.out.println(n.asString("UTF8"));
                   n.delete();
              res.delete();
              qc.delete();
              testContainer.close();
              mgr.close();
              System.out.println(">> FINISHED <<");
         public static void main(String[] args) throws FileNotFoundException,
                   DatabaseException {
              new Main();
    regards,
    Arnis

    Hello,
    thank you for reply.
    After adding dynamic_cast Java VM still crashes with similar stack trace:
    Thread 1 Crashed:
    0 <<00000000>>      0x0003200d 0 + 204813
    1 libdbxml_java-2.3.jnilib      0x3c4e90ca DbXml::DbXmlURIResolver::resolveEntity(xercesc_2_7::XMLResourceIdentifier*) + 816
    2 libxqilla.1.dylib      0x3caebc5f XQQuery::importModule(XQilla::Language, unsigned short const*, std::vector<unsigned short const*, XQillaAllocator<unsigned short const*> >*, StaticContext*) + 1781
    3 libxqilla.1.dylib      0x3cb79f96 XQParser::yyparse(void*) + 13068 (XQParser.y:1016)
    4 libxqilla.1.dylib      0x3cae66de XQilla::parse(unsigned short const*, XQilla::Language, DynamicContext*, unsigned short const*, unsigned, xercesc_2_7::MemoryManager*) + 336
    5 libdbxml_java-2.3.jnilib      0x3c4466d9 DbXml::QueryExpression::QueryExpression[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DbXml::XmlQueryContext&, DbXml::Transaction*) + 761
    6 libdbxml_java-2.3.jnilib      0x3c48817b DbXml::XmlManager::prepare(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DbXml::XmlQueryContext&) + 61
    7 libdbxml_java-2.3.jnilib      0x3c488268 DbXml::XmlManager::query(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DbXml::XmlQueryContext&, unsigned) + 42
    8 libdbxml_java-2.3.jnilib      0x3c5293fb XmlManager_query__SWIG_2(DbXml::XmlManager*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, DbXml::XmlQueryContext&) + 71
    9 libdbxml_java-2.3.jnilib      0x3c544b0f Java_com_sleepycat_dbxml_dbxml_1javaJNI_XmlManager_1query_1_1SWIG_12 + 553
    10 <<00000000>>      0x045851d1 0 + 72896977
    11 <<00000000>>      0x0457f994 0 + 72874388
    12 <<00000000>>      0x0457f9ea 0 + 72874474
    13 <<00000000>>      0x0457f913 0 + 72874259
    14 <<00000000>>      0x0457d15d 0 + 72864093
    15 libclient.dylib      0x9b9f5ce2 jio_snprintf + 398024
    16 libclient.dylib      0x9b9f5a30 jio_snprintf + 397334
    17 libclient.dylib      0x9ba11d87 JVM_MaxMemory + 7311
    18 libclient.dylib      0x9ba5db9e JVM_FindLoadedClass + 2312
    19 java      0x00003d30 0x1000 + 11568
    20 java      0x00004560 0x1000 + 13664
    21 libSystem.B.dylib      0x90024227 pthreadbody + 84

  • Does OSB support XQuery import module feature ?

    In OSB version 11.1 and Oracle Weblogic Server Version: 10.3.6.0
    I need to create library of XQuery functions (reusable components), to achieve this, I need to use XQuery import module feature.
    When I tried to use it, I got this error message ‘Module feature not supported (sorry)’ …
    Does OSB support XQuery import module feature ?

    You may like to refer Eric's blogpost -
    http://www.xenta.nl/blog/2011/10/19/oracle-service-bus-the-number-of-parameters-for-registered-xquery-resource-system1_to_fault-does-not-match-that-given-to-it-at-runtime/
    Basically, if you are not using a parameter in XQuery then it will not be registered.
    Regards,
    Anuj

  • Import-Module ActiveDirectory - Error - after upgrading DC's to 2012 R2

    Hi.
    We done upgrading our Domain Controllers to 2012 R2 Version, and after upgrade i can't use ActiveDirectory  module outside my DC
    When i\m trying to run  Import-Module ActiveDirectory on my Windows 7 desktop i get error:
    WARNING: Error initializing default drive: 'Unable to contact the server. This may be because this server does not
    exist, it is currently down, or it does not have the Active Directory Web Services running.'.
    ( But if i start it as Domain Admin on the same PC - all is OK. Permissions for my account is ok - i think - checked by: Get-PSSessionConfiguration on DC's ). When it was 2008 R2 DC's - all was fine
    How can i fix this issue? ( i think this is access rights by i cannot manage where... )
    Best Wishes, Andrew Golubenkoff

    Thanks Dan, good article - nowi\m understand... Now i should rewrite all my scripts to new  type of connection ( Import-Pssession instead of import-module ) Thanks again!

  • XQuery import module relative path

    I'd like to use library modules in queries, with the modules stored in one or more configurable places. If I put them in files, and provide the full path to the file like so:
    import module namespace pi = 'http://ceridwen.us/2006/mymodule' at 'file:///path/to/module/file'
    It works fine so long as the path given is absolute. I've tried several variations on relative paths, including using 'declare base-uri' (which didn't seem to do anything) and XmlQueryContext::setBaseURI (which didn't help find the module file and caused the context to not be able to find the container). I've also tried giving paths relative to pwd and to the environment home. No luck.
    It would be even cooler if I could store the modules in a bdb database... but that would require adding a resolver somewhere. Is there a way to use an XmlResolver for this?
    Regards,
    John Ralls

    John,
    documentation: Well, if it's right then I'm reading it wrong. I guess that shouldn't be a surprise.
    base-uri: OIC.
    XmlResolver: Hmm. I added this:
    class Resolver : public DbXml::XmlResolver {
    public:
         Resolver() : DbXml::XmlResolver() {}
         virtual ~Resolver() {}
         DbXml::XmlInputStream* resolveEntity(DbXml::XmlTransaction* txn,
                             DbXml::XmlManager& mgr,
                             const std::string& systemID,
                             const std::string& publicID) {
         std::cout << "Resolver::resolveEntity: Got systemID " << systemID
              << ", publicID " << publicID << std::endl;
         return NULL;
    to my header and
    Resolver* rslv = new Resolver();
    this->registerResolver(*rslv);
    to the constructor of my DbXml::XmlManager-derived manager class.
    The resolveEntity() function doesn't output. What's wrong?
    (FWIW, the signature of resolveEntity in the documentation and that in the header(XmlResolver.hpp) differ: The latter doesn't have the std::string& result parameter. I tried both ways, and neither produced the output message.
    resolveModule: Yes, I think that that would be clearer.
    Regards,
    John Ralls

  • Import-module Lync

    hey
    i use powershell v3 from win7 , i installed ocscore.msi and try to import-module Lync
    but i get error : the assembly ‘microsoft.rtc.management’ was not loaded because no assembly was found
    why it didn’t work??? any idea?

    Could be because the Lync modules are not in a standard location.  See this link for details...
    http://www.iamblogg.com/2011/12/19/lync-2010-powershell-modules/

  • Import-Module 'sqlps' -DisableNameChecking is returning a bunch of warnings I do not want to see in output. How do I supress them?

    Hi All,
    I find that with SQL 2012 and SQL 2014 I get the following types of WARNING: messages displayed when I import the sqlps module.
    WARNING: The local computer does not have an active instance of Analysis Services.
    WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on 'Microsoft.WindowsAzure.Commands.SqlDatabase.Types.ps1xml' failed with the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
    I've tried adding -WarningAction SilentlyContinue and I've tried piping the output to null by adding | Out-Null but I still get this garbage that I don't care about on the servers I'm running these scripts on.  Do any of you know how to suppress these
    warnings?
    Joe
    Joe Moyle

    Hi
    These errors have nothing to do with the loading of the SQLPS CmdLets/Functions/etc...... They are because of a general failure when you try and locate the Azure modules and therefore this only occurs when you install the Azure PowerShell modules.... let
    me explain
    But before I do, a warning, DO NOT MODIFY THE FILES I MENTION!!!
    When you run: Import-Module SQLPS
    PowerShell loads up the Module Mainfest C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\SQLPS\SQLPS.PSD1
    This references the script file SqlPsPostScript.PS1 in the same path..... here is where the problem lies.
    This script has a step which is designed to import the SQLASCmdlets module and it is this step which is throwing the warnings. However, again it has nothing to do with the SQL module. The problem actually even happens if you just run: Get-Module -ListAvailable
    Now this is where we get stuck as the Azure SQL module is a Binary Module (aka it loads .dlls). Best option is to live with the warnings, because if you suppress them and another module starts to give you warnings then you won't know something is going wrong.
    And finally I just checked and there is a new Azure PowerShell SDK released on the 2nd October so it would be worth downloading that as this might be fixed.
    P.S. I am going to blog about this and will update with a link when I do.

  • Powershell error while importing module and executing function from module

    powershell error while importing module and executing function from module
    Function called in uncertain order..
    VERBOSE: The 'Function1' command in the MyModule module was imported, but because its name does not include an approved verb, it might be difficult to find. The
    suggested alternative verbs are "Clear, Install, Publish, Unlock".
    VERBOSE: Importing function 'Function1'.
    VERBOSE: The 'Function2' command in the MyModule' module was imported, but because its name does not include an approved verb, it might be difficult to fin
    d. For a list of approved verbs, type Get-Verb.
    VERBOSE: Importing function 'Function2'.

    First of all those errors look more related to HBR, though if it worked before I would restart services then log into the planning app and then try again.
    Have you tried a different form as well one without an ampersand &.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Please tell me the soluation How can I give the soluation bilow issue.

    Dear Experts, Please tell me the soluation How can I give the soluation bilow issue. Currently user are facing one problem with respect of Line item report. In any of the line item report (i.e. FBL1N, FBL3N, FBL5N) we want to view header reference as

  • Gantt chart: Don't know how to use the tooltipkeys and toolkeylabel

    I have a problem. Don't know how to use the tooltipkeys and toolkeylabel. I used jquery to select the gantt bars and on mouse over i was getting the task id "tid" then passing it to adf bean with serverlistener and showing a popup that is adf compone

  • Screen off center = won't close properly?

    I've noticed that the screen to my MBP is off-centered to the left (when facing it, open). There is clearly a gap in-between where the display connects on the right and not on the left. I also have noticed that on the left side (when MBP is closed af

  • Order of Execution for TreeSelectionListener

    Hi, I have a JTree on which I have registered 2 separate TreeSelectionListeners A and then B. I thought they would by default execute in a first-in first-out way, such as firstly A, secondly B, but to my surprise when I change a selection, listener B

  • How can i convert this data(00000000) into date format(yyyy-MM-dd)

    Hi, i am using this method to convert date format from string. public static string FormatDate(string inputDate, string inputFormat)             System.DateTime date = DateTime.ParseExact(inputDate, inputFormat, null);             string datepresent