Server 2012 in Journal Wrap - how to resolve

Server 2012 AD controller running in 2008R2 native domain. Even logged showed that DFSR was not replicating.
Ran the command in event log.
After running the command, my Domain is in Journal wrap.  How do I correct that on a 2012 server?
Command and output:
wmic /namespace:\\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="8D7CDF6C-EAC3-11E2-93E8-806E6F6E6963" call ResumeReplication
Executing (\\SRV-DC2\root\microsoftdfs:DfsrVolumeConfig.VolumeGuid="8D7CDF6C-EAC
3-11E2-93E8-806E6F6E6963")->ResumeReplication()
Method execution successful.
Out Parameters:
instance of __PARAMETERS
        ReturnValue = 0;
Journal wrap event:
The DFS Replication service stopped replication on the replicated folder at local path C:\Windows\SYSVOL\domain.
Additional Information:
Error: 9073 (Content set initialization is pending journal wrap task to resume journal read)
Additional context of the error:  
Replicated Folder Name: SYSVOL Share
Replicated Folder ID: A0619EF8-0AF7-4316-80E6-DEBB7B816600
Replication Group Name: Domain System Volume
Replication Group ID: 41C2BF18-BF26-48A0-942F-630AF2EC4472
Member ID: F258A22F-33D4-46CC-A5F0-029E06D54A99
thanks
The Mirazon Group

The root cause of this was discovered to be Veeam backup. We got parts of the fix from a few different replies. 
Basically stop DFSR service on other dc’s.
To perform an authoritative synchronization of DFSR-replicated SYSVOL, we set:
msDFSR-Enabled=FALSE
msDFSR-options=1
More details:
http://support.microsoft.com/kb/2218556
The option “msDFSR-Options”=1 is what makes a SYSVOL as primary or in other words as authoritative. Not using this option implies the non-authoritative restore.
Here’s the screen shot of what this setup looked like to clear everything up.
<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe"
stroked="f"><v:stroke joinstyle="miter"><v:formulas></v:formulas></v:stroke></v:shapetype><v:shape alt="" id="Picture_x0020_2" o:spid="_x0000_i1025" style="width:1200pt;height:603pt;"
type="#_x0000_t75"><v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\MICHAE~1.PAT\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png">
</v:imagedata></v:shape>
The Mirazon Group
A couple of the Mirazon engineers working from the information we found here, let to the answer.
thanks

Similar Messages

  • Try to do my first XML Schema in SQL Server 2012 Mangement Studio(SSMS2012)-How to execute the xsd and xml files in SSMS2012?

    Hi all,
    I learmed the basic stuff of XML, DTD, DOM, etc. long time ago. Now, I came back to resume my XML journey and try to learn the XML Schemas, XPath and XQuery. I have Microsoft SQL Server 2012 Management Studio (SSMS2012) in our computer network. From
    Page 221 of the old Book "Beginning XML 2nd Edition" written by David Hunter, et.al., (published by Wrox), I copied the name5.xsd and name5.xml :
    <?xml version="1.0"?>
    <schema xmlns=http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.wrox.com/name" xmlns:target="http://www.wrox.com/name"
    elementFormDefault="qualified">
    <element name="name">
    <complexType>
    <sequence>
    <element name="first" type="string"/>
    <element name="middle" type="string"/>
    <element name="last" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    <?xml version="1.0"?>
    <name
    xmlns=http://www.wrox.com/name"
    xmlns:xsi="http://www.wrox.org/2001XMLSchema-instance"
    xsi:schemaLocation="http://www.wrox.com/name name5.xsd"
    title="Mr.">
    <first>John</first>
    <middle>Frizgerald</middle>
    <last>Doe</last>
    </name>
    How can I execute these two files in my SSMS2012 for doing my first XML Schema trial?
    Please kindly help, advise and respond.
    Thanks in advance,
    Scott Chang

    Hi Eric Zhang, Thanks for your nice response.
    1) I saw the CREATE XML SCHEMA COLLECTION (Transact-SQL) and tried  its first example "Create XML schema collection in the database" in my SQL Server 2012 Management Studio (SSMS2012):
    -- Create a sample database in which to load the XML schema collection.
    -- Copied this set of code stsments from Microsoft Library (ms176009)
    -- ColesMS12_20a.sql (saved in C:/Documents/SQL Server Management Studio)
    -- 19 March 2015 1145 AM
    CREATE DATABASE SampleDB
    GO
    USE SampleDB
    GO
    CREATE XML SCHEMA COLLECTION ManuInstructionsSchemaCollection AS
    N'<?xml version="1.0" encoding="UTF-16"?>
    <xsd:schema targetNamespace="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    xmlns ="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
    <xsd:complexType name="StepType" mixed="true" >
    <xsd:choice minOccurs="0" maxOccurs="unbounded" >
    <xsd:element name="tool" type="xsd:string" />
    <xsd:element name="material" type="xsd:string" />
    <xsd:element name="blueprint" type="xsd:string" />
    <xsd:element name="specs" type="xsd:string" />
    <xsd:element name="diag" type="xsd:string" />
    </xsd:choice>
    </xsd:complexType>
    <xsd:element name="root">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="Location" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="step" type="StepType" minOccurs="1" maxOccurs="unbounded" />
    </xsd:sequence>
    <xsd:attribute name="LocationID" type="xsd:integer" use="required"/>
    <xsd:attribute name="SetupHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="MachineHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LaborHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LotSize" type="xsd:decimal" use="optional"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>' ;
    GO
    -- Verify - list of collections in the database.
    select *
    from sys.xml_schema_collections
    -- Verify - list of namespaces in the database.
    select name
    from sys.xml_schema_namespaces
    -- Use it. Create a typed xml variable. Note collection name specified.
    DECLARE @x xml (ManuInstructionsSchemaCollection)
    GO
    --Or create a typed xml column.
    CREATE TABLE T (
    i int primary key,
    x xml (ManuInstructionsSchemaCollection))
    GO
    -- ////The following code statements are not used in order to create SampleDB
    -- Clean up
    ---DROP TABLE T
    ---GO
    ---DROP XML SCHEMA COLLECTION ManuInstructionsSchemaCollection
    ---Go
    ---USE Master
    ---GO
    ---DROP DATABASE SampleDB
    It worked and I got the following results:
    1 4 NULL sys 2009-04-13 12:59:13.390 2012-02-10 20:16:02.097
    65536 1 NULL ManuInstructionsSchemaCollection 2015-03-19 11:47:17.660 2015-03-19 11:47:17.660
    http://www.w3.org/2001/XMLSchema
    http://schemas.microsoft.com/sqlserver/2004/sqltypes
    http://www.w3.org/XML/1998/namespace
    http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions
    But, I don't undertand (i) what SCHEMA COECTION is, (ii) what <xsd:schema targetNamespace=.....</xsd:complexType> are, (iii) How I can specify my "project specific" schema in the Microsoft SCHEMA COLLECTION to check my xml file.
    2) I dived in the XQuery programmimng in SSMS2012 in the last few weeks. I used the examles of Ad-Hoc XML File Query by Seth Delconte (in
    httpS://www.simple-talk.com/content/print.aspx?article=1756) in my SSMS2012. They worked. But I don't understand the (i) Importing XML data using a function, (ii) Using the XQuery contans()
    function to find substrings, (iii)Efficiency comparisons in the article.
    Please kindly help me in enlightening me to resolve the difficulties listed in 1) and 2).
    Thanks,
    Scott Chang

  • DPM 2012 R2 journal wrap error

    Hi,
    i try to backup my active directory Using DPM 2012 R2.Below error has occurred.
    A journal wrap error has occurred on the change journal, and therefore DPM is unable to track any more changes or may have missed some changes for the data source C:\ on DC-Name.domin (ID 30117 Details: Internal error code: 0x809909D1)

    Hi,
    In the alert, Click the link to run synchronization with consistency check.
    If the problem persists, you can increase the change journal size or configure the current protection group to synchronize more often. To change the synchronization schedule, select the protection group in the Protection task area, and in the Actions pane,
    click Modify protection group. To change the change journal size, click Modify disk allocation, select the Protected Server tab, click Modify, and then change the space allocated.
    If you consistently get that error, then it may be antivirus s/w that is causing the USN to wrap.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Windows 8.1 pro client on a Windows server 2012 R2 Essentials domain, how to change lock when idle?

    Hi,
    I need to find out how to do something?
    I have Windows 8.1 pro running on my PC and its part of a domain which is Windows Server 2012 R2 Essentials, it all runs perfectly except for a little niggle where my Win 8.1 PC locks after its not used for a short time.  What I want to find out is
    how to change this so it no longer locks when idle?  I know this is a security feature but as its just my home pc it can be very annoying to log in again after walking away from the PC for a few min's.
    I've had a look through the default domain policy but there are so many settings that I can't find it, that's even if there is a setting there?
    Anyway can anyone help?
    Thanks
    JK
    JK MCP

    Hi,
    We can try to implement by use High performance power plan or GPO to prevent computer from locking down:
    Refer to the solution here:
    http://social.technet.microsoft.com/Forums/en-US/0863112d-ee54-4808-9d27-0380d7bf04b0/gpo-to-disable-lock-computer-?forum=winserverGP
    Also, you can check if there is any task scheduled for idle:
    Task Conditions
    http://technet.microsoft.com/en-us/library/cc721902.aspx
    Hope these could be helpful.
    Kate Li
    TechNet Community Support

  • Server 2012 R2 Essentials Role: How to change the port numbers?

    Hi All,
    I've installed Server 2012 R2 on a Hyper-V guest, and then installed the Essentials Role on it. I've setup the role, and can access the dashboard. However the client I have has only one static IP - and Exchange/IIS running on the Hyper-V host. So the normal
    ports for Access Anywhere won't work. I'd like to have the Access Anywhere respond on a different port - say 9999 for example. Then I can configure port forwarding on the router to pass it through, and have it working correctly as an SBS replacement. I messed
    around with the bindings in IIS, but that didn't really solve the problem. I thought that would be it - but I suppose it's possible the service isn't meant to run on another port?
    Has anyone had any luck in changing Access Anywhere to respond on a different port?
    Thanks!

    Hi,
    Based on your description, I understand that you want to change the default port of Anywhere Access. Please
    refer to following thread and check if can help you.
    WSE
    2012. Cant use port 443 for Anywhere Access
    If anything I misunderstand or any update, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • TS3899 Tried all the tips on line. Every time I try to send an e-mail, it gives me this message, "A copy has been placed in your Outbox. Sending the message content to the server failed" Any help in how to resolve would be appreciated

    I went through all the steps to try to resolve getting the message in a box every time i try to send an e-mail. What next ?
    Message is " A copy has been placed in your
                        Outbox. Sending the message content to the server failed."
    Any assistance would be greatly appreciated. My internet works fine as I can send e-mails from my Yahoo account on my MAC no problem.
    Address is fine etc.

    How long has it been going on? I've had my yahoo mess up and if i wait a bit it resolves itself. Yahoo is doing something with their servers and it messes with your mail if your mail happens to be on one of those servers.

  • Sql server 2005 in server 2012 domain

    Hello,
    I am running sql server 2005, in a 2003 domain.  I plan to possibly upgrade domain/servers to 2012, but am thinking it may create issues with sql 2005? 
    1. Can sql server version 2005 (32-bit) run ok in a 2012 server domain?
    2. If not, will it run ok, if I leave 2003 servers (running mixed mode) until sql 2005 is upgraded?
    Thank you
    Robert

    1. Can sql server version 2005 (32-bit) run ok in a 2012 server domain?
    No  & May be.
    No if you are trying to have multiple version of SQL Server on server ,as per this
    article
    SQL Server 2005 (the release version and service packs) and earlier versions of SQL Server are not supported on Windows
    Server 2012 R2, Windows Server 2012, Windows 8.1, or Windows 8. You will receive a warning in the Action Center if Windows 8.1 or Windows 8 detects an instance of SQL Server 2005.
    May be, if you just want to have single instance of SQL Server 2005 on server 2012. Check this:
    How to install SQL Server 2005 on Windows 8 
    2. If not, will it run ok, if I leave 2003 servers (running mixed mode) until sql 2005 is upgraded?
    To be able to answer this question in a better way, may I know your SQL Server 2005 version and to which version you want to upgrade? Check for the
    supported version and editor upgrade
    before going for upgrade along with there hardware and software requirements. 
    Glad to help! Please remember to accept the answer if you found it helpful. It will be useful for future readers having same issue.

  • Upgrade SQL Server 2008 R2 enterprise edition to SQL server 2012 slandered edition

    Hi everyone,
    Need help on below concern.
    I have SQL Server 2008 R2 enterprise edition installed. Which contains SSAS cubes, SSIS packages and SSRS Reports. 
    I need to upgrade it to SQL Server 2012 Standard edition. 
    How can I achieve this ??
    And I don't have much idea in SSIS package migrations. 
    Please help me to achieve this. 
    Thanks,
    Rohit

    Hi,
    Please follow side by side approach for upgrade.Get a new windows box and install SQL server 2012 on it
    Move databases from SS2008 R2 to SS 2012 by backup restore mechanism.
    Move
    jobs and logins by Scripting out and running it on SQL SS 2012.See links as well
    Please refer to
    this link for SSIS package migration
    For SSAS please post question in SSAS forum
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Change bytes per sector windows server 2012

    Hi,
    We have installed windows server 2012 Datacenter Edition on
    Cisco UCS C24 M3 server. We need to install this with 4K bytes per sector and 4K bytes ber physical sector. When we specify the unit size while formatting it only changes the
    bytes per cluster.
    We have tried to change it with 8K & 64K but in OS it shows only in
    512 Bit per sector. I have tried to get hotfixes for the same but i didn't got it for server 2012.
    Please help me to resolve this.
    Balkrushna

    Have you looked at this:
    http://msdn.microsoft.com/en-us/library/windows/desktop/hh848035(v=vs.85).aspx

  • Using SQL Server 2012 Express with Bitocker

    Hello,
    I'm currently working on getting our SQL Server Express database working with BitLocker but I am coming across a few problems. Here is my scenario:
    The OS is partitioned into two volumes (C and D).
    The C volume contains the OS and Software, while the D volume is primarily used for the database files (logs, back, and mdf).
    The D volume is encrypted using BitLocker
    The database connects using the SA account (SQL Server Authentication)
    From what I understand, BitLocker must be enabled with the same account that the SQL Server is running on. So what I have done is change the SQL Server service account to the user account (lets say its called User) via SQL Configuration Manager. While staying
    logged into User account, I then enable BitLocker via Control Panel -> System and Security -> BitLocker Drive Encryption. I then reboot and then while the software is trying to connect to the database I get the following  exception:
    'login failed for user sa'.
    Is there anything I need to do to get this working? Thanks for the help.

    Hi moncadad,
    When you turn off BitLocker, does the database also show “Recovery Pending”? If so, the simplest cause for “Recovery Pending” might be that a disk spin-up was slow, or a disk became full. Please read this
    blog to fix the issue, then check if you can successfully connect to the database after you turn on BitLocker.
    However, if you are not able to view the database contents only after you turn on BitLocker, I suspect that there are some issues about configuring BitLocker. As far as I know, Bitlocker must be performed by a member of Local Admins Group, please make sure
    that your account is a member of Local Admins Group on your computer.
    Also I would like to recommend you post the question in the
    Microsoft Bitlocker Administration and Monitoring (MBAM) forum to get better support. For more details about configuring SQL Server with Bitlocker, please review the following similar articles.
    Using SQL Server 2012 Standard with Bitlocker
    How can I retrieve my BitLocker recovery key from MBAM in Windows PE
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Is there an application to monitor users who log into Windows Server 2012 R2?

    I'm looking at Family Safety Feature in Windows 8 and like what they can do.  I have a request to monitor, track users who log into Windows Server 2012 R2 to see how many users login, how long each login is for each user so a monthly report can be generated.  
    1.  I just wonder if Windows Essential 2012 can be used for this purpose or not.  If it can, is Windows Essential 2012 a feature can be added or installed on Windows Server 2012 R2?
    2.  If Window Essential 2012 cannot be used for this purpose, is there any feature in Windows Server 2012 R2 that can be used for this purpose?
    3.  Is there any other suggestions?
    Thank you for your help.
    Thanks and Regards,
    Hien Phan

    Hi Hien,
    Anything updates?
    It seems that there is no feature can do that. I agree with Tim that you can check the event logs. In general, the event 4624 would be created when a user was logged on, and the event 4634 would be created when a user account was logged
    off.
    More information:
    Tracking User Logon Activity Using Logon Events
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How do I change the URL to the Remote Web Access server in Windows Server 2012?

    Hallo!
    I have set up a Remote Dexktop Service using the "Quick" deployment method in Server Manager and everything is working greate internally, but I cannot start an app published in Remote Web Access from outside our network.
    The problem is that it wants to start the using the internal URL, for example, server.domain.local, instead of the external one, for example remote.server.com.
    I therefore want to know how I can change the default URL for the Remote Web Access server and all the Remote Web Apps in Windows Server 2012?
    I have allready looked in Server Manager and I can change some of the deployment settings in server manager, but there is no way to alter the URL of the Remote Web Access server. See below images:
    Pressing the internal URL only results in opening the internal URL.
    This was very simple to do in Windows Server 2008 R2 using the tsconfig tool, but it does not seam to be any way of solving this in server manager.
    A possible sollution would be to alter the registry someware in HKLM->Software->Microsoft->Windows NT->Terminal Services. But this can easaly lead to problems due to wrong format, etc. and is probably not supported.
    Is there a simpler and supported way?

    That option can be used to connect to any machine that you want.  The error message indicates that the client machine cannot resolve the name "server.domain.local" to an IP address that it can connect to.
    You have several options for configuring that tab on the RDweb site.  You can even remove it entirely. 
    Customization of RD Web Site
    RD Web provides a number of customization options for the RD Web interface, including the ability to control default Gateway server settings and redirection settings. These settings
    are controlled by editing the web.config file located in %SYSTEMROOT%\Web\RDWeb\Pages.
    Displaying Local Help
    To display local help for users instead of the web-based help, edit the LocalHelp value and change the value from false to true.
    <!-- LocalHelp: Displays local help for users, instead of the web-based help. Value must be "true" or "false" -->
    <add key="LocalHelp" value="false" />
    When this value is changed, a user that clicks on Help in the upper right corner of the RD Web login page will open the local help file instead of web-based help.
    Hiding the Connect to a Remote PC Tab
    The RDWeb page
    Connect to a Remote PC tab can be hidden from users to prevent connections to any servers through RD Web other than the servers configured in a collection. By default, this setting is set to true and the
    Remote Desktops tab is displayed. To hide the tab, set the value to false.
    <!-- ShowDesktops: Displays or hides the Remote Desktops tab. Value must be "true" or "false" -->
    <add key="ShowDesktops" value="true" />
    When the value is set to false, a user will not see the Connect to a Remote PC tab when logged on to the RD Web page
    RD Gateway Settings
    If the Connect to a Remote PC tab is enabled, an administrator can configure RD Web to use a Gateway server when connecting to remote computers. To specify a gateway, edit the below
    value with the name of the RD Gateway server:
    <!-- DefaultTSGateway: Admin can preset this to a given Gateway name, or set to "" for no gateway. -->
    <add key="DefaultTSGateway" value="" />
    The default authentication method for the RD Gateway server can also be configured by editing the following section of the web.config:
    <!-- GatewayCredentialsSource: TS Gateway Authentication Type.
    Admins can preset this.
    0 = User Password
    1 = Smartcard
    4 = "Ask me later"
    -->
    <add key="GatewayCredentialsSource" value="0" />
    Devices and Resources
    By default, only Printers and Clipboard are redirected on connections made using the Connect to a Remote PC tab. If the user clicks the
    Options << button, the redirection settings for a specific connection can be modified
    To configure each specified redirection option to be enabled or disabled by default, edit the following section in the web.config file:
    <!-- Devices and resources: Preset the Checkbox values to either true or false -->
    <add key="xPrinterRedirection" value="true" />
    <add key="xClipboard" value="true" />
    <add key="xDriveRedirection" value="false" />
    <add key="xPnPRedirection" value="false" />
    <add key="xPortRedirection" value="false" />
    LAN Experience Defaults
    Windows Server 2012 RD Web Access can display a new user selectable option for optimizing the connection for a LAN experience. This option is displayed at the bottom of the RD Web
    page and can be controlled by the administrator using the following section of the web.config file:
    <!--  Checkbox to opt for optimized LAN experience -->
    <add key="ShowOptimizeExperience" value="false" />
    <add key="OptimizeExperienceState" value="false" />
    This value is set to false by default, but when changed to true, the following checkbox will display at the bottom of the webpage. The LAN experience
    checkbox can also be set as enabled by default.
    Each setting can also be modified using the IIS Manager user interface:
    Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging

  • SQL Server 2012 Management Studio:In the Database, how to print out or export the old 3 dbo Tables that were created manually and they have a relationship for 1 Parent table and 2 Child tables?How to handle this relationship in creating a new XML Schema?

    Hi all,
    Long time ago, I manually created a Database (APGriMMRP) and 3 Tables (dbo.Table_1_XYcoordinates, dbo.Table_2_Soil, and dbo.Table_3_Water) in my SQL Server 2012 Management Studio (SSMS2012). The dbo.Table_1_XYcoordinates has the following columns: file_id,
    Pt_ID, X, Y, Z, sample_id, Boring. The dbo.Table_2_Soil has the following columns: Boring, sample_date, sample_id, Unit, Arsenic, Chromium, Lead. The dbo.Table_3_Water has the following columns: Boring, sample_date, sample_id, Unit, Benzene, Ethylbenzene,
    Pyrene. The dbo.Table_1_XYcoordinates is a Parent Table. The dbo.Table_2_Soil and the dbo.Table_3_Water are 2 Child Tables. The sample_id is key link for the relationship between the Parent Table and the Child Tables.
    Problem #1) How can I print out or export these 3 dbo Tables?
    Problem #2) If I right-click on the dbo Table, I see "Start PowerShell" and click on it. I get the following error messages: Warning: Failed to load the 'SQLAS' extension: An exception occurred in SMO while trying to manage a service. 
    --> Failed to retrieve data for this request. --> Invalid class.  Warning: Could not obtain SQL Server Service information. An attemp to connect to WMI on 'NAB-WK-02657306' failed with the following error: An exception occurred in SMO while trying
    to manage a service. --> Failed to retrieve data for this request. --> Invalid class.  .... PS SQLSERVER:\SQL\NAB-WK-02657306\SQLEXPRESS\Databases\APGriMMRP\Table_1_XYcoordinates>   What causes this set of error messages? How can
    I get this problem fixed in my PC that is an end user of the Windows 7 LAN System? Note: I don't have the regular version of Microsoft Visual Studio 2012 in my PC. I just have the Microsoft 2012 Shell (Integrated) program in my PC.
    Problem #3: I plan to create an XML Schema Collection in the "APGriMMRP" database for the Parent Table and the Child Tables. How can I handle the relationship between the Parent Table and the Child Table in the XML Schema Collection?
    Problem #4: I plan to extract some results/data from the Parent Table and the Child Table by using XQuery. What kind of JOIN (Left or Right JOIN) should I use in the XQuerying?
    Please kindly help, answer my questions, and advise me how to resolve these 4 problems.
    Thanks in advance,
    Scott Chang    

    In the future, I would recommend you to post your questions one by one, and to the appropriate forum. Of your questions it is really only #3 that fits into this forum. (And that is the one I will not answer, because I have worked very little with XSD.)
    1) Not sure what you mean with "print" or "export", but when you right-click a database, you can select Tasks from the context menu and in this submenu you find "Export data".
    2) I don't know why you get that error, but any particular reason you want to run PowerShell?
    4) If you have tables, you query them with SQL, not XQuery. XQuery is when you query XML documents, but left and right joins are SQL things. There are no joins in XQuery.
    As for left/right join, notice that these two are equivalent:
    SELECT ...
    FROM   a LEFT JOIN b ON a.col = b.col
    SELECT ...
    FROM   b RIGHT JOIN a ON a.col = b.col
    But please never use RIGHT JOIN - it gives me a headache!
    There is nothing that says that you should use any of the other. In fact, if you are returning rows from parent and child, I would expect an inner join, unless you want to cater for parents without children.
    Here is an example where you can study the different join types and how they behave:
    CREATE TABLE apple (a int         NOT NULL PRIMARY KEY,
                        b varchar(23) NOT NULL)
    INSERT apple(a, b)
       VALUES(1, 'Granny Smith'),
             (2, 'Gloster'),
             (4, 'Ingrid-Marie'),
             (5, 'Milenga')
    CREATE TABLE orange(c int        NOT NULL PRIMARY KEY,
                        d varchar(23) NOT NULL)
    INSERT orange(c, d)
       VALUES(1, 'Agent'),
             (3, 'Netherlands'),
             (4, 'Revolution')
    SELECT a, b, c, d
    FROM   apple
    CROSS  JOIN orange
    SELECT a, b, c, d
    FROM   apple
    INNER  JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    LEFT   OUTER JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    RIGHT  OUTER JOIN orange ON apple.a = orange.c
    SELECT a, b, c, d
    FROM   apple
    FULL OUTER JOIN orange ON apple.a = orange.c
    go
    DROP TABLE apple, orange
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to upgrade SQL Server 2012 SSMS

    I have SQL Server 2012 SSMS (11.0.3000.0) on my machine, however this crashes at least 5-8 times a day. So I want to try to apply KB2874879. But when I try to install it I can't progress because it says there is no instance found to apply. I only want
    to update the SSMS, I'm not running any local instance on that machine. How can I get SSMS to the latest version ?

    Hi,
    According to your description, I know the SQL Server Management Studio always crashes on the client machine and there is no SQL Server was installed on that machine.
    KB2874879 is cumulative update package 6 for Microsoft SQL Server 2012 Service Pack 1 and it should be installed on SQL Server. And install CU6 does not guarantee it will resolve the SQL Server Management Studio crash issue on the client machine. If the
    SQL Server Management Studio is corrupted, you need to perform a repair installation from the Installation Center.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How do i connect to sql server 2012 from cmd .

    Hi ,
    I Installed sql server 2008 R2 and 2012 Express and sql server2014 . I can conect to sql server 2008 R2 using
    SQLCMD -L command .
    How do i connect to sql server 2012 express edition from cmd .
    Any Hep appreciated
    Thanks in advance,
    Shravan

    I HAVE ANOTHER INSTANCE NAMED TEST  WHEN I USE THE COMMAND IT GIVES ME THIS ERROR 
    HOW TO RECTIFY 
    C:\Users\HP>SQLCMD -S HP-HP/TEST
    Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Named Pipes Provider: C
    ould not open a connection to SQL Server [67]. .
    Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Login timeout expired.
    Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : A network-related or in
    stance-specific error has occurred while establishing a connection to SQL Server
    . Server is not found or not accessible. Check if instance name is correct and i
    f SQL Server is configured to allow remote connections. For more information see
     SQL Server Books Online..
    PLZ HELP 

Maybe you are looking for

  • Mac Mini and gaming

    I have an iMac G4 (fist generation). It still serves our needs admirably while looking stylish. Some of the new games my son would like to play require a faster CPU and a newer graphics card. Is there some way that I could connect or network a Mac Mi

  • PSVB Condition In Repair Order Pricing shows Zero Value

    As per Flow for repair order. I have initially made Repair Order then Service order wrt to Repair Order. But when I check PSVB condition it doesnt show Cost from service order. I mean if cost in service order is 100 $ Then in Reapir Prder Pricing PSV

  • 1-2 Second Audio Delay after installing windows 7

    I installed windows 7 on monday but whenever i do anything that has audio it is always delayed by -2 seconds. For example when playing Dragon Age Origins an npc's mouth moves then a second latter the audio finally comes. When listening to music it is

  • 11.1.1.6 Column drag problem

    I did a new install of 11.1.1.6 (had some problems with the 11.1.1.5 to 11.1.1.6 upgrade) on Solaris. Then I converted the repository and catalog from 10.1.3. On existing reports when you drag a new column in the criteria pane, it does not show up. H

  • Allowing network users to sudo on workgroup clients

    I'm setting up a network of Minis, powered by a Snow Leopard Server Mini, to run a Java application we use. The Java app is deployed using a custom, Java-based, installer that requires root access for some parts of the install. At present, we just as