29 May 2008

AIR Security or Lack there of?

I found this really strange, a co worker pointed this out to me.

He installed my Poker Blind Timer - Air Version and then went into

c:\Program Files\Poker Blind Timer\META-INF\AIR\application.xml

And edited a lot of the application settings, run the app again, and it changed to reflect the edits, you can change the title, logo, and windows size, allow minimize etc.

As a developer you want and need to control these things, why would they just put all that in an XML file and allow anyone to come along and edit it. I know you can do similar stuff with registry edits for other programs, but thats a lot harder and less obvious.

Poker Blind Timer - Air Version

So my AIR version of the Poker Blind timer, is doing the rounds.

I submitted it to Adobe Market place to get a free code signing certificate. Then I signed it with the real cert. So now you can download & install using a a button from Market Place and the app is signed.

http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1544518

NEW VERSION: http://dale.fraser.id.au/2010/02/poker-blind-timer-version-2.html

27 May 2008

ColdFusion 8 Vista SP1 Solution!

Anyone having problems with ColdFusion 8 on Vista since SP1. Well lots of people are having problems with the install / config.
I reported to Adobe and the answers are a bit disapointing. Firstly they knew nothing about it, you might think they would test the software post a release of a major Service Pack, or even on one of the betas. Secondly the response I got, was I tried it and it worked fine.
Anyway, after many, many hours I know exactly what the problem is and there is a simple workaround.
The problem lies in IIS, if you don't install the right bits, it won't work, im not sure if these used to be installed under Vista by default but they aren't there anymore.
There are two things you need to manually select when installing IIS. You need to manually tick the three things highlighted here. Once you do that and install IIS, make sure you reboot before installing ColdFusion, even though it might not ask or force you too. IIS doesn't start working until after a reboot.


After that it's smooth sailing, just install ColdFusion 8, there is no need to run as administrator or do anything else special.

12 May 2008

ColdFusion 8.01 Broken on Vista SP1 with IIS

I have had several people try this now, and CF8 will not install on Vista SP1 using IIS.

Below is what you get, I could probably manually hack lots of IIS settings and get it working, but since there is nothing on the NET on this, I would like to know why.

I have narrowed it down as I didn't originally know if it was 8.01 related or SP1 related, and it is definately Vista SP1 that breaks everything.

I have reported this to Adobe and they have contacted me asking for more info, so the wheel is in motion. Until then, I don't even have a workaround, mainly because I haven't had the time to work out what config file is missing etc.

Anyway after installing, the configuration page will not open as the connector is not installed properly or not properly configured / connected.

Server Error in Application "DEFAULT WEB SITE"Internet Information Services 7.0Error Summary HTTP Error 404.3 - Not FoundThe page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.Detailed Error Information Module StaticFileModuleNotification ExecuteRequestHandlerHandler StaticFileError Code 0x80070032Requested URL http://127.0.0.1:80/CFIDE/administrator/index.cfmPhysical Path C:\inetpub\wwwroot\CFIDE\administrator\index.cfmLogon Method AnonymousLogon User Anonymous Most likely causes: " It is possible that a handler mapping is missing. By default, the static file handler processes all content. " The feature you are trying to use may not be installed. " The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.) " If ASP.NET is not installed. Things you can try: " In system.webServer/handlers: o Ensure that the expected handler for the current page is mapped. o Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool. o Pay extra attention to typographical errors in the expected handler line. " Please verify that the feature you are trying to use is installed. " Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe. 1. To set a MIME type, use the following syntax: %SystemRoot%\windows\system32\inetsrv\appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string'] 2. The variable fileExtension string is the file name extension and the variable mimeType string is the file type description. 3. For example, to add a MIME map for a file which has the extension ".xyz": appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain'] Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them. " Install ASP.NET. " Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here. Links and More InformationThis error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files. View more information »