Saturday, April 12, 2008
Monday, February 11, 2008
Majordomo Bounce Header field too long (>1024)
Change the following option in majordomo.cf:
# The maximum character length of the _entire_ header for resend
$MAX_TOTAL_HEADER_LENGTH = 1024;
# The maximum character length of the _entire_ header for resend
$MAX_TOTAL_HEADER_LENGTH = 1024;
Labels:
Code
Wednesday, February 6, 2008
Connect to SQL Express Embedded Edition With Management Studio
Start SQL Server Configuration Manager.
Set "Hide Instance" to "No" for "Protocols for MICROSOFT##SSEE".
Restart the service.
Set "Hide Instance" to "No" for "Protocols for MICROSOFT##SSEE".
Restart the service.
Labels:
Code
Friday, January 25, 2008
Wednesday, January 23, 2008
Postfix warning: connect to private/anvil: Connection refused
sh /etc/postfix/post-install upgrade-configuration
Labels:
Code
Tuesday, December 11, 2007
SC.EXE value pair oddity
The command-line syntax for SC is rather odd. Key/valuepairs are specified as "key= value" (without the double-quotes). The"key=" part must not have any spaces, and the "value" part MUST beseparated from the "key=" by a space.
Labels:
Code
Thursday, October 4, 2007
Import of Excel 2007 sheet into Sharepoint 3 : Method 'Post' of object 'IOWSPostData' failed
- Open C:\Program Files\Microsoft Office\Office12\1033\EXPTOOWS.XLA in Excel.
- ALT-F11 to open Visual Basic for Applications.
- Right-click publishForm and "View Code".
- Find the method Sub Initialize(List, Title, URL, QuickLaunch)
- Change lVer = Application.SharePointVersion(URL) to lVer = 2 . For some reason, Sharepoint appears to return "0".
- Save. This step is important...
- Try again. Equally important...
Labels:
Code
Wednesday, September 19, 2007
Supplying user credentials to Sharepoint 2 from a client program
// C#
myCredentials = new System.Net.NetworkCredential(username, password, domain);
mywebs = new SPWebs.Webs();
mywebs.Credentials = myCredentials;
mylists = new SPLists.Lists();
mylists.Credentials = myCredentials;
myCredentials = new System.Net.NetworkCredential(username, password, domain);
mywebs = new SPWebs.Webs();
mywebs.Credentials = myCredentials;
mylists = new SPLists.Lists();
mylists.Credentials = myCredentials;
Labels:
Code
Re-install the Server Service
To re-install "Server Service" in Windows 2003/XP, delete and re-install "File and Printer Sharing for Microsoft Networks" in network connection properties of your current network connection. Reboot in between.
Labels:
Code
Re-installing the Workstation Service
To re-install "Workstation Service" in Windows 2003/XP, delete and re-install "Client for Microsoft Networks" in network connection properties of your current network connection. Don't forget to reboot in between.
Labels:
Code
Monday, August 20, 2007
Sound in Virtual PC and Windows 2003 Server
Get the SoundBlaster 16 driver files ctlsb16.sys and wdma_ctl.inf from Windows XP
Labels:
Code
Thursday, August 2, 2007
Review of Sanyo Xacti HD2 High Definition Digital Movie Camera

Don't expect too much and you won't be disappointed. The image quality is acceptable rather than superlative. The comparable Sony Cybershot DSC-M2 produces a slightly better quality picture. There is a slight lag between pressing the video record button and the the camera responding which is the most annoying thing so far. Battery life is a great deal better than the Sony. It will also accept the latest 8GB SDHC cards which gives you hours of filming. The anti-shake is impressive at low zoom and okay at high zoom. The macro mode will focus down to within an inch which is impressive. In short, for slightly better quality, buy the Sony, but for battery life and features, buy the Sanyo.
Wednesday, July 25, 2007
Fix for IIS 6.0 not delivering file types
Right-click on IIS in MMC, and add the file extension to the MIME Types
Labels:
Code
Tuesday, June 5, 2007
Anti-framing Javascript
<script language="JavaScript">
if (top.frames.length!=0) {
var toploc = "";
try{
toploc = top.location.host.toString();
}
catch(e){
// if you can't get the top location, it means you are being framed by another domain...
pop out
top.location=self.document.location;
}
}
</script>
if (top.frames.length!=0) {
var toploc = "";
try{
toploc = top.location.host.toString();
}
catch(e){
// if you can't get the top location, it means you are being framed by another domain...
pop out
top.location=self.document.location;
}
}
</script>
Labels:
Code
Subscribe to:
Comments (Atom)


