SharePoint: Deep Diving with Cross Forest, Multi Forest Configuration and Additional Info

/* Posted January 22nd, 2009 at 10:00am [Comments: 1] */
/* Filed under C#, Microsoft, SharePoint */

Deep Diving with Cross Forest, Multi Forest Configuration and Additional Info

From Joel Oleson’s Blog URL: http://blogs.msdn.com/joelo/archive/2007/03/08/cross-forest-multi-forest-configuration-additional-info.aspx:

Background
The people picker works in cross domain or cross forest environment. It works in both-way trust and one-way trust environment.
Out of the box, if the admin does not do any configuration, the people picker will issue queries to all two-way trusted domains and two-way trusted forests to search people & groups.
The people picker uses the application pool account to search the target domains and forests. If the application pool account does not have permission to the target domains or forests, or the admin want to use different account to search the target domains or forests, the admin could should use
How to Configure
Don’t forget to run stsadm.exe –o setapppassword –password on all machines in the farm where SharePoint is installed

1. Run on every WFE.
stsadm.exe -o setapppassword -password

2. Run on one WFE
stsadm.exe -o setproperty -url ...

What we have found:

Read more »

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

Generate a .lib from a DLL with Visual Studio

/* Posted January 21st, 2009 at 7:43am [Comments: 2] */
/* Filed under C#, C/C++, Microsoft, Programming */

visual studio team system

Oftentimes programmers have to deal with external third party DLLs that their software rely on to function. This is both smart and useful because as long as the DLL interface remains the same, externally linked DLLs can be easily swapped in and out without having to recompile and rebuild code. However, linking code in Visual Studio with an external library requires that a .lib file exist – the DLL is actually not sufficient for this task. Fortunately, there is a way to generate a .lib from a DLL with Visual Studio. Creating the .lib file is a bit like reverse engineering the DLL’s symbols.

Read more »

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

Free Windows 7 Beta Download Extended 2 Weeks

/* Posted January 12th, 2009 at 10:40am [Comments: 1] */
/* Filed under Microsoft, Windows */

windows 7 Free Windows 7 Beta Download Extended 2 Weeks

On Microsoft Windows 7’s public beta release timeframe of “afternoon” on Friday last week, Windows 7 was no where to be found. Citing server problems handling the huge number of people trying to download Windows 7 beta to try for free for the first time, Microsofts servers provided a less than ideal download experience. We personally weren’t able to secure the download until Saturday morning when the download was finally available. No word on whether the 2.5 million download cap was hit and no matter. To compensate for the delayed release, Microsoft has chosen to lift the 2.5 million download cap and extend the Windows 7 download for another two weeks until January 24. So if you didn’t get a chance to see what Windows 7 was about, you have two weeks to do so. The download was a 2.44 GB iso file that needs to be burned to DVD.

Read more »

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

SharePoint Search Web Service Error: Attempted to perform an unauthorized operation

/* Posted January 9th, 2009 at 8:29am [Comments: none] */
/* Filed under C#, Microsoft, SharePoint */

Server was unable to process request. —> Attempted to perform an unauthorized operation


queryService.Credentials = new System.Net.NetworkCredential(“username”,“password”,“domain”);

or you may want to try different passing

queryService.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;

or

NetworkCredential networkCredential = CredentialCache.DefaultCredentials.GetCredential(new Uri(queryService.Url), “NTLM”);

or

queryService.Credentials = networkCredential;

queryService.Credentials = System.Net.CredentialCache.DefaultCredentials;
queryService.PreAuthenticate = true;

What we found the error to be was:
1. Check to make sure account you are logging in with has authority to do so.

2. Make sure that you are able to connect to the sites search service (IE, make sure its working properly) Try to connect to other search services to debug issue – Most times default credentials so not work and you will need to login.

You can try to use the Search Service tool here:
http://www.mosssearch.com/searchwebservice.html
But that only allows you to login with default credentials and may fail some of the time.

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

Download Microsoft Windows 7 for Free

/* Posted January 9th, 2009 at 7:30am [Comments: 1] */
/* Filed under Microsoft, Windows */

windows_7

Starting sometime in the afternoon today (PST – where Remond is natch), the much anticipated Microsoft Windows 7 operating system will be available for free download on Microsoft’s Windows 7 website. This beta release will be available in 32-bit and 64-bit versions for the first 2.5 million people to download after which it is uncertain if Microsoft will extend the deadline so you better download Microsoft Windows 7 fast if you want to give it a try. If you haven’t checked out any Windows 7 demos yet, you are doing yourself a great disservice. Windows 7 looks to be way more promising than Windows Vista and has a host of innovative new features that you just have to watch in action to know what you’re missing out on in today’s operating systems. If you have Vista-capable hardware, then you can rest assured you have sufficient hardware to support Windows 7.

Read more »

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

SharePoint Site Templates by name for code and stsadm use

/* Posted January 8th, 2009 at 4:19pm [Comments: none] */
/* Filed under Microsoft, SharePoint */

SharePoint Site Templates by name for code and stsadm use

WSS Templates

Team Site: STS#0

Blank Site: STS#1

Document Workspace: STS#2

Wiki Site: WIKI#0

Blog Site: BLOG#0

Basic Meeting Workspace: MPS#0

Blank Meeting Workspace: MPS#1

Decision Meeting Workspace: MPS#2

Social Meeting Workspace: MPS#3

Multiple Meeting Workspace: MPS#4

MOSS Templates

Document Center: BDR#0

Site Directory: SPSSITE#0

Report Center: SPSREPORTCENTER#0

Search Center with Tabs: SRCHCEN#0

My Site Host: SPSMSITEHOST#0

Search Center: SRCHCENTERLITE#0

Personalisation Site: SPSMSITE#0

Collaboration Portal: SPSPORTAL#0

Publishing Portal: BLANKINTERNETCONTAINER#0

Publishing Site: CMSPUBLISHING#0

Publishing Site with Workflow: BLANKINTERNET#2

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

SharePoint Error and Resolution: SharePoint, Failed to connect to the configuration database.

/* Posted December 24th, 2008 at 11:25am [Comments: none] */
/* Filed under Microsoft, Programming, SharePoint */

I was getting this error in SharePoint and tried searching on it with no answers.

12/23/2008 14:41:17 6 ERR Failed to connect to the configuration database.
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: An error has occurred on the server.http://go.microsoft.com/fwlink?LinkID=96177
Microsoft.SharePoint.Upgrade.SPUpgradeException: An error has occurred on the server.http://go.microsoft.com/fwlink?LinkID=96177
at Microsoft.SharePoint.Administration.SPContentDatabase.ValidateDatabaseSchemaCompatibility()
at Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request)
at Microsoft.SharePoint.SPWeb.InitializeSPRequest()
at Microsoft.SharePoint.SPWeb.EnsureSPRequest()
at Microsoft.SharePoint.SPWeb.get_Request()
at Microsoft.SharePoint.SPListCollection.EnsureListsData(Guid webId, String strListName)
at Microsoft.SharePoint.SPListCollection.EnsureListsData(String strListName)
at Microsoft.SharePoint.SPListCollection.Undirty()
at Microsoft.SharePoint.SPBaseCollection.System.Collections.IEnumerable.GetEnumerator()
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.get_AdministrativeTasks()
at Microsoft.SharePoint.Administration.SPAdministrationWebApplication.EnsureSystemTask(String title, String description, Int32 priority, String actionTitle, String actionUrl, String service, String systemId)
at Microsoft.SharePoint.Administration.SPWebApplication.Provision()
at Microsoft.SharePoint.Administration.SPWebServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

If you are in a Server Farm, make sure all SharePoint Servers are updated to the same level.
(Add/Remove Programs, Check the show updates on the top)

If not find SharePoint Updates.

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

Microsoft to Blame for Crappy netbooks!

/* Posted December 24th, 2008 at 8:00am [Comments: none] */
/* Filed under Microsoft */
microsoft logo

microsoft logo

the original TechCrunch complaint was that netbooks are underpowered. This is a direct result of Microsoft’s Ultra Low Cost PC (ULCPC) licensing program. If manufacturer’s don’t stick to Microsoft’s restrictions, they can’t purchase XP at a discount ($26-32), which is the only way to get XP since they no longer sell it. These rules are why you can’t buy a netbook with more that 1GB of RAM.

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

Microsoft Extends Windows XP Availability… Again

/* Posted December 22nd, 2008 at 1:33pm [Comments: none] */
/* Filed under Microsoft, Windows */

EeePC and WinXP

According to BBC, the mighty OS from Microsoft that simply refuses to die will be allowed to live for another five months. The original cutoff date of January 31, 2009 will be scrapped and a new one of May 30, 2009 will be adopted instead. This allows OEMs to continue to purchase Microsoft Windows XP licenses up until January 31, but they must wait until May 30 to get them shipped. This is different from the 2010 cutoff period Microsoft set for XP running on ultra mobile computing platforms like the Eee PC.

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks

Setup Windows Remote Desktop on Multiple Computers with Same IP Address

/* Posted December 16th, 2008 at 12:35pm [Comments: 7] */
/* Filed under How-To, Microsoft, Networking */

rdp_connect

If you’re geeky enough to be reading this blog, then chances are you’ve likely got more than one computer on your home network. Every geek worth his or her salt knows how to set up a Windows machine for remote desktop connections outside of the house, but not every geek may know how to set it up to work with multiple computers on the same home network, sharing the same IP address. Today, we’ll share with you the secret to get it to work with all your Windows computers and how to access them.

Read more »

  • Twitter
  • Digg
  • del.icio.us
  • Propeller
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • NewsVine
  • Facebook
  • Google Bookmarks