Posts

Showing posts from October, 2007

Patterns & Practices

The official website for .NET patterns & practices http://msdn2.microsoft.com/en-us/practices/default.aspx

How to capture a command line output?

You would need to type the following syntax after the command that you want to execute " > Filename" . ex: c:\> dir > c:\test.txt

New features of ASP.NET framework 2.0

Follow the link to learn more from microsoft themselves. http://msdn2.microsoft.com/en-us/library/t357fb32.aspx

How to know the configuration of PHP on a webserver (IIS / Apache)?

The following code in a file will display the information of PHP on a webserver (IIS / Apache) echo phpinfo()

bizTalk 2004 Config Error: Failed to deploy BizTalk system assembly

bizTalk 2004 Config Error: Failed to deploy BizTalk system assembly "C:\Program Files\Microsoft BizTalk Server 2004\Microsoft.BizTalk.GlobalPropertySchemas.dll". Unspecified exception: An error occurred while enlisting in a distributed transaction. Environment: biztalk 2004 - Windows 2003 Server SP1 SQL Server 2000 (SP3) - Windows NT SP 4

Failed to connect to database: Access denied for user 'admin'@'localhost'

When I try to configure connection to client’s MySQL server in Plesk I get an error:Failed to connect to database: Access denied for user 'admin'@'localhost'.Ho can I fix it? This problem occurs when Plesk connection to MySQL server, which is used for clients’ databases storing, has gotten misconfigured. To configure it back you need perform the following steps: Edit MySQL configuration file my.ini located within %plesk_dir%databases\mysql\data. Add parameter skip-grant-tables into the [MySQLD] section. Restart SQL Server. Log into MySQL. %plesk_dir%\mysql\bin\mysql.exe mysql Execute the following query: mysql> update user set password=password('current_password') where user='admin'; Remove skip-grant-tables from within the [MySQLD] section within %plesk_dir%\databases\mysql\data\my.ini Restart SQL Server. Where `current_password` is the password for admin in client’s MySQL which is stored in Plesk. It is used by Plesk to control client’s MySQL server...

How to determine the version of a .NET Framework

%systemroot% \Microsoft.NET\Framework