I want to thank everyone who attended my session on SharePoint Workflow with Visual Studio at our TechFest event yesterday. Please feel free to post any comments (good or bad) about my presentation or the event.
Demo source code is posted on Nakido until the Techfest site is updated with session content.
SharePoint WorkFlow with Visual Studio – Downloads
SharePoint WorkFlow with Visual Studio – References
SharePoint 2007 Web Front End (WFE) servers crashing repeatedly. Environment is SharePoint 2007 (MOSS Enterprise) 64-bit running on Windows Server 2008 Standard. Server was crashing repeatedly with CPU spiking to 100%, blue screen, and server rebooting itself. System log showing BugCheck event (1000) entry with code 0x0000001d:
The computer has rebooted from a bugcheck. The bugcheck was: 0x000000d1 (0xfffff9802ea0ef50, 0x0000000000000002, 0x0000000000000000, 0xfffffa6004e06ed9). A dump was saved in: C:\Windows\MEMORY.DMP.
After a lot of troubleshooting, it turns out it was Trend Micro Common Firewall Driver (Trend Micro OfficeScan Client 8.0). When we disabled the firewall, problem resolved.
So, what version of SharePoint 2007 is on this server? Sounds like an easy question, doesn’t it? Oh, I forgot, this is SharePoint!
SharePoint Server 2007 (including MOSS 2007) or WSS 3.0
- Central Administration > Operations > Servers In Farm > Database Schema Version – You will see the Database Schema Version in the top of the screen and a list of servers with the version numbers listed in the relevant column against each server in the farm
- Site Settings > Modify All Site Settings > Site Information > Database Schema Version – You will see the schema version of the site content database
- Query the Versions table of the farm configuration database – The entries in this table will show the version number and the date it was applied to the farm
Misleading Methods – The following methods are documented all over the web, but your results may be misleading
- IIS Web Site Properties > HTTP Headers Tab > Custom HTTP headers box which displays a version number – This shows the build version of MOSS at the time the Virtual Directory [Web Application] was created, which is probably not what you’re looking for.
- Add / Remove Programs – Select Microsoft SharePoint Server 2007 or Windows SharePoint Services 3.0 > Click here for support information. This will show the current version of the software installed on a WFE server, but it does not always update and may differ from other servers on the farm. For better results, use the methods listed above instead.
|Cumulative Update KB956056 & KB956057
|Infrastructure Update KB951695 & KB951297
|SP1 + KB948945
|SP1 + KB941274
|SP1 + KB941422
|October 2007 public update
|August 24, 2007 hotfix
|Beta 2 TR
|Office 12 PDC Pre-beta
Running a Prior Version Of SharePoint?
If you’re unfortunate enough to be running an older version of SharePoint (SharePoint Portal Services 2003, 2001, SharePoint Team Services, or WSS 2.0), please see SharePoint Portal Services / Team Services – Determine Service Pack Version.
Installing SharePoint 2007 (WSS or MOSS) to use a SQL Server 2008 database is straight forward. Other than differences in the initial SQL Server 2008 setup routine, there are very few differences to a SQL Server 2005 installation.
One of the differences that I found involves enabling remote SQL connections. For SharePoint 2007 to work properly, remote connections should be enabled over Named Pipes and TCP/IP. Remote connections are disabled by default in both SQL Server 2005 and SQL Server 2008.
Enabling Remote Connections in SQL Server 2005
In SQL Server 2005, you enable remote connections by configuring SQL Server using the SQL Server Surface Configuration Tool, as shown below:
- Open the SQL Server Surface Area Configuration Tool (Start > SQL Server 2005 > Configuration Tools > SQL Server Surface Area Configuration
- Click the link titled Surface Area Configuration for Services and Connections
- Select the Database Engine > Remote Connections node in the tree view
- Turn on the option for Local and remote connections > Using both TCP/IP and named pipes.
- Click the OK or Apply button (you’ll be warned that these settings will not take effect until the Database Engine is restarted)
- Restart the Database Engine (SQL Server Service)
Enabling Remote Connections in SQL Server 2008
In SQL Server 2008, the SQL Server Surface Configuration Tool is no longer part of the product. It has been replace with the SQL Server Configuration Manager. I personally find the old version to be more user-friendly, but either way, it gets the job done. To enable remote connections in SQL Server 2008:
- Open the SQL Server Configuration Manager (Start > SQL Server 2008 > Configuration Tools > SQL Server Configuration Manager
- Navigate to the SQL Server Network Configuration > Protocols for MSSQLSERVER node in the tree view
- Enable TCP/IP and Named Pipes (you’ll be warned that these changes will not apply until you the service is shut down)
- Restart the SQL Server Service
SharePoint 2007 Service Pack 1 Required
Please note that to run SharePoint 2007 on Windows Server 2008 or SQL Server 2008, you must have Windows SharePoint Services 3.0 Service Pack 1 and Microsoft Office Servers Service Pack 1 (if you’re running MOSS) installed on your SharePoint WFE server.
OBA (Office Business Applications) is using Microsoft Office products and related applications to put your applications in the hands of users where they spend most of their time every day, in Office applications. It’s a ubiquitous term, but at the heart of it, OBA solutions deliver information and functionality from a variety of systems to the user where they need it most.
OBA’s can expose data from custom applications and ERP systems, or even merged data from multiple systems, and deliver custom UI’s and custom automation interfaces available directly in Word, Excel, PowerPoint or Outlook. You can use VSTO tools to build Office Add-Ins and templates that can inject data from these applications into their documents, or simply to display inside these applications as users work.
With Visual Studio 2008 and VSTO, Microsoft has made it easy to surface your data inside the Office suite in a variety of ways. The flexibility is stunning, and will spin your head a bit. The new toolset, and the integration of Office and Visual Studio, Microsoft has given us the power to build some amazing applications.
When you build OBA’s, you’ll be leveraging the following tools:
Microsoft Office SharePoint Server 2007 (MOSS)
- Web Site Provisioning
- Custom Lists and Document Libraries
- Content Types
- Business Data Catalog
- Forms Server
- Excel Services
- BI Dashboards and KPI’s
- Custom Features and Solutions
- Custom Content Types
- Custom Lists
- Event Receivers
- Custom web parts
- Document Information Panels
- Custom Ribbon Add-In’s
- Custom Task and Action Panes
- Custom Add-Ins
- Code-Behind Templates
- Custom XML Parts
- Word Custom Controls
- Excel List Databinding
- Excel User-Defined Functions
Visual Studio 2008 and the .Net Framework
- SharePoint Project Types
- Office Project Types
- Integrated Debugging and UI Support
- Click-Once Deployment
Here’s a list of resources to get you going
Posted in .Net, Excel, Microsoft Office, MOSS 2007, Office Business Applications (OBA), Outlook, PowerPoint, SharePoint, Visual Studio, VSTO, Word, WSS 3.0