Archive for the ‘Web’ Category

Post

Getting the new MSIE 9 HTML5 <audio> tag to work.

In Web on 2010/09/20 by phejndorf

I just installed the MSIE 9 beta in a Virtual Machine, and tried to get the following to work:

<audio src="swing.mp3" autoplay=true controls=true>
Your browser does not support the audio element.
</audio>

It was running fine in Chrome, but in MSIE 9 I found that the the code must be preceded by:

<!DOCTYPE html>

Then this new control shows up:

image

If I’m not much mistaken the same will go for the other new HTML tags like <video>, <svg> etc.

Read more here: http://msdn.microsoft.com/en-us/library/ff975061.aspx

Post

Getting rid of ‘View only web page content that was delivered securely’

In Web on 2010/06/14 by phejndorf

I just got this on one of my companys MOSS sites:

clip

I know it is important that I know – I can also accept the rationale behind the message, so I’m fully aware that it is for my own good.

But I just HATE the medicine, and it’s really awful that I can’t choose to ignore this for specific sites.

Going on the web is – as leaving the securituy of your house – always a calculated risk, and as usual what happens when security simply gets too annoying (perceived possible risk is less than perceived possible cost) it is ignored.

So now I’m going to turn it off as described here: http://blog.httpwatch.com/2008/04/30/fixing-the-do-you-want-to-display-nonsecure-items-message/

  • In IE go to Tools->Internet Options->Security
  • Select the ‘Security’ tab
  • Click the ‘Custom Level’ button
  • In the ’Miscellaneous’ section change “Display mixed content” to Enable
  •  

    Lesson learnt: When security gets too much in the way, users will just ignore it – just like sensible birds eventually ignore the scarecrow, and proceed on their business, eating the farmers seeds…

    Post

    IIS specified authentication schemes ‘Basic, Anonymous’, but the binding only supports specification of exactly one authentication scheme

    In Web on 2010/05/22 by phejndorf

    Having just aquired en extra hosted site – this time at www.unoero.com – and now having access to my own hosted .Net 4.0, i wanted to test it out with a WCF Data Services.

    I did, however, have to get the good support people at UnoEuro to change the IIS configuration for me to “Anonymous” to avoid the above error, which they did promptly.

    It took me some time to dig up the correct answer here: (http://tinyurl.com/yd4y78p) “..if your IIS configuration is set to use both Integrated Auth as well as Anonymous, you’ll want to uncheck one of them in the Directory Security setting for the site in IIS management console.”.

    A second thing to note, was that I also had to change the web.config web.config like this <serviceHostingEnvironment multipleSiteBindingsEnabled=”true” /> under <system.serviceModel> to get my oData feed (http://www.odata.org/) in .Net 4.0 up and running.

    Post

    Using a Visual Studio 2008 Installer for Web on Server 2008

    In C#,Web on 2010/02/01 by phejndorf

    I’ve just found out the hard way, that installing a web application to W2K8 R2 requires some extra magic – otherwise you the installation package will give the uninformative error message “The installer was interrupted before [Application Name] could be installed”.

    What is missing is compatibility with the apparently old format installation package, and you must add an IIS Role Service:

    1. Go to Role Manager | Roles. 
    2. Scroll down to the Web server (IIS) role.
    3. Click “Add Role Services” (to the right)
    4. Check “IIS 6 Management Compatibility” and click Next | Install

    I’ve been told that the same thing goes for Wix generated installations as well…

    Comments Off

    Follow

    Get every new post delivered to your Inbox.