Error in BatchLoad process - Object variable or with block variable not set

Hi All,
We are working on FDM version 11.1.1.3 with Essbase as a target system.
To automate the data load process, we are loading the batch loader feature.
I have taken the backload script from admin guide and it is working fine in our test environment.
When, I am trying to use the same script in our QA environment, we are getting the below error message-
Error: An error occurred running the script:
*91 - Object variable or with block variable not set*
At Line: 24
QA environment has same version as Test environment (11.1.1.3). In QA, it the same script which I am using in Test environment.
Please help us on this issue. Any help will be highly appreciated.
Thanks & Regards,
Mohit Jain

Hi,
As suggested by you, I have placed the code given by you and now my scripts looks like-
'Declare Local Variables
Dim lngProcessLevel
Dim strDelimiter
Dim blnAutoMapCorrect
Dim BATCHENG
Set BATCHENG = CreateObject("upsWBatchLoaderDM.clsBatchLoader")
BATCHENG.mInitialize API, SCRIPTENG
'Initialize Variables
lngProcessLevel = 12 'Up-To-Check
strDelimiter = "~"
blnAutoMapCorrect = 0
'Create the file collection
Set BATCHENG.PcolFiles = BATCHENG.fFileCollectionCreate(CStr(strDelimiter))
'Execute a Standard Serial batch
BATCHENG.mFileCollectionProcess BATCHENG.PcolFiles, CLng(lngProcessLevel), , CBool(blnAutoMapCorrect)
But still, I am getting the same error.
Have I placed the your given code at wrong place? please help me on this.
Thanks a lot for your help!!
Thanks & Regards,
Mohit

Similar Messages

  • Error in the Input scchduled.Object variable or with block varaible not set

    Hai Experts ,
    In the input schdueld , data is not accepting ..
    Its shows error : Object variable or with block varaible not set
    Please help..
    Regards
    Daya.........

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • Batch Processing error: Object variable or With block variable not set - 91

    We are experiencing the following error when trying to execute the FDM Batch Processing of files in our UAT environment. This error is not occuring in our DEV environment. I have seen this error before when the data file had been left open and FDM could not access the file, so it appears this error is usually due to file permissions. However, this time none of the files are open, and as far as we can see, FDM should have full access to the OpenBatch and Inbox folders etc.
    Does anyone please have any suggestions, particularly on what account FDM will carry out the various tasks? Would it use a system account?
    Error:
    "Object variable or With block variable not set - 91"
    FDM Log:
    ** Begin FDM Runtime Error Log Entry [2012-07-06 16:07:09] **
    ERROR:
    Code............................................. 75
    Description...................................... Path/File access error
    Procedure........................................ clsBatchLoad.fFileCollectionCreate
    Component........................................ upsWBatchLoaderDM
    Version.......................................... 1112
    Thread........................................... 5828
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... *******
    App Name......................................... *******
    Client App....................................... WorkBench
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... *******
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... *******
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... *******
    Category ID...................................... 14
    Period........................................... *******
    Period ID........................................ 02/07/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False

    I can confirm that there is definitely data present in our data files in this case.
    Please note that this error only occurs when using the Batch Processing functionality of FDM Workbench (which requires files to be placed in the OpenBatch subfolder of the Inbox). I can load individual files fine when using the FDM Web Client.
    As part of the first step of the batch load process, FDM Workbench moves files from the OpenBatch folder to a new folder which it creates in the Inbox\Batches directory. However, it is not even managing to do this, and gives the error below.
    We have tried to share the OpenBatch folder, to allow specific users access to drop files into this folder. Consequently, I believe suggests a security problem on the OpenBatch folder itself (please see original post). I have been told privileges should be sufficient for FDM to make use of this folder too, however I suspect this is not the case at present.
    In the meantime, please let me know if this could be due to other causes.

  • Code 91 - Caused Error: (Object variable or With block variable not set)

    Hi,
    We are using FDM 9.3.1. We have enabled batch processing.
    We are having following process being followed
    - Batch Loader script will pull the data from dwh table for each entity, scenario, year and period
    - Batch processing is set to serial and processlevel set to Up-To-Check
    - We had following five files created for Location - EMAFF100
    i. 1_EMAFF100_ACT_May-2011_RR.txt
    ii. 1_EMAFF100_ACT_Jun-2011_RR.txt
    iii. 1_EMAFF100_ACT_Jul-2011_RR.txt
    iv. 1_EMAFF100_ACT_Aug-2011_RR.txt
    v. 1_EMAFF100_ACT_Sep-2011_RR.txt
    Batch loader process completed the processing for May - 2011, Jul - 2011, Aug-2011, Sep-2011.
    But for Jun 2011 it has given the following error in the 'tbatchinformation' table and failed at import stage.
    40751.6239236111 1_EMAFF100_ACT_JUN-2011_RR.TXT 2 2 91-Object variable or With block variable not set
    When we checked the view error log from tool menu we found following
    ** Begin FDM Runtime Error Log Entry [2011-07-27-14:58:29] **
    ERROR:
    Code......................................... 91
    Description.................................. File [1_EMAFF100_ACT_Jun-2011_RR.txt] Caused Error: (Object variable or With block variable not set)
    Procedure.................................... clsBatchLoader.mFileCollectionProcess
    Component.................................... upsWBatchLoaderDM
    Version...................................... 931
    Thread....................................... 5600
    IDENTIFICATION:
    User......................................... ncreighton
    Computer Name................................ HYAPSDEV1
    App Name..................................... EMATTEST
    Client App................................... WebClient
    CONNECTION:
    Provider..................................... ORAOLEDB.ORACLE
    Data Server..................................
    Database Name................................ hydev_serv
    Trusted Connect.............................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location..................................... EMAFF100
    Location ID.................................. 762
    Location Seg................................. 16
    Category..................................... ACT
    Category ID.................................. 13
    Period....................................... Jun - 2011
    Period ID.................................... 30/06/2011
    POV Local.................................... False
    Language..................................... 1033
    User Level................................... 1
    All Partitions............................... False
    Is Auditor................................... False
    We then re submitted data for Jun period and saw batch process got successfully completed and June data got imported successfully and also rest other processes got through.
    Can any one provide exact cause for this error? As we have automated the data load from DWH to FDM And then to HFM. Hence when such error comes it disturbs lot of processing there on. Appreciate your early response.
    Thanks in advance.

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • FDM Error - object variable or with block variable not set

    Hi all,
    When i try to configure the authentication provider in the fdm load balance manager, I've got an error "object variable or with block variable not set".
    version: 11.1.2.1
    If anybody can help me to resolve this. I will be thankful to him/her
    Waiting for replies.
    Regards,
    Edited by: Antoine on Aug 9, 2011 10:33 AM

    Try the following resolution
    The error "Object Variable or With Block Variable Not Set" is caused when the FDM Service account does not have "Write" share permission to the FDMDATA folder structure, which resulted in the FDM Service account being unable to write the text file that is produced when running a SQL Integration Script. Without being able to write to the directory, the import process cannot complete successfully. Could you please verify the following and update the SR accordingly.
    1) From the FDM Login screen select "Add Application" from the drop down list
    2) Login with a valid user
    3) Highlight the application that is experiencing the issue and click "modify"
    4) Locate the "Application Path", this is the location of the FDM Application Files. Connect to the server hosting the FDMDATA folder.
    5) Right-click on the FDMDATA folder and choose "Properties"
    6) Click on the "Sharing" tab and click the "Permissions" button
    7) Click "Add" and enter the id of the FDM Service Account used for all the FDM Configs and click OK
    8) Check the "Full Control" box and click "Apply"
    9) Click OK to save the changes.

  • Object variable or With block variable not set error message

    When processing the Rate application I get a "Object variable or With block variable not set error message" What is causing this error and how do I fix it?

    Hi Brian,
    I'm afraid that in some ways this reply won't be very helpful though it may help you save some time. 
    The error message you describe is a very generic one thrown by Microsoft .NET (the programming platform that SAP is written with, see the link at the bottom of this message) and not being 'handled' by SAP. 
    This means from a SAP perspective that any one of many unrelated things may be causing the error and that it gives you virtually no help in tracking the problem down in SAP.
    We've plagued by this message quite a bit, my advice is to look for clues at to what may be happening elsewhere, e.g. try:
    1. The windows event viewer, if you are in a multi-server environment then check the event log on all machines.
    2. The SQL Server event log (this can be found in Management Studio - Management - SQL Server Logs assuming you're using SQL Server 2005)
    3. IIS logs, usually these are text files in the following location -
    HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR
    IIS Website Log - %windir%\System32\LogFiles\W3SVC#
    It is dull work trawling through all these places looking for error events with a timestamp similar to the time your error was encountered, but by doing this we've been able to troubleshoot some issues that otherwise would have taken us ages to rectify via trial and error.
    Sorry that there is no definitive answer, but if itu2019s of any help there's many more of us out there who this error message causes trouble for.
    Regards,
    Iain
    Microsoft "Object variable or With block variable not set" error message link:
    http://support.microsoft.com/kb/316478

  • Error while deleting loc - Object variable or With block variable not set

    I could not delete some of the existing locations in the HyperionFDM and it results in the error Object variable or With block variable not set.
    I verified that the Server has the apps and subfolder which is needed for this application \\servername\data\app1\Inbox etc.
    Any pointers will be really useful. Thanks !
    - Ap

    Hi,
    There can be several reasons for it, for now I would suggest you:
    This error generally comes because:
    Cause
    The user that logs on workbench does not have write access to the Financial Data Quality Management application shared folder.
    Solution
    Log onto the machine where the Financial Data Quality Management application files are located. You can locate this path by performing the following:
    a) At the FDM Login page choose <Add Application> and login
    b) Highlight the FDM Application in question and click the "Modify" button
    c) The application path field displays the location of the application folder
    2. Go the shared folder, right click and go to Properties -> Sharing -> Permissions and add the user to the Share Permissions and grant "Change" at a minimum.
    Please check and let me know
    I would suggest you to post FDM related posts in Financial Data Management
    J

  • Error: Object variable or With block variable not set.

    Hi,
    when i try to fill the control tables and browse for the target period in HFM (sys 9.3.1) i get the error: Error: Object variable or With block variable not set.
    When browsing for the target value in the location for the value no problem occurs.
    Anybody a clue?

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • Error: object variable or with block variable not set when creating journal

    Hello
    When I try to create a new journal, I get an error "object variable or with block variable not set"
    This is happening with some computers but not all of them, the same user can create a journal in some computers.
    I tried uninstalling and reinstalling BPC office client but that did not work.
    Do you have any other ideas ?
    Thank you in advance.

    Hi,
       You have to check first  if you are able to access the reporting service frm that speific client machine typing:
    http://<reporting server name>/reports. If all is woking well , you have to check also the number of default sheets for an empty excel sheet (should be 3) - I ma not sure what version are you using.
        If still not work, please let me know when exactly the error appear, when you try to open the template (clicking on journal option) or after when you fill the report, save it, so on.
    Best regards,
    Mihaela

  • "Object Variable or With Block Variable not set" Error on Adobe Presenter 8 Ribbon on PPT 2010/2007

    Returning back from Adobe training at KEDRIYA VIDYALAYA no 1  Jalhalli Bangalore when I started Powerpoint to use Adobe Presenter 8  I am getting : "Object Variable or With Block Variable not set " error on clicking any of the menu features of the Presenter Ribbon. My Config are :
    i)             WINDOWS XP SP 3
    ii)            POWERPOINT 2007 / 2010 ( for both same error is coming)
    iii)           MS XML Library 4.0 installed.
    iv)           Adobe Presenter 8
    I am using all liscenced copies of softwares.
    Hardware specs are also as per Minimum Adobe standards.
    I Have tried a lot removing Data Execution Prevention Mode , but all in vain the problem still exists
    Why is this happening. Please help.
    Kamal K Gupta
    PGT Comp. SC.
    KV No. 2 Srivijaya nagar

    This is not really a "Downloading, Installing, Setting Up" question; you may get better help if you ask in the Presenter forum.

  • Object variable or With block variable not set (Error 91)

    I am not a developer, however i have to help to run a VB program.
    when using a local administrator to run this program there will be error :
    Object variable or With block variable not set (Error 91)
    however using a DOMAIN Administrator to run without problem.
    any idea

    Do you have the source code? The error itself is a nullreference error. It means the code is trying to use some object to access a property of method of that object, but the object is currently null so it fails. The fact that it runs different when you run
    as a domain admin versus local admin could mean that it does something via a network location or resource, and when running as a domain admin, it has access to that resource and succeeds, but the local admin doesn't have access to the needed resource, and
    the code doesn't check to see if the object is null before using it. If you don't have the source code, then it will be difficult to fix, other than giving the local admin the ability to access whatever it is the program is looking to access.
    Matt Kleinwaks - MSMVP MSDN Forums Moderator - www.zerosandtheone.com

  • When open excel, the error "object variable or with block variable not set"

    hi, expert:
        the user is install BPCClient7.5.exe.
       when the user open "Planning and Consolidation for Office Client", then the error message is below:
    "object variable or with block variable not set"
    please answer as soon as possible!
    thanx!

    Hi,
    Please enable the Addins in Excel options..Like
    Go to Normal Excel->Excel options>Addin's>Manage>Disabled Items>then Planning and Consolidation->select enable..
    Once it is enabled then re login into BPC for Excel..it will work..
    Hope it will solve your problem..
    Regards,
    Naresh.K

  • BPC 4.2 Optimization error (object variable or with block variable not set)

    Hi All,
    I am getting the following error when I try to optimize application from the front end:
    Run-time error '91':
    Object variable or With block variable not set
    From the back end the optimization works just fine. This is the new application I created from the AppShell. As soon as I created this new application set, I tried to run optimization and I am getting this error. Optimization in the AppShell works just fine. I wonder what the problem is since this is a brand new application set. I tried a few things all day yesterday and day before but in vain.
    We are using BPC 4.2 (OutlookSoft CPM). Any help is greatly appreciated, the sooner the better.
    Thanks in advance!

    Depending on your version of 4.2, here are two possible issues and remedys.
    Possible issue #1
    Do you only have 1 application in the appset? - Add another application.
    Possible issue #2
    This problem will occur if you have copied 4.2 SP2 Apshell or copied an existing appset.
    This happens when a table named tblAdminTaskMessage exists and a stored procedure named INPUTMESSAGE does not exist.
    The table and stored procedure are created when you run optimize for the first time and when you make copy of Apshell that has been optimized once, it can copy the table but it cannot copy the stored procedures.
    The workaround is to delete the tblAdmintaskMesssage table in SQL Enterprise Manager within the problem appset.
    Hope this helps.

  • Load Hierarchy Error "object variable or with block variable not set"

    Hi gurus
    When I try to load a dimension by package I get this error "object variable or with block variable not set" and I can not select the hierarchy of the dimension
    You know how to fix this issue?
    Thanks
    Nayadeth

    Hi SAP collegues,
    At my site, BPC Excel created this problem too "Object Variable or With Block Variable not set" .
    It turned out that this is symptom of a a dys-functioning BPC COM Plug-in in XL2007 or XL2010!
    This is a consequence that your Excel recently crashed while using BPC. And it relates to an Excel Add-in becoming disabled when the applications crashes.  Please check the following.
    Note before doing the following, close all other open Excel and BPC sessions.
    Within Excel go to File à Options
    Select the Add-Ins option on the left
    Select the <<COM Add-ins >> option in the Manage drop down, and click Go
    Make sure that the Planning and Consolidation option is selected.  If not, mark this box and click OK.
    If you do not see anything listed, return to the Add-in screen and select the Disabled Items option, and see if Planning and Consolidation is listed there.
    Let me know if you have any queries,
    Kind Regards,
    robert ten bosch

  • FDM Serious Error(Object variable or With block variable not set).

    Hi All Intelectual,
    When i was trying to upload data into FDM for checking application flow. i got the below mentioned error pops-up everytime.
    Error: An error occurred importing the file.
    Detail: Object variable or With block variable not set
    I tried to soved it with setting up integration setting,application setting and configuration setting but it didn't worked. Please note that mapping files are getting uploaded successfully.
    Please if anybody can suggest me on the above mentioned problem.
    I will be thankful to him/her. Please understand that this issue very serious issue and is related to project.
    Waiting for replies from you all.
    Regards,
    Abhishek
    HFM / Planning

    Good day Abhishek,
    FDM does not use the HFM adapter until you select the validate fish.
    So some of the items that you can check is write access to the inbox, the SQL connection, the location import format, the SQL insert method for the location and review all the error logs in the in- and outbox that have been modified when you did the import.
    Regards

Maybe you are looking for