Powershell and Sharepoint workflow
Oke I got this a really strange problem.
I got a ps1 file with powershell code in it. The code create a list item in sharepoint with all information and on the information I want to trigger a workflow.
But now if I activated the ps1 file powershell as administrator(automatic) and then run the code thats in the file. But no Workflow tiggered in sharepoint the workflow is automatic activated when a new item is created.
And the strange thing is if I open my script with notepad copy the text insert it into powershell and press enter my workflow runs...
So any1 have an idea to fix this?
Below is code snippet in c#.net for fetching all the attachements for a specific list item.
try
// Set the Site Url
SPSite objSite = new SPSite("http://Testsite/");
using (SPWeb objWeb = objSite.OpenWeb())
objWeb.AllowUnsafeUpdates = true;
// Get the List
SPList objList = objWeb.Lists["MyList"];
// Get the item by ID
SPListItem objItem = objList.GetItemById(1);
// Get the attachments of the item
SPAttachmentCollection objAttchments = objItem.Attachments;
// Iterate the attachments
foreach (string fileName in objItem.Attachments)
// Perform action on
the extracted attachment
Hope it
answer the questions.Any suggestions are appreciated.
Cheers, Eliza
Similar Messages
-
Hi All,
What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?
Thanks in Advance!Hi,
Both are developed with .NET framework, per my knowledge, the biggest difference would be the environment they applied to: one for Windows platform, one for SharePoint platform:
http://msdn.microsoft.com/en-us/library/vstudio/ms733615(v=vs.90).aspx
http://msdn.microsoft.com/en-us/library/office/ms446847(v=office.14).aspx
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
(Video) LightSwitch Cloud Business Apps and SharePoint Workflows
You can create advanced enterprise applications when you incorporate Visual Studio LightSwitch Cloud Business Apps and SharePoint Workflows into your solutions. Microsoft SharePoint workflows are powerful, but the non-code version created with the SharePoint
Designer do not allow you to implement complex data bound business rules without making web service HTTP calls. You can make these calls to Visual Studio LightSwitch Cloud Business Apps.
LightSwitch Cloud Business Apps and SharePoint Workflows
Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
http://LightSwitchHelpWebsite.comThank You!
Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
http://LightSwitchHelpWebsite.com -
Adobe Reader And SharePoint Workflow: How To?
Hi all,
We are using SharePoint 2010 as our collaboration portal.
Our Marketing department wants to use feedback workflows on PDF documents.
The PDF documents can be commented and all reviewers should be able to do that in turn or parallel.
We can start the workflow on the PDF document and users can edit the file by entering comments.
However, as soon as someone has entered comments into the PDF file the corresponding SharePoint workflow tasks are cancelled?!
It appears that when commented, Adobe Reader does not change the exisiting document, but deletes the old one (hence the cancellation of the workflow tasks by SharePoint) and consolidates the comments into a physical new document?!
Does anyone know how to fix this and what is best practice in these scenario's?
Much obliged,
VladjaHi SAMSUNG,
According to your description, my understanding is that you want to get the full path of a document in a list workflow.
You can set the variable to the Enconded Absolute URL of the document. The screenshot is my testing. In my testing (in the red area), when the title of a document was equal to the tile of the current item, set a variable to the Enconded Absolute URL of the
document. I used ‘Log to history list’ to check the value of the variable in Workflow History .
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Windows 2003 Powershell and SharePoint 2007
I know its old versions of a lot of things, but I need to run a Powershell script on a SharePoint 2007 list. I wrote the script and it works perfectly well if I run it under the SharePoint System Admin account. But as we all know updating a list item using
this account does not start the associated workflow. So I tried running the script using different credentials. This user account has Portal Owner permissions but when the script tries to use New-Object cmdlet it fails. Can anyone tell me how I get the cmdlets
available to this new user?
ThanksYou are trying to instantiate a New-Object of what type? Is it complaining about the New-Object cmdlet itself, or the actual object not being found in loaded assemblies?
Nikolas Charlebois-Laprade Microsoft Certified Professional Software Engineer and Senior SharePoint Advisor http://nikcharlebois.com -
Digital Signatures and SharePoint Workflow
Hello,
We are trying to combine .pdf documents (created in Acrobat 9 pro) requiring a series of digital signatures with a workflow process in MS SharePoint 2007. If a Word document is used, each person in the workflow process can open the document on the server and any changes made are saved to the document for the next person in the workflow to see. However, a .pdf document is opened in the browser and can only be saved as a local copy after signing it. Does anyone know if there is a way to have the .pdf opened on the server in the same manner as Word documents?
I know you can send .pdf's vial email for signing but we really need the overall visibility SharePoint provides.
Thanks for any help!Hi David,
SharePoint Integration has been added in Acrobat X and Reader X. With this version of the product, you can open SharePoint files in standalone Acrobat and check-out, check-in and versioning of pdf files works in line with MS Word. I think this is what you need.
Thanks,
Richa -
How to set security group as primary site collection admin and secondary site collection admin using powershell in sharepoint online site - office 365?
Hi,
According to your description, my understanding is that you want to set security group as admin of primary and secondary site collection using PowerShell command in office 365.
I suggest you can use the command below to set the group to site owner, then it will have the site collection admin permission.
Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -Owner [email protected] -NoWait
Here are some detailed articles for your reference:
https://technet.microsoft.com/en-us/library/fp161394(v=office.15)
http://blogs.realdolmen.com/experts/2013/08/16/managing-sharepoint-online-with-powershell/
Thanks
Best Regards
Jerry Guo
TechNet Community Support -
SharePoint and Nintex workflow - Error 0x80070005 (E_ACCESSDENIED)
Dear all,
1 Month ago, we started to get strange errors with sharepoint and nintex.
After a workflow has been initiated and some days after if someone try to approve a task (not the case for all user) the workflow is stucking in status 15 with the error:
System.Workflow.Runtime Error: 1 : Subscription handler of Activity review17bb1fc639b94ba7abcebcb914b1b119.replicatorActivity1 threw System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.SharePoint.Library.SPRequest.OpenWeb(String bstrUrl, String& pbstrServerRelativeUrl, String& pbstrTitle, String& pbstrDescription, String& pbstrTitleResourceId, String& pbstrDescriptionResourceId, Guid& pguidID,
String& pbstrRequestAccessEmail, UInt32& pwebVersion, Guid& pguidScopeId, UInt32& pnAuthorID, UInt32& pnLanguage, UInt32& pnLocale, UInt16& pnTimeZone, Boolean& bTime24, Int16& pnCollation, UInt32& pnCollationLCID, Int16&
pnCalendarType, Int16& pnAdjustHijriDays, Int16& pnAltCalendarType, Boolean& pbShowWeeks, Int16& pnFirstWeekOfYear, UInt32& pnFirstDayOfWeek, Int16& pnWorkDays, Int16& pnWorkDayStartHour, Int16& pnWorkDayEndHour, Int16&
pnMeetingCount, Int32& plFlags, Boolean& bConnectedToPortal, String& pbstrPortalUrl, String& pbstrPortalName, Int32& plWebTemplateId, Int16& pnProvisionConfig, String& pbstrDefaultTheme, String& pbstrDefaultThemeCSSUrl, String&
pbstrThemedCssFolderUrl, String& pbstrAlternateCSSUrl, String& pbstrCustomizedCssFileList, String& pbstrCustomJSUrl, String& pbstrAlternateHeaderUrl, String& pbstrMasterUrl, String& pbstrCustomMasterUrl, String& pbstrSiteLogoUrl,
String& pbstrSiteLogoDescription, Object& pvarUser, Boolean& pvarIsAuditor, UInt64& ppermMask, Boolean& bUserIsSiteAdmin, Boolean& bHasUniquePerm, Guid& pguidUserInfoListID, Guid& pguidUniqueNavParent, Int32& plSiteFlags,
DateTime& pdtLastContentChange, DateTime& pdtLastSecurityChange, String& pbstrWelcomePage, Boolean& pbOverwriteMUICultures, Boolean& pbMUIEnabled, String& pbstrAlternateMUICultures, Int32& puiVersion, Int16& pnClientTag)
at Microsoft.SharePoint.SPWeb.InitWeb()
at Microsoft.SharePoint.SPWeb.get_Title()
at Microsoft.SharePoint.SPSite.OpenWeb(Guid gWebId, Int32 mondoHint)
at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForWorkflow(SPWorkflow wf, SPWorkflowUserContext runAsUser)
at Microsoft.SharePoint.Workflow.SPWinOEWSSService.get_Web()
at Microsoft.SharePoint.WorkflowActions.WorkflowContext.get_Web()
at Nintex.Workflow.Activities.ReviewActivityInternal2.ChildCompleted(Object sender, ReplicatorChildEventArgs e)
at System.Workflow.ComponentModel.Activity.RaiseGenericEvent[T](DependencyProperty dependencyEvent, Object sender, T e)
at System.Workflow.Activities.ReplicatorActivity.HandleStatusChange(ActivityExecutionContext executionContext, ActivityExecutionStatusChangedEventArgs e, ReplicatorSubscriber subscriber)
at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
It's really look like the following KB (http://support.microsoft.com/en-us/kb/2843542) but workaround doesn't work.
Users and SharePoint are in the same domain but user can contains some groups from another domain (trusted), and we use Claims. 3 new domain controller has been create at the same day than errors appears...
Any idea how to resolve this issue?
Thank in advance.Hi ,
Here is a similar case ,you can have a look at this .
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) -Accessing the sharepoint site:
http://social.msdn.microsoft.com/Forums/en-NZ/sharepointworkflow/thread/5eab2116-7d7c-4bf3-bfa1-48bd8992dded
Thanks,
Entan Ming -
Best way to get SharePoint workflow to trigger InDesign XML refresh and PDF export?
What is the best way to get a SharePoint workflow to trigger the refresh of an XML datasource within an InDesign document, and generate a PDF export? The datasource would be hosted by SharePoint.
Would InDesign Server be required?My understanding of the license is that Adobe requires you to use InDesign Server for this sort of thing.
But the implementation is probably the same either way. Periodically poll, or find some way to trigger it. -
Can SharePoint Apps and SharePoint 2013 workflow run on the same servers?
As the SharePoint 2013 workflow manager can run on non-sharePoint servers. Can I also use those server to host SharePoint apps in the Provider host model?
Or should I keep them separate?
This is a medium size deployment, 2 WFEs, 2 Apps, 1 Clustered DB. I would be adding 2 additional servers for hosting workflow manager, and SharePoint apps.
One other option I can think of would be to host the Workflow manager on the SharePoint Apps servers. And then host the SharePoint Apps on the 2 separate servers.
Any guidance or gatchas would be great the hear about.
Thanks!
Joshua FuenteYes, you should be able to run SharePoint Provider hosted apps using the Workflow Server as the provider. There is nothing in workflow manager that prevents running web sites on the same server.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Promote a 2012 DC using PowerShell 3.0 workflow hangs on Install-ADDSForest
Hi,
seeing the value in PowerShell 3.0 workflow for machine / classroom installation I am trying to automate the entire installation of a SharePoint 2013 machine. First steps include making the server a domain controller.
To promote the domain controller I make use of the ADDSDeployment module / Install-ADDSForest command. When used in a normal, non-workflow, PowerShell session the command works just fine. However, when running this command in a workflow that continues
after a reboot the command seems to hang. I also found that debugging a workflow, well, is rather difficult :)
First, my sample script configures the computer name. Next it reboots. The workflow will be continueing with the installion of the AD-Domain-Services feature. Right after that I call Install-ADDSForest. You can find the full script below.
For getting the workflow to auto-continue after the reboot I have used two approaches. I have tried to use the RunOnce registry key to fire up PowerShell. This would be my preferred approach as you can see the PowerShell window running before the Explorer
shell loads. The second approach involves the scheduled task trigger as described on Technet in the PowerShell workflow section. Either way, the promotion command is stuck. I have left it running overnight, after which the workflow still wasn't done.
Here's my awesomeness:
workflow Install-Wingtip {
InlineScript {
$Computer = Get-WmiObject Win32_ComputerSystem
$Computer.Rename("WingtipDC") | Out-Null
#Get ready for reboot
#Either use the RunOnce key combined with auto-login
#Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\RunOnce" `-Name "ConfigureServer" -Value "powershell -executionPolicy Unrestricted -Command Import-Module PSWorkflow; Get-Job | Resume-Job -Wait; Get-Job | Wait-Job"
#Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "DefaultUserName" -Value "Administrator"
#Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "DefaultPassword" -Value "pass@word1"
#Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "AutoAdminLogon" -Value "1"
#Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -Name "AutoLogonCount" -Value "1"
# Or use a -AtStartup trigger
$Trigger = New-ScheduledTaskTrigger -AtStartup
Register-ScheduledJob -Name ResumeWorkflow -Trigger $Trigger -ScriptBlock { Import-Module PSWorkflow; Get-Job -State Suspended | Resume-Job }
Restart-Computer -Wait
InlineScript {
Import-Module ServerManager
Install-WindowsFeature AD-Domain-Services
InlineScript {
Import-Module ADDSDeployment
Install-ADDSForest `
-DomainName "Wingtip.com" `
-DomainNetbiosName "Wingtip" `
-SafeModeAdministratorPassword (ConvertTo-SecureString -String "pass@word1" -AsPlainText -Force) `
-NoDnsOnNetwork `
-InstallDns `
-DomainMode Win2008R2 `
-ForestMode Win2008R2 `
-NoRebootOnCompletion `
-Confirm:$false
Write-Output -InputObject "Done creating domain controller"
Perhaps anyone has tried something similar? I cannot be the only one looking at promoting a DC through workflow I guess!
Thanks,
WouterHi Diana,
during the setup there is no dcpromo.log present in the folder you mention. I have a dcpromoui.log and a dfsr000001.log as well as a netsetup.log. Fun stuff, if I read the dcpromoui.log correctly it should have created a domain controller and a new forest.
However, my machine is still member of a workgroup after reboot, so it isn't in the state you'd expect.
DCPROMOUI LOG
dcpromoui 3A0.9F0 0196 23:41:22.366 Enter CheckDomainDnsNormalization Wingtip.com
dcpromoui 3A0.9F0 0197 23:41:22.366 Enter ValidateDnsNameNormalization Wingtip.com
dcpromoui 3A0.9F0 0198 23:41:22.366 The canonical form is wingtip.com.
dcpromoui 3A0.9F0 0199 23:41:22.366 result = true
dcpromoui 3A0.9F0 019A 23:41:22.366 Enter State::SetNewDomainDNSName Wingtip.com
dcpromoui 3A0.9F0 019B 23:41:22.366 performed state 9, next state 18
dcpromoui 3A0.9F0 019C 23:41:22.366 Enter NetbiosNameFunct
dcpromoui 3A0.9F0 019D 23:41:22.366 Enter GetAnswerFileOption DomainNetbiosName
dcpromoui 3A0.9F0 019E 23:41:22.366 Enter AnswerFile::GetOption DomainNetbiosName
dcpromoui 3A0.9F0 019F 23:41:22.366 using value from cmdline
dcpromoui 3A0.9F0 01A0 23:41:22.366 Wingtip
dcpromoui 3A0.9F0 01A1 23:41:22.366 Enter NetbiosNameFunctInternal
dcpromoui 3A0.9F0 01A2 23:41:22.366 Enter ValidateDomainNetbiosName Wingtip
dcpromoui 3A0.9F0 01A3 23:41:22.366 Enter Dns::HostnameToNetbiosName Wingtip
dcpromoui 3A0.9F0 01A4 23:41:22.366 WINGTIP
dcpromoui 3A0.9F0 01A5 23:41:22.366 Enter ValidateNetbiosDomainName WINGTIP
dcpromoui 3A0.9F0 01A6 23:41:22.366 Enter NetbiosValidationHelper
dcpromoui 3A0.9F0 01A7 23:41:22.366 Calling NetpwNameValidate
dcpromoui 3A0.9F0 01A8 23:41:22.366 valid name
dcpromoui 3A0.9F0 01A9 23:41:22.366 Enter MyNetValidateName
dcpromoui 3A0.9F0 01AA 23:41:22.366 Calling NetValidateName
dcpromoui 3A0.9F0 01AB 23:41:22.366 lpServer : (null)
dcpromoui 3A0.9F0 01AC 23:41:22.366 lpName : Wingtip
dcpromoui 3A0.9F0 01AD 23:41:22.366 lpAccount : (null)
dcpromoui 3A0.9F0 01AE 23:41:22.366 lpPassword : (null)
dcpromoui 3A0.9F0 01AF 23:41:22.366 NameType : NetSetupNonExistentDomain
dcpromoui 3A0.9F0 01B0 23:41:22.366 Using the same thread : true
dcpromoui 3A0.9F0 01B1 23:41:27.788 HRESULT = 0x00000000
dcpromoui 3A0.9F0 01B2 23:41:27.788 ValidateDomainNetbiosName returned 0
dcpromoui 3A0.9F0 01B3 23:41:27.788 Enter State::SetNewDomainNetbiosName Wingtip
dcpromoui 3A0.9F0 01B4 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01B5 23:41:27.788 performed state 18, next state 19
dcpromoui 3A0.9F0 01B6 23:41:27.788 Enter ForestFunctionalLevelFunct
dcpromoui 3A0.9F0 01B7 23:41:27.788 Enter GetAnswerFileOption ForestLevel
dcpromoui 3A0.9F0 01B8 23:41:27.788 Enter AnswerFile::GetOption ForestLevel
dcpromoui 3A0.9F0 01B9 23:41:27.788 using value from cmdline
dcpromoui 3A0.9F0 01BA 23:41:27.788 4
dcpromoui 3A0.9F0 01BB 23:41:27.788 Enter State::SetForestFunctionalLevel
dcpromoui 3A0.9F0 01BC 23:41:27.788 forest functional level: 4
dcpromoui 3A0.9F0 01BD 23:41:27.788 performed state 19, next state 20
dcpromoui 3A0.9F0 01BE 23:41:27.788 Enter DomainFunctionalLevelFunct
dcpromoui 3A0.9F0 01BF 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01C0 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01C1 23:41:27.788 Enter State::GetForestFunctionalLevel
dcpromoui 3A0.9F0 01C2 23:41:27.788 forest functional level: 4
dcpromoui 3A0.9F0 01C3 23:41:27.788 Enter GetAnswerFileOption DomainLevel
dcpromoui 3A0.9F0 01C4 23:41:27.788 Enter AnswerFile::GetOption DomainLevel
dcpromoui 3A0.9F0 01C5 23:41:27.788 using value from cmdline
dcpromoui 3A0.9F0 01C6 23:41:27.788 4
dcpromoui 3A0.9F0 01C7 23:41:27.788 Enter State::SetDomainFunctionalLevel
dcpromoui 3A0.9F0 01C8 23:41:27.788 domain functional level: 4
dcpromoui 3A0.9F0 01C9 23:41:27.788 performed state 20, next state 14
dcpromoui 3A0.9F0 01CA 23:41:27.788 Enter SiteSelectionFunct
dcpromoui 3A0.9F0 01CB 23:41:27.788 Enter GetAnswerFileOption SiteName
dcpromoui 3A0.9F0 01CC 23:41:27.788 Enter AnswerFile::GetOption SiteName
dcpromoui 3A0.9F0 01CD 23:41:27.788
dcpromoui 3A0.9F0 01CE 23:41:27.788 Enter SiteSelectionFunctInternal
dcpromoui 3A0.9F0 01CF 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01D0 23:41:27.788 Enter ValidateSiteName
dcpromoui 3A0.9F0 01D1 23:41:27.788 Enter DoLabelValidation
dcpromoui 3A0.9F0 01D2 23:41:27.788 Enter Dns::ValidateDnsLabelSyntax Default-First-Site-Name
dcpromoui 3A0.9F0 01D3 23:41:27.788 Enter DoDnsValidation s: Default-First-Site-Name, max len unicode: 63, max len utf8: 63
dcpromoui 3A0.9F0 01D4 23:41:27.788 name is 23 utf-8 bytes
dcpromoui 3A0.9F0 01D5 23:41:27.788 Enter MyDnsValidateName Default-First-Site-Name
dcpromoui 3A0.9F0 01D6 23:41:27.788 Calling DnsValidateName
dcpromoui 3A0.9F0 01D7 23:41:27.788 pszName : Default-First-Site-Name
dcpromoui 3A0.9F0 01D8 23:41:27.788 Format : 3
dcpromoui 3A0.9F0 01D9 23:41:27.788 status 0x0
dcpromoui 3A0.9F0 01DA 23:41:27.788 ERROR_SUCCESS
dcpromoui 3A0.9F0 01DB 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01DC 23:41:27.788 Enter State::SetSiteName Default-First-Site-Name
dcpromoui 3A0.9F0 01DD 23:41:27.788 performed state 14, next state 15
dcpromoui 3A0.9F0 01DE 23:41:27.788 Enter AdditionalDcRolesFunct
dcpromoui 3A0.9F0 01DF 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01E0 23:41:27.788 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 01E1 23:41:27.788 Enter State::GetInstallDnsUserOption
dcpromoui 3A0.9F0 01E2 23:41:27.788 Enter GetAnswerFileOption InstallDNS
dcpromoui 3A0.9F0 01E3 23:41:27.788 Enter AnswerFile::GetOption InstallDNS
dcpromoui 3A0.9F0 01E4 23:41:27.788
dcpromoui 3A0.9F0 01E5 23:41:27.788 Enter GetAnswerFileOption AutoConfigDNS
dcpromoui 3A0.9F0 01E6 23:41:27.788 Enter AnswerFile::GetOption AutoConfigDNS
dcpromoui 3A0.9F0 01E7 23:41:27.788
dcpromoui 3A0.9F0 01E8 23:41:27.788 Enter AdditionalDcRolesFunctCheckDnsConfig
dcpromoui 3A0.9F0 01E9 23:41:27.788 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 01EA 23:41:27.788 Enter State::IsDNSOnNetwork false
dcpromoui 3A0.9F0 01EB 23:41:27.788 Enter GetDefaultChoiceForDnsInstallation
dcpromoui 3A0.9F0 01EC 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01ED 23:41:27.788 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 01EE 23:41:27.788 Enter Dns::IsServiceInstalled
dcpromoui 3A0.9F0 01EF 23:41:27.788 Enter NTService::IsInstalled dns
dcpromoui 3A0.9F0 01F0 23:41:27.788 Enter MyOpenService
dcpromoui 3A0.9F0 01F1 23:41:27.788 Enter Win::OpenSCManager
dcpromoui 3A0.9F0 01F2 23:41:27.788 Enter Win::OpenService dns
dcpromoui 3A0.9F0 01F3 23:41:27.788 HRESULT = 0x80070424
dcpromoui 3A0.9F0 01F4 23:41:27.788 service is not installed.
dcpromoui 3A0.9F0 01F5 23:41:27.788 Enter State::SetDnsServerAlreadyInstalled
dcpromoui 3A0.9F0 01F6 23:41:27.788 b = false
dcpromoui 3A0.9F0 01F7 23:41:27.788 Enter State::IsDnsServerAlreadyInstalled
dcpromoui 3A0.9F0 01F8 23:41:27.788 bDnsServerAlreadyInstalled = false
dcpromoui 3A0.9F0 01F9 23:41:27.788 Enter State::SetAutoConfigureDNS true
dcpromoui 3A0.9F0 01FA 23:41:27.788 Enter TxtCheckCreateDnsDelegationOptions
dcpromoui 3A0.9F0 01FB 23:41:27.788 Enter State::GetDnsDelegationUserOption
dcpromoui 3A0.9F0 01FC 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 01FD 23:41:27.788 Enter GetAnswerFileOption CreateDNSDelegation
dcpromoui 3A0.9F0 01FE 23:41:27.788 Enter AnswerFile::GetOption CreateDNSDelegation
dcpromoui 3A0.9F0 01FF 23:41:27.788
dcpromoui 3A0.9F0 0200 23:41:27.788 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 0201 23:41:27.788 bResult = true
dcpromoui 3A0.9F0 0202 23:41:27.788 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 0203 23:41:27.788 Do install DNS server
dcpromoui 3A0.9F0 0204 23:41:27.788 Enter GetAnswerFileOption ConfirmGc
dcpromoui 3A0.9F0 0205 23:41:27.788 Enter AnswerFile::GetOption ConfirmGc
dcpromoui 3A0.9F0 0206 23:41:27.788
dcpromoui 3A0.9F0 0207 23:41:27.788 Enter State::SetGlobalCatalogOption true
dcpromoui 3A0.9F0 0208 23:41:27.788 Enter State::GetGlobalCatalogOption true
dcpromoui 3A0.9F0 0209 23:41:27.788 This DC will be a GC
dcpromoui 3A0.9F0 020A 23:41:27.788 Enter GetAnswerFileOption ReplicaOrNewDomain
dcpromoui 3A0.9F0 020B 23:41:27.788 Enter AnswerFile::GetOption ReplicaOrNewDomain
dcpromoui 3A0.9F0 020C 23:41:27.788 using value from cmdline
dcpromoui 3A0.9F0 020D 23:41:27.788 Domain
dcpromoui 3A0.9F0 020E 23:41:27.788 Enter State::IsReadOnlyReplica false
dcpromoui 3A0.9F0 020F 23:41:27.788 Enter TxtCheckConflictingDcAccount
dcpromoui 3A0.9F0 0210 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0211 23:41:27.788 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 0212 23:41:27.788 bResult = true
dcpromoui 3A0.9F0 0213 23:41:27.788 Enter TxtCheckRidMasterOnlineRequirement
dcpromoui 3A0.9F0 0214 23:41:27.788 Enter ValidateRidMasterOnlineRequirement
dcpromoui 3A0.9F0 0215 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0216 23:41:27.788 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 0217 23:41:27.788 bResult = true
dcpromoui 3A0.9F0 0218 23:41:27.788 bResult = true
dcpromoui 3A0.9F0 0219 23:41:27.788 Enter State::IsReadOnlyReplica false
dcpromoui 3A0.9F0 021A 23:41:27.788 Enter State::IsReadOnlyReplica false
dcpromoui 3A0.9F0 021B 23:41:27.788 Enter TxtCheckTransferIMRoleOptions
dcpromoui 3A0.9F0 021C 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 021D 23:41:27.788 bResult = true
dcpromoui 3A0.9F0 021E 23:41:27.788 Enter TxtCheckIMGCCompatibility
dcpromoui 3A0.9F0 021F 23:41:27.788 Enter State::SetNeedToTransferIMRole
dcpromoui 3A0.9F0 0220 23:41:27.788 b = false
dcpromoui 3A0.9F0 0221 23:41:27.788 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 0222 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0223 23:41:27.788 Enter State::IsDnsServerAlreadyInstalled
dcpromoui 3A0.9F0 0224 23:41:27.788 bDnsServerAlreadyInstalled = false
dcpromoui 3A0.9F0 0225 23:41:27.788 Enter AdditionalDcRolesFunctDnsRegistrationTest
dcpromoui 3A0.9F0 0226 23:41:27.788 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 0227 23:41:27.788 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 0228 23:41:27.788 Enter TxtIsReadyForDnsInstallation
dcpromoui 3A0.9F0 0229 23:41:27.788 Enter VerifyStaticIpPresent
dcpromoui 3A0.9F0 022A 23:41:27.788 Adapter name: {11492924-E5D4-4AE7-B958-9E9E8CC9DAB0}
dcpromoui 3A0.9F0 022B 23:41:27.788 Examining the IP address 0
dcpromoui 3A0.9F0 022C 23:41:27.788 Not a global IPv6 address. No need to check it.
dcpromoui 3A0.9F0 022D 23:41:27.788 Examining the IP address 1
dcpromoui 3A0.9F0 022E 23:41:27.788 Found a static IPv4 address
dcpromoui 3A0.9F0 022F 23:41:27.788 Adapter name: {6F0E278D-D6F9-11E1-93E4-806E6F6E6963}
dcpromoui 3A0.9F0 0230 23:41:27.788 The adapter does not have a physical connector.
dcpromoui 3A0.9F0 0231 23:41:27.788 Adapter name: {EBA06FBF-9547-4E40-A37A-0FE83A6AF676}
dcpromoui 3A0.9F0 0232 23:41:27.788 The adapter does not have a physical connector.
dcpromoui 3A0.9F0 0233 23:41:27.788 HRESULT = 0x00000000
dcpromoui 3A0.9F0 0234 23:41:27.788 Enter TxtRunDnsRegistrationTest
dcpromoui 3A0.9F0 0235 23:41:27.788 Enter NeedToDiagnoseDnsRegistration
dcpromoui 3A0.9F0 0236 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0237 23:41:27.788 bRunDnsRegistrationTest = true
dcpromoui 3A0.9F0 0238 23:41:27.788 Enter DnsRegistrationTest
dcpromoui 3A0.9F0 0239 23:41:27.788 Enter GetServerAndDomainForDnsDiagnosis
dcpromoui 3A0.9F0 023A 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 023B 23:41:27.788 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 023C 23:41:27.788 Enter State::GetNewDomainDNSName Wingtip.com
dcpromoui 3A0.9F0 023D 23:41:27.788 Enter DiagnoseDnsRegistration
dcpromoui 3A0.9F0 023E 23:41:27.788 Enter FindAuthoritativeServer _ldap._tcp.dc._msdcs.Wingtip.com
dcpromoui 3A0.9F0 023F 23:41:27.788 Enter FullyQualifyDnsName _ldap._tcp.dc._msdcs.Wingtip.com
dcpromoui 3A0.9F0 0240 23:41:27.788 Enter MyDnsQuery _ldap._tcp.dc._msdcs.Wingtip.com.
dcpromoui 3A0.9F0 0241 23:41:27.788 Calling DnsQuery_W
dcpromoui 3A0.9F0 0242 23:41:27.788 lpstrName : _ldap._tcp.dc._msdcs.Wingtip.com.
dcpromoui 3A0.9F0 0243 23:41:27.788 wType : 6
dcpromoui 3A0.9F0 0244 23:41:27.788 fOptions : 8
dcpromoui 3A0.9F0 0245 23:41:27.788 status = 000005B4
dcpromoui 3A0.9F0 0246 23:41:27.788 ERROR_TIMEOUT
dcpromoui 3A0.9F0 0247 23:41:27.788 failed to find autoritative server.
dcpromoui 3A0.9F0 0248 23:41:27.788 result = 000005B4
dcpromoui 3A0.9F0 0249 23:41:27.788 authZone =
dcpromoui 3A0.9F0 024A 23:41:27.788 authServer =
dcpromoui 3A0.9F0 024B 23:41:27.788 authServerIpAddress =
dcpromoui 3A0.9F0 024C 23:41:27.788 timeout
dcpromoui 3A0.9F0 024D 23:41:27.788 DiagnosticCode = b
dcpromoui 3A0.9F0 024E 23:41:27.788 Enter State::SetParentZoneName
dcpromoui 3A0.9F0 024F 23:41:27.788 server name: _ldap._tcp.dc._msdcs.Wingtip.com
dcpromoui 3A0.9F0 0250 23:41:27.788 error code: 1460
dcpromoui 3A0.9F0 0251 23:41:27.788 Auth zone:
dcpromoui 3A0.9F0 0252 23:41:27.788 Auth server:
dcpromoui 3A0.9F0 0253 23:41:27.788 Auth server IP address:
dcpromoui 3A0.9F0 0254 23:41:27.788 diagnosticResultCode: 11
dcpromoui 3A0.9F0 0255 23:41:27.804 Enter GetErrorMessage 800705B4
dcpromoui 3A0.9F0 0256 23:41:27.804 Enter State::SetDnsRegistrationTestSucceeded
dcpromoui 3A0.9F0 0257 23:41:27.804 b = false
dcpromoui 3A0.9F0 0258 23:41:27.804 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0259 23:41:27.804 Enter NeedToCreateDelegationOrShowDnsRegistrationDiagnosis
dcpromoui 3A0.9F0 025A 23:41:27.804 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 025B 23:41:27.804 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 025C 23:41:27.804 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 025D 23:41:27.804 Enter State::SetCreateDnsDelegation false
dcpromoui 3A0.9F0 025E 23:41:27.804 Enter State::SetDnsDelegationOptionChangeable false
dcpromoui 3A0.9F0 025F 23:41:27.804 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0260 23:41:27.804 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0261 23:41:27.804 Enter State::GetNewDomainDNSName Wingtip.com
dcpromoui 3A0.9F0 0262 23:41:27.804 Warning: A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not run Windows DNS server.
If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain "Wingtip.com". Otherwise, no action is required.
dcpromoui 3A0.9F0 0263 23:41:27.804 Enter State::AddFinishMessage A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it does not
run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to this DNS server in the parent zone to ensure reliable name resolution from outside the domain "Wingtip.com". Otherwise, no action
is required.
dcpromoui 3A0.9F0 0264 23:41:27.804 DNS delegation will not be created due to DNS diagnostics failure.
dcpromoui 3A0.9F0 0265 23:41:27.804 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 0266 23:41:27.804 performed state 15, next state 16
dcpromoui 3A0.9F0 0267 23:41:27.804 Enter DnsDelegationFunct
dcpromoui 3A0.9F0 0268 23:41:27.804 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 0269 23:41:27.804 Enter State::GetDnsDelegationUserOption
dcpromoui 3A0.9F0 026A 23:41:27.804 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 026B 23:41:27.804 Enter GetAnswerFileOption CreateDNSDelegation
dcpromoui 3A0.9F0 026C 23:41:27.804 Enter AnswerFile::GetOption CreateDNSDelegation
dcpromoui 3A0.9F0 026D 23:41:27.804
dcpromoui 3A0.9F0 026E 23:41:27.804 Enter State::GetDnsDelegationOptionChangeable false
dcpromoui 3A0.9F0 026F 23:41:27.804 Enter State::GetCreateDnsDelegation false
dcpromoui 3A0.9F0 0270 23:41:27.804 Enter State::GetCreateDnsDelegation false
dcpromoui 3A0.9F0 0271 23:41:27.804 Enter State::GetCreateDnsDelegation false
dcpromoui 3A0.9F0 0272 23:41:27.804 Enter State::GetDnsRegistrationTestSucceeded
dcpromoui 3A0.9F0 0273 23:41:27.804 m_bDnsRegistrationTestSucceeded = false
dcpromoui 3A0.9F0 0274 23:41:27.804 Enter State::SetHadNonCriticalFailures
dcpromoui 3A0.9F0 0275 23:41:27.804 b = true
dcpromoui 3A0.9F0 0276 23:41:27.804 performed state 16, next state 25
dcpromoui 3A0.9F0 0277 23:41:27.804 Enter PathsFunct
dcpromoui 3A0.9F0 0278 23:41:27.804 Enter GetAnswerFileOption DatabasePath
dcpromoui 3A0.9F0 0279 23:41:27.804 Enter AnswerFile::GetOption DatabasePath
dcpromoui 3A0.9F0 027A 23:41:27.804
dcpromoui 3A0.9F0 027B 23:41:27.804 Enter GetAnswerFileOption LogPath
dcpromoui 3A0.9F0 027C 23:41:27.804 Enter AnswerFile::GetOption LogPath
dcpromoui 3A0.9F0 027D 23:41:27.804
dcpromoui 3A0.9F0 027E 23:41:27.804 Enter GetAnswerFileOption SYSVOLPath
dcpromoui 3A0.9F0 027F 23:41:27.804 Enter AnswerFile::GetOption SYSVOLPath
dcpromoui 3A0.9F0 0280 23:41:27.804
dcpromoui 3A0.9F0 0281 23:41:27.804 Enter DetermineDefaultSysvolPath
dcpromoui 3A0.9F0 0282 23:41:27.804 Enter FS::GetFileSystemType
dcpromoui 3A0.9F0 0283 23:41:27.804 Enter FS::GetRootFolder C:\Windows
dcpromoui 3A0.9F0 0284 23:41:27.804 Enter FS::GetPathSyntax C:\Windows
dcpromoui 3A0.9F0 0285 23:41:27.804 HRESULT = 0x00000000
dcpromoui 3A0.9F0 0286 23:41:27.804 C:\Windows\
dcpromoui 3A0.9F0 0287 23:41:27.804 dbPath=C:\Windows\NTDS, logPath=C:\Windows\NTDS
dcpromoui 3A0.9F0 0288 23:41:27.804 sysvol path C:\Windows\SYSVOL
dcpromoui 3A0.9F0 0289 23:41:27.804 Enter FS::NormalizePath C:\Windows\NTDS
dcpromoui 3A0.9F0 028A 23:41:27.804 Enter FS::NormalizePath C:\Windows\NTDS
dcpromoui 3A0.9F0 028B 23:41:27.804 Enter FS::NormalizePath C:\Windows\SYSVOL
dcpromoui 3A0.9F0 028C 23:41:27.804 Enter TxtValidateDcInstallPath
dcpromoui 3A0.9F0 028D 23:41:27.804 Enter ValidateDcInstallPath
dcpromoui 3A0.9F0 028E 23:41:27.804 Enter FS::GetPathSyntax C:\Windows\NTDS
dcpromoui 3A0.9F0 028F 23:41:27.804 Enter PathHasNonAsciiCharacters C:\Windows\NTDS
dcpromoui 3A0.9F0 0290 23:41:27.804 result = false
dcpromoui 3A0.9F0 0291 23:41:27.804 Enter CheckDriveType
dcpromoui 3A0.9F0 0292 23:41:27.804 Enter IsSupportedDriveType
dcpromoui 3A0.9F0 0293 23:41:27.804 Enter FS::GetRootFolder C:\Windows\NTDS
dcpromoui 3A0.9F0 0294 23:41:27.804 Enter FS::GetPathSyntax C:\Windows\NTDS
dcpromoui 3A0.9F0 0295 23:41:27.804 Enter FS::GetRootFolder C:\Windows\NTDS
dcpromoui 3A0.9F0 0296 23:41:27.804 Enter FS::GetPathSyntax C:\Windows\NTDS
dcpromoui 3A0.9F0 0297 23:41:27.804 Enter checkDiskSpace
dcpromoui 3A0.9F0 0298 23:41:27.804 Enter FS::GetRootFolder C:\
dcpromoui 3A0.9F0 0299 23:41:27.804 Enter FS::GetPathSyntax C:\
dcpromoui 3A0.9F0 029A 23:41:27.804 Enter FS::GetAvailableSpace C:\
dcpromoui 3A0.9F0 029B 23:41:27.804 Enter State::SetDatabasePath C:\Windows\NTDS
dcpromoui 3A0.9F0 029C 23:41:27.804 Enter State::SetLogPath C:\Windows\NTDS
dcpromoui 3A0.9F0 029D 23:41:27.804 Enter TxtValidateDcInstallPath
dcpromoui 3A0.9F0 029E 23:41:27.804 Enter ValidateDcInstallPath
dcpromoui 3A0.9F0 029F 23:41:27.804 Enter FS::GetPathSyntax C:\Windows\SYSVOL
dcpromoui 3A0.9F0 02A0 23:41:27.804 Enter CheckDriveType
dcpromoui 3A0.9F0 02A1 23:41:27.804 Enter IsSupportedDriveType
dcpromoui 3A0.9F0 02A2 23:41:27.804 Enter FS::GetFileSystemType
dcpromoui 3A0.9F0 02A3 23:41:27.804 Enter FS::GetRootFolder C:\Windows\SYSVOL
dcpromoui 3A0.9F0 02A4 23:41:27.804 Enter FS::GetPathSyntax C:\Windows\SYSVOL
dcpromoui 3A0.9F0 02A5 23:41:27.804 HRESULT = 0x00000000
dcpromoui 3A0.9F0 02A6 23:41:27.804 Enter TxtValidateSYSVOLPath
dcpromoui 3A0.9F0 02A7 23:41:27.804 Enter validateSysvolPath
dcpromoui 3A0.9F0 02A8 23:41:27.804 Enter State::GetDatabasePath C:\Windows\NTDS
dcpromoui 3A0.9F0 02A9 23:41:27.804 Enter State::GetLogPath C:\Windows\NTDS
dcpromoui 3A0.9F0 02AA 23:41:27.804 Enter FS::IsParentFolder
dcpromoui 3A0.9F0 02AB 23:41:27.804 Enter FS::IsParentFolder
dcpromoui 3A0.9F0 02AC 23:41:27.804 Enter State::ReplicateFromMedia false
dcpromoui 3A0.9F0 02AD 23:41:27.804 Enter checkDiskSpace
dcpromoui 3A0.9F0 02AE 23:41:27.804 Enter FS::GetRootFolder C:\Windows\SYSVOL
dcpromoui 3A0.9F0 02AF 23:41:27.804 Enter FS::GetPathSyntax C:\Windows\SYSVOL
dcpromoui 3A0.9F0 02B0 23:41:27.804 Enter FS::GetAvailableSpace C:\
dcpromoui 3A0.9F0 02B1 23:41:27.804 validStatus = 0x0
dcpromoui 3A0.9F0 02B2 23:41:27.804 Enter State::GetDatabasePath C:\Windows\NTDS
dcpromoui 3A0.9F0 02B3 23:41:27.804 Enter State::GetLogPath C:\Windows\NTDS
dcpromoui 3A0.9F0 02B4 23:41:27.804 true
dcpromoui 3A0.9F0 02B5 23:41:27.804 Enter State::SetSYSVOLPath C:\Windows\SYSVOL
dcpromoui 3A0.9F0 02B6 23:41:27.804 performed state 25, next state 26
dcpromoui 3A0.9F0 02B7 23:41:27.804 Enter SafeModePasswordFunct
dcpromoui 3A0.9F0 02B8 23:41:27.804 Enter GetEncryptedAnswerFileOption SafeModeAdminPassword
dcpromoui 3A0.9F0 02B9 23:41:27.804 Enter AnswerFile::GetEncryptedOption SafeModeAdminPassword
dcpromoui 3A0.9F0 02BA 23:41:27.804 Enter SafeModePasswordFunctInternal
dcpromoui 3A0.9F0 02BB 23:41:27.804 Enter TxtIsValidPassword
dcpromoui 3A0.9F0 02BC 23:41:27.804 Enter IsValidPassword
dcpromoui 3A0.9F0 02BD 23:41:27.804 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 02BE 23:41:27.804 Enter ValidatePasswordAgainstPolicy
dcpromoui 3A0.9F0 02BF 23:41:27.804 Using current user context ...
dcpromoui 3A0.9F0 02C0 23:41:27.851 HRESULT = 0x00000000
dcpromoui 3A0.9F0 02C1 23:41:27.851 Enter State::SetSafeModeAdminPassword
dcpromoui 3A0.9F0 02C2 23:41:27.851 performed state 26, next state 28
dcpromoui 3A0.9F0 02C3 23:41:27.851 Enter ConfirmFunct
dcpromoui 3A0.9F0 02C4 23:41:27.851 Enter GetMessage
dcpromoui 3A0.9F0 02C5 23:41:27.851 Enter State::GetNewDomainNetbiosName Wingtip
dcpromoui 3A0.9F0 02C6 23:41:27.851 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 02C7 23:41:27.851 Enter State::GetNewDomainDNSName Wingtip.com
dcpromoui 3A0.9F0 02C8 23:41:27.851 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 02C9 23:41:27.851 Enter State::GetMode NORMAL
dcpromoui 3A0.9F0 02CA 23:41:27.866 Enter State::GetForestFunctionalLevel
dcpromoui 3A0.9F0 02CB 23:41:27.866 forest functional level: 4
dcpromoui 3A0.9F0 02CC 23:41:27.866 Enter State::GetDomainFunctionalLevel
dcpromoui 3A0.9F0 02CD 23:41:27.866 domain functional level: 4
dcpromoui 3A0.9F0 02CE 23:41:27.866 Enter State::IsRepair false
dcpromoui 3A0.9F0 02CF 23:41:27.866 Enter State::GetSiteName Default-First-Site-Name
dcpromoui 3A0.9F0 02D0 23:41:27.866 Enter State::IsReadOnlyReplica false
dcpromoui 3A0.9F0 02D1 23:41:27.866 Enter State::GetGlobalCatalogOption true
dcpromoui 3A0.9F0 02D2 23:41:27.866 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 02D3 23:41:27.866 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 02D4 23:41:27.866 Enter State::GetCreateDnsDelegation false
dcpromoui 3A0.9F0 02D5 23:41:27.866 Enter State::IsReadOnlyReplica false
dcpromoui 3A0.9F0 02D6 23:41:27.866 Enter State::GetSYSVOLPath C:\Windows\SYSVOL
dcpromoui 3A0.9F0 02D7 23:41:27.866 Enter State::GetLogPath C:\Windows\NTDS
dcpromoui 3A0.9F0 02D8 23:41:27.866 Enter State::GetDatabasePath C:\Windows\NTDS
dcpromoui 3A0.9F0 02D9 23:41:27.866 Enter State::AutoConfigureDNS true
dcpromoui 3A0.9F0 02DA 23:41:27.866 Enter State::IsDnsServerAlreadyInstalled
dcpromoui 3A0.9F0 02DB 23:41:27.866 bDnsServerAlreadyInstalled = false
dcpromoui 3A0.9F0 02DC 23:41:27.866 Enter State::GetSkipAutoconfigureDns false
dcpromoui 3A0.9F0 02DD 23:41:27.866 Enter State::ShouldConfigDnsClient
dcpromoui 3A0.9F0 02DE 23:41:27.866 shouldConfigDnsClient = true
dcpromoui 3A0.9F0 02DF 23:41:27.866 Enter State::GetNeedToTransferIMRole
dcpromoui 3A0.9F0 02E0 23:41:27.866 bNeedToTransferIMRole = false
dcpromoui 3A0.9F0 02E1 23:47:28.212 Info:
dcpromoui 3A0.9F0 02E2 23:47:28.212 Info: ----------------------------------------
dcpromoui 3A0.9F0 02E3 23:47:28.212 Info: The following actions will be performed:
dcpromoui 3A0.9F0 02E4 23:47:28.212 Info: Configure this server as the first Active Directory domain controller in a new forest.
The new domain name is "Wingtip.com". This is also the name of the new forest.
The NetBIOS name of the domain is "Wingtip".
Forest Functional Level: Windows Server 2008 R2
Domain Functional Level: Windows Server 2008 R2
Site: Default-First-Site-Name
Additional Options:
Read-only domain controller: "No"
Global catalog: Yes
DNS Server: Yes
Create DNS Delegation: No
Database folder: C:\Windows\NTDS
Log file folder: C:\Windows\NTDS
SYSVOL folder: C:\Windows\SYSVOL
The DNS Server service will be installed on this computer.
The DNS Server service will be configured on this computer.
This computer will be configured to use this DNS server as its preferred DNS server.
The password of the new domain Administrator will be the same as the password of the local Administrator of this computer.
dcpromoui 3A0.9F0 02E5 23:47:28.212 Info: ----------------------------------------
dcpromoui 3A0.9F0 02E6 23:47:28.212 Enter State::GetOperation FOREST
dcpromoui 3A0.4C4 02E7 23:47:28.228 Enter PromoteThreadProc
dcpromoui 3A0.4C4 02E8 23:47:28.228 Set locale for console
dcpromoui 3A0.4C4 02E9 23:47:28.228 Enter State::GetMode NORMAL
dcpromoui 3A0.4C4 02EA 23:47:28.228 top of retry loop
dcpromoui 3A0.4C4 02EB 23:47:28.228 Enter disableConsoleLocking
dcpromoui 3A0.4C4 02EC 23:47:28.228 Enter RegistryKey::Create SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
dcpromoui 3A0.4C4 02ED 23:47:28.228 Enter RegistryKey::SetValue-DWORD DisableLockWorkstation
dcpromoui 3A0.4C4 02EE 23:47:28.228 Enter State::SetOperationResultsMessage
dcpromoui 3A0.4C4 02EF 23:47:28.228 Enter State::SetOperationResultsFlags 0x0
dcpromoui 3A0.4C4 02F0 23:47:28.228 Enter State::SetOperationResults result SUCCESS
dcpromoui 3A0.9F0 02F1 23:47:28.228 Enter State::GetOperationResultsCode SUCCESS
dcpromoui 3A0.9F0 02F2 23:47:28.228 OPERATION SUCCESSFUL
dcpromoui 3A0.9F0 02F3 23:47:28.228 Enter State::GetOperationResultsCode SUCCESS
dcpromoui 3A0.9F0 02F4 23:47:28.228 Enter State::IsOperationRetryAllowed
dcpromoui 3A0.9F0 02F5 23:47:28.228 true
dcpromoui 3A0.9F0 02F6 23:47:28.228 Info:
dcpromoui 3A0.9F0 02F7 23:47:28.228 performed state 28, next state 29
dcpromoui 3A0.9F0 02F8 23:47:28.228 Enter FailedFunct
dcpromoui 3A0.9F0 02F9 23:47:28.228 Enter State::GetOperationResultsCode SUCCESS
dcpromoui 3A0.9F0 02FA 23:47:28.228 SUCCESS
dcpromoui 3A0.9F0 02FB 23:47:28.228 performed state 29, next state 30
dcpromoui 3A0.9F0 02FC 23:47:28.228 Enter FinishFunct
dcpromoui 3A0.9F0 02FD 23:47:28.228 Enter getCompletionMessage
dcpromoui 3A0.9F0 02FE 23:47:28.228 Enter State::GetOperation FOREST
dcpromoui 3A0.9F0 02FF 23:47:28.290 Info:
dcpromoui 3A0.9F0 0300 23:47:28.290 performed state 30, next state 31
dcpromoui 3A0.9F0 0301 23:47:28.290 Enter RebootFunct
dcpromoui 3A0.9F0 0302 23:47:28.290 Enter State::GetNeedsReboot false
dcpromoui 3A0.9F0 0303 23:47:28.290 reboot not necessary
dcpromoui 3A0.9F0 0304 23:47:28.290 performed state 31, next state 38
dcpromoui 3A0.9F0 0305 23:47:28.290 Enter State::GetHadNonCriticalFailures
dcpromoui 3A0.9F0 0306 23:47:28.290 bHadNonCriticalFailures = true
dcpromoui 3A0.9F0 0307 23:47:28.290 Enter State::UnbindFromReplicationPartnetDC
dcpromoui 3A0.9F0 0308 23:47:28.290 Exit code is 3
dcpromoui 3A0.9F0 0309 23:47:28.290 Exit code is 3
dcpromoui 3A0.3AC 030A 23:47:28.384 closing log -
After installing and configuring Workflow Manager and Service Bus, I'm getting 403.
I've spent the day installing SharePoint 2013 on a Windows Server 2012 environment. This server is not the domain controller. Following instructions on how to install and configure Workflow Manager and service bus, it appears although I'm following the instructions
(and I get no errors), something is not working.
If I try to go to the website that it creates in IIS
http://localhost:12291 I get a 403 error. Also if I perform the powershell query to get the port number "Get-WFFarm | ft WFMgmtHttpPort" I don't get any value returned to me.
Until I validate that the Workflow Manager is installed and working, I will not attempt to pair it to the SharePoint 2013 farm. Which hopefully makes this a Workflow Manager question not a SharePoint issue.
Can anyone offer any suggestions please? Should I even get a valid webpage if I hit localhost:12291? According to one walkthrough I've looked at I should get an XML display of workflow and security configurations.I experienced the same two issues mentioned in this thread today.
Regarding the proper XML not appearing at <workflowhost>:12291 I was experiencing the same with an error message in Chrome saying the caller lacked read permissions, and 403 in IE. I had checked IIS, database permissions and connections and more.
All of the setup messages and status checks were a-okay. I voted Zimo's comment as helpful because it cued me in to examine the service in Central Administration - where I found there was no administrator assigned to the workflow service. As soon as that was
done, the workflow host site was brows-able.
The resolution to SharePoint Designer not offering 2013 workflows as an option was in my case that there was an additional WFE on which I had not installed the Workflow Manager
Client. This is noted with a bright yellow box in the section about configuring workflow with HTTP here:
http://technet.microsoft.com/en-us/library/jj658588(v=office.15)
If puzzles are good for your BRAIN then SharePoint will keep it really healthy!
Ramona Maxwell MCPD
SharePoint 2010, MCITP
SQL Server 2008 -
Adding URL to Task in Visual Studio / C# SharePoint Workflow 2010
I have a custom SharePoint Workflow (2010) using Visual Studio.
During my task creation, I am populating my task using the .ExtendedProperties. I get how to do it with strings, numbers and boolean.
Now I want to add a URL (link) to the task. I have the URL type defined for one of the fields of the task, but I'm not sure how I would format the values to pass in.
MyworkflowTask.Item.ExtendedProperties["OriginalItem"]=??
Since I need to pass in both the URL and description, not sure how to format this.
ThanksYou can use the SPFieldUrlValue class.
SPFieldUrlValue value = new SPFieldUrlValue();
value.Url = "http://www.certdev.com";
value.Description = "very cool";
MyworkflowTask.Item.ExtendedProperties["OriginalItem"] = value;
Blog | SharePoint Field Notes Dev Tool |
ClassMaster -
SharePoint: Workflows - Emailing hyperlink of list item.
I have a custom SharePoint (2013) list to manage tasks assigned to personnel and keep track of their statuses. I've created a workflow using SP Designer to send out an email to whom the task is assigned on the date for which it's due.
The workflow is working properly and email alerts are being sent, except for one thing. Inside the email body is a hyperlink to the associated record which the recipient clicks on to view (only view, not edit) the task details.
I got the record's hyperlink by accessing it's display form and copying the URL from the browser, pasting it into the email body. The URL's format looks something like this:
http://zeroshiki/sites/SP2010-Main-Site/Lists/Announcements/DispForm.aspx?ID=2&ContentTypeId=0x0104000933421F36DFF740B428FEC15871B493
Then I modified the URL by formulating a lookup to include the ID of the Current Item. In other words, the ID specified in the URL isn't fixed; it's based on the associated list item.
I've confirmed that when the recipient recieves an email, the ID in the URL matches the record's ID on the site. However, when they click on the link and are redirected to the record's display page, there's no data displayed. The fields are visible but the
values are not. Then I noticed that the URL in the browser does not match the one in the email; it's missing an ID value.
So when the URL in the email is ...DispForm.aspx?ID=2&ContentTypeId... it changes to ...DispForm.aspx?ID=&ContentTypeID...
Why does this happen? This method may seem strange to use, but I've tried looking up the "Encoded Absolute URL" and I get an error stating that the return type of the lookup is invalid. That's why I manually copied the URL format and formulated
the record ID.
Am I doing something wrong here? Is there a more straight-forward approach to retrieving the record's URL?Hi,
According to your post, my understanding is that you wanted to send email with hyperlink.
In order to solve the problem more efficiently I need to clarify some information.
Did the hyperlink is the current item URL?
How did you set the hyperlink?
Per my knowledge, the "Encoded Absolute URL" result is https://sitename/Lists/listname/Id_.000
To get the current item URL, I recommend to we can use [%Workflow Context:Current Item URL%] with SharePoint Workflow 2010 platform,
Here is a similar thread for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/7dd2d0cb-97ff-4d9f-9c43-57109bb6bb3d/send-email-of-created-item-to-all-the-staff?forum=sharepointcust
Thank you for your understanding.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Sharepoint Workflow Access Token Error
Whenever run a workflow on the SharePoint site it gets stuck on "Started" and throws this error when inspected in the workflow view:
Retrying last request. Next attempt scheduled after 07/01/2015 10:58. Details of last request: HTTP
to https://***.sharepoint.emea.microsoftonline.com/support/_api/web/lists(guid'91616358-3515-49a4-8652-08e56a608d7e') Correlation Id:
Instance Id: dba845fc-941c-499f-9722-0929d85899ec
System.Net.WebException: The request was aborted: The request was canceled. ---> System.InvalidOperationException: Failed to fetch an access token from the token service. The token service returned an error type of 'invalid_request' with the following
description: ACS50000: There was an error issuing a token. ACS50001: Relying party with identifier
'00000003-0000-0ff1-ce00-000000000000/***.[email protected]f5cb8a2' was not found.
Trace ID: e000a6d4-06d3-499b-95a6-a761150135cf
Correlation ID: c7661e3d-2465-2ecb-9935-b7ba3142478d
Timestamp: 2015-01-07 09:50:09Z ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity
eventTraceActivity, TimeSpan& expirationDuration)
--- End of inner exception stack trace ---
at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity
eventTraceActivity, TimeSpan& expirationDuration)
at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAccessTokenFromTokenService(OAuthS2SPrincipal client, OAuthS2SPrincipal targetServiceAudience, HttpWebRequest originalRequest, EventTraceActivity
eventTraceActivity, TimeSpan& expirationDuration)
at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAuthorization(OAuthS2SAuthenticationChallenge[] bearerChallenges, HttpWebRequest request, EventTraceActivity eventTraceActivity)
at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.AuthenticateInternal(String challenge, WebRequest request, OAuthS2SCredential credential, EventTraceActivity eventTraceActivity)
at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.Authenticate(String challenge, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest, ICredentials authInfo)
at System.Net.HttpWebRequest.CheckResubmitForAuth()
at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean& disableUpload)
at System.Net.HttpWebRequest.DoSubmitRequestProcessing(Exception& exception)
at System.Net.HttpWebRequest.ProcessResponse()
at System.Net.HttpWebRequest.SetResponse(CoreResponseData coreResponseData)
--- End of inner exception stack trace ---
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.HttpRequestWorkItemAsyncResult.End(IAsyncResult result, Int32& responseCode)
at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.OnEndComplete(ScheduledWorkItemContext context, IAsyncResult result)
This only occurs on the workflows that have been designer in SharePoint Designer 2013, when the using the template ones (for example the three-state) they run fine. Have searched the internet to no avail on the error but believe it is something to do with
the server settings and permissions. Thanks in advanceHi,
According to your post, my understanding is that Sharepoint Workflow get the Access Token Error.
I reoconmend that you can properly configure the HTTPS endpoint and then re-register the workflow farm with SharePoint.
The snippet below assumes that you have exported the SSL certificate from the workflow manager IIS web site to c:\wfm.cer.
$cert = Get-PfxCertificate "c:\wfm.cer"
New-SPTrustedRootAuthority -Name "Workflow Manager Farm" -Certificate $cert
Register-SPWorkflowService -SPSite "http://dev.sharepoint.com" -WorkflowHostUri "https://devmachine
In addition, it may caused by
a mismatch between SharePoint and Workflows. You can install a new version workflow manger and sharepoint designer to check whether it works.
Here are some similar threads for your reference:
http://sharepoint.stackexchange.com/questions/71773/sharepoint-2013-workflow-cant-get-them-to-work-again
http://community.office365.com/en-us/f/154/t/276478.aspx?pi14176=2
Best Regards,
Linda Li
Linda Li
TechNet Community Support
Maybe you are looking for
-
ICloud Status option doesn't display under View Options
I've searched many threads and haven't found the answer to my question. The iCloud Status option does not display under my View Options (See pic). Any suggestions? Much appreciated.Thank you!! I have verified I am an iTunes Match subscriber. I have m
-
Order Management...BOM
Hi All, I am new to Peoplesoft.. and am working on Order Management.. from where can i download Order Management BOM and screen details.. basically am looking for a doc specifying the underlyig table structure of order management and about teh screen
-
Window Sizing for Discoverer Desktop -- version 10.1.2.45.46c
I have something weird happening now with Discoverer desktop. I can only use it in Maximized screen mode. This just happened a few days ago. Any suggestions
-
Render farm between multiple os
Hi All, I have a question about setting up a render farm for After Effects CC. Basically my main computer runs on OSX Maveriks, and I have two more Windows computers that I would like to help out rendering After Effects compositions. I have set up on
-
Xorg crash in dual monitor (intel video) - Solved
I update my system today, and install xorg-server 1.12.0-1, but xorg crash when gnome-session start. /var/log/Xorg.0.log output: [ 202.639] (II) intel(0): Allocated new frame buffer 3840x1080 stride 15360, tiled [ 202.813] BUG: triggered 'if (!de