Cannot get Osoft virtual directory object: (SAP BPC 7.5 sp08 issue)

Hi SDNer
I am facing a different issue after installing sap BPC 7.5 sp08. i ran server diagnostics when i login with a domain user (domain name\bpc_sysadmin) and i see error message as :
cannot get Osoft virtual directory object: Automation error the system sould bot find path specified- incorrect
but when i run the diagnostics after logging in with local user Administratot- all green and its ok.
can some one through views...
regards
Kevin

Hi,
Check below 2 threads:
Error in IIS Configuration while Server Diagostic
Cannot get OSoft virtual directory object
Also, make sure that IIS settings are correct. Check SAP note 1532499.
Thanks
Sunny

Similar Messages

  • VS2008 C# cannot get return/export values from SAP (one way connection yet)

    Hello Experts,
    I have successfully established connection to SAP by using Visual Studio 2008 (C#) and web services:
    -     I am able to login into the SAP-System with my C#-Application
    -     I am able to call and run functions with my C#-Application
    -     I am able to passing over vales from my C#-Application to the function module (importing variables = ok)
    The problem I face now is getting return values from the function module (getting values of the exporting variables). I just have no idea how to call the u201CResponse-methodu201D correctly in C#.
    I think the problem is hided in the wsdl-xml-file.
    Here are my codes (only C# codes are really relevant) I post them step by step:
    ABAP CODE OF FUNCTION MODULE:
    FUNCTION Z_GET_BP_DATA.
    TABLES: but000.
    Data: ls_test type but000,
          lv_bpid type BU_PARTNER.
    u201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201D
    u201D importing parameter BPID = type string   u201D
    u201D exporting parameter BPNAME = type string u201D
    u201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201Du201D
    lv_bpid = BPID.
    SELECT SINGLE *  from but000 into ls_test
      where PARTNER = lv_bpid.
    BPNAME = ls_test-NAME_LAST.
    ENDFUNCTION.
    [Here|http://ng-webservice.com/myxml.xml] is code of my wsdl-xml-file:

    C
    APPLICATION MAIN CODE:
    using System;
    using System.Net;
    using System.Collections.Generic;
    using System.Text;
    using System.Web.Services.Protocols;
    using System.Web.Services;
    namespace test
        class Program
            static void Main(string[] args)
                try
                    //Sample Project for calling WS in SAP and writing data
                    string var_bpid = "0000000082";
                    string var_bpname;
                    CookieContainer cookie = new CookieContainer();
                    webref_get_bp_data.service _proxy1 = new test.webref_get_bp_data.service();
                    webref_get_bp_data.ZGetBpDataResponse _proxy3 = new test.webref_get_bp_data.ZGetBpDataResponse();
                    test.webref_get_bp_data.ZGetBpData myref = new test.webref_get_bp_data.ZGetBpData();
                    test.webref_get_bp_data.ZGetBpDataResponse myresponse = new test.webref_get_bp_data.ZGetBpDataResponse();
                    _proxy1.Credentials = new NetworkCredential("MYUSER", "MYPASSWORD");
                    _proxy1.CookieContainer = cookie;
                    myref.Bpid = var_bpid; // myref gets an id for passing over to the function module
                    _proxy1.ZGetBpData(myref); // call/run function module with given bpid
                    var_bpname = _proxy1.ZGetBpData(myref);
                    var_bpname = myresponse.Bpname; // HOW TO GET EXPORTING VALUE???
                    Console.WriteLine(myref.Bpid);
                    Console.WriteLine(var_bpname);
                    cookie = _proxy1.CookieContainer;
                    Console.WriteLine("Finish proxy1");
                    string response = Console.ReadLine();
                catch (SoapException exc)
                    Console.WriteLine("Exception thrown");
                    throw exc;
                    string response = Console.ReadLine();

  • I cannot get the virtual keyboard to automatically work with Windows 8.1 Desktop

    I have read a lot of the same complaints, but no one seems to have a good solution for getting the Windows virtual keyboard to auto respond to Mozilla.

    What is your Firefox? What is the virtual keyboard you are trying to use?
    Does the keyboard work with the other programs and Windows?
    Have you had other problems?
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?

  • Selected Parent is not defined in CONSGROUP dimension ( SAP BPC 7.5 SP08)

    Helllo
    While updating the Dynamic Hierachy getting the below error.
    Selected Parent is not defined in CONSGROUP dimension
    Any Clues.
    my Consgroup dimension is below
    ID     EVDESCRIPTION     PARENT_GROUP     CURRENCY_TYPE     ENTITY     GROUP_CURRENCY     STORE_ENTITY     STORE_GROUP_CURR
    Thanking you in advance

    Hi,
    I think you have resolved this issue
    I am able to mapped all entity except 1 in DHE.
    I even updated ORG_INTCO as I_NONE.
    Still I am unable to mapped this entity with group entity as I am getting subject  error.
    Mine is sub-parent scenario, ie. the parent in question has 2 child which are properly mapped but linkage of this sub-parent to parent is not showing due to subject  error.
    Any thoughts.
    Regards,
    Paresh

  • Where to get SAP BPC Classroom Training

    Hello Experts,
    I write to inquire on where I can get class room training on SAP BPC. I see alot of online training, but i am interested in classroom training.
    Thank you for you replies,

    Please check this link.
    https://training.sap.com/us/en/curriculum/cpm_75_us-sap-businessobjects-planning-and-consolidation-75-us/
    Cheers,
    Rich Heilman

  • Problem in JAVA proxy scenario: cannot locate QSI root directory

    Hi Frnds,
    i am using RFC to JavaProxy, actually through java proxy we are connecting to the bank for payment.
    And the bank has provided one payment client application which needs to be installed on the server for interacting with the bank,
    and we had installed the payment client on to the server. But we are getting following type of error in the response,
    SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method egateJavaMsgIntInOutJava of proxy bean $Proxy258: cannot locate QSI root directory: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method egateJavaMsgIntInOutJava of proxy bean $Proxy258: cannot locate QSI root directory</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    What could be the possible solution in order to solve this error.
    Thanks,
    Raj
    Edited by: RajSrivastava on Jul 8, 2009 11:03 AM

    Hi Madhav,
                    Please check the following links regarding to u rproblem.
    Java Proxy Server: cannot locate proxy bean...
    Cannot locate proxy bean IN RWB
    https://forums.sdn.sap.com/click.jspa?searchID=11113489&messageID=3039952
    warm regards
    mahesh.

  • Exchange 2010 - Virtual Directory Internal & External URL's with Wildcard Cert

    Hi Guys
    I am trying to determine if my Exchange 2010 server Virtual Directory URL's are setup according to best practice. I'm sure anyone with good Exchange experience will instantly be able to tell me if my Virtual Directory DNS is correct or could cause issues.
    Scenario:
    Hosted Exchange 2010 SP1. Multiple client mail domains hosted
    2x CA, 2x HT, 2x MB, 2x DC
    Wildcard *.example.co.za certificate being used on CA servers
    AD domain is he.example.za.net
    CA Server naming example: ca1.he.example.za.net, ca2.he.example.za.net
    he.example.net DNS is done by DC servers
    External name used by clients: outlook.example.co.za (For Outlook setup and OWA access)
    outlook.example.co.za has two A records pointing to the CA IP's
    PROBLEM/CONCERN:
    We have a random OWA log out issue that we believe might be due to ambiguous DNS names being used.
    If I change the Virtual Directories External URL to be the FQDN of the server, we get a Certificate Error in clients (due to the .co.za Wildcard). The external URL clients use
    must be on .co.za.
    So are the Virtual Directory URL's causing the CA servers to loose track of who is authenticated in where (leading to OWA disconnection)? Is it fine to load balance the CA servers with the DNS the way we are doing currently? Any other issues you see?
    Current Virtual Directory settings:
    Note that they are identical on CA1 and CA2
    [PS] C:>Get-OabVirtualDirectory -server ca2 |fl *url
    InternalUrl : https://outlook.example.co.za/OAB
    ExternalUrl : https://outlook.example.co.za/OAB
    [PS] C:>Get-WebServicesVirtualDirectory -Server ca2 |fl *url
    InternalNLBBypassUrl : https://ca2.he.example.za.net/ews/exchange.asmx
    InternalUrl          : https://outlook.example.co.za/ews/Exchange.asmx
    ExternalUrl          : https://outlook.example.co.za/ews/Exchange.asmx
    [PS] C:>Get-ActiveSyncVirtualDirectory -Server ca2 |fl  *url
    MobileClientCertificateAuthorityURL :
    InternalUrl                         : https://outlook.example.co.za/Microsoft-Server-ActiveSync
    ExternalUrl                         : https://outlook.example.co.za/Microsoft-Server-ActiveSync
    [PS] C:>Get-EcpVirtualDirectory -Server ca2 |fl  *url
    InternalUrl : https://ca2.he.example.za.net/ecp
    ExternalUrl : https://outlook.example.co.za/ecp
    [PS] C:>Get-OwaVirtualDirectory -Server ca2 |fl  *url
    Url             : {}
    Exchange2003Url :
    FailbackUrl     :
    InternalUrl     : https://ca2.he.example.za.net/owa
    ExternalUrl     : https://outlook.example.co.za/owa
    [PS] C:>Get-AutodiscoverVirtualDirectory |fl *url, server
    InternalUrl :
    ExternalUrl :
    Server      : CA1
    InternalUrl : https://outlook.example.co.za/
    ExternalUrl : https://outlook.example.co.za/
    Server      : CA2
    REALLY APPRECIATE SOME EXPERT ADVISE. Thanks.

    Hi Kane,
    Why did not you use cas array to load balance client connectivity?
    If you create a CAS array, you can assign an virtual IP (VIP) for the CAS array FQDN (e.g CASarray.example.za.net), and then point all the Virtual Directories internal URL to CAS array fqdn;
    For external, you can point outlook.example.co.za to VIP which had been assigned to CAS array.
    I recommend you refer to the following article to understand CAS array:
    http://technet.microsoft.com/en-us/library/ee332317(v=exchg.141).aspx#CASarray
    http://blogs.technet.com/b/ucedsg/archive/2009/12/06/how-to-setup-an-exchange-2010-cas-array-to-load-balance-mapi.aspx
    http://blogs.technet.com/b/exchange/archive/2012/03/23/demystifying-the-cas-array-object-part-1.aspx
    Best regards,
    Niko Cheng
    TechNet Community Support

  • Error in SAP BPC

    Hi Experts,
    We are facing a strange error while sending data from input Schedule in SAP BPC 7.5 SP08. For Reporting Currency USD, we are able to send data from the input schedule but from reporting currency EUR we are getting the error
    "Error running default logic()"..."Error converting records: The root element is missing.
    In some of the other schedules, we can send data for EUR and not USD.
    Am i missing something?
    Thanks in advance

    Hello Appu,
    Do you have something in default script logic? Revise it in the admin consol Default.LGF inside the application and scripts logic, and delete the code include. Always if you don't need to use it.
    By defect SAP BPC include some code there and you must delete it and save the changes.
    Regards,
    Gabriel Garcia

  • Virtual directory path from weblogic.xml file in servlet

    HI All,
    I want to get the virtual directory path in servlet, which is specified in the weblogic.xml file
    Regards,
    Abhi

    Sure, put it in your WEB-INF directory. That should be in your servlet's classpath when it runs. UseInputStream is = this.getClass().getResourceAsStream("/config.xml");to read it.

  • Create a virtual directory

    Hi.
    I need to have a link in my web application which points at another disk then the rest of the web application. The location will contain many pdf documents wich i don't to transfer between my development machine and the server.
    How can i make a virtual directory on my server, and then point at it from my link like http://localhost/websheredfolder/xxxxx.pdf, or do some one have a way solve this
    thanks in advance

    If you're using Sun One App server 7, you can set a doc directory to get your virtual directory mapping to work:
    http://docs.sun.com/source/816-7156-10/agcontnt.html#1013491

  • Get-Acl : The input object cannot be bound to any parameters

    Hi I am trying to get a list of folder and permissions for network folders and I am getting the error Get-Acl : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its
    properties do not match any of the parameters that take pipeline input?
    $Files = "\\Server\Share"Get-ChildItem \\server\share| Where { $_.PSIsContainer } | Foreach {Get-Childitem $_.FullName} | Get-Acl $Files | Format-Table -property Owner | Where { $_.PSIsContainer } | Select-Object FullName, @{Name = 'AssociatedSecuirtyGroups'; Expression = {((Get-Acl $_).Access | ?{! $_.IsInherited} | Select-Object -ExpandProperty IdentityReference) -join ', '}}

    It looks like you're mixing up some actions in that line of code.  The first Get-ACL is receiving pipeline input of all of the grandchildren of $Files, but you're also giving it the $Files parameter - that's your error.
    You're also formatting output in the middle of the pipeline, I don't think that's going to work out well for you.  When you run get-acl you also lose the directory name, so the fullname attribute is meaningless at that point.
    Maybe try something more like this:
    $Root = "\\Server\Share"
    $Results = @()
    $Folders = Get-ChildItem $Root -exclude *.* | Foreach {Get-Childitem $_ -exclude *.*} | select fullname
    Foreach ($Folder in $Folders) {
    $ACL = Get-Acl $Folder.FullName
    Foreach ($Group in $ACL.Access) {
    If (!($Group.IsInherited)) {$Results += New-Object PSObject -Property @{Folder=$Folder.FullName;Group=$Group.IdentityReference;Owner=$ACL.Owner}}
    $Results
    Note that with Powershell v4 there's a -directory parameter for Get-ChildItem that would be better than this exclude.  I work with older systems so I use older PS to avoid any pitfalls.  In this case, if you have any files without extensions in those
    subdirectories you'll pick those up as well.

  • Mail account cannot update because home directory is full. But I can not get into mail without freezing. Is there a back door entry?

    mail account cannot update because home directory is full. But I can not get into mail without freezing. Is there a back door entry?

    Do you mean that your startup disk is full?

  • How to get rid of the SAP BPC "three globes" startup screen?

    Hi,
    I am trying to figure out how to get rid of the SAP BPC "three globes" startup screen when we start BPC. I do not want it to pop up.
    I looked at VBA behind the workbooks but could not find anything. Could not make the sheet invisible.
    Is there a way to get rid of the screen? This is the screenshot
    www.flickr.com/photos/chalinka/3471310254/
    Thanks!

    Just found the answer on this very forum!
    Re: How to change the logo, (3 Globes) on the launch page
    Posted: Mar 18, 2009 12:46 PM in response to: David Fletcher Reply
    OK then, now v7sp03 for microsoft has hit the shelves, you can change the logo !!!
    It is quite easy.
    Have the logo file ready in either BMP, GIF or JPG format.
    Put it in your "Server Install -> DataWebFolders[Appset]" folder (so where you keep your files).
    In ApplicationSet parameters, add the parameter COMPANY_LOGO and in the options type the name of the file you just put on the server.
    Now if you restart BPC for Excel, the second excel page that pops up should be showing your new logo or graphic (mine did).
    The use of the logo has been documented in the admin manual -> working with appset parameters
    Some tips.
    I wanted not to clutter the filesystem so i put my logo in the appsetpublications folder and added the path accordingly in the parameter (so now it reads appsetpublicationslogoname.jpg instead of just logoname.jpg).
    If you do not supply a name (only the parameter), your second Excel window (normally holding the graphic) will not appear. That could be an alternative too if you find that whole thing annoying.
    Hope this helps you build great BPC apps,
    Edwin van Geel

  • PowerShell script : Directory object not found error in Get-ADGroupMember

    I am new in powershell scripting. I am writing a script to add users in different AD Groups. while doing so I do the following:
    Check if the user already exist in the group:
    $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAccountName -eq $sam}
    If user does not exist then add the user to the group.
    When I manually run the script its runs flawless, without any errors. But when I schedule the script to run it gives an error as follows:
    3/30/2015 8:32:15 AM Directory object not foundAt + $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAc ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~ Error at Line:$mbr_exist = Get-ADGroupMember
    $grpname | Where-Object {$_.SamAccountName -eq $sam}
    The strange thing is the user for which it throws the error is present in the group.I am not sure why this error is occurring when scheduled. Can any one please help? All the suggestions will be appreciated
    Note: (The script is scheduled using Windows Task Scheduler)
    try
    # # Initialize the variables we will use
    $status = 'false'
    $drivename = "H:"
    $sysdate = Get-Date -UFormat "%m_%d_%Y"
    $foldername = $drivename + "\Script_Result\PowershellData"+ $sysdate
    $backup_folder = "$foldername\AD_Groups_Backup"
    $updatedGroup = "$foldername\Updated_AD_Groups_LogFiles"
    $LogFilePath = "$foldername\Log_Update_ADGroups"+$sysdate+".log"
    # # Initialize the arrays we will use
    $GroupArray = @()
    # # maintain log of program startup
    $logdate = get-date
    $logdate.ToString() + "`tStarted script to Update AD user Groups..." | Out-File -FilePath $LogFilePath
    # # Create a sub folder to store the backup files
    $fileexist = Test-Path $backup_folder -PathType Container
    if($fileexist -ne 'False')
    New-Item -ItemType Directory $backup_folder
    # # Create a sub folder to store Updated AD group Log files
    $fileexist = Test-Path $updatedGroup -PathType Container
    if($fileexist -ne 'False')
    New-Item -ItemType Directory $updatedGroup
    # # Take back up of the AD groups data
    Get-ADGroupMember -Identity "Group1" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group2" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group3" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    Get-ADGroupMember -Identity "Group4" | Export-csv "$backup_folder\Group1_BackUP$sysdate.csv"
    (an so on..... 11 such groups )
    # # Fetch AD Users data
    $ADusers = Get-ADUser -filter {(EmployeeNumber -gt 1) -and (EmployeeNumber -ne "N/A") -and (Enabled -eq $true)} -Properties * | Sort-Object -Property EmployeeNumber
    $ADusers.Count
    foreach($u in $ADusers)
    $sam = $u.SamAccountName
    $empnum = $u.EmployeeNumber
    $mgr = $u.mgr
    $fsal = $u.'fsalary-Hourly'
    $comp = $u.Company
    $ofc = $u.Office
    Write-Host "$sam : $empnum : $mgr :$fsal : $comp : $ofc" -ForegroundColor Yellow
    $GroupArray = @()
    # # Check if the user fits in any of the 11 scenarios
    if($comp -eq "US")
    # scenario 7
    write-host "7. Add to US Employees"
    $GroupArray += "US Employees"
    if($mgr -eq "Y")
    Write-Host "1. ADD to US MAnagers"
    $group = "US Managers"
    $GroupArray += $group
    if(($fsal -eq "Hourly") -and ($ofc -ne "Canton"))
    Write-Host "3. Add to US Hourly (excluding Canton)"
    $group = "US Hourly (excluding Canton)"
    $GroupArray += $group
    if(($fsal -eq "Hourly") -and ($ofc -eq "Canton"))
    write-host "4. Add to US Canton Hourly"
    $group = "US Canton Hourly"
    $GroupArray += $group
    if(($fsal -eq "Salaried") -and ($ofc -eq "Corporate" -or $ofc -eq "Landis Lakes 1" -or $ofc -eq "Landis Lakes 2"))
    Write-Host "5. Add to US Salaried Corporate"
    $group = "US Salaried Corporate"
    $GroupArray += $group
    if(($fsal -eq "Salaried") -and ($ofc -ne "Corporate" -and $ofc -ne "Landis Lakes 1" -and $ofc -ne "Landis Lakes 2"))
    Write-Host "6. Add to US Salaried Plant"
    $group = "US Salaried Plant"
    $GroupArray +=$group
    elseif($comp -eq "canada")
    # scenario 9
    write-host "9. Canada Employees"
    $GroupArray += "Canada Employees"
    if($mgr -eq "Y")
    Write-Host "2. Add to Canada Managers"
    $group = "Canada Managers"
    $GroupArray += $group
    if($fsal -eq "Hourly")
    Write-Host "10. Add to Canada Hourly"
    $group = "Canada Hourly"
    $GroupArray += $group
    if($fsal -eq "Salaried")
    Write-Host "11. Add to Canada Salaried Plant"
    $group = "Canada Salaried Plant"
    $GroupArray += $group
    elseif($ofc -eq "Corporate" -or $ofc -eq "Landis Lakes 1" -or $ofc -eq "Landis Lakes 2")
    Write-Host "8. Add to Corporate Employees"
    $GroupArray += "Corporate Employees"
    write-host "Final Group List" -ForegroundColor Green
    $grplen = $GroupArray.Length
    #$GroupArray
    $grplen
    for($i= 0; $i -lt $grplen; $i++)
    $grpname = $GroupArray[$i]
    write-host "$sam will be added to Group : $grpname" -ForegroundColor Magenta
    # # Check if the user is already present in the Group
    $mbr_exist = Get-ADGroupMember $grpname | Where-Object {$_.SamAccountName -eq $sam}
    if($mbr_exist -eq $null)
    # #Add user to US Managers group
    Add-ADGroupMember -Identity $grpname -Members $sam
    Write-Host "1. User $sam is added to $grpname group" -ForegroundColor Green
    # # documenting the user list that are added to this group
    $grpmbr = New-Object PSObject
    $grpmbr | Add-Member -MemberType NoteProperty -Name "EmployeeNumber" -Value $empnum
    $grpmbr | Add-Member -MemberType NoteProperty -Name "SamAccountName" -Value $sam
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Name" -Value $u.Name
    $grpmbr | Add-Member -MemberType NoteProperty -Name "DistinguishedName" -Value $u.DistinguishedName
    $grpmbr | Add-Member -MemberType NoteProperty -Name "mgr" -Value $mgr
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Company" -Value $comp
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Salary/Hourly" -Value $fsal
    $grpmbr | Add-Member -MemberType NoteProperty -Name "Office" -Value $ofc
    $grpmbr | Add-Member -MemberType NoteProperty -Name "ADGroup" -Value $grpname
    $grpmbr | Export-Csv "$updatedGroup\ADUsers_To_Group($grpname)_$sysdate.csv" -Append -NoTypeInformation
    else
    Write-Host "Member $sam already exist in $grpname group" -ForegroundColor Red
    $logdate = get-date
    $logdate.ToString() + "`tCompleted script to Update Update AD Groups..." | Out-File -FilePath $LogFilePath -Append
    $status = 'true'
    return $status
    catch
    $err_lineno = $error[0].InvocationInfo.ScriptLineNumber
    $err_line = $error[0].InvocationInfo.Line
    $ExceptionMessage = $_.Exception.Message
    #$ExceptionMessage
    $error_info = $error[0].ToString() + $error[0].InvocationInfo.PositionMessage
    Write-Host "$error_info " -ForegroundColor Red
    $FailedItem = $_.Exception.ItemName
    if($ExceptionMessage)
    $logdate.ToString() + "`t $error_info " | out-file "$foldername\ErrorLog_Update_AD_Groups$sysdate.log" -append
    "Line Number: $err_lineno . `nError at Line: $err_line" | out-file "$foldername\ErrorLog_Update_AD_Groups$sysdate.log" -append
    #Invoke-Item "C:\ErrorLog.log"
    $status = 'false'
    return $status

    Hi mdkelly, Sorry for such a late reply (due to credential issues).
    I am using Windows task scheduler to schedule the task. I am given the administrator access to the server (Windows Server 2012). So I think I set to run the script under system account.
    My apologies for asking this, am I missing something while scheduling the script through task scheduler?  how to check if the scheduled task is running under who's credentials? How to pass my (admin) credentials, so that the script execution won't face
    a problem? Any suggestion on the above questions will be helpful. (I tried to search on net for the questions but didn't get any conclusive answers)  
    Thanks in advance.

  • Cannot get a connection, pool error Timeout waiting for idle object

    my connection pool setting is
      maxActive="3" minIdle="2"                maxWait="10000"              removeAbandoed="true" logAbandoned="true"         removeAbandonedTimeout="30"         autoreconnection="true" 
    we have 7 people hitting the group of search functions ,
    about 3 minutes I get
    I got error like
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object         at org.apache.tomcat.dbcp.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:104)         at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)         at Deferment.showResult.checStudent(showResult.java:135)         at Deferment.showResult.doPost(showResult.java:99)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)         at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    I just wonder
    1) Cannot get a connection, pool error Timeout waiting for idle object-> cause by connection pool leaking or other problem.
    2) Setting the maxactive to -1 ( suggestion from Google) , if I set my connection to ulimit , waht should I put on minIdle="2"
    3) How can I test my connection pool have problem or not ? is
    SHOW PROCESSLIST; tolding me someinformation? I use Mysql
    Thank you!

    I try something like ps2 = conn.prepareStatement(target);
                ps2.setString(1, UNumber); // set input parameter
                rs = ps2.executeQuery();
                sendMail = 0;//how many rows we can find.
                while (rs.next()) {
                    sendMail++;
                ps2.close();
                rs.close();
                conn.close();
      if ((count1 == 0) || (count2 == 0)) {
                    conn.rollback();
                } else {
                    conn.commit();
                    conn.setAutoCommit(true);
                ps.close();
                calstat2.close();
                conn.close();
    calstat = (CallableStatement) conn.prepareCall("{call findStudent}");
                calstat.executeQuery();
                calstat.close();
                conn.close();is that enought? what else I should do to make sure I did close all the connection, after I use it ?
    thank you

Maybe you are looking for

  • Firefox will not load wanted/allowed pop up windows, a new window will open, but nothing loads.

    Firefox will not properly load wanted pop up windows from allowed site. It will allow the pop up to open, however nothing loads, it is just a blank window. I have not always had this problem and have not changed any settings to cause this. After the

  • Email says no sender

    A couple of updates ago, my email was messed up--when looking at my email, exiting, and then going back into it--many times the sender is not listed on the email and it will say No Sender--message has no content. I also am then unable to open the ema

  • A question on a future purchase

    Ok, right now i do not own a laptop, but i am thinking of buying the GP70 Leopard as a replacement for my old one that died several years ago (i've been stuck using a shared computer for a while now). So far, everything i've seen about it seems to be

  • Disapperance of Book from iPhoto Source List

    After restarting my Power Mac G5 following a software update, my Book and its duplicate disappeared from the source list in iPhoto. The 82 page Book contained over 200 photos with a file size of about 52 MB. Where did the Book and its duplicate go?

  • Bad Upgrade to iTunes 11.3.1.2 - HELP!

    I recently updated my iTunes software to 11.3.1.2. After the update, all of my playlists and some of my uploaded/imported music disappeared. I have not sync'd my iPod (Classic) yet for fear of losing all my playlists/music on the device.  I thought a