Mar 1

I've removed the .exe file extension from the Blocked File List in SharePoint Central Admin (Security > Define blocked file types). This allowed me to upload .exe files to document libraries but when I click on the .exe file to download it, I get a 404 Page not found error. I can download it if I click the drop down and select download, or if I go into Explorer view, but it's a Page not Found error when I click on the .exe file itself.

The issue is not with SharePoint. I found that the problem is with IIS.

If you are using IIS6, then to resolve, you do the following:

  1. Open IIS
  2. Right click on the website in question
  3. Click Properties
  4. Choose the Home Directory
  5. Look for the Execute Permissions drop down list
  6. Set it to "Scripts Only"

If you are using IIS7, then to resolve, you do the following:

  1. Open IIS
  2. Select the website in question
  3. Double Click on Handler Mappings
  4. Click on Edit feature permissions (on the right navigation)
  5. Uncheck the Execute checkbox
  6. Click OK

This will automatically recycle the app pool and you can now click on the executable file and you will be prompted to download it.

WARNING: There are some shortfalls to this method, click here to read more and for a way to circumvent the shortfalls.

Feb 3

First check that DNS is installed...

Control Panel >Add Remove Programs > Add/Remove Windows Components

Ensure the Networking Services check box is checked, Click on Details and ensure the Domain Name System (DNS) is checked. If it isn't, check it and click OK. Windows will then install DNS on the server. You will then be prompted to insert the Windows 2003 CD to complete the installation.

Once installed, click Start > Administrative Tools > DNS

Right click on the Forward Lookup Zones and select New Zone...
Primary zone, Next >
Zone name: yourdomain.com, Next >
Next >
Do not allow dynamic updates, Next >
Finish

Right click on the yourdomain.com zone you just created.

New Host (A)...
Name: ns1 (for ns1.yourdomain.com)
IP address: (this is the external IP address assigned to you by your ISP)
Click Add Host

Double click on the Name Server (NS) entry in the zone.

Remove the existing FQDN and Add a new one.
Click on Browse and browse to the Host (a) entry you created above (ns1.yourdomain.com).
Click OK.

Done... the name servers are set up.

To add domains that resolve on this name server, you would add another forward lookup zone.

As above, you need to edit the Name Server entry, remove the existing FQDN and Add a new one. As above, you also need to click on Browse and browse to the original Host (A) entry that you created (ns1.yourdomain.com).

Once you have done that, you can add more host (A) entries for this zone.

Here's a screenshot of how it should look...

 Sample DNS screenshot

I've edited out a few values, hence the white spaces... but hopefully you get the idea.

Jul 21

Here's a high overview of how to complete this along with the names of the files required to do this. Most of these files are available from the microsoft site. Just do a google search for the file name and you will be redirected to the download pages. Some files will require licensing (eg. Windows 2003 Server, MOSS and Visual Studio)

1. Install Windows server 2003 64 bit with ISO (SW_CD_Windows_Svr_Std_2003_R2_64-BIT_English_-2_x64_R2_CD1_ISO_MLF_X12-58050.ISO)
2. Install Windows Server 2003 SP2 (WindowsServer2003.WindowsXP-KB914961-SP2-x64-ENU.exe)
3. Install Windows Installer 64bit (WindowsServer2003-KB942288-v4-x64.exe)
4. Install .net Framework 2.0 SP2 64 bit (NetFx20SP2_x64.exe)
5. Install SQL Server Express 64 bit (SQLEXPR_x64_ENU.exe)
6. Install .net 3.5 (dotNetFx35setup.exe)
7. Install SharePoint 64 bit (OfficeServerwithSP1.exe)
8. Install Visual Studio 2008 from CD
9. Upgrade Visual Studio to SP1 (VS90sp1-KB945140-ENU.exe)
10. Install Visual Studio Extensions (VSeWSSv13_AMD64_Build-433.exe)
11. Install PowerShell 64 bit (WindowsServer2003.WindowsXP-KB926139-v2-x64-ENU.exe)
12. Install SQL Server Management Studio Express 64-bit (SQLManagementStudio_x64_ENU.exe)

Optional: Install IE8 (IE8-WindowsServer2003-x64-ENU.exe)

Aug 23
Introduction
Posted by Wei in General on 08 23rd, 2007| | No Comments »

At the time of this post, I've been involved in developing web parts for SharePoint for around 2 years. During this time, I have also installed and configured SharePoint. Many times during development, I always refer to previous code and instructions I've written to save me time doing it again. And lately, I've found that it wasn't always easy finding what I need, hence, this blog.

I'll be posting various code bits mainly to help me (and possibly you) in future development and to make things a lot simpler to find.