Tuesday, October 22, 2013

Setting the Refresh Rate for Connectivity Verifiers ISA Server 2006

By default, connectivity verifiers that are enabled test connectivity every 30 seconds. This time can be changed to any value in the range from 15 through 1,440 seconds by setting the RefreshRate property of the FPCConnectivityVerifiers collection. The value of this property applies to all ISA Server computers in an array.

Using Registry:
- Browse To: HKLM\IsaStg_Eff1\Arrays\{D76B4872-115F-49FA-9136-610335ED7F8E}\ConnectivityVerifiers
- Change msFPCRefreshRate value (in dword) as needed

Using Script:
http://technet.microsoft.com/library/cc302480.aspx

You may use sets of Connectivity Verifiers to help you monitoring device such as: AP, WAN, Internal Router especially if combine with email alert triggering.

Sunday, May 12, 2013

Export and Import a readable DHCP scope

Export:
Readable:
netsh dhcp server \\SERVERNAME dump all > filename.txt
Unreadable:
netsh dhcp server \\SERVERNAME export d:\filename all

Full Export with policies (2012) using PS with Administrator Rights
Export-DhcpServer -ComputerName SERVERNAME -File "D:\filename.xml" -Force

Import:
Full Import with policies (2012) using PS with Administrator Rights
Import DhcpServer -ComputerName SERVERNAME -File "D:\filename.xml" -Force

for New 2003 server format
netsh exec filename.txt

for 2000 server format
netsh dhcp server import filename.txt all

Authorize:
1. Activate
2. Authorized from currently authorized DHCP server

Tuesday, March 5, 2013

The HTTP Filter DLL php5isapi.dll failed to load

Symptoms: 

- In the ISAPI filters of IIS, the php5isapi.dll with set the filter to "PHP" show red arrow pointing down and for priority it says *unknown*

- In event viewer under application shown these two errors.
   "Could not load all ISAPI filters for site/service. Therefore startup aborted."

   "The HTTP Filter DLL C:\php\php5isapi.dll failed to load. The data is the error."


Cause:
IIS user account doesn't have sufficient permissions to the php files & folders

Solution:
Add IUSR_computername account permission for all the php files and directories

Note:
You need to restart PHP on IIS to reload

Friday, February 22, 2013

How to enable PHP short tags?

Need <? instead of <?php



Set in php.ini

short_open_tag=On


Or

Set in .htaccess

php_value short_open_tag 1

You need to restart PHP to reload