SQLNCLI11 - Recordset with Server Side cursor and Property PreserveOnCommit = TRUE

I am migrating an OLEDB application from Microsoft Access to SQL.  I am using the SQL Native Client in my connection string
"Provider=SQLNCLI11;Server=%s;Database=%s;Trusted_Connection=yes;"
The application uses the following call to open a table in the database
m_pRecordset->Open((LPCTSTR)m_strQuery, _variant_t((IDispatch*)mpdb, TRUE), adCursorType, adLockOptimistic, options);
where m_strQuery is the table name, adCursorType is adOpenKeyset or adOpenDynamic (I've tried both), options is adCmdTable or adCmdTableDirect (I've tried both)
mpdb is a _ConnectionPtr.  Cursor location can be either adUseClient or adUseServer.
If I set Cursor location to adUseClient, the PreserveOnCommit Property of the  Recordset is true; if I set Cursor location to adUseServer the PreserveOnCommit property of the Recordset is false.  I cannot set this property after the recordset
is open
Is there a way to Open the recorfdset with a server side cursor and PreserveOnCommit TRUE?
Howard P. Weiss

Thanks, Dan, that has been very insightful. We will try to move our legacy VBA data access layer to client-side cursors (first for SQLs with CTEs, then for all SQLs, if everything works out well).
Regarding deprecation: What is the currently recommended way to access SQL Server from VBA projects? I did a bit of research and it appears that all methods I can think of are deprecated in one way or another:
DAO with ODBCDirect: Support has been dropped with Access 2007.
DAO via JET: Using JET SQL syntax instead of T-SQL? Not seriously. Anyway, it's considered obsolete by Microsoft.
ADO with the SQLOLEDB provider: Deprecated.
ADO with the SQL Server Native OLEDB provider: Won't be supported after SQL Sever 2012.
ADO with the Microsoft OLE DB provider for ODBC: Not supported: "SQL Server Native Client is not supported from the Microsoft OLE DB provider for ODBC (MSDASQL)."
What did I miss?
Best regards
Heinzi

Similar Messages

  • Acrobat form with server side submit, posting blank data

    Read more
    Acrobat form with server side submit, posting blank data,
    thanh xả tràn
    I have a PDF form which gets submitted to the server using a submit (server-side) button. The data is then received in XML format by a ColdFusion component which does some validation and stores it into the database.
    This PDF form is usually filled in by our clients using Adobe Reader 8 or below. While most of the times(and I mean like 96-97% of the times) everything goes well, at times we receive blank data into our database!! This renders couple of other features in our application useless as they try to parse an XML which does not exist.
    I do believe that this is not a problem at the ColdFusion side because all it does is trim(ToString(toBinary(GetHttpRequestData().content))).
    Does anyone has a clue as to why the data will be lost upon form submission?? I have done a lot of googling around it but in vain!

    There is an outside chance someone is just playing with you and submitting a blank form. Not uncommon if someone is not too familiar with forms.

  • Updating form with server-side scripts

    Hi
    For security reasons, we want to do a web service call with only server side scripts. That way we have full control over the access to the wsdl and no problems with the security.
    However, if I try to run the scripts on server-side I get no update of the data in the form... so what to do to solve that problem? Anybody with experience from that?

    To make a small update I've been messing around with various different things to be able to achieve the goal. One of the initial problems was that the Designer actually manages to create two different SOAP addresses, one of them is the correct and secure way and the other one is direct to the data source, which would be an unsecure and blocked route. That changed things a bit when I realized that.
    But still, the problem remains. If I run the script Client-Side, it works but is not an acceptable solution. If I run it Server-Side, it can't read the data and doesn't recognize the call to SOAP.connect()...
    Does anybody have any experience in webb service connection with server side scripts?

  • Server Side Trust and Webi Report Scheduling via Portal

    Hello,
    I have opened a similar  thread about Server Side Trust and webintelligence reporting through the portal a few months ago.
    At the time, we had some complaints about users that were getting SSO errors after 8 hours when scheduling WeBi Report through the SAP Portal.
    Basically, the users connect to the Portal and then FROM the Portal, to a BOI view pointing to the Infoview.
    Then, after investigatinon, it was my understanding that the WebI Reports should be scheduled through an Infoview token and not a portal token. In concrete terms Server Side Trust had to be implemented between the SAP BW Backend and the BOE 3.1 Server.
    And after that the users who wanted to schedule WebI reports should connect to the Infoview directly (using their SAP BW credentials) to generate an Infoview Token.
    Scheduling Webi reports from the Portal will not be solved by implementing Server Side Trust, since it is only a matter of time before the  the Portal token expires ( 8 hour by default).
    Now, I have configured the server side Trust between our BOE 3.1 SP2 and our BW 701 system, SNC configuration, PSE generation, exchange of certificats , etc ...
    I did some scheduling tests connecting directly to the BO Infoview and it works.
    But of course, now I am being told by the users that this solution is not acceptable.
    The Portal being the entry point of our Infrastructure, they don't want to connect to the Infoview to schedule their reports.
    So I opened a SAP customer call to try to have an official and clear statement from SAP but I never obtained it.
    I had a look at my SAP BO courses but I am still confused
    For example according to SAP BO100 , server side trust should be implemented when ;
    "BOE client session authenticated using Single sign on using SAP token
    (Enterprise Portal) and SAP reports are being scheduled at a future point in
    time (after token expiry date)."
    Anyone can help me to clear my mind ?
    Thank you
    Best Regards

    Hi,
    first of all lets separate the UI portion from the technical portion.
    on the technical side:
    yes for scheduling the Web Intelligence document you will need Server side trust
    on the UI side:
    - scheduling is part of InfoView
    - scheduling is part of the KM integration with the portal
    if that is not accepted from a UI point of view from the user you can create your own application to schedule documents using the SDK.
    ingo

  • Server Side Includes and Divs

    I have a template (dwt) for my site with editable regions for
    menus. I want to use Server Side Includes for the menu, as not all
    the pages will have the same menu.
    I have designed the site template (and pages) with css and
    divs. The area for the SSI is a div of size 145x335. The menu which
    I want to put inside this div will be a div based menu. I havent
    had any luck displaying the Div from the SSI yet. I have been
    looking on Google for help, but not much luck. I can get the Div to
    appear but the formatting doesnt show up.
    Im putting the SSI code in where I want it on the page, but
    im not sure exactly which code to get rid of in the shtml file. I
    know I need to remove body, head parts etc
    My site template uses CSS stored on the document, not an
    external css file.
    Any ideas?

    > Im sure Ive not got it right yet!! My head wont work
    lately!
    Yes. It's not working well here, either.
    Create your template with the editable region. In it, have
    links to a) the
    general stylesheet for all the pages, and b) the general
    stylesheet for all
    of the includes (these don't really need to be separate
    files). Spawn a
    child page, drop in the desired include, and save that page
    as
    whocares.shtml.
    That's it....
    The incude files themselves can be names anything you want -
    I like the
    'monkeybutt' extension, e.g.,
    yourinclude.monkeybutt
    The include files can make reference to CSS selectors, but
    cannot have
    embedded CSS rules, or links to external CSS files.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "~Billy~" <[email protected]> wrote in
    message
    news:eq234v$eq6$[email protected]..
    > Ive made myself confused now! I need it spelling out to
    me!
    >
    > Ok, a template file (dwt) with its css as an external
    style sheet.
    >
    > Rest of the sites pages made from the template file.
    >
    > Next, the template has one editable region for a choce
    of 2 div based
    > menus to
    > be placed into. Place either of these div menus into the
    template editable
    > region by creating two seperate SHTML files - one for
    each menu with the
    > body/head removed(and with internal or external css?)
    >
    > Next put the SSI code into the body of the template
    where I want the SSI
    > to
    > appear.
    >
    > Im sure Ive not got it right yet!! My head wont work
    lately!
    >

  • Poriblems with Server Side Include

    I amtrying to convert to Spry Menus using SSI. into a template.  been beating my head against the wall on what can go in and what can't in an include fil but that turns out not be my big problem
    when in using Dredamweaver CS5   and  do a server side I have major issues at the differeent levels
    i have the file in a directory off the site root called  Includes
    the file i am trying to include
    using a page at the root level my statement using document relation is
    <!--#include file="Includes/Navbar.html" -->
    works fine   channg to site relation does not work   Ok so far so good
    however a page in a lower level director gets the dreaded
    [an error occurred while processing this directive]
    and i get an error
    [Sat Sep 01 16:51:42 2012] [error] [client 174.57.220.98] unable to include file "../Includes/Navbar.html" in parsed file /usr/local/www/kasdivi.com/blog/beachguide.html
    and also
    Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/memcache.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/apc.so&quot;
    Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open &quot;/usr/local/lib/php/20100525-debug/pdf.so&quot;
    the php errors don't seem mahor although they seem to have i have another iisue or are the related
    but that aside
    If I move the include file to the same level as the pade with approprirate include statement no problem it works
    if i move it to a subditrectory  then it doesn't work
    summary
    i can get SSI to work for page on the root level using Includes from a subdirectory
    but on other level I must have the include in the same directory with the page
    any thoughts??

    Your menu links are inside an include file.  There should be nothing else inside that file except the list tags, classes & hyperlinks.  Links are relative to the parent page(s) in which they will occur.
    All supporting scripts and CSS go inside the parent page -- in your case, the Template.dwt file.
    Local Files Panel:
         -Includes
              menu.html
              footer.html
         +Styles
         +SpryAssets
         -Templates
              main.dwt
         about.shtml
         contact.shtml
         index.shtml
         services.shtml
    Problems will occur if you use document relative link paths with pages that are located inside sub and sub-sub folders. Obviously, you want to avoid doing that.  For best results, keep all your site pages at root level.
    Hope this helps,
    Nancy O.

  • Local SWF vs Server Side SWF and PHP

    I am having the strangest problem... I have a form in Flash
    where I use the sendAndLoad () function to communicate with a PHP
    file, that then sends an email with the loaded data. The action
    works fine when I run the SWF from my Mac to the server side PHP
    file using an absolute address. But it doesn't work when the SWF is
    on the server, again running an absolute path to the PHP file.
    Has anyone experienced this issue before? Is it a problem
    with security?
    Thanks,
    g

    Hi David
    If an online converter suits you, try Flabaco - www.flash-banner-converter.com
    It converts SWF to Video, generating three formats - MP4, OGG and WebM.
    Kayo

  • Problem with Server-Side InitialContext

    The Weblogic 5.1 documentation states that to create a context from within a
    server-side object, all you need to do is issue the following statement:
    Context ctx = new InitialContext();
    That you do not need to specify a factory, or a provider URL; by default,
    the context will be created as a WebLogic context and will connect to the
    local naming service.
    I only get this to work when I am running from within an EJB. When I try
    this from a servlet, it doesn't work.
    I am running Weblogic 5.1 SP9 with JDK 1.3.1_02. Any ideas about what I may
    be doing wrong???

    Hi,
    runtime->session_id indicates the browser session not a windows session so as such there is nothing to prevent that except from preventing to open the app in the same browser again by eg testing on the session id
    Eddy

  • Problem with server side state saving ,JSF 1.1.1

    Hello,
    In my web.xml  the.STATE_SAVING_METHOD setting is s server
    <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>server</param-value>
        </context-param>
    for measurement of application security isn't not allow to change this parameter to client , so the problem  when i access for application and i open a new page via linker for print for example and i would access for my initial page to make change or modify my initial page it s no possible to make any modification because i have a empty bean , but if the state saving is a client i haven't a problem because a tree map is stored in client browser, so my version of JSF is 1.1.1 ,
    So can you explain the cause for his problem
    and what's the solution for my problem ?
    NB:i can't change the parameter for STATE_SAVING_METHOD for a client
    Thank you

    did you search this form, there were lot of discussions in the past about server side cookies, you may find an answer to your problem.
    alternate approache for sending a value from parent page to the pop up window.
    1. when opening the pop up pass the values along with the url (if the size of variable is small)
    alternatively you can store the value in a hidden form field in parent window and access the same from poup window using
    you can simple access the page one form field value in page 2 (pop up) by using the following code.
    window.opener.document.getElementById('hiddenformfieldid').value

  • Problem with server side cookie

    Hi, I have a problem with a server side cookie. I'm trying to store a cookie trough the  cl_bsp_server_side_cookie=>set_server_cookie method in the OnInitialitation event handler of a bsp (my bsp application is non mvc) and then to retrieve this cookie trough the  cl_bsp_server_side_cookie=>get_server_cookie method in the OnInputProcessing event handler of the same bsp. In this cookie i'm storing a internal table but i'm not getting it when i invoke the get_server_cookie method.
    This is the source code that i'm implementing:
    OnInitialitation:
    wa_comunnication_data-mobile = wa-mobile.
              wa_comunnication_data-telefono = wa-tel_number.
              wa_comunnication_data-email = wa-email.
              APPEND wa_comunnication_data to comunnication_data.
               cl_bsp_server_side_cookie=>set_server_cookie(
                  EXPORTING
                   name = 'cook_comunnication_data'
                   application_namespace = 'NONE'
                   application_name = 'NONE'
                   username = 'NONE'
                   session_id = runtime->session_id
                   data_value = comunnication_data
                   data_name = 'comunnication_data'
                   expiry_time_rel = 720 ).
    OnInputProcessing:
    cl_bsp_server_side_cookie=>get_server_cookie(
          EXPORTING
           name = 'cook_comunnication_data'
           application_namespace = 'NONE'
           application_name = 'NONE'
           username = 'NONE'
           session_id = runtime->session_id
           data_name = 'comunnication_data'
          CHANGING
           data_value = comunnication_data ).
         READ TABLE comunnication_data INDEX 1 INTO wa_comunnication_data.
    regards, marcel.

    Why do you need to use cookies in the same BSP Application?
    Try to use below:
        username              = sy-uname
        application_name      = runtime->application_name
        application_namespace = runtime->application_namespace
    <i>*reward each useful answer</i>
    Raja T
    Message was edited by:
            Raja Thangamani

  • PLEASE help with server-side form validation using PHP!!!

    I feel like im going round and round in circles with this, after looking into all sorts of server-side advice i've come to the conclusion that i want to validate my form using server-side validation with PHP.
    So my form has several drop down menu's and  textareas  (not all of them need validation). For the part of my form i would like to validate, all i want is the drop downs to have to be changed/selected. So just a simple message like "You must select an option" if customers haven't done so. For the textareas, they just need to be filled out, so a message like "Information required" to come up if customers haven't done so.
    I believe i need to create a PHP page say for example 'error.php' place  the validation code in there and set this part of the the form to -
    <form name="product"form action="error.php" method="post" class="product_form">
    BUT im getting really confused with creating the code for the error.php. Please please can anyone help me with this!!!???
    Here are the drop down menu's i need validation on, error message being "You must select an option",
    "figurine"
    "engraving"
    "font"
    and here are the textareas that need validating, error message "Information required",
    "test"
    "Name"
    "house"
    "line_1"
    "line_2"
    "county"
    "postcode"
    "tel"
    www.milesmemorials.com/product-GK1.html
    I'd really appreciate any help!!!

    Ness_quick wrote:
    Great thats good enough for me. In that case, would you please be able to help me create the javascript for the above validation?? If you could just help me create it for this page i can amend it for all the other pages. I'd really really appreciate it!!!
    Can you follow the below example?? Obviously AFTER validation has been successful you need to collect the information from the form and send it to the recipient email address...that's where you can use php. I'll check back tomorrow and see how you are doing.
    <!DOCTYPE HTML>
    <html><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Form validation</title>
    <!-- VALIDATE ORDER FORM  -->
    <script type="text/javascript">
    <!--
    function RequiredFormFields() {
        // inform customer to provide figurine choice
    var figurine = document.forms.product.figurine.value;
    if (figurine == "-- Select figurine --")
    alert("Please provide figurine choice");
    return false;
    // inform customer to provide engraving choice
    var engraving = document.forms.product.engraving.value;
    if (engraving == "-- Select engraving --")
    alert("Please provide engraving choice");
    return false;
    // inform customer to provide font choice
        var font = document.forms.product.font.value;
    if (font == "-- Select style --")
    alert("Please select font style");
    return false;
    // inform customer to provide their name
    var Name = document.forms.product.Name.value;
    if (Name == null || Name == "")
    alert("Please provide your name");
    return false;
    // inform customer to provide their house number/name
    var house = document.forms.product.house.value;
    if (house == null || house == "")
    alert("Please provide your house number/name");
    return false;
    } // end function
    -->
    </script>
    </head>
    <body>
    <form name="product" form action="processForm.php" method="post" class="product_form" onsubmit="return RequiredFormFields()">
    <p class="product_form_options">Choice of Figurine<br>
    <select name="figurine" class="productButton" id="figurine" onChange="Recalculate()">
    <option selected>-- Select figurine --</option>
    <option value="7031">Tropical Green Granite with bronze sacred heart figurine as pictured(&pound;7031)</option>
    <option value="5216">Tropical Green Granite with bronze effect sacred heart figurine (&pound;5216)</option>
    <option value="5216">Tropical Green Granite with reconstituded figurine MF122(&pound;5216)</option>
    </select>
    </p>
    <p class="product_form_options">Engraved Lettering<br>
    <select name="engraving" class="productButton" id="engraving" onChange="Recalculate()">
            <option selected>-- Select engraving --</option>
            <option value="2.30">Sandblast and enamel painted (&pound;2.30/letter)</option>
            <option value="2.80">Sandblast and guilded (&pound;2.80/letter)</option>
            <option value="2.20">Maintenance free (&pound;2.20/letter)</option>
            <option value="3.73">Traditionally hand cut and enamel painted (&pound;3.73/letter)</option>
            <option value="3.98">Traditionally hand cut and gilded (&pound;3.98/letter)</option>
            <option value="4.34">Raised lead and enamel painted (&pound;4.34/letter)</option>
            <option value="4.59">Raised lead and gilded (&pound;4.59/letter)</option>
          </select>
    </p>
    <p class="product_form_options">Letter/Font Style<br>    
          <select name="font" class="productButton" id="font" >
               <option selected>-- Select style --</option>
               <option value="Maintenance free">Maintenance free </option>
               <option value="White painted block">White painted block</option>
               <option value="White painted roman">White painted roman</option>
               <option value="White painted Script">White painted Script</option>
               <option value="White painted Celtic">White painted Celtic</option>
               <option value="White painted Nova">White painted Nova</option>
               <option value="Sliver painted block">Sliver painted block</option>
               <option value="Sliver painted roman">Sliver painted roman</option>
               <option value="Sliver painted Script">Sliver painted Script</option>
               <option value="Sliver painted Celtic">Sliver painted Celtic</option>
               <option value="Sliver painted Nova">Sliver painted Nova</option>
               <option value="Gold leaf painted block">Gold leaf painted block</option>
               <option value="Gold leaf painted roman">Gold leaf painted roman</option>
               <option value="Gold leaf painted Script">Gold leaf painted Script</option>
               <option value="Gold leaf painted Celtic">Gold leaf painted Celtic</option>
               <option value="Gold leaf painted Nova">Gold leaf painted Nova</option>
               <option value="Gold leaf painted Old English">Gold leaf painted Old English</option>
             </select>
             </p>
             <p>
    <p>Name<br>
    <input name="Name" type="text" id="Name" value="">
    </p>
    <p>House name or number:<br>
    <input name="house" type="text" id="house" size="67">
    </p>
    <p>
    <input name="submit" type="submit" class="place_order" id="submit" value="Place order">
    </p>  
    </form>
    </body>
    </html>

  • Is any server side cursor concept in jdbc

    hello friends,
    i am new programmer in java, i am doing one project in which
    i have to show the record in group (like user click one <1> link then
    he can view first 10 record if <2> then he can view 11 -20 record list) on
    same page.
    tech - jsp/servlet
    database - mysql
    and if u know any tutorial jsp and mysql connectivity please tell me.
    waiting 4 reply
    thanx
    nil4u

    You will have to implement the caching of the results on the server side and return the results as the user requests them. You can use the CachedRowSet on the server side to help you do this. There may be some utilities and tools available to help with this, try googling.

  • Issues with server side recording in FMS

    I have FMS installed on Windows XP machine.
    I am recording using the server side Stream class. This
    creates a FLV but when I play it back it does not play though it
    has created the file under the dir in FMS.
    After a lot of research I figured out that the recording is
    done properly but I have to restart my FMS before the play back.
    After which the play back goes on smoothly.
    Can any one help me with this. I need to know if this is a
    known issue or else I have to do something on stream at the the
    server side after recording so that I can play it back immediately.

    **Bump**
    I am having a similar issue. I have an app that will redirect
    the stream to the same application but a different instance. The
    ns.publish method is called for recording and the file will write
    correctly. However, after I stop publishing and go in to play the
    file in flv player, it doesnt play back. Looks like the meta data
    is there but no video. Is there a specific procedure to close off
    the file or something that I'm not performing?

  • Server Side Includes and Javascript

    Can one safely include javascript in a server-side include
    (SSI) file? It seems to work but don't know if it will create
    problems down the line. I am using a roll-over navigation bar
    created and generated in Fireworks. It seems to defeat the purpose
    of using SSI if you can't include the javascript since if there was
    a change at some point to the navigation bar you would have to
    change the javascript that went with it. And it is nice to keep all
    that extra coding out of every file on the site. IS there an
    official word on this or some process in creating a SSI file that
    could prevent any problems?
    You can see the file I created using this at
    http://www.hopkinsandporter.com/test.shtml

    > Can one safely include javascript in a server-side
    include (SSI) file?
    Yes, but it makes your parent page's derived code messy.
    > I am using a
    > roll-over navigation bar created and generated in
    Fireworks.
    This is a big mistake for so many reasons.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "TSemmes" <[email protected]> wrote in
    message
    news:e52id2$pt1$[email protected]..
    > Can one safely include javascript in a server-side
    include (SSI) file? It
    > seems
    > to work but don't know if it will create problems down
    the line. I am
    > using a
    > roll-over navigation bar created and generated in
    Fireworks. It seems to
    > defeat the purpose of using SSI if you can't include the
    javascript since
    > if
    > there was a change at some point to the navigation bar
    you would have to
    > change
    > the javascript that went with it. And it is nice to keep
    all that extra
    > coding
    > out of every file on the site. IS there an official word
    on this or some
    > process in creating a SSI file that could prevent any
    problems?
    >
    > You can see the file I created using this at <a
    target=_blank
    > class=ftalternatingbarlinklarge
    > href="
    http://www.hopkinsandporter.com/test.shtml">http://www.hopkinsandporter.co
    > m/test.shtml</a>
    >

  • [Solved] Login freezing with busy mouse cursor and black screen.

    After installing some recent updates I have suddenly found a problem when starting the login manager for Cinnamon.
    After booting I am greeted with a black screen and a "busy" mouse cursor - like a stopwatch. I can't ctrl-alt-backspace to restart X.
    What fixes it is - if I ctrl-alt-F2 to a new console and kill -9 the Xorg process. This causes X to restart normally. I have to do this every time now
    I don't know if this is systemd related or what, but it only seemed to happen after the updates below.
    [2012-11-23 21:32] Running 'pacman -Sy'
    [2012-11-23 21:32] synchronizing package lists
    [2012-11-23 21:33] Running 'pacman -S -u'
    [2012-11-23 21:33] starting full system upgrade
    [2012-11-23 21:35] upgraded accountsservice (0.6.25-1 -> 0.6.29-1)
    [2012-11-23 21:35] upgraded calibre (0.9.6-2 -> 0.9.7-1)
    [2012-11-23 21:35] upgraded cronie (1.4.8-3 -> 1.4.8-4)
    [2012-11-23 21:35] upgraded dhcpcd (5.6.2-1 -> 5.6.3-2)
    [2012-11-23 21:35] upgraded firefox (16.0.2-1 -> 17.0-1)
    [2012-11-23 21:35] upgraded firefox-adblock-plus (2.1.2-1 -> 2.2.1-3)
    [2012-11-23 21:35] upgraded firefox-i18n-en-gb (16.0.2-1 -> 17.0-1)
    [2012-11-23 21:35] upgraded gnome-mplayer (1.0.7-1 -> 1.0.7-2)
    [2012-11-23 21:35] upgraded gstreamer (1.0.2-1 -> 1.0.3-1)
    [2012-11-23 21:35] upgraded gst-plugins-base-libs (1.0.2-1 -> 1.0.3-1)
    [2012-11-23 21:35] upgraded gst-plugins-bad (1.0.2-1 -> 1.0.3-1)
    [2012-11-23 21:35] upgraded gst-plugins-base (1.0.2-1 -> 1.0.3-1)
    [2012-11-23 21:35] upgraded gst-plugins-good (1.0.2-1 -> 1.0.3-1)
    [2012-11-23 21:36] upgraded harfbuzz (0.9.5-2 -> 0.9.6-1)
    [2012-11-23 21:36] upgraded libsecret (0.11-1 -> 0.12-2)
    [2012-11-23 21:36] >>> Updating module dependencies. Please wait ...
    [2012-11-23 21:36] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-11-23 21:36] ==> Building image from preset: 'default'
    [2012-11-23 21:36] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-11-23 21:36] ==> Starting build: 3.6.7-1-ARCH
    [2012-11-23 21:36] -> Running build hook: [base]
    [2012-11-23 21:36] -> Running build hook: [udev]
    [2012-11-23 21:36] -> Running build hook: [pata]
    [2012-11-23 21:36] -> Running build hook: [scsi]
    [2012-11-23 21:36] -> Running build hook: [sata]
    [2012-11-23 21:36] -> Running build hook: [autodetect]
    [2012-11-23 21:36] -> Running build hook: [filesystems]
    [2012-11-23 21:36] -> Running build hook: [usbinput]
    [2012-11-23 21:36] ==> Generating module dependencies
    [2012-11-23 21:36] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-11-23 21:36] ==> Image generation successful
    [2012-11-23 21:36] ==> Building image from preset: 'fallback'
    [2012-11-23 21:36] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-11-23 21:36] ==> Starting build: 3.6.7-1-ARCH
    [2012-11-23 21:36] -> Running build hook: [base]
    [2012-11-23 21:36] -> Running build hook: [udev]
    [2012-11-23 21:36] -> Running build hook: [pata]
    [2012-11-23 21:36] -> Running build hook: [scsi]
    [2012-11-23 21:36] -> Running build hook: [sata]
    [2012-11-23 21:36] -> Running build hook: [filesystems]
    [2012-11-23 21:36] -> Running build hook: [usbinput]
    [2012-11-23 21:36] ==> Generating module dependencies
    [2012-11-23 21:36] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-11-23 21:36] ==> Image generation successful
    [2012-11-23 21:36] upgraded linux (3.6.6-1 -> 3.6.7-1)
    [2012-11-23 21:36] upgraded logrotate (3.8.2-1 -> 3.8.2-2)
    [2012-11-23 21:36] upgraded ntfs-3g (2012.1.15-3 -> 2012.1.15-4)
    [2012-11-23 21:36] upgraded ntfsprogs (2012.1.15-3 -> 2012.1.15-4)
    [2012-11-23 21:36] installed gtkglext (1.2.0-9)
    [2012-11-23 21:36] upgraded opencv (2.4.3-2 -> 2.4.3-3)
    [2012-11-23 21:36] upgraded shadow (4.1.5.1-1 -> 4.1.5.1-2)
    [2012-11-23 21:36] upgraded thunderbird (16.0.2-1 -> 17.0-1)
    [2012-11-23 21:36] upgraded thunderbird-i18n-en-gb (16.0.2-1 -> 17.0-1)
    [2012-11-23 21:36] Updating font cache... done.
    [2012-11-23 21:36] upgraded ttf-liberation (2.00.1-1 -> 2.00.1-2)
    [2012-11-23 21:36] upgraded vi (1:050325-2 -> 1:050325-3)
    [2012-11-23 21:40] Running 'pacman -U /tmp/yaourt-tmp-john/PKGDEST.mEd/dirsyncpro-1.45-1-i686.pkg.tar.xz'
    [2012-11-23 21:40] upgraded dirsyncpro (1.44-1 -> 1.45-1)
    [2012-11-23 21:44] Running 'pacman -U /tmp/yaourt-tmp-john/PKGDEST.KyH/muffin-git-20121123-1-i686.pkg.tar.xz'
    [2012-11-23 21:44] upgraded muffin-git (20120610-1 -> 20121123-1)
    [2012-11-23 21:45] Running 'pacman -U /tmp/yaourt-tmp-john/PKGDEST.6mB/shutter-0.89.1-1-i686.pkg.tar.xz'
    [2012-11-23 21:45] upgraded shutter (0.88.3-1 -> 0.89.1-1)
    [2012-11-23 21:45] Running 'pacman -U /tmp/yaourt-tmp-john/PKGDEST.MTz/unix-runescape-client-3.9.4-1-any.pkg.tar.xz'
    [2012-11-23 21:45] ==> for compatibility mode to work, you need to install 'wine' and any windows jre inside it.
    [2012-11-23 21:45] upgraded unix-runescape-client (3.9.2-2 -> 3.9.4-1)
    Any ideas?
    Last edited by PTBM133A4X (2012-11-27 21:24:49)

    PTBM133A4X wrote:
    SIGTERM wrote:Try downgrading accountsservice to 0.6.25.
    WOW! That did it
    Could you explain what happened or why this fixed it please?
    Thanks for your help.
    I don't know the details to be honest, but the title of your post basically describes my situation with GDM when I used accountsservice >0.6.25, so I figured it was worth a shot, since the symptoms were the same.
    Also, Cinnamon depends on accountsservice if I'm not mistaken, so it didn't seem unreasonable that the update broke Cinnamon too.
    I'm glad it works now. Let's hope a updated, working version of accountsservice is released soon.

Maybe you are looking for