Cant Create VDI collection in server 2012 r2 Transfer location failure
I'm setting up a 2012 R2 VDI install and having problems creating the VDI collection. No matter what target folder I specify as the transfer location, it says "VDI collection failed with the following errors: Unable to copy the virtual desktop to the
export location. Check if the export location exists and if it is configured with the correct permissions."
That has to be an erroneous error because when I type the share location into the Deployment properties, it checks for the share an won't let me specify an invalid location.
I've tried uninstalling and reinstalling RDS as completely as I can but I cant seem to get rid of this problem. Where are these deployment properties stored and how can I delete them so they get recreated by the install?
Please help!
It turns out that the error was not a problem with the transfer share. Something in the configuration prevented the hyper-v host server from connecting to the broker where the transfer share was located. Net use commands run the host produced an "error
53". Removing the Hyper-V did NOT solve the problem nor did removing the updated network drivers. The only solution I found was to remove the entire RDS installation from all the servers in the installation and reload Windows server 2012 R2 on the Hyper-V
host from scratch.
Once those tasks were completed, everything ran as expected.
I found the following article to actually be useful: http: //blog.itvce.com/?p=1569
It clearly explains most of the steps to install RDS VDIs simply and quickly. I'm still waiting for Microsoft to produce a simple brief step by step that includes component high availability and that explains how the system actually works both from a user
perspective as well as an administrator role. While it may exist out there somewhere, It is obscured by the countless third-party attempts to document these steps.
I'm disappointed that MS leaves it to third parties to document their products.
As for this installation, you must figure out the steps in a test environment and be prepared to rebuild your servers along the way, as uninstalling the RDS product components does not work properly as is typical with many MS products of the past. Also,
make sure all your chipset and network drivers are up to date as many of mine installed using "MS generic" drivers that simply do not work properly in the Hyper-V environment.
Similar Messages
-
Hi all,
I used the following code to create a new Database (ScottChangDB) and a new Table (marvel) in my SQL Server 2012 Management Studio (SSMS2012) successfully:
-- ScottChangDB.sql saved in C://Documents/SQL Server XQuery_MacLochlainns Weblog_code
-- 14 April 2015 09:15 AM
USE master
IF EXISTS
(SELECT 1
FROM sys.databases
WHERE name = 'ScottChangDB')
DROP DATABASE ScottChangDB
GO
CREATE DATABASE ScottChangDB
GO
USE ScottChangDB
CREATE TABLE [dbo].[marvel] (
[avenger_name] [char] (30) NULL, [ID] INT NULL)
INSERT INTO marvel
(avenger_name,ID)
VALUES
('Hulk', 1),
('Iron Man', 2),
('Black Widow', 3),
('Thor', 4),
('Captain America', 5),
('Hawkeye', 6),
('Winter Soldier', 7),
('Iron Patriot', 8);
SELECT avenger_name FROM marvel ORDER BY ID For XML PATH('')
DECLARE @x XML
SELECT @x=(SELECT avenger_name FROM marvel ORDER BY ID FOR XML PATH('Marvel'))--,ROOT('root'))
SELECT
person.value('Marvel[4]', 'varchar(100)') AS NAME
FROM @x.nodes('.') AS Tbl(person)
ORDER BY NAME DESC
--Or if you want the completed element
SELECT @x.query('/Marvel[4]/avenger_name')
DROP TABLE [marvel]
Now I am trying to create my first XML Schema Collection to do the Validation on the Field Name (Column Title) of the "marvel" Table. I have studied Chapter 4 XML SCHEMA COLLECTIONS of the book "Pro SQL Server 2008 XML" written by
Michael Coles (published by Apress) and some beginning pages of XQuery Language Reference, SQL Server 2012 Books ONline (published by Microsoft). I mimicked Coles' Listing 04-05 and I wanted to execute the following first-drafted sql in
my SSMS2012:
-- Reference [Scott Chang modified Listing04-05.sql of Pro SQL Server 2008 XML by Michael Coles (Apress)]
-- [shcColes04-05.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress]
-- [executed: 2 April 2015 15:04 PM]
-- shcXMLschemaTableValidate1.sql in ScottChangDB of SQL Server 2012 Management Studio (SSMS2012)
-- saved in C:\Documents\XQuery-SQLServer2012
tried to run: 15 April 2015 ??? AM
USE ScottChangDB;
GO
CREATE XML SCHEMA COLLECTION dbo. ComplexTestSchemaCollection_all
AS
N'<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="marvel">
<xsd:complexType>
<xsd:all>
<xsd:element name="avenger_name" />
<xsd:element name="ID" />
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:schema>';
GO
DECLARE @x XML (dbo. ComplexTestSchemaCollection_all);
SET @x = N'<?xml version="1.0"?>
<marvel>
<avenger_name>Thor</name>
<ID>4</ID>
</marvel>';
SELECT @x;
GO
DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_all;
GO
I feel that drafted sql is very shaky and it needs the SQL Server XML experts to modify to make it work for me. Please kindly help, exam the coding of my shcXMLTableValidate1.sql and modify it to work.
Thanks in advance,
Scott ChangHi Scott,
2) Yes, FOR XML PATH clause converts relational data to XML format with a specific structure for the "marvel" Table. Regarding validate all the avenger_names, please see below
sample.
DECLARE @x XML
SELECT @x=(SELECT ID ,avenger_name FROM marvel FOR XML PATH('Marvel'))
SELECT @x
SELECT
n.value('avenger_name[1]','VARCHAR(99)') avenger_name,
n.value('ID[1]','INT') ID
FROM @x.nodes('//Marvel') Tab(n)
WHERE n.value('ID[1]','INT') = 1 -- specify the ID here
--FOR XML PATH('Marvel') --uncommented this line if you want the result as element type
3)i.check the xml schema content
--find xml schema collection
SELECT ss.name,xsc.name collection_name FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
select * from sys.schemas
--check the schema content,use the name,collection_name from the above query
SELECT xml_schema_namespace(N'name',N'collection_name')
3)ii. View can be viewed as virtual table. Use a view to list the XML schema content.
CREATE VIEW XSDContentView
AS
SELECT ss.name,xsc.name collection_name,cat.content
FROM sys.xml_schema_collections xsc JOIN sys.schemas ss ON xsc.schema_id= ss.schema_id
CROSS APPLY(
SELECT xml_schema_namespace(ss.name,xsc.name) AS content
) AS cat
WHERE xsc.name<>'sys'
GO
SELECT * FROM XSDContentView
By the way, it would be appreciated if you can spread your questions into posts. For any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
Hi all,
I just got a copy of the book "Pro SQL Server 2008 XML" written by Michael Coles (published by Apress) and try to learn the XML Schema Collection in my SQL Server 2012 Management Studio (SSMS2012). I studied Chapter 4 XML Collection of the book
and executed the following code of Listing 4-8 Complex Schema with Attribute:
-- Pro SQL Server 2008 XML by Michael Coles (Apress)
-- Listing04-08.sql Complex XML Schema with Attribute
-- shcColes04-08.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress
-- 6 April 2015 8:00 PM
CREATE XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute
AS
N'<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="item">
<xs:complexType>
<xs:sequence>
<xs:element name="name" />
<xs:element name="color" />
<xs:group ref="id-price" />
<xs:group ref="size-group" />
</xs:sequence>
<xs:attribute name="id" />
<xs:attribute name="number" />
</xs:complexType>
</xs:element>
<xs:group name="id-price">
<xs:choice>
<xs:element name="list-price" />
<xs:element name="standard-cost" />
</xs:choice>
</xs:group>
<xs:group name="size-group">
<xs:sequence>
<xs:element name="size" />
<xs:element name="unit-of-measure" />
</xs:sequence>
</xs:group>
</xs:schema>';
GO
DECLARE @x XML (dbo.ComplexTestSchemaCollection_attribute);
SET @x = N'<?xml version="1.0"?>
<item id="749" number="BK-R93R-62">
<name>Road-150 Red, 62</name>
<color>Red</color>
<list-price>3578.27</list-price>
<size>62</size>
<unit-of-measure>CM</unit-of-measure>
</item>';
SELECT @x;
GO
DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute;
It worked nicely. But, I just found out the coding that was downloaded from the website of Apress and I just executed was different from the coding of Listing 4-8 listed in the book: all the <xs: ....> and </xs: ..> in my SSMS2012 are
listed as <xsd:...> and </xsd:...> respectively in the book!!?? The same thing happens in the Listing 4-3 Simple XML Schema, Listing 4-5 XML Schema and Valid XML Document with Comple Type Definition, Listion 4-6 XML Schema and XML
Document Document with Complex Type Using <sequence> and <choice>, and Listing 4-7 Complex XML Schema and XML Document with Model Group Definition (I executed last week) too. I wonder: should xs or xsd be used in the XML
Schema Collection of SSMS2012? Please kindly help, clarify this matter and explain the diffirence of using xs and xsd for me.
Thanks in advance,
Scott ChangHi Scott,
Using xs or xsd depends on how you declare the namespace prefix.
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="item">
I've posted a very good link in your last question, just in case you might have missed it, please see the below link.
Understanding XML Namespaces
In an XML document we use a namespace prefix to qualify the local names of both elements and attributes . A prefix is really just an abbreviation for the namespace identifier (URI), which is typically quite long. The prefix is first mapped to a namespace
identifier through a namespace declaration. The syntax for a namespace declaration is:
xmlns:<prefix>='<namespace identifier>'
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
Error in creating Failover Clutser - Windows Server 2012 R2
Hello,
I have created a single node Failover Cluster in Windows Server 2012 R2. When I am trying to add second node to this cluster, it gives the error: “Cluster
service on node Node1did not reach the running state. The error code is 0x5b4. For more information check the cluster log and the system event log from node Node1. This operation returned because the timeout period expired.
The server 'Node1.mydomain.com' could not be added to the cluster.
An error occurred while adding node 'Node1.mydomain.com' to cluster 'My_Cluster'.
This operation returned because the timeout period expired.”
I have attached the screenshots of Event ID.
Firewalls are turned off on both servers (Node1 and Node2). I have successfully created single node clusters on both servers, but when I try to add second node, it
gives error.
Before starting the creation of new cluster I don't forget to Destroy previous cluster and run "Clear-ClusterNode".
Every time they successfully pass the Validate Configuration Test, but give the error on creating failover cluster.
I'm using the service account which has full permissions on CNU and both nodes, plus it has permissions to create computer accounts in AD.
Can anyone please help?
Thank you.
Best regards,
Hasan Bin HasibThank you fellows!
The issue just resolved when I moved the Node1 and Node2 on the same host, and the cluster was successfully created.
After the creation of cluster, as soon as I moved the Node2 to some other host, then the Failover Cluster Manager console started showing Node2 is Down. Error: Cluster node Node2 could not to join the cluster because it failed
to communicate over the network with any other node in the cluster. Verify the network connectivity and configuration of any network firewalls. Event ID: 1653
IP Address of Node1: 172.16.1.186 ; IP Address of Node2: 172.16.1.187
And yes, the ‘Microsoft Failover Cluster Virtual Adapter Performance Filter’ is already disabled on all virtual adapters. All firewalls are disabled, no antivirus installed. I’m using same type of NICs.
I don’t know where the blockage is, and I am badly stuck. Please help.
Thank you.
~ Hasan Bin Hasib -
Create ISO of Windows Server 2012 R2 Physical Server - NOT VM
I have a windows server 2012 R2 installed on a physical server. I have windows patches and other firmware upgrades on it. I would like to create a gold image in the form of ISO, so that i can use this ISO and build my other servers. I have read many many
blogs but none of them have clear steps. I know there are tons of ways to do this for VM, but this is for a physical machine. I have used sysprep, completely messed up my server, i am used there is no warning or anything listed on technet for using this software.
If anyone has able to do this successfully please let me know. Please don't send me instructions for VM, this is not a VM, it is a physical server. Thanks in advance.Okay, it's been a while since I worked with MDT and my memory was bad. The best thing to do is to download MDT (https://www.microsoft.com/en-us/download/details.aspx?id=40796
for the 2013 version) and its documentation. One of the documents is a Quick Start Guide. It gives you step-by-step instructions on how to do what you are asking. It doesn't make sense to replicate all that content in a forum when there is
already a published document.
Then, if you have problems with performing the tasks, come back to this forum and ask specific questions about the issues you are encountering.
Note, the documentation assumes working with Windows 8.1, but it also says it supports it for Windows Server.
. : | : . : | : . tim
Thanks Tim. I started working on it, i do have few questions:
i) Why do i need 3 machines as per the document "Quick Start Guide for Lite Touch Installation.docx"? I am not quite following here, can i just do it on 2 servers, 1 which will capture the image and server 2 will be used to build using captured image.
ii) I was able to get till Step 41. (page 17 from doc 'Quick Start Guide for Lite Touch Installation.docx'), i do see the ISO created, but it is only 300 MB? My original ISO was 4 gb. I don't think i can just copy the 300 MB iso and build another machine, i
am lost here, any advice is appreciated.
Thanks -
DEPLOYED VDI over windows server 2012 r2
after finished VDI configuration i faced the attached snapshot
This topic first appeared in the Spiceworks CommunityTeam Folder in the past was managed by administrators. Administrator can create, edit, delete team folders. The team folder can be published to a group of users, including Active Directory group. It is very convenient to share files and folders with a group of users in the same team. As team groups bigger, it may not be convenient for administrator to manage all the team folders. So it makes sense for administrator to assign some users to be able to manage team folder that they own themselves. Role Manager It usually starts with the role manager by creating a role with Add/Edit/Delete permissions and assign it to users or Active Directory groups. Manage Team Folder The user who are in the private team folder role will be able to manage team folders without seeing all the team folders from everyone. Here is a YouTube Video about...
-
Destroying/Re-creating a Failover Cluster - Server 2012
Hi all,
Some background:
We have a 4-node cluster hosting our Hyper-V environment, and for some or other reason we keep having issues where nodes will just become unresponsive, with the logs indicating an issue on the cluster.
Short of destroying the cluster, we've tried everything to resolve this, i.e. remove and re-install Hyper-V and Failover Clustering, checked Windows updates, double-checked the configuration on the hardware, etc.
Now, my question:
If I destroy a cluster through cluster manager, and then re-create it, adding back the CSV storage, will the "new" cluster pick up that there are Hyper-V servers in those CSVs and recover those roles? Is there a way to back up and restore the existing
roles prior to destroying the cluster?
Thanks in advance for any guidance.
SebastianHi,
Base on my experience, if you want to remove the cluster you must remove all the cluster resource first, for Hyper-V roles you must export all the vm to the new location then
do the cluster remove action.
The similar thread:
Does the destroy cluster option affect the guests running on the hyper-v hosts?
http://social.technet.microsoft.com/Forums/windowsserver/en-US/aab6d54c-1220-42fb-b4f6-c0b6b1583730/does-the-destroy-cluster-option-affect-the-guests-running-on-the-hyperv-hosts?forum=winserverhyperv
More information:
Deleting a Cluster resource? Do it the supported way
http://blogs.technet.com/b/askcore/archive/2010/01/11/deleting-a-cluster-resource-do-it-the-supported-way.aspx
Remove-Cluster
http://technet.microsoft.com/en-us/library/hh847273.aspx
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM instead.
Am I overlooking something? Should I need to prepare the image in a different way? (Sysprep differently?)
ThanksHi,
Thank you for your posting in Windows Server Forum.
Can you specify the error which you are facing during VDI setup for server 2012?
I might think that you need to check the memory setting for server 2012, as might happens that due to less memory you can’t setup the VDI setup properly.
Memory: If the Master VM is configured with static memory, it must have at least 1024 MB as startup RAM. If the Master VM is configured with dynamic memory, the maximum RAM must be at least 1024 MB.
Please check beneath article for information.
Windows
Server 2012 2,500-user pooled VDI deployment guide (Doc)
Single Image Management for Virtual Desktop Collections in Windows Server 2012
Hope it helps!
Thanks.
Dharmesh Solanki -
How to create a Pooled VDI infrastructure using Win server 2012 as VM image?
I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM instead.
Am I overlooking something? Should I need to prepare the image in a different way? (Sysprep differently?)
ThanksHi,
Thank you for your posting in Windows Server Forum.
Can you specify the error which you are facing during VDI setup for server 2012?
I might think that you need to check the memory setting for server 2012, as might happens that due to less memory you can’t setup the VDI setup properly.
Memory: If the Master VM is configured with static memory, it must have at least 1024 MB as startup RAM. If the Master VM is configured with dynamic memory, the maximum RAM must be at least 1024 MB.
Please check beneath article for information.
Windows
Server 2012 2,500-user pooled VDI deployment guide (Doc)
Single Image Management for Virtual Desktop Collections in Windows Server 2012
Hope it helps!
Thanks.
Dharmesh Solanki -
Is it possible to create the template Server 2012 R2 in Azure?
For RemoteApp, I know that I need to create a template of Server 2012 R2.
I don't want to create it locally.
Is it possible to create the template Server 2012 R2 in Azure?
And then upload from Azure to Azure?
Thanks!!!
Regards Todd BoothCurrently, that's not possible. It is however a feature request that has been asked for a lot. There also is a feedback page here
http://feedback.azure.com/forums/247748-azure-remoteapp where you can vote for features, including the feature you are asking for.
Kind regards,
Freek Berson
The Microsoft Platform
Twitter
Linked-in
Wortell company website -
Change Collection Name / Create New Collection
Note: This applies to VS Online and NOT desktop TFS
How do I change the name of a collection OR create a new one in VS Online?Hi,
I guess currently we cant create multiple collection in VSO ( Visual Studio Online )
Please refer following
http://stackoverflow.com/questions/15227336/tfs-2012-cloud-add-new-collection
http://stackoverflow.com/questions/28951994/how-to-create-multiple-project-collection-in-visual-studio-online
hope this helps -
I created a PowerPivot (SQL Server 2012 SP1) workbook and uploaded it to SharePoint 2010 Portal and started using it as a data source in an excel file. This worked fine and we saw no issues with it until we moved to SharePoint 2013 environment.
I uploaded the same PowerPivot workbook (source workbook) to SharePoint 2013 Portal and now trying to use it as a data source. I tried to change connection properties so that I could use the new portal address for the workbook. When
I try to save my changes, I see that OLAP queries are getting fired "Refreshing OLAP cube" shows up in the status bar, but eventually after running these OLAP queries (I would say after a minute), I get the following error -
Couldn't find anything specific in SharePoint logs or maybe I wasn't looking for the right thing.
Has anyone seen this issue? Why would PPIV service throw an error after running for a while? Is it a timeout issue of some kind? How can we take care of this?
Thanks,
SonalULS log showed the following exception: The maximum number of allowed sessions per user has been exceeded.
Under Excel Services global settings, max limit is set. Default is 25, increasing it resolved this issue.
Thanks,
Sonal -
Server 2012 RS Standard Planning
It's been a while since I've planned a new server strategy. There are so many options and looking for some guidance on best practices. (no Laughing please) Currently we have 1win2000 Global catalog, active directory server, 1 Server 2003
file/ accounting host server and 1 server 2008 r2 hyper-v enabled running 2 vms for remote offsite users. We have about 34 users over 30 client desktops (win7-win8) All server systems are running solid, but would like to
start consolidating.
Moving forward, I'm not interested in trying to figure out how to get active directory from my win200 server, over to a new server 2012. I'm ok with starting from scratch.
Required Roles:
File server
SQL Server for SAGE Accpac database (about 20gb accounting databse)
3-6 Remote offsite users (RDS? or Hyper-v?)
What I'd like to buy is 1 physical Lenovo server with 2 Xeon 6core CPU's, 24gb ram, 2tb storage.
Is it wrong for me to want the above mentioned roles to run on 1 server?
Should I do it on 1 server with server vms in hyper v?
If I could, I'd install server 2012R2 Standard as a New Domain global cat/active directory server.
I'd then install file server role and SQL server for the accounting DBs. My thoughts for the 3-6 offsite remote users would be to run virtualized win7 machines. Does this setup sound feasible in the way I've outlined it? I usually
read people objecting to having all these roles on 1 server instance, but we are pretty small (less than 40 users) and feel 1 server could easily handle this load.
RobertHi
Further clarify:-)
If you plan to buy 1 physcial server you can create this topology;
- Install Server 2012 r2 Standard on your physcial envorenment
- Also install hyper-v role (Windows Server 2012 r2 standard Support vm with licenced)
- Install first vm and configure as an DC.
- Install second Vm and install SQL server on this.
As you say you have 3 Physcial server thats great...
- Install Windows Server 2012 r2 on each 3 physcial server
- Also install Hyper-v role on this 3 server 2012 r2 standard (also you can create totally 6 Vm wth licence on server 2012 standard with hyper-v)
- Install PDC on a vm,then install another vm and add as an Additional DOmain Controller (for Redundacy AD DS,DNS)
- Install 2 vm server and configure a SQL cluster
- install file server another vm
- install RDS server on another vm
Is this appropriate? -
Windows Server 2012 GPO setting are not apply on windows Xp clients
Hi
I am create GPO on windows server 2012. 300 clients on domain are working fine, GPO setting apply on all windows 7, 8 clients. But 200 clients of windows XP are not working. GPO setting are not applies on XP. I am trying to Group Policy
Preference Client Side Extensions for Windows XP (KB943729) on one window XP client, all GPO servers 2012 setting is working fine. But is not solution. I have 200 clients of windows XP, Please provide batter solution on one click command and apply all 200
XP clients.
Thanks.Dear,
I have Windows server 2012 , i have install ADDS with Forest functional level 2008 & Domain functional level 2008 .
I have applied GPO to particular OU, when i login to domain user on Windows 7 PC all GPO working fine but when i login on Windows Xp SP3 PC its not applied on XP.
I am facing issue on windows XP clients it is true. Please see this URL address:
http://blogs.technet.com/b/grouppolicy/archive/2009/03/27/group-policy-preferences-not-applying-on-some-clients-client-side-extension-xmllite.aspx
Please provide batter solution on one click command
Thanks. -
Restoring bkf files in Server 2012
I am wondering if anyone has found a tool to restore a bkf file in Server 2012.
The hotfix released for Server 2008R2 that enables you to restore a backup made using in ntbackup in Server 2003 does not work.
I have tested using xcopy which will work but will take far longer than doing a backup of a server and restoring to a new server.
I have reached out to Microsoft reps to see if there are plans to create a hotfix for Server 2012 but am not getting much of a response.
Does anyone have any suggestions?Same Problem here
i could open some of the archives with 7-zip, everthing else is shareware ~90$
Maybe you are looking for
-
DVD drive won't boot from Leopard or Tiger disks
Hi, I have had some issues booting from the OS install disks with my DVD drive, is it the drive or is it the software? Can this be fixed? Thanks Tom
-
How do I run Windows programs on my iMac and my MiniMac?
I have a new iMac and a new MiniMac at the office. Can I run Windows programs on these computers, such as QuickBooks? If so, how do I do it?
-
Hi, In the return Credit Note the Freight (Header Condition) did not appear. In the original Order the Freight was present and therefore the Total price is not matching. Please guide. Thanks Jans
-
Can i sync my ATV with IMac, if they are connected by the airport express?
My IMac is connected to Airport Express and the ATV is connected to Airport Express too, is it possible to sync them? I can't find ATV in ITunes
-
Lately I've had a lot of trouble with mail. It randomly backspaces when I type the letter L or an apostrophe (this does not happen when I am in any other application). I've been to the genius bar 3 times. They've checked for sticky keys and even inst