XinSpace

SharePoint, Drupal and Other Random Notes

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 ,

yum install mlocate

yum install diffutils.i386

Tagged with

yum -y install pcre-devel

Tagged with

yum install php-devel.i386

Tagged with

echo 1 > /proc/sys/xen/independent_wallclock
ntpdate -b pool.ntp.org
Should detaching from the wallclock resolve this issue, you can make this change permanent by adding the following line to your “/etc/sysctl.conf” file:
xen.independent_wallclock=1
Thanks to Danny@linode

Tagged with , ,

if you need access other fields in your field template, you can access them by
<?
echo $row->{$view->field['FIELD_ID']->field_alias};
?>
You will be able to add some logic to your template like
<?
if($row->{$view->field[field_B_value]->field_alias})
{
echo $output  ;
}
else
{
echo “B is not available”;
}
?>
Note the ‘FIELD_ID’ can be something different depending on the field type. it can be “field_B_nid” (if it is node reference), or “field_B_value” [...]

Tagged with , ,