Font awesome inside asp button

You can’t with the default asp.net button you will need to use a HTML button and give it runat=server attribute: <button runat=”server” id=”btnRun” class=”btn btn-mini” title=”Search”> <i class=”icon-camera-retro”></i> Search </button> So use code behind with this you add: onserverclick=”functionName” To the button, then in your C# do: protected void functionName(object sender, EventArgs e) { Response.Write(“Hello … Read more

The type is defined in an assembly that is not referenced, how to find the cause?

When you get this error it isn’t always obvious what is going on, but as the error says – you are missing a reference. Take the following line of code as an example: MyObjectType a = new MyObjectType(“parameter”); It looks simple enough and you probably have referenced “MyObjectType” correctly. But lets say one of the … Read more

How to fix: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

It turns out that this is because ASP.Net was not completely installed with IIS even though I checked that box in the “Add Feature” dialog. To fix this, I simply ran the following command at the command prompt %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i If I had been on a 32 bit system, it would have looked like the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)