XinSpace

SharePoint, Drupal and Other Random Notes

Browsing the topic SharePoint

run the following command
netsh firewall set icmpsetting 8 enable

GLOBAL#0 = Global template (1033)
STS#0 = Team Site (1033)
STS#1 = Blank Site (1033)
STS#2 = Document Workspace (1033)
MPS#0 = Basic Meeting Workspace (1033)
MPS#1 = Blank Meeting Workspace (1033)
MPS#2 = Decision Meeting Workspace (1033)
MPS#3 = Social Meeting Workspace (1033)
MPS#4 = Multipage Meeting Workspace (1033)
CENTRALADMIN#0 = Central Admin Site (1033)
WIKI#0 = Wiki Site (1033)
BLOG#0 = Blog (1033)
BDR#0 = [...]

Tagged with

In my ASP.NET/C# code, I used DirectoryServices to manage a remote IIS website. However, when a method Site.Invoke is called, this exception got thrown.
This is a permission problem. The account running ASP.NET code on IIS doesn’t have permission to access remote server. So ASP.NET Impersonation has to be used to solve the issue.

Tagged with , ,

We moved an ASP.NET 3.5 application from IIS Server 6.5 yo 7.5 and then this error starts to show.
Solution: Change the associated application pool’s ASP.NET framework version from 4.0 to 2.0.

Tagged with ,

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 [...]

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

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.