Windows 2008 and IIS 7 not serving .gif

I have spent the past couple of days verifying my web application on windows 2008.  One issue that has plagued me is gif files were not served.  At first I thought this might be an access right issue since my program is installed under program files.  But after adding every imaginable access right to this vpc still no gif would be served. Next I thought it might be caching so I disabled that, but still no image would be served.  Finally  it turns out that when I installed iis I did not install the static content option.  which prevents my .js javascript files and images from being served.

Comments [0]

Borders Support Tool Tips

Just remember if you run into a control that does not support ToolTipService(). ToolTip you can always create a invisible boarder around the control.  And you can use that border to display your tool tip.

Comments [0]

Handling HTML Events in .Net code

From the channel nine screen cast Silverlight - Handling HTML Events in .NET Code by Mike Taulty
 
Void OnLoaded (object sender, RoutedEventArgs e)
{
    HtmlElement element =
        HtmlPage.Document.GetElementById("MyButton");
    element.AttachEvent("onclick", (EventHandler)MyHandler);
}
void MyHandler( object sender, EventArgs args)
{
    //Do something.
}
Comments [0]

Silverlight 2 rc0 Preview Error Message

After installing silverlight tools for  visual studio

I receive the following error message in visual studio 2008 Preview

Derived method 'OnApplyTemplate' in type 'System.Windows.Controls.GridSplitter' from assembly 'System.Windows.Controls.Extended, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' cannot reduce access.

Comments [0]

Error BC30201: Expression expected.

I have a solution that when compiled under the IDE all of the projects build with no issue.  However when compiled with msbuild, I receive the following error message “error BC30201: Expression expected. ” on line 506 and 238 of a vb.net project.

line 505 If Counter => e.NumberOfItems Then
line 238 If Counter => e.NumberOfItems Then

 

I made a typo with => it should be >=.   But why does it compile under the IDE?  If I format the the document then the IDE corrects the typo.  So this looks like another example of vb not compiling the code I wrote.

Comments [0]

That Mortgage 2.0 Thing

There seem to be a movement that would like to sell you on the idea of social networks marketing( The Power of Web 2.0 in Your Hands ).  But before you shell out the cash and join the social network revolution.  I think you should read Particle Physics, Mortgage, and Unconventional Advice .   My opinion, if your passionate about your work and love talking about it, blog.  The rest will come naturally.

Comments [0]

Firefox 3 Most Annoying Feature

Firefox 3 makes a call to your anti virus software to scan your down loaded file.  This typically results in a double scan or an unnecessary scan when you trust the download source.

There is no intuitive way to disable this feature but thanks to gHacks I was able to find a configuration setting for this feature.

You can navigate to about:config in Firefox and double click the browser.download.manager.scanWhenDone to set its value to false.  No more time wasted scanning the file.

Comments [0]

A man who chose "Lloyds is pants" as his telephone banking password said he found it had been changed by a member of staff to "no it's not".

What I find disturbing is that Lloyds is storing the password in plain text in their database and employees have access to that account data.

read the story at bbc

Comments [0]

Losing The Popularity Contest

Why aren't asp.net blogs engines as popular as moveable type, blogger, typepad or wordpress?  The asp.net applications seem to almost hide from public discussions.  Is it the windows platform?  Our open source communities faltering?  Or lack of free hosting?

Comments [0]

Falling Down The Rabbit Hole

The Mac Book hard drive tanked tonight.  I think Apple has quality control issues to address, there seems to be a lot of this type of thing going around the school district.  We took it to the Apple store for a "genius" to fix(yea no files could be recovered!).  To bad the district will want to put their kooky build of Tiger back on the re-imaged Mac Book.  While The Apple employees were very nice and not smug at all, it was still a culture shock to go into the store.  I am so do not fit in that sub culture.  I still find it ironic that the Apples in my house cause more grief then the pcs.

Comments [0]