AD CS: Certificate Template not available
1,206
Solution 1
Solved! My server was not part of the RAS and IAS Servers security group..
Solution 2
You cannot request a computer certificate on a domain controller, you can only request the domain controller certificate and a couple others fyi
Related videos on Youtube
Author by
vishnu
Updated on September 18, 2022Comments
-
vishnu almost 2 years
for subviews in self.profilescroll.subviews { if ((subviews is UITextField) && (subviews.tag == 0)) { let btntext : UITextField = subviews as! UITextField btntext.resignFirstResponder() } if ((subviews is UITextField) && (subviews.tag == 1)) { let btntext : UITextField = subviews as! UITextField btntext.resignFirstResponder() } }
this is where i put tag to the textfield.
for i in 0 ..< 2 { btnbudget = UITextField() btnbudget.frame = CGRect(x: (CGFloat(i) * (((screenWidth - 160)/2) + 40)) + 40, y: 0, width: (screenWidth - 160)/2, height: 50) btnbudget.font = UIFont(name: "Metropolis-SemiBold", size: 18) btnbudget.layer.cornerRadius = 10.0 btnbudget.layer.borderWidth = 1.0 btnbudget.layer.borderColor = UIColor(hexString:"4B45A0").cgColor btnbudget.tag = i btnbudget.backgroundColor = UIColor(hexString: "#00000000") btnbudget.text = budgetlist.object(at: i) as? String btnbudget.textColor = UIColor(hexString:"4B45A0") btnbudget.textAlignment = .center btnbudget.delegate = self budgetbtnview.addSubview(btnbudget) }
where profilescroll is the view with 3 textfields in which i need to find textfield with tag values ranging from 0 to 1. but for some reason i am not getting the right one hence the keyboard is not returning.
-
Mathias R. Jessen about 11 yearsYou write "done with the Administrator account". A Domain Administrator account won't be enough, you need to make sure that the account is member of the Enterprise Administrator group.
-
jaspher about 11 years@MathiasR.Jessen, thanks for your answer.. The account is already part of the Enterprise Admins security group.
-
Rakesha Shastri almost 6 yearsCan you show the code where you set the tag for the textfields' ?
-
Chris almost 6 yearsAre the text fields the immediate children of
profileScroll
? IsprofileScroll
aUIScrollView
with a content view? -
karthikeyan almost 6 yearsBy default zero for every components. Did you set tag anywhere explicitly to your text field? where you are adding this budgetbtnview to scrollview
-
vishnu almost 6 yearscode edited yes i have explicitly set tags
-
vadian almost 6 yearsYou are discouraged from setting a zero tag explicitly because that's the default. Start with 10 or 100. And this is Swift: You can omit all parentheses around the
if
conditions:if subviews is UITextField && subviews.tag == 0 { ...
is pretty valid syntax. And the plural formsubviews
for an actual single element is a bit confusing. -
Andreas Oetjen almost 6 yearsWhen you just want to dismiss the keyboard, why not simply use
self.view.endEditing(true)
? -
Chris almost 6 yearsIf using a Storyboard you could simply set an outlet to the text field.
-
-
chicks over 8 yearscan you provide any evidence to back this up? serverfault.com/help/how-to-answer
-
vishnu almost 6 yearswhen i tried the same only textfield with tag 1 worked but not tag 0
-
Sanket_B almost 6 years@vishnu tag 0 is default for all the views, please use tags other than 0