Home » Archive by category ".NET 4.0" (Page 12)

Archive for the '.NET 4.0' Category

Single ASP.NET page

<%@ Page Language=”VB” %> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <script runat=”server”> </script> <html xmlns=”http://www.w3.org/1999/xhtml”> <head runat=”server”> <title>My VB.NET Page </title> <link href=”../css/Styles/Site.css” rel=”stylesheet” type=”text/css” /> </head> <body> <div class=”page”> <div class=”header”> <div class=”nav_pos” > <div class=”nav_format”> <% Response.Write(MonthName(DateTime.Now.Month) & ” + ”   ” & DateTime.Now.Day & “, ” & DateTime.Now.Year) %> […]

Template field databinder date format

Date 07/02/2012 DataBinder.Eval(Container.DataItem, “u_date_last_login”, “{0:d}”)

Microsoft.ACE.OLEDB.12.0 provider is not registered

Basically, if you’re on a 64-bit machine, IIS 7 is not (by default) serving 32-bit apps, which the database engine operates on. So here is exactly what you do: 1) ensure that the 2007 database engine is installed, this can be downloaded at: http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en 2) open IIS7 manager, and open the Application Pools area. On […]