May11

Including a file in a Web Deployment Project

Categories: Visual Studio
Argh Argh.  I’m precompiling a website (msbuild) and then building an installer for deploying it.  For the build, I’m use WDP.  However; for whatever silly reason Visual Studio ignores file types of .lic   So I have a license file that won’t get bui...
 
May9

How do you write that connection string again?

Categories: Miscellaneous
Ever forget the syntax for a connection string, or do you just need to test a connection to a db? Use a UDL for that forgetful memory. On your desktop, right-click and select new text document. Rename it to something.udl. Double click the new UDL ...
 
May8

Compiler Error Message: CS0030: Cannot convert type ‘ASP.login_aspx’ to ‘System.Web.UI.WebControls.Login’

Categories: ASP.NET C#
Argh. What a silly error this is. There are a couple of things that need to happen for this to happen in .net. 1. You precompiled your app (2.0)2. You publish your site as ‘updateable’3. You named a page that is the same as a Class in .net Most deve...