Archive for 'Web' Category

How To Install Windows Live Writer on Windows Server 2008

18 June 2008

So this is my first post using Windows Live Writer from a Windows Server 2008 workstation.
I was not able to install Windows Live Writer 2008 on my server workstation, it would give the error:
Sorry, Windows Live programs cannot be installed on Windows Server, Windows XP Professional x64 Edition, or Windows operating systems earlier than Windows [...]

HowTo Filter System.IO.Directory.GetFiles with Linq

30 May 2008

Here we are going to see an easy way to enumerate files in a directory, filter the files with Linq, then bind the results to a ASP.NET repeater control. We will show you the old .NET 1x way of doing this, then the new and improved Linq way of doing this.
I had a method that [...]

Querying Selected Items From ListItemCollection Using Lambda Expressions

27 May 2008

You can use Linq and Lambda expressions along with the new extensions provided in the .NET framework 3.5 to filter those old school specialized collections like ListItemCollection. The key is to first convert the collection to a generic list using the Cast or ToList extension methods …. more on this in this article

ASP.NET What Server Side controls require a Server Form

7 June 2007

This is a list that I have compiled of ASP server side controls that require or do not require to be nested inside of a server form (form runat=server)

Requires
Does not Require

 
asp:Label

 
asp:HyperLink

asp:TextBox
 

asp:Button
 

asp:LinkButton
 

asp:ImageButton
 

asp:DropDownList
 

asp:ListBox
 

asp:CheckBox
 

asp:CheckBoxList
 

 
asp:Image

 
asp:ImageMap

 
asp:Table

asp:BulletedList
 

asp:HiddenField
 

 
asp:Literal

asp:Calendar
 

 
asp:AdRotator

asp:FileUpload
 

asp:Wizard
 

 
asp:Xml

 
asp:MultiView

 
asp:View

 
asp:Panel

 
asp:PlaceHolder

 
asp:Substitution

 
asp:Localize

asp:GridView
 

 
asp:DataList

asp:DetailsView
 

asp:FormView
 

 
asp:Repeater

 
asp:XmlDataSource

asp:Menu
 

asp:TreeView
 

Webservice fix for error message - Maximum request length exceeded

19 March 2007

So I ran into a weird error this morning on one of my webservices. It was a SOAP exception which yielded a 500 HTTP Status error (as viewable from the trace.axd)
“There was an exception running the extensions specified in the config file. –> Maximum request length exceeded.”
The WebService call was posting a DataSet to a [...]

Publishing a .NET ClickOnce Application to a linux Apache Server

10 December 2006

You might think that you can only publish a ClickOnce application to a IIS server. This is in fact not the case, you CAN publish a ClickOnce application to a apache web server either running on Linux or Windows. In fact its pretty simple.
Configure your apache publish directory for ClickOnce applications
At the root directory of [...]

How to reset a DNN password at the Database

26 September 2006

If your DotNetNuke passwords all of a sudden stop working (like due to a failed upgrade), have no fear you can reset them at the database! This is not a hack, it uses the official aspnet Password Reset.
Open SQL Query Analyzer - Connect to your dotNetNuke database
Paste the following Stored Procedure code into the window, [...]