Monday, 30 July 2007
NLB (Network Load Balancing) and SharePoint... Troubleshooting and Configuration tips.
http://blogs.msdn.com/joelo/archive/2007/01/05/nlb-network-load-balancing-and-sharepoint-troubleshooting-and-configuration-tips.aspx
It's helped me out with NLB and SharePoint.
Classic Office 2003 menus for Office 2007
You can download it from Addintools
Changing Authentication Modes
Go into Central Admin, then Application Management, and then click "Authentication providers".
Then simply choose the web application you want to change, and click on the specific zone you are after modifying.
From there, simply choose the authentication mode from "IIS Authentication Settings" that you are after.
You can also go to a command prompt and change it by using stsadm -o authentication -url -type but that's mostly used to change from basic to integrated authentication.
Thursday, 26 July 2007
Add/remove a shared assembly to/from the .NET GAC
Each computer that .NET is installed on has a Global Assembly Cache (GAC) located in the Assembly folder in the Windows directory (usually: C:\WinNT\Assembly). The GAC contains information about shared assemblies which are components that can be shared among several applications (Ex. a DLL).
Shared assemblies must have globally unique names derived from their strong names (public keys generated to distinguish assemblies from other assemblies that may have the same names) which is Microsoft's solution to DLL hell. The GAC, not the registry, is the store for this information. When an application loads the GAC is examined by the Common Language Runtime to determine if the version of a shared component exists that is compatible with the one referenced by the application.
The gacutil.exe that ships with .NET can be used to add or remove a shared assembly from the GAC.
To add a shared assembly, from the command line enter:
gacutil.exe /i myassembly.dll
To remove a shared assembly, from the command line enter:
gacutil.exe /u myassembly.dll
When viewing the GAC in Windows Explorer shfusion.dll is used to provide the user interface. You can locate and rename this DLL to view the GAC like any other folder.
Tuesday, 24 July 2007
To setup SSL on multiple Sharepoint 2007 web applications using host headers under IIS 6.0
This approach serves well until secure http is required and I need to assign SSL certificates to my web applications.
If you have ever tried this you will know that the IIS Manager does not have anywhere to allow you to specify a host header when configuring the SSL for the web application.
The solution I use goes as follows:
1) Install the IIS Resource Kit for IIS 6.0 - it comes packaged with a selfssl utility to generate self-signed certificates. (Of course, feel free to generate them with Perl scripts or any other method since they are not from trusted sources they're only useful for dev and testing purposes anyways.)
2) Create/extend the required web applications using the Administration interface of MOSS (ensuring to select 'Use SSL').
3) Use the selfssl utility to generate and assign a certificate to the first of your web applications as follows:
selfssl /N:CN=*.mydomain.com /K:1024 /V:3650 /S: /P:443
This will generate a 3650 day certificate with a 1024 bit key and assign it to the web application with the site id supplied.
4) Use IIS Manager to assign the same certificate to the other web applications.
5) If you restart IIS at this point only 1 of your sites will actually start - you still need to manually configure the secure bindings for the remaining sites:
cscript.exe C:\Inetpub\AdminScripts\adsutil.vbs set /w3svc//SecureBindings ":443:"
This will set the secure bindings for the site identified on the supplied host header.
6) If you wish you can also now configure the web applications in IIS Manager to require SSL.
7) iisreset and you're done....
Monday, 23 July 2007
Reporting Services not showing up in SharePoint Central Administration 2007
After carefully examing the system, and checking that it's all configured properply, I asked the simple question "did you use the same account to install the RS Add-In as you did to install Sharepoint?". I got a dumb look by the person I asked and they said "should it matter?".
The answer to that is in theory it shouldn't matter. Although in the Central Admin, the links weren't there, RS seems to be there and you could activate it as a Site Feature. But even if you activate it, it won't work as it hasn't been configured from Central Admin. So even though "in theory" it should work, it doesn't.
The easiest way to fix this is to un-install RS Add-in, log in to the server using the same account you used to install sharepoint, then re-install RS Add-in.
Thursday, 12 July 2007
How To Add a New Managed Path to Windows SharePoint Services
http://myportal/sites/myteamsite
But what if you want something different, like?
http://myportal/teamsites/myteamsite
It turns out this is fairly simple. To get started, open Windows SharePoint Services Central Admin. In the "Virtual Server Configuration" section click the "Configure virtual server settings" link. In the virtual server list, click the server that you want to configure. (Most people only have "Default Web Site" here.)
Now you are on the "Virtual Server Settings" page. In the section called "Virtual Server Management", click on "Define managed paths".
You should see this screen:
Scroll down to the bottom of the screen to the "Add a New Path" section and type "/teamsites".Click OK and you are done. You should now be able to create sites under /teamsites (or whatever other path you defined.)
Monday, 9 July 2007
Working offline is easy with Outlook 2007
Outlook 2007 make this procedure easy. You can check out the documents that you will be working on and copy them to your local disk. When you are ready to return the documents to the library, simply connect back to the server and check the content in. The following instructions are provided below from Microsoft Office Help.
This option is available for document libraries only.
1. If the library is not already open, click its name on the Quick Launch.
If the name of your library does not appear, click View All Site Content, and then click the name of your library.
2. Point to a file name in the library to display a down arrow.
3. Click the down arrow, and then click Check Out.
4. In the dialog box, select the Use my local drafts folder check box.
Note If you are checking out a file that was created by a program that isn't compatible with Windows SharePoint Services 3.0, the Use my local drafts folder check box does not appear, and you cannot work with the file offline.
5. Edit the file, and then check the file back in when you finish.