Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Unified Communications Development with Microsoft Lync Server 2010
This is the forum to discuss the Wrox book Professional Unified Communications Development with Microsoft Lync Server 2010 by George Durzi, Michael Greenlee; ISBN: 978-0-470-93903-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Unified Communications Development with Microsoft Lync Server 2010 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 28th, 2011, 04:53 PM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2011
Location: MN USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get-CsSite, Provisioning An Application, Ch.7, P.176

Greetings! [updated #3] As outlined in Chapter 7 on Page 176:

The problem: Get-CsSite fails.

It fails within the Win7 Lync App Dev VM I have attached to the Lync 2010 Trial VHD Set (v.2011-06-09).

Questions and Observations:

Steps taken thus far to connect app dev vm to Lync VHD Set: Added the app dev vm to the Fabrikam domain and I hard coded the IPv4 properties for IP Address in the Lync 2010 Trial VHD Set range (192.168.0.51), and set the DNS server to point to Lync DC (192.168.0.18).
Are there further steps necessary to wire the App Dev VM users to AD and/or security groups?
Help for Get-CsSite specifies "By default, members of the following groups are authorized to run the Get-CsSite cmdlet locally..." (http://technet.microsoft.com/en-us/l.../gg398185.aspx)
I am logging in with (Lync-DevA\Administrator). Is it better to create another user to login with?
In the DC I can see the Lync-DevA app dev vm, and I can see how to add the *computer* to a DC security group, however I am not clear on how to add a Lync-DevA user to a DC wide security group
Is the problem that I am running Win7 and not Server 2008 as an app dev vm?
What is a good resource on the subject of adding a Lync app dev machine to the Lync network? For example do I need to follow the steps outlined here: http://lyncinsider.com/conferencing/...tor-must-know/

Lync client, and WPF presence controls work great from app dev vm

also only DC, Lync-SE and app dev machine are actually started (no need for sharepoint, exum and QMS at this point right?)

The background:

HMy goal is to acquire the dev app server endpoint to test the Hello World Sample in the Unified Communications Managed API 3.0 Workflow SDK.

The solution has been converted and runs the dev app server: a Win 7 virtual which is part of the Fabrikam domain for the Lync Trial VHD Set (v.2011-06-09).

My understanding is that there is a number of steps that lead up to creating a trusted app pool via powershell, however I did add the win 7 dev app server as a trusted app server through the Server (Lync-SE) topology builder.

However it concerns me that the Get-CsSite powershell command doesn't execute correctly. This seems to be the first step if I follow the steps from another related post:

(I have also ran the core SDK bootstrapper, which was also mentioned in another post. Although I'm not clear that I needed to do that, or where that would be found in the SDK help instructions...)

Here is my experience:

PS C:\Users\Administrator> Get-CsSite

Get-CsSite : Active Directory operation failed on "dc.fabrikam.com". The credential supplied for "LYNC-DevA\Administrator" on "Bind" operation is invalid. Error Code: "49".

At line:1 char:11

+ Get-CsSite <<<<

+ CategoryInfo : NotSpecified: (:) [Get-CsSite], ADInvalidCredentialException

+ FullyQualifiedErrorId : Microsoft.Rtc.Management.ADConnect.ADInvalidCreden tialException,Microsoft.Rtc.Management.Xds.GetSite Cmdlet

PS C:\Users\Administrator> ping dc.fabrikam.com

....

Ping statistics for 192.168.0.18:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Last edited by jem18rc; September 29th, 2011 at 10:18 AM. Reason: Greater clarity
Reply With Quote
  #2 (permalink)  
Old October 2nd, 2011, 06:48 PM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2011
Location: MN USA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Solution: Log in as Domain Administrator

One Easy Solution: Log in as Domain Administrator

Discussion:

DC and SE are logged in as Local Administrator. The book also reveals the use of the domain admin through the images used. So is this the ideal user to develop with or ?

If the Win7 App Dev VM is logged in with Fabrikam\aaronp (for example), now the error is related to a XDS/RTC permission issue. And that user was added to the local Administrator group along with the Enterprise Domain group and everything CS or RTC.

Also I was able to authenticate the dev app vm local admin against the AD Explorer in DC.

Speculation:

Database permissions? This link provides an overview of the Lync database permissions: http://terenceluk.blogspot.com/2011/...nterprise.html

And perhaps if I further studied and or followed this list more closely additional clues would be revealed. http://lyncinsider.com/conferencing/...tor-must-know/

Thanks for any comments or clues!

Last edited by jem18rc; October 3rd, 2011 at 10:44 AM. Reason: Better wording
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch.7 Switching to another view p.176-177 solg BOOK: Beginning iPhone SDK Programming with Objective-C 2 May 11th, 2011 02:28 PM
Ch. 4 Tab Bar Application johnoeffinger BOOK: Beginning iOS 4 Application Development 4 March 15th, 2011 07:30 AM
Ch 9-but will learn more abt User Controls (ch 8) btcomp BOOK: Beginning ASP.NET 4 : in C# and VB 1 August 24th, 2010 11:40 AM
Search ch 13, ch 16 sporik BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 0 October 27th, 2009 04:44 PM



All times are GMT -4. The time now is 06:49 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.