To fix this problem, we installed PeopleTools 8.49 again on an empty PS Home, and then we copied the new script over.
Tuesday, April 22, 2008
PeopleSoft Upgrade Woes
Tuesday, April 15, 2008
404 (Not Found) Error When clicking on MySite "My Profile" tab in SharePoint
Next, we'll want to create the site collection using the correct template.This can be anything, but most people will have created their sites with the default root ( / ) site collection. So we'll go with that for our purposes.
To do this, click on Application Mangement -> Define Managed Paths. Make sure, once the defined managed paths screen comes up, that you've got the correct MySite web application selected in the top-right. Go ahead and create the managed path at the desired location.
After doing these steps, the My Profile tab should work again.Click on Application Management -> Create Site Collection to bring up the site collection screen. Make sure you've got the correct web application selected on the left, and then select the managed path you created in the step above for the URL.
Give the site collection a title, like 'Personal Sites', and -- here's the money part -- select the "My Site Host" template from the Enterprise template tab.
Fill in the site administrators fields appropriately and click on OK.
Thursday, April 10, 2008
Simplifying SharePoint Structure with Site Collections
Friday, March 28, 2008
401 Error when trying to create MySite (personal site) in SharePoint 2007
Click on the My Site Settings link and make sure that the Personal Site Location field matches what you had set up previously. Having done that, you're done!
Delete any erroneously-created My Sites
Unless you're not: if you discover later that the personal site location field is incorrect, you may end up with users creating new sites when they already had one. This is disconcerting, but it's easily fixed.
To delete a user's My Site, simply click on the Delete Site Collection link in the Application Tab of the Central Administration page. There you can select the offending site collection from the My Site web application. This will delete the My Site without problem. However, you still need to change the My Site settings in the SSP, as above.
And: having done so, issue a iisreset /noforce on the front-end web servers. Unless you do this, the user runs the risk of being directed, even still, to the now-nonexistent My Site. This gives them a 404 (not found) error. After the iisreset, they should be directed, again, to their original my site.
Wednesday, March 26, 2008
Value cannot be null error When Trying to View a SharePoint Site
Configuring SharePoint 2007 to Display Errors
Tuesday, March 25, 2008
Backing up and Restoring SharePoint 2007 Sites and Site Collections
--
Restore Errors
DCOM Permissions
If your restore fails with a log referencing "UnauthorizedAccessException" referencing a COM class with a long CLSID and error number 80070005, you've got a COM Config permissions problem. This error is accompanied by a system event log like the one below.
{3D42CCB1-4665-4620-92A3-478F47389230}
to the user domain\databaseconnectuser SID (S-1-5-21-2142909598-1293495619-134157935-85307). This security permission can be modified using the Component Services administrative tool.
As the event log error indicates, the fix for this is to use the Component Services tool (dcomcnfg.exe) to give Local Activation permissions to the user listed. Here's the rub: you don't at this time know which COM class to modify. To figure that out, search in the registry for the CLSID as referenced in the event log and restore log.
The registry search will give you the name of the com class. Unless it doesn't: a common class to have this problem is OSearch. If, when you search the registry, you see "Microsoft Office SharePoint Server Search Gathering Manger", the name you'll look for in the component services tool is OSearch.
By the way, you're looking in the DCOM Config tree in Component Services, as in this screen shot.
Right-click on the appropriate class and select Properties. Then click on the Security tab and edit the Launch and Activation Permissions.
Add the user that is mentioned in the event log, and give that user local launch and local activation permissions.
Finally, restart IIS with a iisreset /noforce. That should take care of this error.
Web Site Is In Use Restore Error
Especially if you've set up multiple SharePoint sites using host headers and SSL, you'll likely end up with the following error when trying to restore the web application:
You must select another port or hostname.
The issue is that SharePoint, in restoring the IIS sites, doesn't restore the host headers, as well. Hard to figure out why, but there you have it. Moreover, this error isn't a IIS error, which is to say that, even if you fix the alleged conflict, SharePoint still will error out on the restore, because it still thinks there's a problem.
So you have to do one of two things: customize the settings when you restore the web applications (to use different port numbers), or restore them one at a time, configuring each after the individual restore to use host headers. In either case, to end up with the original URLs, you'll have to do some fiddling after the restore is complete.
In short: you want to restore the web applications, such that you've got the content back. Having done that, you can re-create the web sites, using the Extend an existing Web application component of SharePoint's Application Management.
Extend the newly-restored web application to a new IIS web site, using the appropriate port number and URL. Once you've extended it, you can go back and "Remove SharePoint from IIS Web site." Using the remove function, you can delete the unwanted site, leaving only the desired URL.
Sunday, March 16, 2008
Rebuilding RPMs in RHEL
Saturday, March 15, 2008
Using 'Alternatives' in Linux to use a different Java package
This post shows how to install Sun's java implementation alongside the Linux default GNU java.
Installing Sun Java alongside the default GNU java
Sun's java isn't installed by default on RedHat systems. This is because Sun hasn't licensed it for RedHat's distribution. Instead, Linux ships with an open source alternative, GNU Java. It's based on Sun's Java implementation, and--in part because of that--it's always a version or two behind Sun. In all, it's a very good implementation, but sometimes--as in the case with DSpace--it's necessary to use Sun's Java, instead.
We don't want to remove the Gnu Java; we'll install Sun's alongside it.
Thursday, March 13, 2008
Using SSL with a Wildcard Certificate on Multiple Apache Sites
Setting up SSL virtual hosts in linux (specifically RHEL and CentOS, but the steps are similar in other distros) isn't hard, and--to correct a common misperception--it is possible to have multiple SSL virtual hosts running under apache using host headers. To be clear: you don't have to use separate IP addresses or different port numbers in order to have multiple SSL sites under apache.
In short, the process involves creating multiple SSL virtual hosts, each with its own host header (ServerName in apache parlance), and adding the same wildcard SSL certificate to each of the sites. There are a variety of ways to create a certificate, and you can see many of them discussed with a simple Google search. In our case, we'll use genkey from crypto-utils. Feel free to use any utility you'd like