Mick Genie's Blog

Mick Genie Technical Blog

Archive for August, 2009

HELM 3 Not able to add FTP account

When you tried to create FTP account through HELM 3 and you might not able to create the FTP account, check with your HELM Error Log.

If you got the sample error as below, do the following step.

Sample Error:

2009-08-25 14:10:00 modNTFS::SetFolderSecurity 0-2147219579: SetACL failed for User Account: exatest1 (“C:\Program Files\WebHost Automation\Helm\\System\setACL.exe” -on “\\MICKGENIE\c$\domains\mickgenie.com” -ot file -actn ace -ace “n:MICKGENIE\myftp;p:change;m:set;w:dacl” -silent -silent){0}
2009-08-25 14:10:00 FTP.IFTP_Execute 0-2147219579: SetACL failed for User Account: exatest1 (“C:\Program Files\WebHost Automation\Helm\\System\setACL.exe” -on “\\MICKGENIE\c$\domains\mickgenie.com” -ot file -actn ace -ace “n:MICKGENIE\myftp;p:change;m:set;w:dacl” -silent -silent){0}
2009-08-25 14:10:00 CFTP.AddFTPAccountEx 0-2147219579: SetACL failed for User Account: exatest1 (“C:\Program Files\WebHost Automation\Helm\\System\setACL.exe” -on “\\MICKGENIE\c$\domains\mickgenie.com” -ot file -actn ace -ace “n:MICKGENIE\myftp;p:change;m:set;w:dacl” -silent -silent){0}

Resolution:

1. Login to the server as console or RDP.
2. Go to the services or run ’services.msc’
3. Restart ‘Server’ services.
4. Well Done, you have fixed the issue.

  • Twitter
  • WordPress
  • Blogger Post
  • Delicious
  • Facebook
  • Share/Bookmark
posted by Mick Genie in Helm, Web Hosting and have No Comments

Sigur Ros – Svefn-g-englar

  • Twitter
  • WordPress
  • Blogger Post
  • Delicious
  • Facebook
  • Share/Bookmark
posted by Mick Genie in Video and have No Comments

Taiwan Hotel Collapses after Typhoon

  • Twitter
  • WordPress
  • Blogger Post
  • Delicious
  • Facebook
  • Share/Bookmark
posted by Mick Genie in General, Video and have Comment (1)

PHP with MSSQL not working

Sometimes you might wonder why you are not able to connect from PHP script with your MSSQL database as you have enabled php_mssql.dll extension from your php.ini.

Below are the step to resolve this issue;

But before we given the solution, you might get the following error message, however the error might just unable to connect to the MSSQL database without any further detail.

Cause:
Assume you were using IIS6/7 with PHP 5.2.x(Microsoft Windows Server 2003/2008),  you might get such issue if you are install the PHP with source installation.

Error:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: localhost:1433 in C:\Domains\wwwroot\php_mssql.php on line 5
Couldn’t connect to SQL Server on localhost:1433

Solution:
1. Download file ntwdblib.dll from URL of http://www.dlldll.com/ntwdblib.dll_download.html.
2. Go to the server hosted for your PHP script.
3. Go to PHP directory, assume you are using C:\Program Files\PHP5.2.x\, backup original ntwdblib.dll.
4. Replace the file as downloaded from Step 1.

Test again, and your problem should resolved.

You may refer to the URL as below for more information on the PHP_MSSQL connect page available from PHP.Net
http://my.php.net/function.mssql-connect

  • Twitter
  • WordPress
  • Blogger Post
  • Delicious
  • Facebook
  • Share/Bookmark
posted by Mick Genie in IIS, Microsoft Windows and have No Comments
Get Adobe Flash playerPlugin by wpburn.com wordpress themes