Open_form with session causing deadlock after commit is applied in called form

Hi all,
i am using forms 10g r2. i have two forms say A and B. I am calling form B from A using open_form built-in with session_mode is set to session. Form opening without error and i can update execute queries and insert records on both forms but.
Let say i make some changes on form A and then without committing them i am jumping to form B and making some changes here on form B also i commit these changes which i made on form B and here form hangs and i could not do anything. By checking into session table i found that row is locked in the block of form A where i left the changes un-saved. What i think this should not happen because if both the forms are open in separate sessions then why form is placing lock over another opened form changes. I solved this problem when i changed locking mode property of Block at form A to DELAYED. Then it was OK. Is it the default behavior or something is wrong in my forms.
Xem

This is not the kind of problem that lends itself well to a forum like this one. I have never seen this be a plug-in specific problem and I would be very surprised if it turned out to be. Please call Oracle Customer Support and ask them to analyze your problem.

Similar Messages

  • ORA-01403 NO DATA FOUND ERROR AFTER SELECTING PORTAL LINK TO CALL FORM

    I have a portal application link that I use to call a form. The field on this
    form gets populated based on a bind variable that is passed in by the link.
    This was working 2 weeks ago but now when I click on the link to call the form
    I am receiving the following error "AN UNEXPECTED ERROR OCCURRED ORA-01403 - NO
    DATA FOUND". This happens in more than one application where I set this type
    of link to call a form. Anyone have any ideas?!!

    Hi Andy,
    Thank you very much for your time!
    The fields in the form are all right. The fields get filled in perfectly in most of the cases, only those few rows don't :(
    However, now that you wrote of the process of row fetching, I think that maybe I have an idea of what is happening. My table has two primary keys (two fields together make the primary key, I don't know how it's called in English), one of them is a date. (I know that this is quite a bad practice, but, much to my regret, I cannot change it.) Now, this date is in YY-MON-DD format, which is used by my language.
    One of this dates is from 1800's. As my report shows it, the year gets truncated to the last two character. APEX passes this value into the field of the form using varchar2, and when it tries to cast it back to YY-MON-DD format, then it supposes it's from 1900's instead of 1800's. With 19xx however it doesn't find my field.
    Does this sound logical? It seems logical to me, but I am a beginner... :(
    Still, if this is the core of the problem, it's most possibly not the only problem, because I have dates from 19xx which can't identify their rows... But I am suspicious because of these date things. If you have any idea then please let me know.
    Thanks,
    Eszter

  • How can I pass paramters to next page with session protection on?

    Hi, guys:
    I encounter a problem of session protection problem. In a report page I set up a column of "map" link, so I can pass several parameters extracted from the same row to the new page where I can show map. I was using javascript popup2, and it worked well.
    javascript:popUp2('f?p=&APP_ID.:3006:&SESSION.::&DEBUG.::P3006_H_OFFENDER_NAME,P3006_H_OFFENDER_ID,P3006_H_ADDRESS_LATITUDE,P3006_H_ADDRESS_LONGITUDE,P3006_H_PHYSICAL_LATITUDE,P3006_H_PHYSICAL_LONGITUDE,P3006_H_ADDRESS,P3006_H_PHYSICAL_ADDRESS:#Offender Name#,#Offender ID#,#Address Latitude#,#Address Longitude#,#Physical Latitude#,#Physical Longitude#,#Address#,#Physical Address#','650','450');However, I am required to set all of pages, items with session protection now. after that I got problem as:
    Attempt to save item P3006_H_OFFENDER_NAME in session state during show processing, item has Internal Only protection.
    Contact your application administrator.
    So I changed it as redirect a page in application, and try to pass less parameters and query other parameters, but I got the similar problem:
    Attempt to save item P3006_H_OFFENDER_ID in session state during show processing, item has Internal Only protection.
    Contact your application administrator.
    I notice most of solutions would be turning the session protection as unrestricted for these items, but I am not allowed to do this. Is there any way that I can pass parameters from a row in a report while session protection is on?
    Thanks a lot!
    Sam

    I can quickly show you what I've done to solve for this:
    First, create a PL/SQL Anonymous block, application level process of type "On Demand"  Here is an example of what I'm using - I named the process is SIMPLE_SSP (name is important later)
    declare
    l_url varchar2(1000);
    s_url varchar2(2000);
    begin
    l_url := wwv_flow.g_x01; -- the apex name is g_x01 - note the key in the key value we pass later in javascript
    s_url := apex_util.prepare_url(p_url => l_url,p_checksum_type => 'SESSION'); -- and here's where we get checksum
    htp.p(s_url); -- and here's where we return it
    end;
    Next, I create a javascript function that can be called in the link
    function redir_ssp(p1,p2,p3) {
    var param1 = p1;
    var param2 = p2;
    var param3 = p3;
    // notice when creating our Ajax object we reference the Application process by name
    var ajaxReq = new htmldb_Get(null, &APP_ID., 'APPLICATION_PROCESS=SIMPLE_SSP', 0);
    var sURL = 'f?p=&APP_ID.:4:&SESSION.::::P4_PARAM1,P4_PARAM2,P4_PARAM3:'+param1+','+param2+','+param3;
    // notice the 'x01' literal mirrors the built in apex var we used above. x01, x02, x03 ... etc match their counterparts.
    // you can use many parameters as long as you deal with them in the proc the same way
    ajaxReq.addParam('x01',sURL);
    var retURL = ajaxReq.get(); // and the htp.p is passed into the ajax get which is then returned in the retURL
    //alert(retURL); // for debug
    window.location.href = retURL; //this is the redirect.
    Finally in the link
    <a href="#" onclick="Javascript:redir_ssp(p1,p2,p3)">link text</a>
    This can be easily altered to use in a pop up.

  • Called form crashes, when called with default option

    Here is the problem statement.
    My problem is regarding the called_form built-in function of Oracle forms.
    I am calling call_form within a loop.
    call_form('schdule_task');
    In first iteration it opens the called form and when the user clicks on exit button it comes back to the calling form and starts next iteration.But in next iteration the called form comes up and crashes immediately, causing the application to crash.
    The calling form does not get a chance to become visible because by default call_form executes with 'HIDE'(hide the calling form) option.
    Now if I execute the above mentioned call_form statement with "NO_HIDE" option then the called form does not crash in any of the iteration and the loop runs fine till the end.
    call_form('schdule_task',NO_HIDE);
    What can be the problem? Is it related to call_form call or something else?

    Here is the problem statement.
    My problem is regarding the called_form built-in function of Oracle forms.
    I am calling call_form within a loop.
    call_form('schdule_task');
    In first iteration it opens the called form and when the user clicks on exit button it comes back to the calling form and starts next iteration.But in next iteration the called form comes up and crashes immediately, causing the application to crash.
    The calling form does not get a chance to become visible because by default call_form executes with 'HIDE'(hide the calling form) option.
    Now if I execute the above mentioned call_form statement with "NO_HIDE" option then the called form does not crash in any of the iteration and the loop runs fine till the end.
    call_form('schdule_task',NO_HIDE);
    What can be the problem? Is it related to call_form call or something else?

  • Globals and Open_Form with new session

    How are Globals treated when calling Open_Form with the SESSION parameter? Are they session specific?
    I am trying to pass information between two forms within different sessions. Would parameters allow me to do this? Is there a way of passing globals between forms in different sessions?
    thanks in advance
    n

    Sorry but global variables are specific to session and do not span over multiple sessions. U could use parameter forms instead.

  • Stateful Web Services: how to free session after commit?

    Hello,
    We're developing an interface via web services to DM5.
    The web services are stateful, so we can handle BAPI_TRANSACTION_COMMIT/ROLLBACK.
    Apparently the web service session is not freed after the call to BAPI_TRANSACTION_COMMIT/ROLLBACK. This is visible in a test that sends 100 operations very quicly, the app server stops responding after the first 90 calls (actually the server starts responding a void text/xml). After a while (I guess after some http sessions are available after timeout), the server starts responding again.
    Our assumption was that commiting the transaction would free the corresponding session, but it looks like this is not the case...
    Do you have any clues on that? Timeout is the only way to free a web service session?
    Thank you
    Regards

    Hi,
    Please refer the below article and browse code.
    http://code.msdn.microsoft.com/Remote-Authentication-in-b7b6f43c
    Thanks,
    Srikanth

  • Issues with NSAPI connection before/after SP3

    I'm using WinNT 4.0 sp 5, Weblogic 5.1 sp3 and Netscape 4.1 Server. (Note:
              I have do not have these problems on Solaris)
              I've been having a problem on an off with some jsps that I have written.
              They call session beans which are served by weblogic app server 5.10. The
              JSPs are located on the app server and the static pages and graphics are
              located on the NS web server. I have Netscape 4.1 as the web server. I've
              configured the NSAPI driver using weblogic/bin/proxy36.dll. Before adding
              service pack 3, I was experiencing long delays in the retreival of the jsps
              when using IE5. They seemed to work just fine with Netscape 4.7. Even
              simple jsps such as...
              ----------------test.jsp----------
              <HTML>
              <BODY>
              Test!
              </BODY>
              </HTML>
              ----------------test.jsp----------
              ... seemed to produce delays. If I stopped the browser I'd get a Dr watson.
              The Event Viewer shows the following error message
              Event ID: 1008
              Source : Preflib
              Description:
              The Open Procedure for service "https4.1" in DLL
              "d:\Netscape\Server4\bin\https\bin\nsctr.dll" failed.
              Performance data for this service will not be available.
              Status code returned is DWORD 0.
              Datat: Bytes
              0000: ff ff ff ff ÿÿÿÿ
              I looked into the service pack and found that in service pack 2 there was a
              fix for Issue 10381,
              * ISSUE 10381: Fixed a problem with messed up headers to the browser from
              NSAPI plug-in causing problems with IE5
              which I figured could fix my problem. I installed the servcie pack 3. I
              noticed that the service pack instructions left out what to do with the
              files in the service pack, of course with exception to the 2 jar files. I
              assummed that they were to be copied over the existing. After copying the
              files the proxy stopped working. Now NS asks if I want to open or save the
              file. I looked into the Netscape logs and it appears as though the server
              starts up fine. If I change back to the old proxy36.dll, I get the delays
              and the Dr Watsons, but the pages are loaded as html in the browser rather
              than downloading. I am assumming that the NS4.1 server can't use the new
              proxy36.dll.
              What am I missing?
              

    The two problem you have described:
              - Long delays with IE5 (SP2)
              - problem with jsp's (SP3)
              has been fixed in SP4 (available now for download).
              --Vinod.
              Michael Caughey wrote:
              > I just noticed that the service pack didn't install
              > java weblogic.Admin t3://localhost:8080 VERSION
              >
              > returned:
              > WebLogic Build: 5.1.0 04/03/2000 17:13:23 #66825
              >
              > not the suggested
              > WebLogic Build: 5.1.0 Service Pack 3 .....
              >
              > This may/may not have something to do with ti.
              >
              > Also, I tried an older version of NES, it was 3.63, with both the old and
              > new proxy36.dll. I gotthe same issues.
              >
              > Also, The jsps load just fine by themselves, but the issues seems to be
              > when I include the in a frame.
              >
              > For instance....
              >
              > http://localhost/test1.jsp and http://localhost/test2.jsp bot work but the
              > following gives my delays and no response in frame 0.
              >
              > <HTML>
              > <FRAMESET COLS="50%,50%">
              > <FRAME NORESIZE="yes" SRC="test1.jsp" name="test1">
              > <FRAME NORESIZE="yes" SRC="test2.jsp" name="test2">
              > </FRAMESET>
              > <BODY>
              > </BODY>
              > </HTML>
              >
              > and if I use the new proxy36.dll It try to download the the two jsps.
              >
              > Michael Caughey <[email protected]> wrote in message
              > news:[email protected]...
              > > I'm using WinNT 4.0 sp 5, Weblogic 5.1 sp3 and Netscape 4.1 Server.
              > (Note:
              > > I have do not have these problems on Solaris)
              > >
              > > I've been having a problem on an off with some jsps that I have written.
              > > They call session beans which are served by weblogic app server 5.10. The
              > > JSPs are located on the app server and the static pages and graphics are
              > > located on the NS web server. I have Netscape 4.1 as the web server.
              > I've
              > > configured the NSAPI driver using weblogic/bin/proxy36.dll. Before
              > adding
              > > service pack 3, I was experiencing long delays in the retreival of the
              > jsps
              > > when using IE5. They seemed to work just fine with Netscape 4.7. Even
              > > simple jsps such as...
              > >
              > > ----------------test.jsp----------
              > > <HTML>
              > > <BODY>
              > > Test!
              > > </BODY>
              > > </HTML>
              > > ----------------test.jsp----------
              > >
              > > ... seemed to produce delays. If I stopped the browser I'd get a Dr
              > watson.
              > >
              > > The Event Viewer shows the following error message
              > > Event ID: 1008
              > > Source : Preflib
              > > Description:
              > > The Open Procedure for service "https4.1" in DLL
              > > "d:\Netscape\Server4\bin\https\bin\nsctr.dll" failed.
              > > Performance data for this service will not be available.
              > > Status code returned is DWORD 0.
              > >
              > > Datat: Bytes
              > > 0000: ff ff ff ff ÿÿÿÿ
              > >
              > >
              > >
              > >
              > > I looked into the service pack and found that in service pack 2 there was
              > a
              > > fix for Issue 10381,
              > > * ISSUE 10381: Fixed a problem with messed up headers to the browser
              > from
              > > NSAPI plug-in causing problems with IE5
              > > which I figured could fix my problem. I installed the servcie pack 3. I
              > > noticed that the service pack instructions left out what to do with the
              > > files in the service pack, of course with exception to the 2 jar files. I
              > > assummed that they were to be copied over the existing. After copying the
              > > files the proxy stopped working. Now NS asks if I want to open or save
              > the
              > > file. I looked into the Netscape logs and it appears as though the server
              > > starts up fine. If I change back to the old proxy36.dll, I get the delays
              > > and the Dr Watsons, but the pages are loaded as html in the browser rather
              > > than downloading. I am assumming that the NS4.1 server can't use the new
              > > proxy36.dll.
              > >
              > >
              > > What am I missing?
              > >
              > >
              > >
              

  • SQL Deadlock after deleting person object in FIM portal

    Hello everybody,
    I have an issue on FIM portal after deleting person object.
    On FIM Portal, I have an error message: access denied.
    I'm on 4.1.3496.0 version.
    On event viewer, I see following deadlock:
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 1205, Level 13, State 51, Procedure CalculateRequestSetTranstionsMembershipConditionEvaluation, Line 2298, Message:
    Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader()
    at Microsoft.ResourceManagement.Data.DataAccess.DoRequestCreation(RequestType request, Guid cause, Guid requestMarker, Boolean doEvaluation, Int16 serviceId, Int16 servicePartitionId)
    --- End of inner exception stack trace ---
    Did you ever see that ?
    Thank you.
    Antho

    There are several possibilities:
    1) Could be caused by
    multiple workflows trying to act on the object
    2) Could be a flaw in the product like happened with an older version
    (4.0.3594.2) the
    kb article says: Fixes
    an issue with SQL Server deadlocks that might occur during periods of high concurrency of requests or approvals.
    So I suggest looking at the request history -- look at the delete request and see which MPRs were applied and what workflows were spawned.
    Does this happen a lot or just once in a while?
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • Suspicious delay of HDD activity after commit

    I know that after commit Oracle LGWR process writes the data
    changies into the redo-log. And Oracle must return "Commited"
    only after above is done. But when I do Commit, I don't see the
    HDD LED blink. Only after 1-2 sec HDD LED blinks. Is it normal?
    What people have?
    null

    To answer the question of caching and syncing:
    Linux nearly caches all and does it on a high "level", means it
    is one of the reason for the good I/O-performance of linux.
    In order to make sure that data is directly written to the disks
    you can mount your disks with the option sync.
    An example: mount -o sync /dev/sdc1 /data_1
    Note, that the performance will decrease. The other possibility
    is a little tool called syncer, which is a daemon that causes
    linux to clear its cache every xy seconds (any value you like). I
    think (because I never used) it causes some overhead but is a
    good compromise to the sync-option.
    Deactivating caching in the kernel... I think this is not the
    best solution if you are not familiar with kernel programming.
    Also think of swapping and reads on the system-disk and so on.
    Dietmar
    p.s: I can't remember where I've found it, so I send it to your
    personal account, because I can't add any files here
    StE (guest) wrote:
    : Mark Malakanov (guest) wrote:
    : : I know that after commit Oracle LGWR process writes the data
    : : changies into the redo-log. And Oracle must return "Commited"
    : : only after above is done.
    : Not quite true. Information is constantly flushed from the
    : in-memory redo log buffer to disc while changes are taking
    place
    : to the database. When a transaction is committed the
    : current contents of the redo-log buffer are flushed to disc,
    : followed by a marker saying "SCN was committed" is written to
    : disc - the changes themselves have already been written out.
    : : But when I do Commit, I don't see the
    : : HDD LED blink. Only after 1-2 sec HDD LED blinks.
    : : Is it normal? What people have?
    : That's probably normal, but that doesn't make it a good thing.
    : The Linux buffer-cache does write-behind caching, so that dirty
    : buffers arn't written out to disc immediately. If there were a
    : failure the write of the commit or some of the preceeding redo
    : log blocks might not make it to disc.
    : I think you can tune the frequency with which bdflush wakes up
    : and writes to disc. Setting it to a low value if you're worried
    : about consistency over performance would be a good idea.
    : I don't know whether there's an open() flag to perform writes
    on
    : a file synchronously or not under Linux. It's possible to
    sync()
    : an open filehandle, I think, so perhaps Oracle does a sync on
    : the active redo log when it writes out the commit.
    : Anyone know anything less vague and hand-waving?
    : -michael
    null

  • Spring framework - Error with session scoped Beans

    Hello guys,
    I'm trying execute my Java Application inside Netweaver Application Server, but I'm having problems with serviceBeans with scope session. Anyone have already used Spring with session scope?
    Thanks,
    Cleiton.

    After many attempt, when I declared the bean with <aop:scoped-proxy  /> it works, however it could cause performance problem. I don't need refer this bean by another singleton bean, i did a wrong configuration in order to make a work a round...
    When I run my application on tomcat server, the DWR starts perfectly the "session scope bean form IOC container", but in the WEBAS maybe it's running in other thread. Is it possible?
    Anyone had a problem like this?
    I got a detailed error with log4j,
    ERROR Application [1] org.directwebremoting.impl.DefaultCreatorManager - Error loading class for creator 'SpringCreator[CounterSpringFacade]'.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterSpringFacade': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:312)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
         at org.directwebremoting.spring.SpringCreator.getInstance(SpringCreator.java:145)
         at org.directwebremoting.spring.SpringCreator.getType(SpringCreator.java:107)
    Edited by: Cleiton dos Santos Garcia on Jan 7, 2009 5:02 PM

  • Using clone after commit

    Hi,
    Is it OK to use a clone in a read-only way after commit ? In some cases, I don't have access to the original and I need to return a Value Object.
    Thanks
    JCG

    JCG,
    You are fine to keep using the working copy (clone) after commit for read-only use. The only issues you may encounter are with indirect relationships that have not been instantiated.
    If you wish there is API to get the original version from the UnitOfWork.
    http://download-west.oracle.com/docs/cd/B10464_01/web.904/b10491/oracle/toplink/sessions/UnitOfWork.html#getOriginalVersionOfObject(java.lang.Object)
    Doug

  • I need to reinstall my computer, how do I deal with Premiere pro and After effects?

    Hello,
    As my question states I need to reinstall my computer (laptop) and I'm not quite sure on how to deal with Premiere pro and After effects.
    I am thinking that I need to do some sort of backup and save my projects and footage on a sepparate drive.
    If I reinstall my computer, install my creative suit production premium, and move back all of my projects and footage, won't I have to re-link every single clip?
    I am currently workning on several different projects and having to re-link everything is something I don't even want to think about, that would take me days if not weeks.
    Another option on my mind would be to use Creative cloud. I do have the free version but I have never used it even once before and I'm not quite sure what the purpose of the cloud is and if this is a way to use it.
    I have no idea how to go about this computer reinstalation without either loosing tons of work or having to re-link every single clip used.
    I am videoediting only as a hobby so I have no experience working with other people and sharing projects or the like, wich is my understanding of what the cloud is for.
    Any and all help would be grealty appreciated, I know this is probably really easy but ever since i got my Suit I haven't reinstalled, upgraded och changed my computer so I am just clueless as to how to go about this.
    I have Creative suit production premium, I also have the free Creative cloud.
    It is only Premiere pro and After effects that I am using and am worried about.
    Thank you for any help.
    -Lisa Kajupank
    (and oh, I just notice my name - umustbejoking - I think I just wrote that cause they wouldn't let me use anything else, saying it was already taken. So nevermind that haha.)
    Message was edited by: umustbejoking

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (84620)

  • After commit current row is no longer highlighted

    JDeveloper 11.1.1.20.
    Scenario: a master detail page where master and detail are both ordinary ADF table ( NOT read-only).
    If I place the cursor on a master row and do a click the row is highlighted.
    If I do a createInsert operation (with a button) a new row is created above the previous mentioned row.
    Problem:
    If I do a commit after the new row is filled with data sometimes the newly made row is now longer highlighted after the commit.
    The newly created row is stil active. This is seen by the fact that if I subsequently creates a new deatil row it is correctly connected to the newly created master row.
    And - after the newly created detail row is created the master row is again highligted.
    Any ideas?
    Best regards
    Erik

    Hi,
    To keep highlight the selected row do some operation in bean ,Get selected row and set that row again after commit
    Check
    http://jobinesh.blogspot.com/2011/01/declaratively-setting-current-row-key.html

  • When i open my computer I get the white screen with apple symbol and there are vertical lines all over the screen with green pixels and after a few minutes the screen gets grey and I get message to restart my computer what happens

    3 years ago I bought an IMac Desktop that I am using for a lot of things but the most important for dvd montage in Imovies and Idvd.
    Now today when I opened my computer I get as usual the white screen with the Apple symbol but there were all over the screen vertical lines with green pixels and after a while the screen gets grey and I get message to restart my computer using the power button or the restart button and when I do so each time the same is happening somebody can tell me what is happening and what caused this. This computer is my work and now I have no income anymore.
    On the Apple support site they are asking to enter the serial number and when I do so I get message it is wrong but it is the only one I have and I buy this computer in Cairo Egypt. I am living in Hurghada in Egypt for the moment. When I call the technical support of the shop where I buy it they are telling me that it is the hard disk or ram and that I probably lost everything on it and they are asking a big amount to repair.
    Can somebody advise me on this matter. Thanks in advance

    You can find the serial number either in About this Mc in the Menu bar under the , or it should be on a sticker under the foot of the machine.
    If you have the install discs, try booting from them, holding down the c key and then using Disk Utility to check the drive. 
    You can also boot into Safe mode
    To start up into Safe Mode (to "Safe Boot"), do this:
       1. Be sure the computer is shut down.
       2. Press the power button.
       3. Immediately after you hear the startup tone, press and hold the Shift key.
          Tip: The Shift key should be held as soon as possible after the startup tone but not before.
       4. Release the Shift key when you see the gray Apple and progress indicator (looks like a spinning gear).
    During the startup in Mac OS X 10.2 through 10.3.9, you will see "Safe Boot" on the Mac OS X startup screen.
    During the startup in Mac OS X 10.4 or later, you will see "Safe Boot" on the login window, which appears even if you normally log in automatically.
    Please post back with results,
    To leave Safe Mode in any version of Mac OS X, restart the computer normally, without holding any keys during startup.

  • Issue with session variable

    Hi,
    I'm trying to setup a session variable to filter an Answer query based on the user login name. I've created the following
    - A database table that contains a user name and its related filter (Entity)
    - An initialization block for the session variable to issue the following sql: select Entity from table where user_name = ':USER'
    - Created a target session variable called CURR_ENTITY as the target and assign a default value as 'No entity'.
    - Filter my Answer query to use the session variable CURR_ENTITY
    After restart of BI server and Presentation services and opening the report, CURR_ENTITY is always set to the default value. I've checked NQQuery,.log and looks like the initialization block was not returning any rows.
    Any ideas on how to get around this issue? Thanks.
    Regards,
    Gerd

    Hi gerd,
    select Entity from table where user_name = ':USER'Check if this query is returning values in the backend DB.If so it is returning then it should work fine in session variable.
    After defining the target variable CURR_ENTITY and test it in the screen.That shows you is it picking all the values or a single defaulted value.
    If its showing all values then re-check your block once again.
    (OR)
    In the target variable instead of variable define row-wise initialization (i mean check it) and change the SQL in the variable to this
    select 'CURR_ENTITY',Entity from table where user_name = ':USER'
    and test it so you can use it in answers .....it should work with what is required.
    hope answered the question.
    Cheers,
    KK

Maybe you are looking for