Monday, June 16, 2008

InfoPath 2007 & SharePoint WSS 3.0

So you have been thinking about making some InfoPath forms for your SharePoint users...think again.

Just because I have InfoPath installed on my machine doesn't mean all 4,000 of our users do and we don't have Forms Server. So keep in mind the following rules:

  • If Microsoft Office SharePoint Server 2007 with InfoPath Forms Services is installed on your network, you can publish a form to a SharePoint library. From there, users can complete the form by using their Web Browser if InfoPath is installed on their computers.

  • When you publish InfoPath forms to a server on which Office Sharepoint Server with InfoPath Forms Services is installed, users do not need to have the InfoPath software installed on their computer to fill out the forms. they can simply use their web browser.

Friday, June 13, 2008

CorasWorks DIT Training

I finally got registered for training and made the travel arrangements yesterday. I'll be going the end of this month --

Thursday, June 12, 2008

Resolved the Distored Site Issue

Enabling site features - note to self, any custom site features that are enabled on your sites you need to deactivate before doing a backup and restore on a new server. Trying to restore the sites with site features that are not installed on your new server will result in an ugly/distorted site.

It took us almost two full days to come to this conclusion and test our theory, which worked - thanks to my boss. =)

Friday, June 6, 2008

Distorted WSS 3.0 Restored Site from Backup

Ok....seriously....on a Friday afternoon. I finally start restoring sites and this is what I get....brace yourself for a huge laugh. The first obvious issue here is 1. CSS file - what did the file not come over during the restore? This site didn't use an altered master page so what gives?

My Googling for today is about up....HELP!

Any new sites I create are working and displaying properly, this problem is only with restoring a site from a .bak file via stsadm prompt.



Thursday, June 5, 2008

Export List of Current SP Sites

This is very handy...

1. On the current server, open command prompt. Type:

· Stsadm –o enumsites –url >c:\sites.xml
· (ex: stsadm –o enumsites –url http://url.com >c:\sites.xml)

This will export a list of all current sites housed under the url into the xml file called sites.xml. Use this as a guide to ensure all sites are backed up and moved over.

2. Repeat for all urls and change your file name if you have multiple URL's

SMTP Service Not Installed - Setting up Incoming Email

I'm in the middle of my very first server configuration and while setting up Incoming Email I got an error stating I did not have the SMTP service installed. I seem to be coming across a lot of these little errors which are making me aware of all the details I did not cover before starting. This particular error was not major and took 10 minutes to resolve, however I just wonder what else is out there that I might be missing as well. I guess my words of advice here are to read all installation requirements for both the back end server and front end server before installing. In case you are wondering, here is the fix for the SMTP error.

SMTP Server Setup (IIS 6.0)
The Simple Mail Transfer Protocol (SMTP) service provided by IIS is a simple component for delivering outgoing e-mail messages. Delivery of a message is initiated by transferring the message to a designated SMTP server. Based on the domain name of the recipient e-mail address, the SMTP server initiates communications with a Domain Name System (DNS) server, which looks up and then returns the host name of the destination SMTP server for that domain.
Next, the originating SMTP server communicates with the destination SMTP server directly through Transmission Control Protocol/Internet Protocol (TCP/IP) on port 25. If the user name of the recipient e-mail address matches one of the authorized user accounts on the destination server, the original e-mail message is transferred to that server, waiting for the recipient to pick up the message through a client program.

In the case where the originating SMTP server cannot communicate directly with the destination server, the SMTP service can transfer messages through one or more intermediate relay SMTP servers. A relay server receives the original message and then delivers it to the destination server, or redirects it to another relay server. This process is repeated until the message is delivered or a designated timeout period passes.

The SMTP service is not installed by default. You must install the SMTP service using the Control Panel. Installing the SMTP service creates a default SMTP configuration which you can then customize to your needs using IIS Manager.

Many articles about deploying and configuring the SMTP service are available by searching for "smtp" on the Microsoft Developer Network (MSDN) Web site.

Procedures To install the SMTP service
1.From the Start menu, click Control Panel.
2.Double-click Add or Remove Programs.
3.From the left pane, click Add/Remove Windows Components.
4.From the Components list, click Application Server, and then click Details.
5.From the Subcomponents of Application Server list, click Internet Information Services (IIS), and then click Details.
6.From the Subcomponents of Internet Information Services (IIS) list, select the SMTP Service check box.
7.Click OK.
8.Click Next. You might be prompted for the Windows Server 2003 family CD or the network install path.
9.Click Finish.

When you install the SMTP service, a default SMTP server configuration is created with a message store in LocalDrive:\Inetpub\Mailroot.
When setting up the SMTP service for the first time, you can configure global settings for a SMTP virtual server, as well as settings for individual components of the virtual server.

Important
You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".

Backup and Restore

We are in the middle of a server migration so I thought I would share some commands for backup and restoring sites.

Commands for backup:

1. For top level sites and subsites.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o export -url
http://.... –filename ...... -includeusersecurity.

2. Only for top level website.
c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o backup -url
http://.... –filename ......

3. Catastrophic backup of a web application.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o backup -directory \\.... –backupmethod full –item ”web application name(sharepoint - 80)”

4. Catastrophic backup of the entire farm.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o backup -directory \\.... –backupmethod full

5. Attach a content database:

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o addcontent db -url
http://.... –databaseserver……. -databasename ........

Commands for restore:

1. For top level sites and subsites.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o import -url
http://.... –filename ...... -ncludeusersecurity.

2. Only for top level website.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o restore -url
http://.... –filename ......

3. Catastrophic restore of a web application.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o restore -directory \\.... –restoremethod new –backupid ………….

4. Catastrophic restore of the entire farm.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin>
stsadm -o restore -directory \\.... –restoremethod new

Tuesday, June 3, 2008

Blog set up...

I never imagined I would end up sitting here trying to format my page....so beware as it will go through several rounds of changes until I get it just right.

The concept of blogging never really interested me, since I find myself spending half my day on Google search I figured it was time. Not only will I be able to reference my previous issues, everything will be in one place opposed to documents and articles sitting on my desktop in a very unorganized fashion. Perhaps someone other than my myself and my team will find it useful.

Wish me luck and check back often.

WSS 3.0/MOSS Install Error

Today when I was trying to configure a new server I ran across the following error upon installing WSS 3.0

This is the second time we have seen this error and were somewhat familiar with it, thanks to the below post we were able to fix it pretty quickly and move on with the installation.

Error Message:

Setup is unable to proceed due to the following error(s):

This product requires ASP.NET v2.0 to be set to ‘Allow’ in the list of Internet Information Services (IIS) Web Server Extensions. If it is not available in the list, reinstall ASP.Net v2.0. Correct the issue(s) listed above and re-run setup.

Fix:

Well, with the help of this
blog post, I was able to get it working. Here’s the deal: I believe the issue was that IIS (with ASP.NET support in Windows Components) was installed/enabled after the installation of .NET 2 and .NET 3 and their service packs. As a result those frameworks were not registered in IIS.

Enter the
aspnet_regiis command. It is found in the following folder(s):
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727 – 64-bit Windows only.
I ran the command with an –i switch in the second directory, as this was an x64 box. The MOSS Enterprise setup worked just fine after that. There are dangers to running the –I switch on production boxes
here, but since this was a fresh server with nothing on it, the aspnet_regiis –i worked perfectly for me. I did also need to allow .NET extensions in IIS.