Ajax cfc issue -- indeterminent error msg

I have one ajax cfc app that works fine.  This app uses the file name from the browse button on the file input object that is passed to my proxy.cfc, which in turn, queries the attachments table in my db to see if this file has already been uploaded for this project.  If the file is not there, then I upload it to the server.  If it is there, I pop-up an error message to the user giving him/her the date/time it was uploaded and by whom.  These values are returned by testing code in the cfc.   It works great.
I am now working on another app that will populate a lower-order select box in a hierarchy of select boxes based upon the new value in the current select box that has just been selected.  It seems doable, but there is an immediate error that I cannot seem to get past an error thrown by the IE error handler as an unhandled error.  This error is a “throw msg” error within the core Adobe code, which I’ve pasted in below:
I have modeled the new app after the one that I have working.  In a effort to figure out this cause of this problem, I have even housed it in the original proxy.cfc to eliminate any question about having it in the correct location on the server. 
At the current point, I am only trying to return an input value from the app, getAreasRmt.  Here are the calling and called code.  The line in the calling code that generates the error is the one where I call the cfc function: “alert (‘Rtnd BuGrpID: ‘ + areaProxy.getAreasRmt(….)));”
Calling JS:
getAreasRmt:
     This code will eventually pass back a structure containing all of the areas whose Business Group ID is sBuGrpID. 
     I am running CF8 on a W2003 x64 server with IIS 6.0.
     Thanks in advance for any help/suggestioins.
Len

Folks,
This is my first attempt to bind a CFC to a <cfselect> so I may be missing something very basic that everyone elses knows.
I've made some progress on this issue, but I'm not sure I'm actually moving forward.   After Googling, reviewing CF8 books and searching this site, I have converted this over to binding my CFC to a <cfselect>, which then calls the procedure within the cfc.  I've also started using cfdebug and FireBug from time to time to try to gain some insight into what is happening.
But I think that I'm just at a different form of the original error message.  Here is the error from the Ajax Debug Log window:
window:global: Exception thrown and not caught (http://192.168.1.100/CFIDE/scripts/ajax/package/cfajax.js, line 798) [Note: 798 could be the loction of the original error.  Or not]
info:http: CFC invocation response:{"COLUMNS":["LOCATIONNAME","LOCATIONID"],"DATA":[["CDPG BOARDS",1],["CDPG Boxed Processor",12],["DIJIC",13],["EPSD BOARDS",2],["EPSD SYSTEM",3],["KM-RDV",4],["LAD",5],["MCPD",6],["MWG",7],["New BOARDS",9],["NEW_BIZ-RDV",11],["NPG",10],["OPD",8],["TestBus",14],["Testing ",15]]}
info:http: HTTP GET /PHREDsevenInternal/Templates/hierchy.cfc?method=getLocs&returnFormat=json&argumentCollec tion=%7B%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=999030C7709D5E20E12A17ED431EFB2 A&_cf_rc=0
info:http: Invoking CFC: /PHREDsevenInternal/Templates/hierchy.cfc , function: getLocs , arguments: {}
info:LogReader: LogReader initialized
info:global: Logger initialized.
It is returning the query from the CFC finally. I'm assuming that if there would not have been an error, then the query would have been loaded into the <cfselect> that called it.
Here is the latest version of both sides of the cfc binding:
Call side:
<cfselect bind="CFC:hierchy.getLocs()" bindonload="true" value="LocationID" display="LocationName" name="Location" />
Here is the CFC code:
<cfcomponent output="false">
<!--- Test to see if the passed-in name is in the db already --->
<cffunction name="getLocs" access="remote" returntype="query">
  <cftry>
    <cfquery name="getLocQry" datasource="PHREDsevenInternalSQL">
     SELECT LocationName,LocationID
     FROM Locations
     ORDER BY LocationName
    </cfquery>
    <cfcatch type="Any">
     <cfdump var="#getLocQry#">
    </cfcatch>
  </cftry>
  <cfreturn getLocQry>
</cffunction>
</cfcomponent>
Question about location of the CFC.  I prefer to keep all my CFC's in a CFC directory so that they can be reuseable.  I tried both relative and full location methods but neither worked.  If it didn't find the CFC, then it would throw an error telling me that it didn't find it, but I could not get the query to run and return the info you see above until I moved it into the directory where the calling cfm lives.  Is there some mystical/magically method for letting CF know where it is if it isn't in the invoking directory?  I know that if I were invoking a CFC that I would have to use the full path dotted method.   I actually did that here but it didn't get me a result back.  It just told me that I needed to return a 2D arrary or serialized query, which told me that I wasn't actually running the query even though CF could not find it.  Or I think that is what it meant.
I'm at a total loss as how to proceed.  I've spent 4 days on this now and need to get this issue resolved.
Thanks again for any suggestions/help on this matter.
Len

Similar Messages

  • In attempting to burn a playlist onto a new CD, iTunes seems to burn about half the tracks then shuts down and issues an error msg. (4900) - although that msg. has rec'd a lot of attn., there does not appear to be an adequate or workable fix or suggestion

    In attempting to burn playlists onto new CD's, iTunes regularly completes half the burn, stops, ejects the CD and issues error msg. #4900.  Although there appears to have been similar problems for some time, I cannot locate any suggestions for fixing the problem.  I have installed the newest version of iTunes but that does not appear to have any effect on the problem.  Thoughts?

    I had the same problem after updating my DVD-Drive Firmware.
    Disabling the Option to burn "CD TEXT" solved my problem. Hope that helps !!

  • Issue Commn Error msg in TRY ,,,CATCH

    Hi Experts,
    I need to issue an error message in my code. I am writng this code below in SE38 for sending outbound data extract to PI(SAP Xi).
      TRY.
      Assign row
    *loop at tzcaap into wa_zcaap.
          it_prxkna1-MT_tablename_EXTRACT-RECORD-ROW = itab2.
        it_prxkna1-MT_tablename_EXTRACT-RECORD-flag = itab1_fieldl1-filapcr.
          CALL METHOD meth_prxy->execute_asynchronous
            EXPORTING
              output = it_prxkna1.
          COMMIT WORK.
    *endloop .
        CATCH cx_ai_system_fault .
          DATA fault TYPE REF TO cx_ai_system_fault .
          CREATE OBJECT fault.
          WRITE :/ fault->errortext.
      ENDTRY.
    If PI message interface  is not set up i need to issue an error message.
    please tell me how to do this?
    thanks
    Dan

    Try this:
    DATA fault TYPE REF TO cx_ai_system_fault .
    data: gv_message type string.
    CATCH cx_ai_system_fault into fault.
    gv_message = fault->get_text( ).
    WRITE :/ gv_message.

  • FCP7 - crashing issues, interesting error msg

    OK, more of an informational post here...I'm working on an effed-up project which I'm gonna have to do some forensic work on to make sure these guys don't do this again...lotsa of "worst practice" stuff here, resulting of course in constant crashing...for now, just what the heck is this?:
    "Final Cut Pro quite unexpectedly while using the KGCore plug-in"
    Any takers on what the "KGCore plug-in is"?  Thanks.

    I was getting the exact same error message.\
    I'm running WinXP, 2 GB of RAM. The weirder thing is, if I opened up Lightroom on my wife's acct. on the same computer, it worked perfectly.
    I agree 1.0 is terrible after using 1.3 :-) I tried to re-install 1.2, and 1.3 and got the same error message.
    If it means anything, I had just exported the catalog to my backup drive, deleted the pics, and cleaned up the HD, then Defragged. I don't see where that would be a problem, but ya never know!
    Any help would be great!
    Jeff

  • CK11N: Wrong Error Msg CK 229 (No routing could be found)

    Hi
    When I am running cost estimate for a material which is sub-contracted outside, system is giving error msg CK 229 that "NO Routing Could be found"... Since, this material is sub-contracted, it won't have any
    routing
    In OPR4_CK, CK 229 is defined as a error msg...
    But earlier, we have released std cost estimates for many such sub- contracted materials and system never used to give us this msg
    If I change CK 229 to warning, it will be problem because for Internally manufactured materials routing is MUST and system will just give a warning msg if no routing is found....
    What we are expecting is the behaviour as before.. i.e. for sub- contracted materials, message CK 229 should not be issued as error msg.. But for non-sub contracted materials, it should be error msg
    Regards
    Ajay

    Dear Ajay,
    1.First ensure that sub-contracted material has got a valid sub-contracting info record maintained
    through ME11 against a vendor.The sub-contracting charges will be maintyaine here.
    2.Ensure the source list is maintained for material and vendor combination through ME01.
    3.Ensure the costing variant used in CK11N has the proper priorities maintained for it,say for Eg PPC1
    is used,check in OKKN for this costing variant it has proper priority say first may be for planned
    price,second may be based on value in purchase info record.
    4.Generally for a sub-contracted material the system sometimes shows error message as no souce list
    exists,but routing will be created only for an In-house manufactured products with the procurement type
    E.For a sub-conracted material check the procurement type is E and special procurement value is 30 in
    MRP2 view of the material master.
    Check and revert back.
    Regards
    Mangalraj.S

  • I cant register for eprint - error msg says: ajax submit failed: error = 403, forbidden

    i cant register for eprint - error msg says: ajax submit failed: error = 403, forbidden
    Suggestions?
    Thanks -

    I just viewed the website on my computer, and it appears to be working okay on my end. It's possible that there's a setting in your web browser responsible for what you're seeing. I would recommend trying the following steps:
    1. Try to view the site in a different web browser to see if that's the issue. Normally, Internet Explorer, Google Chrome, Firefox, and Safari all display the website properly. Try one or two of those (other than the one you've been using) and it should do the trick.
    2. If that doesn't work, try resetting Internet Explorer's default settings by clicking "Tools" (on the top menu bar), "Internet Options" (usually at the bottom of that list), "Advanced" (far-right tab), and "Reset" (towards the bottom-right of that box). After resetting the defaults, try viewing the ePrint Settings area again.
    If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Performance issue: Calling a BAPI PO create in test mode to get error msgs

    Hi,
    We have an ALV report in which we display purchase orders that got created in SAP, but either got blocked due to not meeting PO Release strategy tolerances or have failed output messages. we are displaying the failed messages even.
    We are looping the internal table of eban(PR) & calling bapi po create in test mode to get failed messages.
    Now we are facing performance issue in production. What can be the alternate efficient way to get the error msgs with efficiency
    Regards,
    Ayub H.
    Moderator message: duplicate post (different ID, same company...), see below:
    Performance issue calling bapi po create in test mode to get error messages
    Edited by: Thomas Zloch on Mar 9, 2012

    Hi Suvarna,
    so you need to reduce the number of PO-simulations.
    - Likely you checked already, that all EBAN-entries should already be converted into POs. If there would be a large number of "new" EBAN-entries, they don't need to be simulated.
    - If it's a temporary problem: give aid to correct the problems (maintain prices or whatever the error-reasons are) Then the amount of not-converted purchase requisitions (PR) should drop, too
    - If it's likely, that your volume of open PR will stay high: create a Z-Table with key of EBAN and a counter, simulate (once a day) PO conversions and store the results in the Z-table. In your report you can use the results... if they are "new enough". From time to time new simulations should be done, missing master data might be available.
    Maybe users should be allowed to start this 2nd report manually (in background), too -> then they can update the messages after some data corrections themself, without waiting for the result (just check later in online report and do something different in between).
    And you might need to explain, PO simulation takes as long as PO creation... there is no easy or fast way around this.
    Best regards,
    Christian

  • Error issuing in MR8M: MSG No M8210

    Hi Sap Gurus,
    When we reversing the Invoic or cancel the Invoice and then we are getting as issue below
    Error issuing document number: RE_BELEG 01 2011
    MSG N0 : M8210
    Here I have checked the number ranges for invoice doc type RE. Evrey thing is fine and recently we implemented the SD module. so is this something to do with SD? let me know your suggetions on this.
    Thanks,
    Raj.

    Dear Raj,
    Go to T-Code SNRO, there enter RE_BELEG and click on number ranges--> Click on intervals, please check wether you have maintained number range for 01 FY 2011, if not then please maintain the same.
    Hope this helps..
    Br,Vivek

  • When am trying to install Windows server 2008 OS. Error msg was coming 0x80070070:"not having enough space for installation"..Even though i have 20GB space?..Pls resolve this issue earliest.

    Hi Guys
    I have an issue please help on that earliest.
    When am trying to install Windows server 2008 OS. Error msg was coming 0x80070070:"not having enough space for installation"..Even though i have 20GB space?..Pls resolve this issue immediately.
    Regards,
    Shiv

    Is this a clean install or an upgrade?  20 GB, though greater than the minimum, is pretty minimal.  How much memory do you have on the system?  2008 would try to create a page file of 1.5x physical memory, so if you are building on a large
    memory system, you could be having an issue there.
    "Pls resolve this issue immediately"
    Forums are not for support.  They are monitored by people, like yourself, who are willing to take time out of their days to provide the benefit of their past experience.  If you need support, you need to purchase a support contract from Microsoft
    or some other party.
    . : | : . : | : . tim

  • Why did I get error msg that "MSVCR80.dll is missing" when I tried to update iTunes to 11.1.4?  Never had such an issue before when updating iTunes.

    Can anyone help with the question, above?  Why an error msg that "MSVCR80.dll is missing" when attempting to update iTunes to version 11.1.4 on my laptop?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • Error msg 13019 please help

    hi
    i need help in getting rid of this error msg 13019. it started after downloaded a couple of songs. and it will not allow me to sync my nano ipod thanks

    Ive fixed this issue before. The steps are kinda long but they work.
    This is for windows computers with iPod nano that get the error 13019 during or after a sync with iTunes.
    -Open itunes
    --click, edit, click preferences
    --select advanced
    ---make a note of the iTunes media folder location on a notepad.
    ---put a check in organize files
    ---take the check out of copy files
    ---click ok
    --Click file, at the top of iTunes
    --move mouse over library, select organize, and consolidate files. ( This ensures all music in you iTunes will be in the iTunes media folder later.)
    At this point, if you have playlists you want to save:
    -Create a folder on your desktop, call it, playlists
    --Hover you mouse over your playlist in iTunes, should be at the bottom of the blue/grey column on the left.
    --right click the playlist, select export playlist
    --Navigate to your desktop and open the playlist folder and save.
    ---Do this for each playlist you want to save
    -Close itunes
    -Click your start button, and open computer or my computer
    --Using what you wrote down on your note pad, follow the path to the "iTunes folder", NOT the iTunes media folder
    --Open the iTunes folder.
    --Stop here
    -You will see icons that look like folders and you will see icons that look like files-
    -You will KEEP the FOLDERS
    -You will DELETE the FILES
    --If it makes you more comfortable you can cut the files out and paste on your desktop, but as of now we do not need the files any longer as we have the playlists backed up. Remember-Keep the folders.
    --That was the magic--
    -Disconnect your iPod if connected.
    -When you open your iTunes, it will be empty, that is OK. We are recreating the library. Everything will come back in a few seconds.
    -Click file at the top
    --Select, add FOLDER to library, not to be confused with add file.
    --In the window that pops up, locate and click on computer or my computer
    --From here follow the path to the iTunes media folder on your note pad, but do not open the iTunes media folder.
    --Click the iTunes music/media folder one time so it highlights.
    --On the bottom right you will have option to select folder, or choose folder or OK. Hit that button.
    All you music will start to import back into iTunes.
    -Plug in iPod after completed
    --a message pops up about being synced with a different library.
    --Click erase and sync
    --Watch all your songs go on your iPod with no error message.
    From here you may sync your iPod the way you want with out worrying about the persnickety error 13019!!!!!
    Hope this helps!!!
    Julian
    p.s. Follow the directions exactly.
    p.s.s. To add your playlists back to iTunes:
    -Click file at the top of the screen
    --move your mouse over library, selecte import playlist
    --on the new screen that pops up, navigate to your desktop
    --open the playlist folder, select the first playlist, hit ok
    --repeat for each playlist exported

  • Error msg when changing the MRP type in ME22N

    Hi,
    When i change MRP type from MRP to Manual  in ME22N, it will come out the error msg:Purchase request mandatory for MRP generated Purchase order (Application area: ME Message no. ME901)!  My question is how to change this error msg to warning msg?
    From SPRO-Material Management-Purchasing-Environment Data-Define Attributes of System Messages ,i can not find the entry regarding this issue.
    Any suggestion!
    Thanks!

    Hi,
    Sometimes end user want to add some item without PR under MRP PO.
    As before system will only indicate the warning msg that we change to error msg three month ago, but i forgot how to change!
    thanks!

  • Payroll Error msg "The gross wages do not cover the negative offset that has been forwarded, therefore, no grossup is permitted".

    Hi Experts,
    I am getting the below error msg while running payroll for an US employee.
    "The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted."
    I am getting this error msg just after USTAX function processing part of UTX0 subschema. I am highlighting below facts & findings for your reference.
    As per a client requirement,  I have configured a new gross up WT (ER benefit contribution) for a benefit plan (IT 0168) and the changes are in QAS system. The changes have to be reflected in period 20/2014 (4th May'14- 10th May'14) with retro effective 01/01/2014 as per the benefit plan record maintained from 01/01/2014.
    This error msg is coming only for few employees. In my example, when I am running payroll in period 20/2014 with forced retro as 01/01/2014, system is giving error in period 14/2014 (23rd Mar'14-29th Mar'14). When I checked the pay result of this employee for period 14/2014, I can see the /101 is in -ve value and there is claim generated for this period. So I think, eventhough, a value of $ 2.53 is getting added as per the IT 0168 record, its not helping to give a +ve gross value and thus tax is not able to recoved on the same.
    I hope you have come across this issue and can help me to assist to resolve the error msg.
    Regards,
    Prakash  

    If you have correctly configured payroll the system should automatically off set that and should create wage tyes /561 or /563 in RT.

  • I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the proble

    I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the problem when reopened

    https://forums.adobe.com/message/6219922#6219922
    See if the issue in the thread above helps you to solve your problem.

  • Prob While Creating Customer Master - Error Msg "Number '0' Not defined"

    Dear Experts,
    I am Trying to create a customer with diff SP, SH, BP and PY. I was able to create Customer for BP and PY.
    But now when I go and try to created a SH customer with xd01 for my Sales.Org (99SS-XS-X1),
    In the Sales Area Data, Partner Function Tab, Partner function field the Number is 0 before the SH function field (instead of Internal / Blank) and at the bottom  give the error Msg that "Number '0' is not define". I have Cross checked the my Number ranges(no-22 from 7000-7999), account groups(ZA22)  and Partner function (SH), everything seems to Ok. But unable to find the solution. plz help me with this if you have ever come across such a prob.
    I would like to mention that the previously had no issues in creating customers following same procedure. I guess some one must have changed some settings by accident.
    This prob is only specific while creating only SP and SH Customers.
    Many ThanX.

    Thanks Amit for your valuable suggestion, But today I was able to solve the problem with help of my trainer, Someone has changed the default settings in partner determination, the solution is below which will help anyone who may come across a similar Problem.
    Spro->IMG->Sales & Distribution->Basic Functions->Partner Determination->Setup Partner Determination->Setup Partner Determination for Customer Master->Partner Functions
    Find the partner Function SP/SH/BP/PY there partner type should be KU. If anyone changes this settings Then the above problem arises.
    Regards.

Maybe you are looking for

  • How do I sum across the same table in multiple sheets?

    So I'm trying to figure out an annoying problem. I have a largish (100's) amount of data with each collection being a table in a sheet, one sheet per data collection. This means I have 100's of sheets, each with the same table name and layout. Each s

  • How to customize or change the subject of the mail send throu SM36

    HI, i m using SM36 to Schedule some of reports and send the output of those reports as an attachement to particular email ids. It is working fine people are receive mails with an output of the report as an attachement , but the subject is coming like

  • Printing either doesn't work or prints 2-up for no reason?

    My system was rebaselined recently, and now I can not get Acrobat Pro 9.0* or Reader 11.0.2 to print correctly. If they do print, I get two pages per sheet, with unreadable 4-point type. More often, they don't print. I've seen this one a few times: E

  • Generated galleries

    Hi. I generated galleries form LR and I wonder if there is a option to add it as a gallery to wordpress, not as a single fotos and there creating gallery but as a gallery, by useing option WEB -> upload settings. I will be greatful for help. regards,

  • Changes to timesheet using PSI against Project 2013 not persisting...

    Since we migrated from Project Server 2007 to 2013 we have been updating our custom code which mainly involves processing the timesheets. As has been stated in many places, the only way we could find to lock timesheets and prevent modification, recal