Just tried to edit my Live MySite (in MOSS 2007) suing SPD 2010, got an error…
I’m normally up to speed on SharePoint releases but I think I missed “SharePoint 2009”:
Off to (re)install SPD 2007 ;)
This blog contains Matt's ramblings about Business Productivity and Information/Knowledge Worker solutions, Cloud, Social Media and other technology stuff. Will also include a bit of Carp fishing ;) It's not updated as frequently as it used to be because, putting it simply, there are more important priorities in life.
Just tried to edit my Live MySite (in MOSS 2007) suing SPD 2010, got an error…
I’m normally up to speed on SharePoint releases but I think I missed “SharePoint 2009”:
Off to (re)install SPD 2007 ;)
Finally made time to look at the Tech Preview (renewed excitement after SPC) and have been having issues with the “People” service app.
I can connect to AD and enumerate the OU’s:
But cannot get the profiles imported, looking in the logging (using SMS Trace – a tool I’ve been using for years for log file viewing after being introduced to it by Jeff Tremaine at Microsoft) I find the following error:
10/30/2009 10:22:58.49 w3wp.exe (0x1924) 0x17E0 SharePoint Portal Server User Profiles 7hxs High EditDSServer.ButtonOK_Click(): System.ServiceModel.EndpointNotFoundException: Could not connect to http://sp2010tp:5725/ResourceManagementService/MEX. TCP error code 10061: No connection could be made because the target machine actively refused it 10.0.1.1:5725. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 10.0.1.1:5725 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of... 4012e7da-e72a-415a-b7a5-e42de6c5299b
I’m still not entirely comfortable with the move to WCF as being more IT Pro than Dev I would rather be able to look in IIS and see what’s going on, would certainly be easier to troubleshoot this particular issue ;)
Anyway, I’ve tried getting the WSDL by accessing the URL in IE, no joy. So I thought I’d check if there is something listening on 5725 (port referenced in error above).
These next steps took me back ;)
Ran: netstat -ano |find /i "listening" and netstat -ano |find /i "established"
Nothing is listening on 5725, no wonder I’m seeing error 10061.
I guess you’re hoping for the solution to appear next…
Sorry, not yet. Unfortunately I haven’t been able to make any progress beyond this point, but will update this post as soon as I have…
I have already:
Next I’m off to the Beta forums ;)
This used to happen with MOSS 2007 on Server 2003 too, so I wasn’t that concerned… Usual process of finding the CLSID in the Registry and changing the permissions using the Component services snap-in… Or so I thought…
Here is the error:
Log Name: System
Source: Microsoft-Windows-DistributedCOM
Date: 29/10/2009 11:52:52
Event ID: 10016
Task Category: None
Level: Error
Keywords: Classic
User: CORPNET\_SP_Farm
Computer: SP2010TP.CORPNET.beta
Description:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{61738644-F196-11D0-9953-00C04FD919C1}
and APPID
{61738644-F196-11D0-9953-00C04FD919C1}
to the user CORPNET\_SP_Farm SID (S-1-5-21-1469829728-1532128048-1498870291-1109) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
<EventID Qualifiers="49152">10016</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2009-10-29T11:52:52.000000000Z" />
<EventRecordID>2246</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>SP2010TP.CORPNET.beta</Computer>
<Security UserID="S-1-5-21-1469829728-1532128048-1498870291-1101" />
</System>
<EventData>
<Data Name="param1">application-specific</Data>
<Data Name="param2">Local</Data>
<Data Name="param3">Activation</Data>
<Data Name="param4">{61738644-F196-11D0-9953-00C04FD919C1}</Data>
<Data Name="param5">{61738644-F196-11D0-9953-00C04FD919C1}</Data>
<Data Name="param6">CORPNET</Data>
<Data Name="param7">_SP_Farm</Data>
<Data Name="param8">S-1-5-21-1469829728-1532128048-1498870291-1109</Data>
<Data Name="param9">LocalHost (Using LRPC)</Data>
</EventData>
</Event>
I found {61738644-F196-11D0-9953-00C04FD919C1} to be IISWAMREG as I suspected (no harm in verifying the ID in regedit!).
Next, I opened the Component Services Snap-In (Start > Run > comexp.msc) and drilled down through Component Services > Computers > My Computer > DCOM Config > IIS WAMREG Admin Service ….
Only to find all options greyed out!!
At first I thought UAC was the culprit so I ran did the “right click >run as administrator” which made no difference…
Thinking it had to be a permissions issue I fired up my old friend Process Monitor (from Sysinternals: http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) and found I didn’t have permission!
Date & Time: 29/10/2009 12:25:35
Event Class: Registry
Operation: RegOpenKey
Result: ACCESS DENIED
Path: HKCR\AppID\{61738644-F196-11D0-9953-00C04FD919C1}
TID: 748
Duration: 0.0000322
Desired Access: Write, Query Value, Enumerate Sub Keys, Write DAC
So back to Regedit to inspect permissions…
Found that as an Administrator I didn’t have full control:
Granted CORPNET\Administrators full control, re-opened the MMC and was able to correct the permissions, to do this:
Open the Component Services Snap-In (Start > Run > comexp.msc) and drill down through Component Services > Computers > My Computer > DCOM Config > IIS WAMREG Admin Service
Right click on IIS WAMREG Admin Service and on the Security tab click Edit in the Launch and Activation Permissions section.
Grant the account referenced in the event log (mine is _SP_Farm) the following permissions:
Allow: Local Launch
Allow: Local Activation
All done ;)
You might as well grant the same rights to the accounts you’re going to use for running Service Apps at this point (or you’ll be back here in a few minutes anyway!).
EDIT:
As Tristan (http://tristanwatkins.com/) points out, if you do this for the WSS_WPG and WSS_ADMIN_WPG groups (local to each SP2010 server) rather than individual user accounts you will accommodate future changes. Thanks Tristan!
As you know, I am a big fan of twitter, there was an event organised via Twitter while I was at SPC: a walkabout for photographers, there were a few MSFT guys attending and a couple of conference delegates, good times!
I’m sure these aren’t the best shots taken during the walkabout, but I quite like them :)
The SharePoint Conference 2009 was last week in Las Vegas, I was fortunate enough to attend ;)
You may have seen some of my updates if you follow my twitter stream (look for updates tagged with #SPC09).
I met up with several people I’d been engaging with online and had some great conversations while I was there.
There are so many new features and wins in SP2010 that it would take me hundreds of blog posts to cover them all, however, there are a few things that stand out for me…
In no particular order:
There is over 350 hours of content available to me on the “MySPC” site, so this is a very high level and quick brain dump, I wasn’t able to go to all sessions, not even all the ones I wanted to, so there may be a nugget I have missed… More to follow as I look at the other sessions and get my hands dirty with the TP builds…
Arpan presented a good overview session, his deck is available here: