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