Monthly Archives: November 2015

How to troubleshoot PHP critical code using die()

If you are complex issue in PHP and you do not have debugger install or do not want to use debugger, there is an easy way to troubleshoot your code. Place die(); function right at the point where you want … Continue reading

Posted in Tutorials/Tips | Tagged , , | Leave a comment

Cannot start service W3SVC on computer

My IIS was working perfectly on Windows 7 fine but I after I ran some manual command stopping http service, I began to get this error Cannot start service W3SVC on computer When I restared the PC, ISS started perfectly … Continue reading

Posted in Tutorials/Tips | Leave a comment

connection string to local aspnetdb.mdf

This is connection string to your local database in visual studio <connectionStrings > <add name=”MySqlConnection” providerName=”System.Data.SqlClient” connectionString=”data source=.SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true” /> </connectionStrings> Note that this .mdf file does not have a database inside. It is simply data inside the mdf … Continue reading

Posted in Tutorials/Tips | Tagged , | Leave a comment

Install Ajax in Visual Studio 2008

Visual Studio 2008 still rocks which comes bundled with Crystal Reports and Site Configuration if you really want to build an application with roles. Visual Studio 2015 is out and Visual Studio 2013 is commonly used every but both do … Continue reading

Posted in Tutorials/Tips | Leave a comment

Open Database File in Visual Studio

I could not open database files that were crated in Visual Studio 2008 after I created roles in the application. The App_Data file does not expand as it should bee. There is no other option in menu available to review … Continue reading

Posted in Uncategorized | Leave a comment

CSS Not being applied in ASP.NET theme

CSS in your ASP.NET them nay not apply when you include your theme files if they are in the wrong location. Not that when you add App_theme folder, each skin must sit in their own folders. Do not create skin … Continue reading

Posted in Uncategorized | Leave a comment

Network Access Message: The website cannot be found

If you get this error in IIS, “Network Access Message: The website cannot be found”, the error could be misleading. The print print of the error says Error Code 11004: Host not found Background: This error indicates that the gateway … Continue reading

Posted in Uncategorized | Leave a comment

Install Ajax Toolkit/toolbox in Visual Studio 2013

This is a two step process. Download Ajax Toolkit Add Ajax Controls to Toolbox Install ASP Ajax Toolkit In Visual Studio 2013, go to tools > Library Package Manager > Package Manager Console and issue the following command in the … Continue reading

Posted in Uncategorized | Leave a comment

Windows 7 Service Pack 1 Download

Download Windows 7 Service Pack 1 directly from Microsoft. Here is the link http://www.microsoft.com/en-us/download/details.aspx?id=5842 Once you click the red “Download button”, you will see a bunch of downlaod files with checkbox next to it. Select windows6.1-KB976932-X64.exe (903.2 MB) for Windows … Continue reading

Posted in Uncategorized | Leave a comment

Install HP 1010 printer on windows 7 without drivers

HP 1010 Printer is not install able in Windows 7 because it is old and is not supported any more. The drivers that may be there also do not work. Fortunately, you can install HP 1010 in Windows 7 without … Continue reading

Posted in Uncategorized | Leave a comment