Compdigitec Labs

Archive for July, 2010

Fixing “Error: window.location.refresh is not a function”

Friday, July 23rd, 2010

If when you try to refresh the page using Javascript back-end and instead of having the page refresh like you want it to refresh, instead it bounces back into your Javascript Console with a cryptic error that reads “Error: window.location.refresh is not a function“. This can be very puzzling, especially if you are not a […]

Updated Roadsend PHP Compiler 2.9.8 packages

Wednesday, July 21st, 2010

Due to the vast interest in our previous binary package of Roadsend PHP, we have decided to compile a newer, updated version of the Roadsend PHP compiler (v2.9.8). However, due to previous flaws in the way that we compiled the previous PHP compile, many of our readers struggled or were entirely unable to get the […]

ASP.NET GridView All-In-One Quick Reference

Saturday, July 17th, 2010

Here is a quick collection of snippets where one can quickly lookup the necessities of setting up a GridView for the purposes of displaying information to the viewer through a database (for example, MySQL): Adding Columns of Data Binding the Data (and storage across sessions) Paging Note: This needs AllowPaging to be set to “true”. […]

Solving Could not find stored procedure dbo.aspnet_CheckSchemaVersion in ASP.NET Membership

Tuesday, July 13th, 2010

Normally, as usual, one would not see the error Could not find stored procedure ‘dbo.aspnet_CheckSchemaVersion’ if one has a good database already setup with everything good to go. However, sometime the annoying error Could not find stored procedure ‘dbo.aspnet_CheckSchemaVersion’ crops up one can check the steps below to determine the root cause of the error: […]

Solving Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in ASP.NET 4.0

Monday, July 12th, 2010

If you have just installed Visual Studio 2010 or the .NET 4.0 Framework and trying to host ASP.Net 4.0 applications doesn’t work for you and results in the following error message: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” It means that you haven not yet run the aspnet_iisreg.exe executable needed to register the ASP.NET 4 […]

Solving “The name … does not exist in the current context” in ASP.NET

Wednesday, July 7th, 2010

A little-known fact is that in ASP.NET is that you cannot have two copies of the same ASP.NET web page in the same folder, or it will attempt to load elements (such as controls) from the (usually) wrong page, and end up confusing itself, resulting in the error “The name … does not exist in […]