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.

Similar Messages

  • Explain plan--Object not found error

    Hi All,
    I want to use 'explain plan' to optimise the query.
    How do i see the explain plan in toad.
    when i say
    explain plan set statement_id='XX' for select stmt;
    select * from explain plan
    where statement_id='XX';
    iam geeting object not found
    what parameters i need to set up before using explain plan
    Please give me details.
    Please suggest.
    Thanks.

    This should have been in TOAD Forum :-)).. Anyway,
    You need to set the plan table name in view->Options->Oracle. If the specified plan table doesnt exist, create the plan table

  • Object not found ERROR while downloading JAD over OTA

    Hellow everybody !
    I am getting Error while downloading JAD file over OTA in mobile..
    I am putting JAD and JAR in same folder ...
    and while I am trying to download JAR file directly then then Error like malformed content
    anybody know that when it happens?
    Premal

    check on your system with giving url on IE whether it open jar or not.

  • Pof-enabled objects not found error

    Hello all:
    I started 3 coherence-awared instances on a Linux server and I set their localstorage property = true ((-Dtangosol.coherence.distributed.localstorage=true). I started another process to load a bunch of objects of class Foo (pof enabled) in the cache and started a client to test the cache.
    I encountered an error:
    Portable(com.tangosol.util.WrapperException): ...(Wrapped) unknown user type: 1005)
    unknown user type: 1005
    ...1005 is the type-id of class Foo pof-config.xml.
    After I changed 2 of the 3 running instances's localstorage to false, the error is gone.
    My instance topology is Partitioned, which means it has distributed hashmap. The data set is ditributed to multiple cache nodes.
    Anyone can explain to me why the error occured?
    Thanks,
    Johnny

    Hi Johnny
    I could be a number of things.
    <li>Have you started the 3 instances with the correct POF config file, i.e. with the -Dtangosol.pof.config property
    <li>If you POF config file is called pof-config.xml is it on the classpath in front of the coherence.jar file
    <li>Are the cache services in your cache config file configured to use the correct serializer with the correct POF config file
    You can tell from the log output of the server nodes which configuration files they are using.
    JK

  • Script cast member not found

    Can anyone tell me why the %^$& I get a "script cast
    member not found"
    error?
    I've been working in Director for 17 years and I get this
    from time to time.
    I generally just copy the code from the behavior, paste it
    into a new
    behavior, name the new one the same as the old on, then copy
    the new cast
    member over the old one and it solves it. But it happened
    rarely enough
    that I didn't bother questioning why. I know it's not a
    syntax error
    because the code runs fine after the above process. But it
    does only
    happens when I've made a change to the code in that behavior.
    Now I'm working with a simple movie with one parent script
    and a
    prepareMovie handler that instantiates one child object and
    I'm getting this
    darn error all the time. My above solution isn't working
    anymore. The
    error points to the first line of a particular handler. That
    first line was
    a comment. So I got rid of the comment and the new first line
    of the
    handler is code and the error points to it. If you see where
    I'm headding,
    no matter how many lines of "errored" code I get rid of the
    error alert will
    always point to the first line of that handler.
    I'm sure many have seen this because it's happened in almost
    every version
    of Director I've owned. And by the way, I'm in MX on a PC.
    Craig Wollman
    Lingo Specialist
    Word of Mouth Productions
    212-928-9581
    www.wordofmouthpros.com

    Dean, I might do that. No, this has been going on long enough
    that I sure
    it's not any definable user error.
    But, I did, after all of these years, discover something last
    night. In one
    case, I did get a legitimate script error that I fixed. When
    I ran the
    project again, I received the same script error, even though
    it was a simple
    fix and I was sure I corrected it. I recompiled several times
    and ran it
    again and received the error again. Then it dawned on me that
    since parent
    scripts remain in memory until disposed of, Director must
    have been, for
    some reason, referring to the old parent script. I had
    already set the
    object's global variable to 0 in my stopMovie handler and
    even though that
    handler might not always run when errors occur, I ran it from
    the message
    window to insure that the object's global was 0. But that
    still didn't
    solve the problem. Then I used clearGlobals in the message
    window and
    voila, the issue went away. Dare I say that this is a
    shortcoming of
    Lingo's design to allow variables to persist/linger after an
    error?
    But what still baffles me is that most of the time when I get
    that
    particular error,, even though I seemed to have found a
    workaround, it is
    not an actual issue with any code.
    When it happens again, I'll send you the code. Obviously, if
    I'm correct
    about the scripts lingering in memory, then you won't receive
    the error when
    you run the movie.
    I just find it interesting that there haven't been a bunch of
    "Yeah, I get
    that darn thing too" here.
    Craig
    Craig Wollman
    Lingo Specialist
    Word of Mouth Productions
    212-928-9581
    www.wordofmouthpros.com
    "Dean Utian" <[email protected]> wrote in message
    news:[email protected]...
    > Hi Craig,
    >
    > Could it be a simple mistake of the script type not
    being properly defined
    > (movie/parent/behavior)?
    >
    > If you have a very baic movie where this error occurs
    repeatedly, you
    > could
    > email me ([email protected]) and I'll take a fresh
    perspective look at
    > it.
    >
    > regards
    > Dean
    >
    > Director Lecturer / Consultant
    >
    http://www.fbe.unsw.edu.au/learning/director
    >
    http://www.multimediacreative.com.au
    >
    >
    >
    >

  • How to recover from a Sync command that returns a SyncStatus value 8 (Object not found)

    Hello,
    We are using ActiveSync protocol. We have a situation where our local DB is probably in a invalid state where we do a Sync command passing all of our folders (full sync) and one of the folder (or many) doesn't exist anymore.
    The Sync command result doesn't tell us which folder is invalid.
    But the question is more: how should we recover from this "Object not found" error? Should we erase the local database and do a full refresh?
    Status reference:
    http://msdn.microsoft.com/en-us/library/gg675457(v=exchg.80).aspx
    Thanks
    ArchieCoder

    Sorry, that really isn't a Firefox support issue. Contact a Mac support forum or Mac-users group for advice on to solve that issue.

  • PRC - Knowledge Directory - createRemoteDocument - 'Object Not Found'

    I can connect to the Knowledge Directory (verified in that I can walk the folder structure etc... )
    I can upload files to the document repository (verified in that when I upload the file via PRC I return the new folder and file name and can go to the new physical file, rename it and open it)
    But when I try to make a card for that file within the KD, by way of createRemoteDocument(x,y,z) I get the following error:
    <pre>
    com.plumtree.remote.prc.PortalException: null; nested exception is:
         java.rmi.RemoteException: -2147205120 - Error in function PTBaseObjectManager.Open (nObjectID == 214, bLockInitially == false): -2147205120 - Object not found.
         at com.plumtree.remote.prc.DocumentWrapper.save(DocumentWrapper.java:84)
    </pre>
    Thoughts?
    Any assistance would be greatly appreciated.
    Thanks,
    -Mel

    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.

  • Show Database Get "Object was not found"error

    Hi there,
    I have a weird situation here.
    I created Data Guard Broker setup and show configuration return good result.
    It is running for quite a while, and I can see if I switch log file on Primary, the Max Seq# is matched between Primary and Standby. Also do a lot of other test query all return good result.
    But today when I happen to run Show Database command it says the DB object not found,
    and there is no error in DRCxxx.log file.
    Did I miss something? Any suggestions are appreciated.
    ===============Script===================
    --Standby
    mkdir log1/dgbroker
    mkdir log1/dgbroker/XXXPRD2R
    mkdir log2/dgbroker
    mkdir log2/dgbroker/XXXPRD2R
    --Primary
    mkdir log1/dgbroker
    mkdir log1/dgbroker/XXXPRD2
    mkdir log2/dgbroker
    mkdir log2/dgbroker/XXXPRD2
    -- primary
    alter system set dg_broker_config_file1='/oracle/log1/dgbroker/XXXPRD2/dg1XXXPRD2.dat' scope=both;
    alter system set dg_broker_config_file2='/oracle/log2/dgbroker/XXXPRD2/dg2XXXPRD2.dat' scope=both;
    -- standby
    alter system set dg_broker_config_file1='/oracle/log1/dgbroker/XXXPRD2R/dg1XXXPRD2R.dat' scope=both;
    alter system set dg_broker_config_file2='/oracle/log2/dgbroker/XXXPRD2R/dg2XXXPRD2R.dat' scope=both;
    -- primary
    alter system set dg_broker_start=true scope=both;
    -- standby
    alter system set dg_broker_start=true scope=both;
    -- primary
    dgmgrl /
    create configuration 'dg_XXXPRD2' as primary database is 'XXXPRD2' connect identifier is 'XXXPRD2';
    add database 'XXXPRD2R' as connect identifier is 'XXXPRD2R' maintained as physical;
    enable configuration;
    ===============Script===================
    DGMGRL> show configuration
    Configuration - dg_XXXPRD2
    Protection Mode: MaxAvailability
    Databases:
    XXXPRD2 - Primary database
    XXXPRD2R - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    DGMGRL> SHOW DATABASE XXXPRD2
    Object "XXXPRD2" was not found
    DGMGRL> show database XXXPRD2R
    Object "XXXPRD2R" was not found
    -----------------------------------------------

    Hello;
    What I have noticed is sometimes single quotes count and sometime they don't.
    Try :
    SHOW DATABASE 'XXXPRD2';
    Test
    Welcome to DGMGRL, type "help" for information.
    Connected.
    DGMGRL> show database standby
    Object "standby" was not found
    DGMGRL> show database 'standby';
    Object "standby" was not found
    DGMGRL> show database 'STANDBY'; 
    Database - STANDBY
      Role:            PHYSICAL STANDBY
      Intended State:  APPLY-ON
      Transport Lag:   (unknown)
      Apply Lag:      
      Real Time Query: OFF
      Instance(s):
        STANDBYSo getting the case matters too.
    DGMGRL> SHOW DATABASE STANDBY;
    Object "standby" was not found
    DGMGRL> Best Regards
    mseberg
    Edited by: mseberg on Jan 18, 2013 2:21 PM

  • Terminal troubles. Command not found error in the directory of the command.

    I'm getting a "command not found" error when I am in the directory of the command I want to run. For example try to run 'mysql' in the directory with that executable file and I get the error. BUT, if I put the full path to the mysql command, starting from the root, the command works correctly.
    I know this isn't a PATH issue, since I'm in the location of the file.
    It seems like a possible permissions issue, but I appear to have the proper permissions to the command and all parent directories. Moreover, I would assume that I would see a "permissions denied" error rather than a "command not found" error if this was the case.
    Beyond the two possibilities above, I'm stumped as to what the issue could be. To be clear, this is happening on more than one command, although both commands are within the /usr/local/ directory.
    Any help would be greatly appreciated!!! Thanks in advance!

    By default . is not included in your PATH and the shell does not do this on its own, as that is an easy way for someone to get a user to execute a Trojan.
    For example, in a multi-user system you create a script 'ls' and put it in a directory with a bunch of other stuff. Then go over to a user on the same system and ask them to help you with something in this directory. The first thing they will do is issue the 'ls' command, which if you have . in your PATH, or the shell always looks in the current working directory, means this user would execute the Trojan script instead of the real 'ls' command. That script do do anything using the privileges of the user running that script, including modifying stuff in their home directory that could give the person asking for help future access to that user's files and data.
    That is why . (the current working directory) is NOT part of PATH by default and shells do not look in the current working directory by default.

  • I am trying to authorize my computer and I get an error message: The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed. Help?

    I am trying to authorize my computer and I get an error message: The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed. Help?

    I used Terminal to change the permissions on the folder in question.  I followed the instructions in this article:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    In my case, the folder was there, so I needed the command to change permissions on the folder, not to create one.   I was hesitant to use Terminal b/c I know that if I made an error I could wipe out my hard drive or render my computer unusable.  So to be SURE I didn't make an error, I carefully copied the command from that page and *pasted* it into Terminal.  Also, before I could do anything in Terminal, I had to go change my admin password (it had been a blank password before and that's not acceptable for making changes in Terminal).  I was just super careful when entering my password or doing anything else while Terminal was open (making sure I didn't accidently hit the spacebar or another key, etc.)  And it fixed the problem right away.
    What was confusing for me was that the iTunes error message said to change permissions in the FINDER, which is what I was trying to do.  It didn't mention Terminal.  What would really be helpful is if Apple included a link to a page like this in their error message.

  • Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a reso

    Error encountered while signing. Windows cryptographic service provider reported an error. Object not found. Error code:2148073489. Windows 7, Adobe Reader XI, Symantec PKI, Smart Card and CAC. I have seen other threads for this error but none have a resolution. Any help would be appreciated.
    Sorry for the long title, first time poster here.

    This thread is pretty old, are you still having this issue?

  • Error in AS2 adapter. Object not found in lookup of as2.. Its urgent..!!

    Hi AS2 experts,
    *When i tried sending an xml to partner system using AS2 adapter.. Mapping is succesfull and message is failing in receiver AS2 adapter.
    1. I used the following parameters in AS2 Module.
    ModuleName                                                       Module Key
    localejbs/Seeburger/solution/as2                              solutionid
    localejbs/ModuleProcessorExitBean                          exit
    ModuleKey    ParameterName         ParameterValue
    exit                JNDIName     deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    Iam getting the following error.
    Success     MP: Processing local module localejbs/Seeburger/solution/as2
    Error :   MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2.
    Error :  Exception caught by adapter framework: Object not found in lookup of as2.
    Error : Delivery of the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Object not found in lookup of as2.: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of as2..
    2. When i tried by removing Modulename "localejbs/Seeburger/solution/as2"
    It is showing the below error like AS2ID is missing.. but its there in party configuration.
    Error :
    Unable to forward message to JCA adapter. Reason: Fatal exception: com.sap.aii.af.ra.cci.XIRecoverableException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing.., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Sender configuration incomplete - perhaps AS2ID missing..       
    Can anyone has idea what might be wrong.
    Kindly suggest me asap.
    Thank You.
    Regards
    Seema.

    Hi,
    Plesae go through below links
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    EDI Adapter by SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
    B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
    Integrating XI with SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
    and
    Check with below configuration
    Configuration for AS2 or simple file adapter.
    We are using this module configuration for converting EDI D96A format to XML:
    1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
    2 localejbs/CallSapAdapter Local Enterprise Bean 0
    bic destSourceMsg MainDocument
    bic destTargetMsg MainDocument
    bic logAttID ConverterLog
    bic mappingName See_E2X_ORDERS_UN_D96A
    bic saveSourceMsg ORIGINAL_EDI
    can someone please tell me the module configuration for reverse mapping at receiver end,i.e.,XML to EDI D96A
    basically,I need mapping name for this.
    Scheme=AS2ID
    Name = WAN network no of the partner who is sending the file
    Sender AS2 adapter configuration:
    Few changes in the module parameter tab.
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_E2X_EDIFACT_ORDERS_UN_D93A which does the conversion of EDI-XML.
    Receiver AS2 adapter configuration:
    When the adapter is used in a receiver channel, it obtains a message from the Integration Engine and sends it to a business partner. In this case, the following steps are required:
    1. Define the channel as a Receiver channel on the Parameters tab
    2. The last step ensures the module sequence is complete:
    Make sure the module ModuleProcessorExitBean does exist in the module sequence:
    Module Name=localejbs/ModuleProcessorExitBean
    Type=L
    Module Key=Exit
    • with the following module parameter:
    Module Key=Exit
    Parameter Name=JNDIName
    Parameter Value=deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    File receiver:
    localejbs/CallBicXIRaBean bic
    CallSapAdapter 0
    Module configuration:
    bic= destSourceMsg = MainDocument
    bic= destTargetMsg = MainDocument
    bic= mappingName= See_X2E_EDIFACT_ORDERS_UN_D93A
    ONly the mapping program name changes from E2X to X2E. IN ur case it will be See_X2E_ORDERS_UN_D96A
    Thanks
    Swarup

  • HT1206 There was an error storing your authorization information on this computer.The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be ch

    There was an error storing your authorization information on this computer.The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed.

    I'd try the following document with that one: 
    iTunes: Missing folder or incorrect permissions may prevent authorization

  • HT1420 When I try and authorise I get this message.The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed. How do I rectify?

    When I try and authorise I get this message.The required directory was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed. How do I rectify?

    iTunes: Missing folder or incorrect permissions may prevent authorization
    Mac OS X
    Log in to your computer using an administrator account.
    In the Finder, choose Go to Folder from the Go menu.
    Type: "/Users" (without quotes) and click Go.
    If the Shared folder exists
    Open Terminal (found in /Applications/Utilities).Warning: This step involves modifying permission settings by entering commands in the Terminal application. Users unfamiliar with Terminal and UNIX-like environments should proceed with caution. The entry of incorrect commands may result in data loss or unusable system software. Improper alteration of permissions can result in reduced system security or exposure of private data. This option requires a non-blank admin password.
    Depending on which version of Mac OS X you have, this step will vary:
    On Mac OS X v10.5.8 and earlier, type:sudo chmod -R 777 /Users/Shared
    On Mac OS X v10.6 or later, type:sudo chmod -R 1777 /Users/Shared
    Press Return.
    Quit Terminal.
    If the Shared folder does not exist
    The following steps will recreate the Shared folder if it is missing and ensure that it has been assigned using the correct permissions.
    Open Terminal (found in /Applications/Utilities).Warning: This step involves modifying permission settings by entering commands in the Terminal application. Users unfamiliar with Terminal and UNIX-like environments should proceed with caution. The entry of incorrect commands may result in data loss or unusable system software. Improper alteration of permissions can result in reduced system security or exposure of private data. This option requires a non-blank admin password.
    Type or copy and paste the following command into the Terminal window:sudo mkdir -p /Users/Shared/
    Press Return.
    Enter your administrator account password when prompted, then press Return.
    Depending on which version of Mac OS X you have, this step will vary:
    On Mac OS X v10.5.8 and earlier, type:sudo chmod 777 /Users/Shared
    On Mac OS X v10.6 or later, type:sudo chmod 1777 /Users/Shared
    Press Return.
    Quit Terminal.

  • XI--- OpenJMS error  Object not found in lookup of XIJMSService

    Hi all,
    I am trying XI-->OpenJms (Server).
    I have included openJms.jar library in aii_af_jmsproviderlib.sda and deployed using SDM.
    In JMS receiver adapter I am using the following Configuration:
    Transport protocol: JMS Provider with JNDI .
    Queue connection factory : org.exolab.jms.client.JmsConnectionFactory
    JNDI-Name JMSQueue: org.exolab.jms.client.JmsQueue
    Context Factory : org.exolab.jms.jndi.InitialContextFactory
    JNDI-Server adress :tcp://10.1.102.5:3035
    In RWB i am getting the following for this scenario:
    Error Exception caught by adapter framework: Object not found in lookup of XIJMSService.
    Kindly help what other configurations are required.
    Best Regards,
    Lemine

    Hi Sebastian,
    I have still the same problem.
    could you send me a screen shot with your configuration?
    (openjms configuration).
    my email: [email protected]
    I have the following standard configuration in my modul:
    Verarbeitungssequenz:
    Modulname:                                         Type:
    ocalejbs/SAP XI JMS Adapter/ConvertMessageToBinary    L
    localejbs/SAP XI JMS Adapter/SendBinarytoXIJMSService L
    could that cause for that prblem ?
    Thanks for helpful answer.
    best regars.
    Lemine.

Maybe you are looking for

  • WinXP 64 Bit Drivers for T61 Thinkpad (7661-G28)

    I installed Vista64 on an additional drive and was constantly running into application crashes as well as what apppears to be system pauses when a window was in focus.   Things just froze and if you brought up task manager they would start responding

  • Deleting from Library when Video File on hard drive already deleted

    I keep getting an error message saying I Tunes must close when I try to update any video content - I have narrowed it down to the fact that a video still resides in my Library with a checkmark next to it, however the actual video file on the hard dri

  • Custom Loading screen for blu-ray

    I'm fairly new to this so my experience level is low. However, I have no problem creating my own static menus and burning great quality Blu-Ray disks. I'm just now learning how to create active menu content and would like to implement the custom "loa

  • Hi all can anyone send docs for Report Designer bi7.0

    hi all, Can anyone send me the documents for report designer bi 7.0. regds hari

  • Erro while executing adobe forms in webdynpro

    Hi , Please help me in resolving the following issue while running the adobe form in webdynpro for java on sneakpreview java.lang.exception:incorect content type found "text/html" thanks