XinSpace

SharePoint, Drupal and Other Random Notes

Windows 2003 server has service “WebClient” disabled by default.
 
This service has to be on in order to access “File Share” by SharePoint Webdav. Below are the procedures to enable this service.
 
1. Login to the server with administrator account. Click Start–>Run, type in services.msc, press enter.
 
2. Locate the service called “WebClient”, Double click this service. The [...]

use the following before you start your query
mysql_query(“SET CHARACTER SET utf8″, $connection);

Tagged with ,

http://www.cyberciti.biz/tips/force-iptables-to-log-messages-to-a-different-log-file.html
According to man page:
Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user defined chains.
By default, Iptables log message to a /var/log/messages file. However you can [...]

Solution:
Edit the file “serverfilesExcelServer.xml” under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\XML
Comments this line:
<Mapping FileExtension=”xlsx” RedirectUrlTemplate= “/_layouts/xlviewer.aspx?id=|0″ NoGetRedirect=”TRUE”/>

http://technet.microsoft.com/en-us/library/cc263467.aspx

System Seven sends SMS to this number without asking permission.
This is the worst software I have ever used on my E71

Tagged with

this is caused by the cartage return on the ending of first line. To fix this, you can
1. add -w to the end of the line. make it #!/usr/bin/perl -w
or
2. $ perl -pi.bak -e ’s/ 15//’ *.pl

Tagged with

This error happens on a SharePoint 2007 server, the web services is accessed by an alias url which does not exist in DNS. And we put a host name into our server’s HOSTS file
127.0.0.1 alias
and one of our applications accesses http://alias/_vti_bin/Lists.asmx on the server programmically. The application fails because it gets 401 access denied from IIS.
In the security eventlog, I [...]

I have a chance to try the feature Document Conversion of SharePoint Server 2007. It works pretty well. All formats are preserved. I used to copy text directly from a word document to a Publishing Page, which was ok not but great: It added an additional line to each paragraph. this Word Document to Web [...]

The backup file is corrupt and cannot be restored. It was a huge backup, about 3G. Well, tried to re-do the backup, then did another restore and it was good.
Lession Learned: Never rely on the single source backup from stsadm.