May 8th, 2011 Bala Krishna Posted in ASP.Net, Asp.Net Tips, General, Godaddy Hosting, Tips and Tricks 1 Comment »
GoDaddy windows server by default show generic 500 Internal Server Error page instead of showing actual detailed error message. The default page prevent application developers from debugging web application because actual error message not visible. The detailed error message give detailed error description along with line number so developer can see nature of error and apply possible fix. Well, You can easily disable generic error page and enable detailed error using web.config file. Web.config is XML file contain settings and configuration data for your asp or ASP.Net web application. This file used globally so you can use it for setting [...]
Read the rest of this entry »
January 14th, 2011 Bala Krishna Posted in ASP.Net, Asp.Net Tips, General, Tips and Tricks, Web Development, Window Application, Windows 7 No Comments »
Classic ASP is not configured by default in Internet Information Server 7(IIS7). If you want to run classic ASP application in IIS7 then you need to enable and configure this feature in your machine. Here are step by step guide to enable and configure ASP Go to Programs and Features in Control Panel and then click Turn Windows features on and off Browse and Expand Internet Information Services -> World Wide Web Services -> Application Development Features and checked ASP check box. This is not enough to run ASP on your box. You need to add classic asp application in [...]
Read the rest of this entry »
September 30th, 2010 Bala Krishna Posted in ASP.Net, Asp.Net Tips, Dos Commands, Dot.Net, Tips and Tricks, Visual Basic, Windows 7, windows xp 1 Comment »
ZIP files(files with .zip extension) are well known file format used for file compression. After compression, file size can be significantly reduced and multiple files and folder can be archive into a single zip file. All zip files can be password protected to reduce risk of unauthorized access. Almost every operating system comes with built-in support of zip/unzip functionality. So you don’t need any third party application for archiving. If you are developer and you want to add zip/unzip feature in your application then you need to use available library in your application. PHP has native support for zip/unzip functionality. [...]
Read the rest of this entry »
November 8th, 2008 Bala Krishna Posted in ASP.Net, Asp.Net Tips, Operating System Tutorial, Window Application, windows xp No Comments »
Microsoft has released XP SP3 with bugfixes and new features.? This version includes old released update for Windows XP and bug fixes released in SP2. SP3 also includes following new? features: Support for Microsoft’s Network Access Protection security technology Microsoft Kernel Mode Cryptographic Module Black Hole Router detection algorithm Keyless activation scheme Download: WINDOWS XP SP3
Read the rest of this entry »
November 6th, 2008 Bala Krishna Posted in ASP.Net, Asp.Net Tips, Browser Stuff, Dot.Net, General, Tips and Tricks, VBScript, Visual Basic, Web Technology No Comments »
The ScriptTimeout property in ASP specifies the amount of run-time in seconds for a script before it terminates. The default value is 90 seconds set by IIS. Set the script timeout: <% Server.ScriptTimeout=200 %> Retrieve the current value of the ScriptTimeout property: <% response.write(Server.ScriptTimeout) %>
Read the rest of this entry »
January 11th, 2008 Bala Krishna Posted in ASP.Net, Asp.Net Tips, VBScript No Comments »
VBScript is a lightweight script programming language like JavaScript. It is light version of Microsoft Visual Basic for the web. VBScript can be inserted into a HTML document and run at client side. Below is the list of general function supported by VBScript. These function also available in Microsoft Visual Basic. CDate Converts a valid date and time expression to the variant of subtype Date Date Returns the current system date DateAdd Returns a date to which a specified time interval has been added DateDiff Returns the number of intervals between two [...]
Read the rest of this entry »
January 10th, 2008 Bala Krishna Posted in ASP.Net, Asp.Net Tips, Blogging, Browser Stuff, Bug Fix, Dot.Net, FFMPEG, FFMPEG-PHP, Linux, Linux Commands, Operating System Tutorial, Tips and Tricks, Web Design, Web Development, Web Hosting, Web Technology, Window Application, windows xp 6 Comments »
To run ffmpeg commands in asp.net you need to use Media Handler class. Here is an example how to use media handler class to run ffmpeg commands. //Create media handler object of Media_handler class Media_handler mymediahandler=new Media_handler(); // Get web site application path string webapppath =Server.MapPath(Request.ApplicationPath); //Get ffmpeg.exe full path from mapping string ffmpeg_path=HttpContext.Current.Server.MapPath(“ffmpeg.exe”); //Run FFMPEG command by calling Execute_FFMPEG function of Media_handler class mymediahandler.Execute_FFMPEG(ffmpeg_path, “-i c:\\clock.avi -vcodec mp3 c:\\clock.flv”);
Read the rest of this entry »