Are you a .NET Developer or Contractor interested in working with Sitecore or Dynamics CRM?

Apply for our Mentorship Program. If accepted, we will mentor you on Sitecore and provide you with project to help you build your skills and make some money at the same time. If you are interested send your resume with details on why you want to work with Sitecore or Dynamics CRM to: Chris Williams - chris.williams@techguilds.com or Dennis Augustine - dennis.augustine@techguilds.com We look forward to working with you to achieve your goals.

Thursday, December 11, 2008

Windows SharePoint Services 3.0 SP1 Developer Evaluation VPC

For those needing to learn sharepoint but do not have the time or desire to install all the pieces.
Microsoft has provided an alternative. Thanks to JK for letting us know about this resource.

Windows SharePoint Services 3.0 SP1 Developer Evaluation VPC Image available at this link:
http://www.microsoft.com/downloads/details.aspx?FamilyID=1beeac6f-2ea1-4769-9948-74a74bd604fa&DisplayLang=en

This VPC is a set of virtual pc imgs from microsoft. It is a time expiring (sometime in fall of next year) img, but it does have the following all PRE-INSTALLED:- sharepoint, visual studio 2k8, sql server & sql studio, IIS properly configured

If you have any tips, tricks, resource you would like to share with the guild please email them to Susan Fischer at susan@clinchportal.com and we will post them.

Wednesday, December 10, 2008

Session state cannot be used in ASP.NET with Windows SharePoint Services

It appears that if Windows SharePoint Services is installed on the web server then none of your other applications can use session state.

When you have Microsoft Windows SharePoint Services (WSS) installed on your
computer and when you browse the page that is set with session variables in the
Microsoft ASP.NET Web application, you may receive the following error message:


Session state can only be used when enableSessionState is set to true,
either in a configuration file or in the Page directive


The article below explains the situation more thoroughly.

Session state cannot be used in ASP.NET with Windows SharePoint Services
http://support.microsoft.com/default.aspx?scid=kb;en-us;837376

If you come across any tips, tricks, resources or gotchas that may help others in dealing with SharePoint issues please email them to susan@clinchportal.com and we will post them here.

Thursday, November 27, 2008

OWStimer.exe Memory Leak in Server 2008

It appears there is a leak in OWSTimer.exe and since SharePoint uses it intensly this could

lead to issues. This article has more information:

http://blogs.pointbridge.com/Blogs/pagnusat_tony/Pages/Post.aspx?_ID=23

If you have any tips, tricks, resources you would like to share email them to me at susan@clinchportal.com

OWSTimer.exe and sharepoint timer job administration

Someone pointed out this cool free addin to sharepoint that makes managing these jobs a little easier. You can check it out at the link below. You have to register but its free. A couple emails is worth it:

http://www.schaeflein.net/blog/2007/09/12/SharePointUtilityAdminstrationExtensionDownloadForSharePoint.aspx

If you have any tips, tricks, resources you would like to share email them to me at susan@clinchportal.com

Monday, November 24, 2008

SharePoint Offline

Has anyone had any experience with Sharepoint Offline type products?

I saw a few posting on a this one but they were very vague:
http://www.colligo.com/products/sharepoint/index.asp

Someone suggested this one:

http://www.kwizcom.com/ProductPage.asp?ProductID=212&ProductSubNodeID=254

If you have any comments on either of these or know of any other products that do this please post a comment with them or email them to me at susan@clinchportal.com

Friday, November 21, 2008

SharePoint Event Log Error: Windows NT user or group 'DOMAIN\Administrator' not found. Check the name again.

So your SharePoint install seemed to work but in the event log you are getting messages like this:


A runtime exception was detected. Details follow.
Message: Windows NT user
or group 'DOMAIN\Administrator' not found. Check the name again.
Techinal Details:
System.Data.SqlClient.SqlException: Windows NT user or group
'RODINIA\Administrator' not found. Check the name again.
at
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean
breakConnection)
at
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception,
Boolean breakConnection)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior,
SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
bulkCopyHandler, TdsParserStateObject stateObj)
at
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds,
RunBehavior runBehavior, String resetOptionsString)
at
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,
RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
result)
at
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result,
String methodName, Boolean sendToPipe)
at
System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at
Microsoft.Office.Server.Data.SqlSession.ExecuteNonQuery(SqlCommand
command)
at Microsoft.Office.Server.Data.SqlServerManager.GrantLogin(String
user)
at
Microsoft.Office.Server.Administration.SharedResourceProvider.SynchronizeConfigurationDatabaseAccess(SharedComponentSecurity
security)
at
Microsoft.Office.Server.Administration.SharedResourceProvider.SynchronizeAccessControl(SharedComponentSecurity
sharedApplicationSecurity)
at
Microsoft.Office.Server.Administration.SharedResourceProvider.Microsoft.Office.Server.Administration.ISharedComponent.Install()
at
Microsoft.Office.Server.Administration.SharedResourceProvider.Provision()
For
more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp

I searched for hours for a solution and found lots of posts that were not clear on why. Here are the two reasons I found for it:



  1. The user mentioned in the error does not have access to SQL Server
    CONFIRMATION STEPS: To determine this outside SharePoint simply go to Control Panel and create an ODBC Connection to the database and click test connection. If it fails then you hypothesis is right. If not try the second reason.

  2. The user mentioned in the error does not have write access to SQL Server
    CONFIRMATION STEPS: You can either drop a simple app that connects to the database on the server or you could look at the security settings on the sql server in question and see if that user has write permission
  3. I found an article on another reason for the error. If you are running SQL Server 2005 on a Windows 2000 box. Here is the article: http://www.tech-archive.net/Archive/SharePoint/microsoft.public.sharepoint.portalserver/2006-08/msg00949.html

The thing to note here is that there may be more than one SharePoint database. You may think its failing on the content database connection but it could be on one of the other databases or if its a farm you may not have configured it on one of the farm databases.

Another thing to try if the above do not work or you are not sure what its trying to connect to is to look at the ULS log. You can find this by looking in:

\program files\commonfiles\microsoft shared\web server extensions\12\logs\{Machinename -timestamp}

If you have any more info on this error or other tips, tricks, resources please email them to susan@clinchportal.com and we will post them.


Wednesday, November 12, 2008

Securing SharePoint

I found a really good article on SharePoint Security. It summarizes the concepts quite well.

Find the real article at:
http://www.finalcandidate.com/en/tandp/Pages/SharePointSecurityConcepts.aspx

Here is an even more brief summary:

One thing to remember about SharePoint is that it is built on Asp.Net which is built on IIS.Realizing this you will realize that SharePoint 2007 "inherits" a lot authentication providers from Windows and IIS

Internet Information Server:


  • Basic
  • Digest
  • Certficates
  • NTLM
  • Kerberos

ASP.NET adds

  • LDAP
  • SQL Server
  • Active Directory
  • as well as quite a bit of extensibility.

I found an example of using a sharepoint list as an authentication provider at:

http://www.willierust.com/Lists/Posts/Post.aspx?ID=5

Forms-based authentication

HOWTO: Configuring a Office SharePoint Server 2007 Publishing Site with Dual Authentication Providers and Anonymous Access

http://www.andrewconnell.com/blog/articles/HowToConfigPublishingSiteWithDualAuthProvidersAndAnonAccess.aspx

Office SharePoint Server 2007 - Forms Based Authentication (FBA) Walk-through - Part 1

http://www.devcow.com/blogs/jdattis/archive/2007/02/23/Office-SharePoint-Server-2007-Forms-Based-Authentication-FBA-Walkthrough-Part-1.aspx

If you have any tips, tricks, resource you would like to share with the Guild, please email them to Susan Fischer at susan@clinchportal.com and we will post them here.