ShowModalDialog - session lost

Hi All,
Using showModalDialog to open a pop up window the session value getting lost. How to resolve this?
window.showModalDialog(url,"","resizable:no;help:no;dialogHeight:17;dialogWidth:14")- vignesh

Hmmm...you may be using a per browser cookie that would disallow session from other browser instances/windows. To confirm, login using a browser and then access a book marked url using another window. If it does not work, that would confirm it.
As a work around you can attempt to 'force rewrite' the url on the server side and use the rewritten url to open the modal dialog. Same for all requests originating from this window. How to achieve that depends on your server.
ram.

Similar Messages

  • Session lost

    Hello, to all expertise
    Isnt any people got face session lost issue before?
    Project Description
    Structs -> (MVC)
    Session Time Out(Web.xml)
    <session-time-out> 1hours
    Application Server
    JBoss 4
    Windows XP and Internet Explorer 6.0
    Using JDeveloper10g as IDE tools
    Trying Solutions (But also kenot resolve problems)
    1) Increase the session time out
    2) Add one class for HttpSessionListener
    a) public void sessionCreated(HttpSessionEvent se){}
    b) public void sessionDestroyed(HttpSessionEvent se){}
    If i not mistaken, the sessionCreated is when first time we go in into the page, then the sessionCreated wont be call unless there was new request or new user... What i trying to say is the sessionCreated is only be call once for one browser.. However, each time when i was doing some transaction or click on any window pop up menu like using javascript : window.showmodaldialog, or alert scriplet, it since got the session will recreated.. But the case is i cant really estimate when the
    session will recreated... Each time the session recreated, the attribute and all the value store in that particular will be lost rite?
    Further more, i declare one SessionManager.class to store all the session variable include the session id after the user success to login to the screen. Each time when the was transaction in database such as add, update, I will using the vector to store and compare whether the request.getSession().getId is same with the same the sessionid in vector or not... If there was same, then the continue the following task, if there was different between the id in request with the vector, means the session is recretead so i will send redirect to the login page...
    For the add and update transaction we will use the alert("Add success"); to inform the user the database have been success added!
    But the session lost is after 4 minutes or within 10 minutes very often it happen even the page are activate by the user...
    Isnt any one got happen this before? Isnt the alert pop up menu? or isnt the window.showModalDialog cause it?
    I didnt use any session.invalidate or any session.remoteatrribute to remove all the session stuff.. How can it will recreated new one?
    Very Thanks to have your all useful suggestion and guideline
    Thanks and best regards
    Kim;

    Hello
    To all expertise, does anyone have any idea regarding this session lost issues? Thanks in advance.. Appreciate on any idea for helping
    Thanks
    Best Regards
    Kim

  • Session Lost Issues

    Hello, to all expertise
    Isnt any people got face session lost issue before?
    Project Description
    Structs -> (MVC)
    Session Time Out(Web.xml)
    <session-time-out> 1hours
    Application Server
    JBoss 4
    Windows XP and Internet Explorer 6.0
    Using JDeveloper10g as IDE tools
    Trying Solutions (But also kenot resolve problems)
    1) Increase the session time out
    2) Add one class for HttpSessionListener
    a) public void sessionCreated(HttpSessionEvent se){}
    b) public void sessionDestroyed(HttpSessionEvent se){}
    If i not mistaken, the sessionCreated is when first time we go in into the page, then the sessionCreated wont be call unless there was new request or new user... What i trying to say is the sessionCreated is only be call once for one browser.. However, each time when i was doing some transaction or click on any window pop up menu like using javascript : window.showmodaldialog, or alert scriplet, it since got the session will recreated.. But the case is i cant really estimate when the
    session will recreated... Each time the session recreated, the attribute and all the value store in that particular will be lost rite?
    Further more, i declare one SessionManager.class to store all the session variable include the session id after the user success to login to the screen. Each time when the was transaction in database such as add, update, I will using the vector to store and compare whether the request.getSession().getId is same with the same the sessionid in vector or not... If there was same, then the continue the following task, if there was different between the id in request with the vector, means the session is recretead so i will send redirect to the login page...
    For the add and update transaction we will use the alert("Add success"); to inform the user the database have been success added!
    But the session lost is after 4 minutes or within 10 minutes very often it happen even the page are activate by the user...
    Isnt any one got happen this before? Isnt the alert pop up menu? or isnt the window.showModalDialog cause it?
    I didnt use any session.invalidate or any session.remoteatrribute to remove all the session stuff.. How can it will recreated new one?
    Very Thanks to have your all useful suggestion and guideline
    Thanks and best regards
    Kim;

    There is a performance penalty for using SSL, but there are solutions to address that penalty (SSL hardware acceleration). And, no, SSL doesn't prevent anyone from guessing anything, but the point of using a UUID for session tokens is to make guessing extremely difficult even with brute-force repetitive approaches.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.

  • How to reset the data when the session lost?

    When I use response.sendRedirect("http://localhost:82/main.jsp")
    the session lost, because the URL before redirect is using SSL,
    "https://localhost:81/index.jsp", they use the different port,
    so the session lost, what should i do to prevent this? And how
    to reset the data?

    Create a HashMap and store it as an attribute of the servlet context. In the first servlet assign the user a key and store all session data in the HashMap under that key (use a vector, collection or user defined class).
    In the response.sendRedirect call add the key to the url:
    response.sendRedirect(url + "?key=" + userKey);
    In the second servlet get the key (request.getParameter("key")), retrieve the session data from the HashMap in the servletcontext and store in an httpsession.
    Remember to delete the entry from the HashMap so it doesn't become overly large.

  • When VISA write for VXI-11 instrument gets executed - error visa session lost

    My VXI-11 board works when I query the board from MAX with *IDN? from MAx, But I get a session lost error when I try to do the same from LabVIEW 8.2.1 VI open a seesion and doing a write and read of *IDN?

    Hello,
    If you can communicate with the device in MAX, your device is working properly. Can you please post a screenshot of the error and your LabVIEW code?
    Thank you,
    Simran K
    National Instruments
    Applications Engineer

  • Open tabs from last session lost - intermittently

    Don't know whether it's a bug or me but tabs left open from last session are lost - intermittently - when I re enter Firefox mobile on my Samsung Galaxy s3.
    I'll often leave 5 or so showing on the tab counter in the top right hand corner of the browser. Sometimes they will be there next session, but mostly they aren't!
    Any suggestions?

    HI alt-images,
    Thank you for your question. When they do not show up, are you using a guest session or have you whipped the cache of the application from the mobile device's OS settings menu?
    Also please check these settings on Firefox for Android: Settings > Customize >Tabs
    Is "Always Restore" selected, or "Don't restore after quitting Firefox"
    Please post back with the results and we can continue to troubleshoot the issue, thank you!

  • Session lost (IE5 & IE6) when opening popup window.

    Ok, I've been struggling with this problems for days and spent countless hours with google without finding any decent solutions.
    I'm building a ecommerce site and if the user want to see additional information + pictures from a product, he/she can open a popup window that also has "add to cart"-submit field.
    UserID and some other necessary data is kept in sessions but IE5 / IE6 seems to loose these in this new window when opening it via javascript (popup).
    If I have understood right, the session is lost because IE considers the new window as a new task and therefore it is out of the "session scope".
    Ok, one might say that using encodeUrl()-method should fix this problem, but no it doesn't. encodeURL()-method writes the session to URL only when user has disabled the cookies and in my situation it's not the case.
    Has anyone here been struggling with the problem above ? I've been considering if I encode the UserID and other information manually to the URL and decode it back in the popup, but that brings n+1 security issues to my mind and doesn't really sound like a decent solution.
    Thanks in advance,
    - Roni
    p.s: Sorry about my crappy english.

    Hmm,
    I did a small test and managed to get the sessions to work with IE.
    the main page:
    <%@ page language="java" %>
    <%
    session.setAttribute("foo", "bar");
    %>
    <html><head><title>sessiontest</title>
    <script language="javascript" type="text/javascript">
    <!--
    function popUp(URL) {
    options="toolbar=no,directories=no,location=no,status=no," + "menubar=no,scrollbars=yes,resizable=yes,width=416,height=465, left = 362,top = 184";
    var Infowindow=window.open(URL, "Infowindow" ,options);
    Infowindow.focus();
    -->
    </script>
    </head>
    <body>
    sessionattribute <b>foo</b> has value <b>bar</b><p>
    <a href="javascript:popUp('<%= response.encodeURL("sessiondebugpopup.jsp") %>')">link to popup</a>
    </body>
    </html>popup:
    <%@ page language="java" %>
    <html><head><title>sessiontestpopup</title>
    </script>
    </head>
    <body>
    attribute value is:<p>
    <b><%= (String)session.getAttribute("foo") %>
    </body>
    </html>This works just fine, but the code in the actual application does not differ from this.
    Only difference I can figure out if that the .js popup() function is located in header.jsp and the call to the popup is in other .jsp that includes the header.
    Here's the call to the popup in the application:
    <a href="javascript:popUp('<%= response.encodeURL("pop.jsp?prod="+ rs2.getString("tuo_tuonro") +"&img="+ cnt.getPictureURL(rs2.getString("tuo_tuonro"), cnt.getUserId(user)))%>')">link</a>And the above code works just fine with firefox/opera/etc, but not with IE5/IE6 (haven't tried other IE versions though).
    This is really getting annoying.

  • VWP: Session lost after navigating 20 pages in IE6 & IE7

    In the known issues of VWP 5.5.1 release notes, it mentions
    "In projects with more than 20 pages, session data is lost and information saved in a session bean attribute is reset to Null once user navigates past about page 20. This is not an issue in Firefox or other browsers."
    Our project have many JSP pages, and we found that the workaround (change security setting of IE ) mentioned in below released note doesn't work.
    http://www.netbeans.org/community/releases/55/1/vwp-release-notes.html#knownissues
    Is there any other workaround solution instead?

    Well. I got a workaround solution for this issue:
    Setting enableCookies to false in sun-web.xml can avoid this problem.
    Here is my setting:
    <session-config>
    <session-properties>
    <property name="timeoutSeconds" value="1200"/>
    <property name="enableCookies" value="false"/>
    </session-properties>
    </session-config>
    Message was edited by:
    waynehu

  • JDeveloper/OC4J session lost

    I installed JDeveloper(jdev9033) with OC4J onto my Win XP machine which had installed Oracle9i. When I ran JSP application, the current session got lost. Whenever I clicked the button in the form to change to the new page, it generated a new session ID.
    The following are test examples for this problem:
    Test.jsp
    ========
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/TR/REC-html40/strict.dtd">
    <%
    session.setAttribute("1st", "First");
    System.out.println(session.getId());
    %>
    <HTML>
    <STYLE>
    TD {font-size:8pt}
    </STYLE>
    <HEAD>
    <H3>Sear Incomplete Orders</H3>
    </HEAD>
    <FORM id="theForm" name="theForm" method="post" action="Test2.jsp">
    <TABLE >
    <TR>
    <TD align="right">Created between:</TD>
    <TD >
    <input type="text" name="startDate" size="17" value="01/10/2003"/>
    <b> and </b>
    <input type="text" name="endDate" size="17" value="15/10/2003"/>
    </TD>
    </TR>
    <tr>
    <td>
    <input type="submit" name="s" value="Retrieve" />
    </td>
    </tr>
    </TABLE>
    </FORM>
    </HTML>
    Test2.jsp
    =========
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en" "http://www.w3.org/TR/REC-html40/strict.dtd">
    <%
    session.setAttribute("2nd", "Second");
    System.out.println(session.getId());
    %>
    <HTML>
    <STYLE>
    TD {font-size:8pt}
    </STYLE>
    <HEAD>
    <H3>Sear Incomplete Orders</H3>
    </HEAD>
    <FORM id="theForm" name="theForm" method="post" action="Test2.jsp">
    <TABLE >
    <TR>
    <TD align="right">Created between:</TD>
    <TD >
    <input type="text" name="startDate" size="17" value="01/10/2003"/>
    <b> and </b>
    <input type="text" name="endDate" size="17" value="15/10/2003"/>
    </TD>
    </TR>
    <tr>
    <td>
    <input type="submit" name="s" value="Retrieve" />
    </td>
    </tr>
    </TABLE>
    </FORM>
    </HTML>

    Further to this ... I found session id is lost while html frames are used. My below jsp page is a forward to a struts action. First time (on server re-start) it works fine, after closing and "running" the same url, the frame with url "contents.jsp" creates a new session which is not required. Any reasons for this. (The java code added are the results of the attempts to fix it. ) Pls help.
    <%@ page contentType="text/html;charset=windows-1252"%>
    <HTML>
    <HEAD>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <TITLE>NGT Registration Database</TITLE>
    </HEAD>
    <%
    System.out.println("Here is main.jsp with url: "+"contents.jsp;jsessionid="+session.getId());
    %>
    <FRAMESET ROWS="85,*" FRAMESPACING="0" FRAMEBORDER="0" border="false" >
    <FRAME SRC="title.jsp" NAME="titleFrame" FRAMEBORDER="0" MARGINHEIGHT="1"
    MARGINWIDTH="10" FRAMESPACING="0" SCROLLING="NO">
    <FRAMESET COLS="175,*" FRAMESPACING="0" FRAMEBORDER="0" SCROLLING="AUTO">
    <FRAME SRC="<%="contents.jsp;jsessionid="+session.getId()%>" name="navFrame">
    <FRAME SRC="description.html" name="contentsFrame">
    </FRAMESET>
    </FRAMESET>
    </HTML>

  • Session lost problem in Weblogic cluster and Iplanet proxy

              We have an environment like this
              Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
              The Weblogic servers are not really clusterd, but we are using the Weblogic Cluster
              attribute in the obj.conf to configure the proxy (The Weblogic servers are really
              independant servers with the same application deployed).
              This is working fine in our development environment. No problem with session and
              load balancing. Although this architecture is not documented in Weblogic docs,
              I have seen several references to this type of architecture in the web and it
              seems to be working.
              Now we are into our pre-production environment. The same archictecture exists.
              Only the following differences
              1. Both the weblogic servers run on multihomed machines. We have bound the Weblogic
              servers to specific IP addresses using the Listen address option.
              2. The same IP addresses are there in the proxy plug-in conf file.
              3. There is a firewall between the Iplanet and Weblogic.
              Now if only one weblogic is running, the application works fine. The moment we
              turn the other weblogic on, the application starts misbehaving. The session seems
              to get lost and proxy forwards requests randomly.
              What could be the reason?
              Regards
              Anup
              

              Hi
              The problem got solved. There was an older version of libproxy.so in the Iplanet
              proxy
              Regards
              Anup
              Yeshwant Kamat <[email protected]> wrote:
              >Anup,
              >
              >Is there a reason you are not clustering the WLS instances? Remove the
              >firewall in your
              >prod environment and see if that makes a difference.
              >
              >Anup wrote:
              >
              >> Hi Mike
              >> 1. As per the documentation WebLogic Server is set up to handle session
              >tracking
              >> by default. So we are not doing anything special. Since the application
              >works
              >> fine with one Weblogic and multiple clients connecting to it through
              >Iplanet ,
              >> I think there is no problem with Session tracking as such.
              >>
              >> 2.We are using the default cookie name for session (JSESSIONID). So
              >we haven't
              >> done anything extra in the proxy set up or weblogic.xml
              >>
              >> 3. I have watched the cookie that comes on the browser
              >> PAACk3iviDm4ZuMPIbB9TpTTw9slk40IEC02MKjpu14EZ9ayzqaP!-1196227542!gmbpds054!7015!7016.
              >>
              >> gmbpds054 is the DNS name of one of the weblogic servers. So that is
              >also fine.
              >>
              >> What else could be the problem.
              >> Regards
              >> Anup
              >>
              >> "Mike Reiche" <[email protected]> wrote:
              >> >
              >> >If you have session tracking turned on in weblogic, creating a session
              >> >will write
              >> >a cookie back to the browser. iPlanet does sticky load balancing
              >based
              >> >on the
              >> >IP address in this cookie. So -
              >> >
              >> >1) do you have session tracking turned on?
              >> >
              >> >2) is the cookie getting written to your browser?
              >> >
              >> >3) are iPlanet and WebLogic using the same cookie? (same name)
              >> >
              >> >Mike
              >> >
              >> >"Anup Maliyackel" <[email protected]> wrote:
              >> >>
              >> >>We have an environment like this
              >> >>
              >> >>Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
              >> >>
              >> >>The Weblogic servers are not really clusterd, but we are using the
              >Weblogic
              >> >>Cluster
              >> >>attribute in the obj.conf to configure the proxy (The Weblogic servers
              >> >>are really
              >> >>independant servers with the same application deployed).
              >> >>
              >> >>This is working fine in our development environment. No problem with
              >> >>session and
              >> >>load balancing. Although this architecture is not documented in Weblogic
              >> >>docs,
              >> >>I have seen several references to this type of architecture in the
              >web
              >> >>and it
              >> >>seems to be working.
              >> >>
              >> >>Now we are into our pre-production environment. The same archictecture
              >> >>exists.
              >> >>Only the following differences
              >> >>1. Both the weblogic servers run on multihomed machines. We have
              >bound
              >> >>the Weblogic
              >> >>servers to specific IP addresses using the Listen address option.
              >> >>
              >> >>2. The same IP addresses are there in the proxy plug-in conf file.
              >> >>
              >> >>3. There is a firewall between the Iplanet and Weblogic.
              >> >>
              >> >>Now if only one weblogic is running, the application works fine.
              >The
              >> >>moment we
              >> >>turn the other weblogic on, the application starts misbehaving. The
              >> >session
              >> >>seems
              >> >>to get lost and proxy forwards requests randomly.
              >> >>
              >> >>What could be the reason?
              >> >>
              >> >>Regards
              >> >>Anup
              >> >
              >
              

  • Connection session lost with first action after connection

    Hello,
    I have a problem with a website. After authentification when i do any action (go to another page) i am directly redirected to site home page with lost of session. Session track on this site are made by cookies.
    The problem is present only with firefox on windows 7. I have no problem with other browser. And for windows XP it work fine.
    When i start firefox in WinXP or WinVista compatibility mode i don't have the problem.
    Any one have an idea ?
    Thanks.

    Found nothing in the \bdump alert.log or \bdump trace files. I only have the DEFAULT profile and everything is set to UNLIMITED there.
    But the \udump generates a trace file the moment i execute the query:
    Dump file <path>\udump\<sid>ora4148.trc
    Fri Aug 22 09:12:18 2008
    ORACLE V10.1.0.5.0 - Production vsnsta=0
    vsnsql=13 vsnxtr=3
    Oracle Database 10g Release 10.1.0.5.0 - Production
    With the OLAP and Data Mining options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 2 - type 586, 1 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:898M/3071M, Ph+PgF:2675M/4967M, VA:812M/2047M
    Instance name: <SID>
    Redo thread mounted by this instance: 1
    Oracle process number: 33
    Windows thread id: 4148, image: ORACLE.EXE (SHAD)
    *** 2008-08-22 09:12:18.731
    *** ACTION NAME:(SQL Window - select * from stude) 2008-08-22 09:12:18.731
    *** MODULE NAME:(PL/SQL Developer) 2008-08-22 09:12:18.731
    *** SERVICE NAME:(<service-name>) 2008-08-22 09:12:18.731
    *** SESSION ID:(145.23131) 2008-08-22 09:12:18.731
    opitsk: network error occurred while two-task session server trying to send break; error code = 12152
    This trace is only generated if the query with a expected large resultset fails. If i narrow down the resultset no trace is written, well and the query then works of course.

  • How to recover last session/lost tabs on Safari 5.0.5?

    Okay so I own a Macbook Air, and I always charge it no matter what, it's always charging and it always has battery. I keep open LOTS of things such as text-edit, safari w/ tabs, and pages. So today after I closed it, (didn't turn it off or anything) I came back and hour later to find it turned off, I turned it on again. And it clearly still had 27% of battery left. And ALL of my WORK was GONE!! I got so frustrated, I read there's no way I can recover lost textedit stuff if I didn't save it, I don't really mind what happened to pages. But I had important stuff in textedit I'm trying to remember and jot down now, and I also had important tabs opened in Safari. Is there any way to recover these tabs from the previous session? I read you can go to History > Reopen tabs from last session. But I don't see that option anywhere, I can't right-click on History nor does History have a drop down option.... Please help! =\ I'm very frustrated... thanks.

    well, it's meant to
    "  To have TextEdit automatically save (or “autosave”) a backup of documents while you’re working, choose how often you want to autosave from the “Autosave modified documents” pop-up menu below Autosaving. If TextEdit unexpectedly quits, it opens the backup copy of your document the next time you open TextEdit. "
    If you'd previously saved it, there ought to be a  filename (autosaved) file in the same folder as the saved one.
    If never saved - look in
    Home/Library/Autosave Information/

  • Session lost after fail over. (I kill down the server during servlet invocation)

              I just tested the failover ability of our WebLogic
              cluster. We have two instances, first, I logged onto
              the web site and created a session, and then I called
              a servlet, in which there is a complicated computation
              which will take about 5 seconds, during the
              invocation, I issued the kill -9 to shut the server
              down at once. It did failover, but the http session
              was lost,So I got the session timeout page. But if I
              kill down that server after the invocation, then it
              can failover succesfully without loss of session.
              Could you tell me is there any difference between
              killing down server during and between invocations of
              servlet or JSP?
              The configuration:
              WLS5.1 with sp8. Solaris 5.8
              Using in memory replication.
              Thank you very much for your help.
              

              I just tested the failover ability of our WebLogic
              cluster. We have two instances, first, I logged onto
              the web site and created a session, and then I called
              a servlet, in which there is a complicated computation
              which will take about 5 seconds, during the
              invocation, I issued the kill -9 to shut the server
              down at once. It did failover, but the http session
              was lost,So I got the session timeout page. But if I
              kill down that server after the invocation, then it
              can failover succesfully without loss of session.
              Could you tell me is there any difference between
              killing down server during and between invocations of
              servlet or JSP?
              The configuration:
              WLS5.1 with sp8. Solaris 5.8
              Using in memory replication.
              Thank you very much for your help.
              

  • Session lost in jsp containing iframe

    In our application after a user logs in to the system he gets a front page which contains an Iframe. The login process initializes variables in the session (and the user�s security preferences). In some rare cases the Iframe forces the web server to create a new session (apparently the session cookie has not been passed from the parent page to the Iframe src request). In this situation the user is redirected to the login page, when trying to navigate in the website. Does anybody know something about this behavior? And how can this problem be solved (without abandoning the Iframe paradigm)?

    You could try using URL rewriting to generate the URL that iframe uses, so that the session ID is in the URL. Sounds like a timing issue with the browser or something.

  • Single user mode session lost after backgound processes jump in

    We have an application running on SQL server. This application restores DB very frequently using Single user mode. Following are the SQLs that are executed to restore the database in single user mode and to get the database back in multi user mode.
    alter database [test-db] set single_user with rollback immediate; --This sql is run using test-db
    use master;restore database [test-db] from database_snapshot = 'snapshot_test-db';
    alter database [test-db] set multi_user;
    After switching the test-db to single user mode some 4-5 background processes of Taskmanager jump in for the test-db kicking off the session that application has taken over in single user mode . These background process are deadlocked between them selves.
    Please refer to the output of sp_who2 below at link.
    http://social.microsoft.com/Forums/getfile/200625
    and following is the deadlock XML.
    NOTE: SPIDs in deadlock XML may differ from the output of sp_who2 as spids keeps on changing for these processes.
    <deadlock-list>
    <deadlock victim="process4bbfc78">
    <process-list>
    <process id="process4bbfc78" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="705" schedulerid="1" kpid="1648" status="background" spid="22" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process6d44388" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="419" schedulerid="1" kpid="5796" status="background" spid="30" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process6d44718" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="109" schedulerid="1" kpid="3908" status="background" spid="16" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    <process id="process4bbee38" taskpriority="0" logused="10000" waitresource="DATABASE: 5 " waittime="313" schedulerid="1" kpid="2656" status="background" spid="15" sbid="0" ecid="0" priority="0" trancount="0">
    <executionStack/>
    <inputbuf>
    </inputbuf>
    </process>
    </process-list>
    <resource-list>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process6d44718" mode="S"/>
    <owner id="process4bbee38" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process4bbfc78" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process6d44388" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process6d44718" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    <databaselock subresource="FULL" dbid="5" dbname="unknown" id="lock4671600" mode="S">
    <owner-list>
    <owner id="process4bbfc78" mode="S"/>
    </owner-list>
    <waiter-list>
    <waiter id="process4bbee38" mode="X" requestType="wait"/>
    </waiter-list>
    </databaselock>
    </resource-list>
    </deadlock>
    </deadlock-list>
    On searching for this problem I found out that people have faced similar problem but I was unable to find out the root cause and debug steps for this problem. Stopping the SQL server is provided as a solution to kick out these background processes but this
    is not a feasible in our case as code to restore DB runs very frequently resulting in this problem at a good frequency.
    I also made sure that SQL Server Agent is not running. The SQL services running on server are SQL server, SQL Server Browser and SQL Server VSS Writer.
    Any help will be appreciated as this is a blocker problem.
    Thanks,

    Hi Amrita,
    We can open a transaction, make data modifications to generate a lot of transaction log, and then run ALTER DATABASE AppDB SET MULTI_USER in the same transaction. You can also refer to the following document:
    Getting out of single user mode:
    http://blogs.msdn.com/b/dfurman/archive/2012/01/20/getting-out-of-single-user-mode.aspx
    Allen Li
    TechNet Community Support

Maybe you are looking for

  • My neicehas forgot lock and has been disabled. How do I get it back

    My neice has forgot her pass code and has been disabled, How can I get her back up?

  • Class not found w/ rmic

    Hi all, I've basically read through about 20 threads and none of the solutions thus far have worked for me. I'm trying to get some RMI classes up and running. Half of them compiled with rmic, half of them didn't; the ones that failed were those that

  • Working with files

    hi everyone, i have a problem, i have one app which calls another java app using runtime functions. Ok the thing is that i need that one app will write in a file and the other one read and delete the lines read from the same file almost in a syncrhon

  • Create new IIDXMLElement

    Working on a project that stores a lot of meta data in the document structure (backing store). This content is not mapped to page content. Using the various command utils ( i.e. IXMLElementCommands)  to create IIDXMLElements one at a time really slow

  • Updating iPod Touch from iOS 4.2.1 to 6.1.6?

    I'm trying to update my (computer illiterate) boyfriend's iPod Touch for him, and I backed everything up successfully. Yet, sadly, iTunes is telling me that if I update iOS it will delete everything. Can anyone help me out? We'd appreciate it. -Mandy