Application invoked from portable space (USB) Crashed on windows 8.1 OS

Hello ,
I have an application available on portable USB Drive (Memory present on external controller ), I can open this application on PC when USB is connected to PC.
USB will act like mass storage device ,and  application code is kept inside mass storage device .
when this application is evoked using binary file , it will send request (req.txt) to another controller through HTTP server and controller will send response back  response (RES.txt) (Textfile format)
when RES.txt file will come on Portable drive , IT WILL GET CORRUPT . and application will crash.
i did Recovery and log is as follow :
C:\Users\Bino>chkdsk F:/r
The type of the file system is FAT.
Volume Serial Number is 0123-4567
Windows is verifying files and folders...
The size of the \RSP.TXT entry is not valid.
File and folder verification is complete.KP[;MK
Convert lost chains to files (Y/N)? y
512 bytes in 1 recovered files.
Windows is verifying free space...
Free space verification is complete.
Windows has made corrections to the file system.
No further action is required.
    1,415,680 bytes total disk space.
          512 bytes in 1 hidden files.
        5,632 bytes in 5 folders.
      512,512 bytes in 70 files.
      897,024 bytes available on disk.
          512 bytes in each allocation unit.
        2,765 total allocation units on disk.
        1,752 allocation units available on disk.
This works fine with windows 7 and 8 OS.
please guide me about the problem.

Thank you for the Replay,
I performed steps provided by you , but it did not help.
on other hand, i have collected some more data regarding
this issue.
1. went to SAFE Mode and tried to run the application from USB
2. got Exception "The instruction at 0x00407038 referenced memory at 0x00000078. The memory could not be read"
some more info on setup :
we have a micro controller on board, some part of memory (present on board) is used to keep application and server. we can open this memory via USB connection to PC. then we can see all files present at this memory on PC (behaves like externally connected
USB Drive) . 
When we start this application . it will start the server . server will send 'request file' to controller soft. (this part is working fine), and controller will send back response , as soon as response file(RSP.txt) will appear in USB drive it will get corrupted
.(here RSP.txt file is present in controller USB decided memory but to open this we are using PC RAM). crashing of RSP.txt file will crash whole application. This RSP File is of FAT Type.
i have copied application in another external drive and tried to RUN application. it will not crash  . but USB can not receive the "RSP.txt" (as it is not in communication with controller soft). and problem is in response file.
BR,
sanjyot

Similar Messages

  • 845E Max motherboard front usb crashing in windows xp

    Were running an 845emax based system using a p4 2.6 with a Antec easyusb 2.0 plugged in to the front of a desktop case.  We went in to the bios and told it to recognize 6 usb slots and played with the legacy setting.  Everytime we plug in a usb 2.0 hard drive in to the front or d-bracket usb slots the system hangs but if we plug it in to the back usb it works fine.  Is anybody else having this problem or does anybody else have any idea how to solve it?    :O

    Funny but I am having a similar problem with a Sandisk USB 2.0 CF Card reader. If I plug it in the front the system hangs but from the back (motherboard not d-bracket) it works. Other USB (1.1) devices work off this front hub.
    I am using a Lian Li case with USB 2.0 jacks in the front. On my other PC, same Lian Li case but with an Asus A7N8X motherboard, plugging the CF reader from the front case hub works fine.
    So it does not look like a problem with the card reader in my case. What BIOS version are you using?
    jaym

  • I am recovering from a hard drive crash and Windows 7 reinstall.

    I have reinstalled LR 4.3, photos still in same external drive location, LR catalog back to C:My Pictures file (from backup).
    How do I now add these photos and connect the LR4.3 with the LR catalog to preserve my edits to date on these photos?
    Thanks

    If you have Lightroom installed, then all you should have to do is double click on the catalog that you restored.  If the external hard drive letter is the same as it was before, you should be ready to go.  If the letter has changed it will be necessary for you to use the find missing folders feature to get things synchronized.

  • Two problems: 1) Cannot install Tor's proxy server[s] feature on Firefox 4, 2) Cannot import Favorites from Explorer 9 [Firefox crashes] in Windows 7 OS..

    can't think any details - sorry 'bout that.

    The you tube site was working sunday and the next day it's all question marks. What up with this?? I'm working with mac 10.4.7 and Qtp 7.1.2

  • Issue w/ Spaces - Applications moving from screen to screen

    Have been using that laptop for 2 months now - love it. Spaces is a very nifty feature (have it set it up on 4 screens). While I know how to navigate between spaces (using control+arrow for example), very often, my apps are moving from one space to the other.
    While I went into System Preferences to assign specific apps to a specific space, I often have to drag back apps into their original space. That tends to happen quite often when I have several apps from Office open (I usually have entourage, excel and powerpoint open at the same time, each in its own space).
    Am I doing something wrong. i really love Spaces but that issue is really counter-productive and right down annoying.
    Thanks for your help!
    Message was edited by: New Apple Lover!!

    There is a known issue with MS Office 2008 not respecting Spaces.
    It happens with some Adobe applications to.

  • Spaces Application Assignments from 10.6 transferred to 10.7?

    I just upgraded to Lion with the release yesterday, and I noticed that when I'm using mission control, my spaces application assignments were still active from 10.6 (As in, chrome ALWAYS appears in desktop 2).
    Mission control is a little more abstract than spaces was and I don't want these application assignments anymore, but theres no way to turn them off in system preferences on 10.7
    Does anyone have any ideas how I can turn them off?

    If I understand you correctly you should be able to right-click the icon on the dock when it is open and go "Options" and there you should find an option to lock to that space, have open in all spaces, or unlock from all spaces.

  • Faults in BPEL when invoked from a Custom built Web Application

    Hello there,
    I have developed a BPEL flow for a HealthCare demo and it works fine and all is well when it is invoked from the BPEL Console's initiate screen.
    I developed a webapplication to invoke the same (using the regular com.collaxa api for invokation of any BPEL process). It invokes the BPEL successfully and I can see the whole Payload in the 'receiveInput' section of the BPEL Flow. But the very First 'Assign' in which i just assign a text string as a default value to an input element faults out stating that the 'to' field is a 'zero node'... The assign stage also shows the payload with all values in it. But it errors out...
    here is the payload in the 'receiveInput' stage:
    <inputVariable>
    <part name="payload" >
    <HealthCareWorkFlowProcessRequest>
    <enduser_name>pavan</enduser_name>
    <enduser_phone_number>08046521345</enduser_phone_number>
    <enduser_username>pkvedam</enduser_username>
    <enduser_email_id>[email protected]</enduser_email_id>
    <problem_desc>cancer</problem_desc>
    <prob_relates_to>onchology</prob_relates_to>
    <doctor_assigned/>
    <doctor_assigned_email_id/>
    <proposed_date>13-10-2006</proposed_date>
    <proposed_time>09:00</proposed_time>
    <proposed_duration>01:00</proposed_duration>
    <patient_comments>swelling in the arm pit</patient_comments>
    <receptionist_comments/>
    <doctor_comments/>
    <receptionist_username>employee</receptionist_username>
    <receptionist_email_id>[email protected]</receptionist_email_id>
    </HealthCareWorkFlowProcessRequest>
    </part>
    </inputVariable>
    Here is the ASSIGN stage errors out (copied to clipboard):
    [2006/10/14 10:44:54]
    Error in <assign> expression: <to> value is empty at line "46". The XPath expression:
    "/child::client:HealthCareWorkFlowProcessRequedst/child::client:receptionist_username"
    returns zero node, when applied to document shown below:
    <HealthCareWorkFlowProcessRequest>
    <enduser_name>pavan</enduser_name>
    <enduser_phone_number>08046521345</enduser_phone_number>
    <enduser_username>pkvedam</enduser_username>
    <enduser_email_id>[email protected]</enduser_email_id>
    <problem_desc>cancer</problem_desc>
    <prob_relates_to>onchology</prob_relates_to>
    <doctor_assigned/>
    <doctor_assigned_email_id/>
    <proposed_date>13-10-2006</proposed_date>
    <proposed_time>09:00</proposed_time>
    <proposed_duration>01:00</proposed_duration>
    <patient_comments>swelling in the arm pit</patient_comments>
    <receptionist_comments/>
    <doctor_comments/>
    <receptionist_username>employee</receptionist_username>
    <receptionist_email_id>[email protected]</receptionist_email_id>
    </HealthCareWorkFlowProcessRequest>
    <selectionFailure>
    <part name="summary" >
    <summary>XPath query string returns zero node. According to BPEL4WS spec 1.1 section 14.3, The assign activity &lt;to&gt; part query should not return zero node. Please check the BPEL source at line number "46" and verify the &lt;to&gt; part xpath query. </summary>
    </part>
    </selectionFailure>

    oops... sorry... I had typed it in as there is no way to copy that 'error message' on to the clipboard from the BPEL FLOW depiction.
    it must have read 'HealthCareWorkFlowProcessRequest'...
    the problem is not with the typo... :(
    Am not able to find the root cause... but the flow fails when invoked from my web application...

  • 5 crashes after upgrade to ios my address book immediately and I can not access emails, because the password is wrong and when I go to mail settings crashes the application immediately from

    5 crashes after upgrade to ios my address book immediately and I can not access emails, because the password is wrong and when I go to mail settings crashes the application immediately from 

    Same issue also. Occurring both on my iPad 2 and iPhone 4 after upgrading to ios 5
    By the way, Mattban and Sancasslano, are either of you also experiencing any of the following issues:
    * Problems with Contacts either crashing or listing no names
    * Problems with turning iCloud on or off for application under Settings->iCloud... On both mine I just get a pop up saying that iCloud is being turned off but Contacts then just locks up.
    * General problems when trying to synch applications on the iPad or iPhone over iCloud?
    I am wondering if all these issues are in someway related to and whether it is worth trying to turn off iCloud somehow, though I cannot work out how this can be done once set up.

  • Spaces: Possible to hide applications from other spaces?

    Hi
    I'm wondering if it's possible when you press alt+tab and see the "application switcher", to show only the applications that are located in your current Space? f.x. if I have 5 applications open, but 2 of them are in the Spaces window number 1, then the application switcher will only give me a list of those two applications.
    This is possible on Ubuntu, and is an extremely nice function.
    regards
    frímann

    no, this is not possible in OS X. some 3rd party virtual desktop programs might be able to do it, I'm not sure.
    you can ask Apple to implement this feature here:
    http://www.apple.com/feedback/macosx.html
    P.S. you can use exposé to show all active windows in all applications in the current space. not quite the same thing what you are asking but reasonably close.
    Message was edited by: V.K.

  • How to stop Windows from mounting a usb fat32 flash drive

      Here's the problem. I have 4 identical Sandisk Cruiser 32GB flash drives. Windows has never mounted these drives in the past, until several months ago. Now Windows is mounting 2 of these drives but not the other 2. When the drives get mounted I end
    up with about 5GB of files being added to each drive because they now show System Volume Information and the Recycle Bin. The amount of data added varies depending on the system I plug up to. On one Win 7 machine it can add up to 10+ GB. I would like to 
    be able to use the entire space for my backups but am unable to. These two drives are only used for Music and Videos. Is there a way to stop these two drives from being mounted in windows systems?
    Thanks,  Bill

    Sorry but my figures are not exaggerated. Right now on this machine "System Volume Information" is showing as 3.2 GB and "Recycle Bin" is showing as 2.9 GB.  I don't own these computers I use so I can't make changes to them such
    as emptying the recycle bin. I only use portable applications from my flash drives on friends systems. By windows loading these two folders to my flash drives it it effectively stopping me from being able to use all the space.
     Now as I mentioned in the first post, windows is only loading the SysVolInfo and recycle bin folders to 2 of the 4 drives. I am able to use ChkDsk on the two drives that are unaffected by windows but not on the other two. I get the message that windows
    can't check the volume while it is in use and would I like to check it at startup. This always fails because, I think, These computers do not recognize the usb drives until windows is loaded. I have a work around for this in a utility that will unmount the
    two drives and run ChkDsk and then remount them.
     This doesn't answer the question though as to why all of a sudden this is happening to 2 of the 4 drives? And on several different machines? Windows does assign a drive letter to all 4 drives as it always has however the 2 drives without the system
    folders are able to be scanned in windows without unmounting them.
     I would really appreciate any insight into this behavior I could get.
    Thanks, Bill

  • Error while deploying application in Web center Spaces via ant script

    Hi all,
    Jdeveloper version 11.1.1.6
    I am trying to deploy application in Web center Spaces using ant script .
    I am able to deploy it if i keep these two files in local machine .
    wls.userkey=C:\\myFiles\\myuserkeyfile.secure
    wls.userconfig=C:\\myFiles\\myuserconfigfile.secure
    where as when I am trying to pick these files from remote web-logic server I am getting following error
    [exec]  Deploy started at Thu Dec 12 17:26:41 2013
    [exec]
    [exec] Please enter your username :Please enter your password :
    [exec] java.lang.NullPointerException
    [exec] This Exception occurred at Thu Dec 12 17:26:41 GMT+05:30 2013.
    [exec] at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:176)
    [exec] at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
    [exec] at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:597)
    [exec] at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    [exec] at org.python.core.PyMethod.__call__(Unknown Source)
    [exec] at org.python.core.PyObject.__call__(Unknown Source)
    [exec] at org.python.core.PyObject.invoke(Unknown Source)
    [exec] at org.python.pycode._pyx4.connect$1(<iostream>:16)
    [exec] at org.python.pycode._pyx4.call_function(<iostream>)
    [exec] at org.python.core.PyTableCode.call(Unknown Source)
    [exec] at org.python.core.PyTableCode.call(Unknown Source)
    [exec] at org.python.core.PyFunction.__call__(Unknown Source)
    [exec] at org.python.pycode._pyx72.f$0(C:\Abhishek_Mr.Price\SampleWebCenterSpacesExtensions\SampleWebCenterSpacesExtensions\WebCenterSpacesSharedLibExtension\extspaces.py:14)
         [exec] at org.python.pycode._pyx72.call_function(C:\Abhishek_Mr.Price\SampleWebCenterSpacesExtensions\SampleWebCenterSpacesExtensions\WebCenterSpacesSharedLibExtension\extspaces.py)
    [exec] at org.python.core.PyTableCode.call(Unknown Source)
    [exec] at org.python.core.PyCode.call(Unknown Source)
    [exec] at org.python.core.Py.runCode(Unknown Source)
    [exec] at org.python.util.PythonInterpreter.execfile(Unknown Source)
    [exec] at weblogic.management.scripting.WLST.main(WLST.java:124)
         [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [exec] at java.lang.reflect.Method.invoke(Method.java:597)
    [exec] at weblogic.WLST.main(WLST.java:29)
    [exec] None
    [exec] #########################################################
    [exec] #####     Deployment Failed #########
    [exec] #####     Contact support with Exception Stack #########
    [exec] #########################################################
    [exec]
    [exec]
    Chandana

    Any Updates

  • How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility

    How do i repair or recover data from a corrupt USB external hard drive that does not show up on my Mac desktop or disk utility?
    Last night i was using my external hard drive, for some reason the folder just closed and i couldn't find it on my desktop.
    After googling solutions, i found it in the disk utilities, i clicked on the 'repair' button many times, but it said the 'error...' message.
    So i ejected it to try again, now when i connect the USB external hard drive it doesn't show up on my desktop or disk utilities.
    I really just want to either repair or recover the data on it because it literally has everything (documents, work files, photos etc) on it,
    I downloaded an application to recover my files but it needs the USB to at least show up.recognise it which mine doesn't.
    I know i should've backed it up on another USB, this definitely teaches me for next time to back up all my files.
    Are the files lost forever or can i recover them by going to a shop or using a software?

    Thank you for responding.
    This might sound stupid since i'm not really knowledgeable with Macs,
    but since all my files were moved from my mac computer to the external hard drive,
    is it possible to recover those files through my Mac - like recovering deleted files? 

  • Application crashes in Windows 7 64bit made in Labview 2010 sp1 f2 with Fault module name%3A lvrt.dll%2C version 10.0.0.4033 and exception code c0000005

    I build an application exe and then its installer along with run time environment.
    The installers instals the application correctly but when I try to execute the application, I get an error that application has crashed and Windows must close it down or search for solutions online with this additional information for the crash. 
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: AGMS.exe
    Application Version: 1.3.0.0
    Application Timestamp: 4c24e8f5
    Fault Module Name: lvrt.dll
    Fault Module Version: 10.0.0.4033
    Fault Module Timestamp: 4c9273f4
    Exception Code: c0000005
    Exception Offset: 00005310
    OS Version: 6.1.7601.2.1.0.256.1
    Locale ID: 1033
    Additional Information 1: 0a9e
    Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information 3: 0a9e
    Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt
    I am using labview 2010 sp1 32 bit on a 64-bit machine, with the following specs
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.130318-1533)
    Language: English (Regional Setting: English)
    System Manufacturer: Dell Inc.
    System Model: Dell System XPS L502X
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 8192MB RAM
    Available OS Memory: 8106MB RAM
    Page File: 3457MB used, 12753MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode
    The exe /application runs fine on my PC but when I try to run it on another PC it crashes. The other PC has similar specs as given below
    Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.140303-2144)
    Language: English (Regional Setting: English)
    System Manufacturer: LENOVO
    System Model: HuronRiver Platform
    BIOS: Default System BIOS
    Processor: Intel(R) Core(TM) i3-2330M CPU @ 2.20GHz (4 CPUs), ~2.2GHz
    Memory: 4096MB RAM
    Available OS Memory: 4010MB RAM
    Page File: 1359MB used, 6658MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode
    I tried another machine, 64 bit of course, as I want to deploy my application on a 64bit PC, but still got the same problem.
    This other machine was from HP, iCore 3 (4 CPUs) 2.2GHz, 4GB RAM and running Windows Professional 64 bit.
    Now as I see it, it could be a Run-time environment mis-match error.
    For this I tried installing a 64 bit LVRTE from NI, but still no sucess.
    I checked DEP, for all 3 PCs and it was set to the following
    Turn on DEP for essential Windows programs and services only (first option).
    I am confused. I can not find a solution for this and it is really frustrating.

    But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
    Since from the picture you can see its including the support installers from '\Program Files (x86)\'
    The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
    I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
    Yes I did reboot every time after I ran the installation.
    Still getting the same error.

  • Ios7 bookamrking web application to home screen via Safari crashes after login and when we try to open any link inside. Can anyone please tell me if there is any scheduled fix for this bug in safari?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

    ios7 bookmarking web application to home screen via Safari, crashes after login and when we try to open any link inside from the icon that gets created on the home screen. Can anyone please tell me if there is any scheduled fix for this bug in safari?
    From what i understand i see that - Cookies are not transferred between your website and your webapp when installing the icon on the home screen (for authentication purposes for example). It was working until 6.1 and now it’s not working anymore.
    Can someone please tell me if this bug will be fixed in any future release, if so the ticket number of some kind that i can track, or if there is a workaround for this issue?

  • Using APEX_MAIL from within a procedure invoked from DBMS_JOB

    I have done a lot of googling and wasted a couple of days getting nowhere and would appreciate some help. But I do know that in order to use APEX_MAIL from within a DBMS_JOB that I should
    "In order to call the APEX_MAIL package from outside the context of an Application Express application, you must call apex_util.set_security_group_id as in the following example:
    for c1 in (
    select workspace_id
    from apex_applications
    where application_id = p_app_id )
    loop
    apex_util.set_security_group_id(p_security_group_id =>
    c1.workspace_id);
    end loop;
    I have created a procedure that includes the above (look towards the end)
    create or replace procedure VACANCIES_MAILOUT
    (p_application_nbr number,
    p_page_nbr number,
    p_sender varchar2)
    AS
    Purpose: Email all people registerd in MAILMAN [email protected]
    with details of any new vacancies that started listing today.
    Exception
    when no_data_found
    then null;
    when others then raise;
    l_body CLOB;
    l_body_html CLOB;
    l_vacancy_desc VARCHAR2(350);
    to_headline varchar2(200);
    to_org varchar2(100);
    l_vacancies_desc varchar2(2000);
    to_workspace_id number(22);
    CURSOR vacancies_data IS
    select DISTINCT v.headline to_headline,
    ou.org_name to_org
    from VACANCIES v,
    Org_UNITS ou
    where
    ou.org_numb = v.Org_Numb
    and v.public_email_sent_date is Null
    Order by ou.org_name, v.headline;
    BEGIN
    BEGIN
    FOR vacancies_rec in vacancies_data
    -- build a list of vacancies
    loop
    BEGIN
    l_vacancy_desc := '<br><b>' ||
    vacancies_rec.to_org || '<br>' ||
    vacancies_rec.to_headline || '</b><br>';
    -- l_vacancy_desc :=
    -- vacancies_rec.to_org || ' - ' ||
    -- vacancies_rec.to_headline ;
    l_vacancies_desc := l_vacancies_desc || l_vacancy_desc;
    END;
    END LOOP;
    END;
    l_body := 'To view the content of this message, please use an HTML enabled mail client.'||utl_tcp.crlf;
    l_body_html :=
    '<html>
    <head>
    <style type="text/css">
    body{font-family:  Verdana, Arial, sans-serif;
                                   font-size:11pt;
                                   margin:30px;
                                   background-color:white;}
    span.sig{font-style:italic;
    font-weight:bold;
    color:#811919;}
    </style>
    </head>
    <body>'||utl_tcp.crlf;
    l_body_html := l_body_html || l_vacancies_desc
    || '<p>-----------------------------------------------------------------------------------------------------------------</strong></p>'
    ||utl_tcp.crlf
    || '<p>The above new vacancies have been posted on the <strong>Jobs At Murdoch</strong> website.</p>'
    ||utl_tcp.crlf
    ||'<p>For futher information about these vacancies, please select the following link</p>'
    ||utl_tcp.crlf
    ||'<p> Jobs At Murdoch </p>'
    ||utl_tcp.crlf
    ||'<p></p>'
    ||utl_tcp.crlf;
    l_body_html := l_body_html
    ||' Regards
    '||utl_tcp.crlf
    ||' <span class="sig">Office of Human Resources</span>
    '||utl_tcp.crlf;
    for c1 in (
    select workspace_id
    from apex_applications
    where application_id = 1901)
    loop
    apex_util.set_security_group_id(p_security_group_id => c1.workspace_id);
    end loop;
    apex_mail.send(
    p_to => '[email protected]',
    p_from => '[email protected]',
    p_body => l_body,
    p_body_html => l_body_html,
    p_subj => 'Jobs At Murdoch - new vacancy(s) listed');
    update VACANCIES
    set public_email_sent_date = trunc(sysdate,'DDD')
    where public_email_sent_date is null;
    commit;
    END;
    but still get the error
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /oracle
    System name: Linux
    Node name: node
    Release: 2.6.18-194.17.1.el5
    Version: #1 SMP Mon Sep 20 07:12:06 EDT 2010
    Machine: x86_64
    Instance name: instance1
    Redo thread mounted by this instance: 1
    Oracle process number: 25
    Unix process pid: 5092, image: (J000)
    *** 2011-07-12 09:45:03.637
    *** SESSION ID:(125.50849) 2011-07-12 09:45:03.637
    *** CLIENT ID:() 2011-07-12 09:45:03.637
    *** SERVICE NAME:(SYS$USERS) 2011-07-12 09:45:03.637
    *** MODULE NAME:() 2011-07-12 09:45:03.637
    *** ACTION NAME:() 2011-07-12 09:45:03.637
    ORA-12012: error on auto execute of job 19039
    ORA-20001: This procedure must be invoked from within an application session.
    ORA-06512: at "APEX_040000.WWV_FLOW_MAIL", line 290
    ORA-06512: at "APEX_040000.WWV_FLOW_MAIL", line 325
    ORA-06512: at "APEX_040000.WWV_FLOW_MAIL", line 367
    ORA-06512: at "HRSMENU_TEST.VACANCIES_MAILOUT", line 94
    ORA-06512: at line 1
    Can someone please tell me what what stupid thing I am doing wrong? The procedure worked when invokded from SQL Workshop but fails in a DBMS_JOB.
    much thanks Peter

    I think that might help...
    http://www.easyapex.com/index.php?p=502
    Thanks to EasyApex..
    LK

Maybe you are looking for