SQL Server wants to open properties of wrong database and cannot restore logs of different databases at the same time

We have implemented our own way of logshipping by backing up the transaction logs of all our non-system databases every hour. Then we transfer the backups (before SQL Server 2008 R2 with additional zip and unzip steps) to the second environment where we
restore them only during the night on databases in standby-state (Like this, our developers can access the databases without disturbing the productive system and we can restore the t-logs during night, so not shutting out the developers during the day).
Now since we replaced our hardware in the productive environment, we replaced the hardware in the second environment with the servers from previous productive environment. Same SQL Server 2008 R2, same Service Pack (SP2), same installation procedure. But
since then the SQL Server in the second environment behaves different:
- When the logs of some database "A" are restored, I cannot access the properties of any database, i.e. database "B", I only get the error message "Cannot show requested dialog. (SqlMgmt) Database 'A' cannot be opened. It is in the
middle of a restore. (Microsoft SQL Server, Error: 927)"
- Our logshipping runs multiple instance at the same time, so restoring multiple databases' logs. But since the change, two of the instances fail restoring of datatbases, i.e. "B" and "C" with the error message "Database 'A' cannot
be opened. It is in the middle of a restore.". The jobs guarantee to restore only logs of the database they need to restore, they have strictly separated sets of target databases and only try to restore the databases of their sets.
Before the new installations, we did not have these strange behaviours. But as said, it is the same SQL Server version, the same service pack, and we followed the same installation document but maybe with the small changes in settings. The user the jobs
are running under is a domain admin, the login they use has dbcreator, processadmin, db_owner and db_backupoperator roles. My login on the SQL Server has sysadmin rights and as described similar problems.
Is this problem known or does somebody have an idea where to go looking for?
Thanks, Chris

Hi Christar,
According to your description, after you configuring Log shipping between two database, you remove the hardware from production environment to dev environment, in this hardware, there are saved the transaction logs of your database.
 When restoring  your database, there will occurs error 927, right?
SQL Server Log shipping allows you to automatically send transaction log backups from a
primary database on a primary server instance to one or more
secondary databases on separate secondary server instances. It consists of three operations:
1.Back up the transaction log at the primary server instance.
2.Copy the transaction log file to the secondary server instance.
3.Restore the log backup on the secondary server instance.
Since you want to move your hardware avoiding copy job, we need to verify if .mdf and .ldf file are not saved in your hardware, or else,
 if you move your hardware, you could not open your database in your Primary Server. I recommend you can refer to the following steps.
Full back up your primary database and restore it into the secondary database. It would have been set up as WITH STANDBY ,the databases would read StandBy/ Read Only.
Perform transaction log backups via a SQL Server Agent job running on the primary server instance, save them in your hardware.
In night, you move hardware to your dev environment, you can manually restore these transaction log backups or set up a SQL Server Agent job to restoring them from your hardware.
There is detail about how to configure log shipping in SQL Server 2008R2 step by step, you can review it.
http://mostafaelmasry.wordpress.com/2013/01/02/log-shipping-in-sql-server-2008r2-step-by-step/
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support

Similar Messages

  • Can i open 2 windows under 2 different profiles at the same time?

    Both me and my sister use facebook at the same time but we keep having to log out, i was wondering if i could open 2 windows (i have 2 profiles) under different profiles at the same time?

    1) Check the firmware on router under status tab.....
    2) Uncheck "Block WAN request" under security tab .... click save settings
    3) If required forward ports under "Applications & gaming" tab  .....
    See if above settings work ....

  • For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

    For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

    For the past month, I've had an echo of my voice while I'm talking on my phone.  It's very annoying and sounds like multiple people are speaking at the same time and it's only me.  Anyone know what's wrong?

  • Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    is this a windows in bootcamp question ?

  • How can I open two tabs and see two windows side by side at the same time?

    The instruction I found on the web about using | between web addresses did not work. I have a Mac. Thanks.

    The | character is typically used when creating multiple home pages. If you want two tabs displayed at the same time, you can try the [https://addons.mozilla.org/en-US/firefox/addon/4287/ Fox Splitter] add-on.

  • Is is possible to open event lists from different tracks at the same time in Logic Pro 9?

    Is it possible to open event lists from two difference tracks in an arrangement at the same time in Logic Pro 9?
    When I switch between tracks the event list swiches as well. Thanks in advance.

    If you deselect the litte chain link icon in the event list window, it will no longer follow your region selection and you can openas many as you need. Also you can select multiple regions and see the inthe SAME window if you select to show multiple regions, and you can have the notes shown in their respective track colors.

  • Is it possible to order two different cards at the same time? I do not want to pay shipping costs twice.

    Hi, here's my problem. I made two different Christmas cards that I want to hand over in person. When I order one however, I can not select the other one, despite the fact that I want them both delivered to the same adress. Is there a way to order both as a bundle?
    Thanks a lot
    Best, Stefan

    Afraid not.

  • Can't open two streams from twitch fullscreen on different monitors at the same time, why not?

    When i try to open two streams each on one monitor ( in fullscreen), the one opened second just overlaps the existing one.

    Hi wilson1470,
    Only one window can be in fullscreen at a time. Is it possible to keep the second on in a tab of the same fullscreen window?
    This may be a nice alternative to what you are looking for: [https://addons.mozilla.org/en-US/firefox/addon/monitor-master/]

  • Cant open multiple profiles at the same time on Outlook.

    So i have done some research and found that you can use command line switches to open different profiles in Outlook.
    e.g. "C:\Program Files\Microsoft Office\Office15\OUTLOOK.EXE" /profiles "ProfileName"
    What i want to do is open two different profiles at the same time. So i already have one profile open, i use the method above, however it simply opens a copy of the profile i already have open rather than the one i defined in the command line switch?
    I know it works because if i don't have a profile open it opens the profile i specify. Is this by design? If so what is the point in having a profile switch? If someone could help me get this working it would be great.
    Thanks in advance.

    Hi Eric,
    Thanks for confirming this. We already have all the mailboxes that she wants on her main profile. The problem is that Outlook cant handle processing all of these at the same time and continuously crashes and hangs. As i said previously the .ost for her profile
    was 16GB, i have managed to reduce to 9GB but Microsoft themselves say that anything above 5GB needs extra hardware power for a good user experience.
    http://support.microsoft.com/kb/2695805/en-gb 
    Up to 5 gigabytes (GB): This file size should provide a good user experience on most hardware.
    Between 5 and 10 GB: This file size is typically hardware dependent. Therefore, if you have a fast hard disk and lots of RAM, your experience will be better. However, slower hard disk drives,
    such as drives that are typically found on portable computers or early-generation solid-state drives (SSDs), experience some application pauses when the drives respond. 
    More than 10 GB: When the .ost file reaches this size, short pauses begin to occur on most hardware.
    Very large (25 GB or larger): An .ost file of this size increases the frequency of short pauses, especially while you are downloading new email messages. However, you can use Send/Receive
    groups to manually sync your mail. For more information about Send/Receive groups, see the "Are you synchronizing many RSS feeds?" section.
    I find it surprising that you cant have multiple profiles with different mailboxes when you consider you can only have an .ost up 5GB to have a good user experience. Maybe this is something the developers can put into the next version of Outlook? Or release
    as a patch?

  • Problem with multiple gmail accounts. If I open two accounts in different tabs, Firefox makes them both the same, effectively closing one of them. I would rather have both gmail accounts open at the same time.

    I belong to a chorus of 100+ singers. A lot of us use gmail for our personal email. We have a google site where we share information. We log into that site as [email protected] I would like to open the chorus site in a new tab, leaving the original tab still logged in to my personal gmail account. Currently, my original tab will also get logged into the chorus account, and I will be logged out of my personal account. Why does information in one tab disturb the information in another tab? I can keep both accounts logged in if I log into one with firefox and the other in internet explorer. But I'd rather just do it with a tab, not a whole second browser.

    You can look at one of these if you want to sign on with different identities at the same time:
    * CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    * CookieSwap: https://addons.mozilla.org/firefox/addon/3255
    * Multifox: http://br.mozdev.org/multifox/ - Different logins at the same time

  • How to open multiple hotmail accounts at the same time ?

    Hi,
    Seems maybe normal for some people but I coming from internet explorer and with this explorer I was able to open multiple hotmail accounts at the same time, by default firefox can't do that, is there some setup to modify to open these at the same time ?
    Thanks in advance for any help.
    (Version updated 3.6.8)
    Regards,
    Chris

    You can look at one of these if you want to sign on with different identities at the same time:
    * CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    * CookieSwap: https://addons.mozilla.org/firefox/addon/3255
    * Multifox: http://br.mozdev.org/multifox/ - Different logins at the same time

  • My hus why cant I have two browsers open at the same time like i did with 3.6

    My husband and I both use facebook. I used to be able to open one browser under his name then another under mine. Since i downloaded the new ff4 I can only get on one at a time and it signs me out of the other. How do I fix this!!!!!

    You can look at one of these if you want to sign on with different identities at the same time.<br />
    Use the "Firefox 4? Try Multifox 2 Beta 1!" link.
    * Multifox: http://br.mozdev.org/multifox/

  • How do I open up separate sessions so I can get separate email sessions open at the same time?

    I want to have two separate email sessions open. I want to be able to switch back and forth between two email sessions without being forced to log off and on again.

    You can look at these extensions:<br />
    * Multifox: http://br.mozdev.org/multifox/ - Different logins at the same time
    * CookiePie: http://www.nektra.com/oss/firefox/extensions/cookiepie/
    * CookieSwap: https://addons.mozilla.org/firefox/addon/3255

  • SQL Server plug-in Missing Properties : [provided_sql_server_name]

    I've recently deployed SQL Server plug-in 3.2.3.1.0 and am having difficulty with the final error I'm receiving. I have been through the troubleshooting guide and am finding no errors with the WMI setup, etc. When I test connection, I get
    Missing Properties : [provided_sql_server_name]
    SQL Server 2000 - SP4
    Windows 2003 SP1 - Standard Edition.
    I have set up a separate SQL Server user with sysadmin role, and I can see that it is logging in to the default instance just fine (no named instances on the server).
    Anyone have any pointers?

    Warning
    Failed to contact the target to be added. Following errors were received while testing the connection to the target. Update the properties accordingly, try Test Connection for testing the properties before saving.
    Response - Missing Properties : [provided_sql_server_name]
    JDBC URL: jdbc:sqlserver://APP-APS003.app.tdsgroup.net:1433
    JDBC Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Database Username: filled in with valid username
    Password for Database User: Filled in with valid password.
    Again, this is a 'default instance' on a Windows 2000 server.

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

Maybe you are looking for

  • How to delete Open Activities in the DTR Web UI? Functions are missing...

    Hi@all, we have some problems with open activities and files that are checked-out. To solve this we found this desciption by SAP: "Deleting Open Activities in the DTR Web UI Since open activities can be a problem if they cannot be found any longer -

  • IMac and other Apple devices lose wireless connections

    We have two Apple iMacs, a MacBook Pro, an iPad and iPad2 and they all intermittently lose their Wireless connection to my network.  All of my PC's work just fine and stay connected.  This is funny... the MacBook Pro booted to Windows 7 Pro stays con

  • CFolders error in bid. Integration with SAP SRM

    Hi All, I have a problem with bids for bid invitation with collaborations. Cfolders installed as addon to SRM, SAP xRPM/cProjects/cFolders 4.50 (ABAP). I have done the foll steps: u2022 define a LS for cFolders( you have to duplicate SRM LS if it is

  • Problems with Apple Mail attachments not showing in Outlook

    I am experiencing problems when using the new Apple Mail 5.0 (with OSX Lion) to send PDF attachments. The recipient using MS Outlook on a PC will see the email, see the attachment icon (paper clip) but they cannot click to open the attachment. It's l

  • Does front row?

    i was wondering does front row save you battery time on your macbook/pro? like if i'm on an airplane and want to watch a DVD is it worth it to watch it in front row or in iDVD? or some other program entirely?