Archive

Author Archive

Handwriting recognition

Categories: Uncategorized

Using Webservices with Flex

I was working on a larger Flex example this morning: Sending SMS via a webservice in Flex
But due to the Flash sandbox, there is a hurdle you have to jump, security wise, to access a webservice from Flash,
and it first shows it’s ugly head with this exception:

[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://www.freebiesms.co.uk/sendSMS.asmx?wsdl)"%5D
    at mx.rpc.wsdl::WSDLLoader/faultHandler()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcwsdlWSDLLoader.as:98]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcAbstractInvoker.as:170]
    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcAbstractInvoker.as:225]
    at mx.rpc::Responder/fault()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcResponder.as:53]
    at mx.rpc::AsyncRequest/fault()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcAsyncRequest.as:103]
    at DirectHTTPMessageResponder/securityErrorHandler()[C:autobuild3.2.0frameworksprojectsrpcsrcmxmessagingchannelsDirectHTTPChannel.as:389]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/redirectEvent()

Which, after hunting on the Net, showed me that I needed a crossdomain.xml file thus:

<cross-domain-policy>
    <allow-access-from domain="*"/>
    <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>

– Oh, and I also found out that Webservice method names are case-sensitive, when I got this error:

[RPC Fault faultString="Couldn’t find method ‘sendSms’ in service." faultCode="Client.NoSuchMethod" faultDetail="null"]
    at mx.rpc.soap::Operation/createFaultEvent()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcsoapOperation.as:978]
    at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcsoapOperation.as:763]
    at mx.rpc.soap::Operation/send()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcsoapOperation.as:693]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.rpc.soap.mxml::Operation/send()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcsoapmxmlOperation.as:170]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/proxy::callProperty()[C:autobuild3.2.0frameworksprojectsrpcsrcmxrpcAbstractService.as:290]
    at FreebieSMS/click()[C:Documents and SettingsAdminMy DocumentsVisual Studio 2008ProjectsFreebieSMSFlexFreebieSMSFlexsrcFreebieSMS.as:31]
    at FreebieSMSFlex/___FreebieSMSFlex_Button1_click()[C:Documents and SettingsAdminMy DocumentsVisual Studio 2008ProjectsFreebieSMSFlexFreebieSMSFlexsrcFreebieSMSFlex.mxml:4]

Categories: Uncategorized

Using Code-behind with Flex

This is a few steps on how to use Code-behind with Flex & Visual Studio 2008.

Installed Ensemble Tofino  (With SDK)

This was my MXML file:

<?xml version="1.0" encoding="utf-8" ?>
<mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml&quot;
    layout="absolute">   
    <mx:Button x="45" y="33" label="Say Hello!" click="HelloWorld.click(event)"/>   
</mx:Application>

And the .AS file was:

package
{
    import flash.events.Event;
    import flash.events.MouseEvent;
    import mx.controls.Alert;
   
    public class HelloWorld
    {
        public static function click(event:MouseEvent)
        {
            Alert.show("This responded to an event from code-behind");
        }
    }
}

Ideally, The Application Class should inherit from HelloWorld, so that the click event could be protected rather than
static; so it should be modified as follows:

<?xml version="1.0" encoding="utf-8" ?>
<my:HelloWorld xmlns:my="*"
    xmlns:mx="http://www.adobe.com/2006/mxml&quot;
    layout="absolute">   
    <mx:Button x="45" y="33" label="Say Hello!" click="click(event)"/>   
</my:HelloWorld>

and the AS file thus:

package
{
    import flash.events.Event;
    import flash.events.MouseEvent;
    import mx.controls.Alert;
    import mx.core.Application;
   
    public class HelloWorld extends Application
    {
        protected function click(event:MouseEvent)
        {
            Alert.show("This responded to an event from code-behind");
        }
    }
}

Categories: Uncategorized

Facebook App development

Freebie SMS Facebook App

Download link: Download Facebook App with source code in C#
Facebook link: Free SMS Facebook App

This is a Facebook App for sending free SMS messages to UK mobile phones,
It was created with the asp.net starter kit for C# 3.5. and can be downloaded from the links above
with full source code.

The only real departure from a standard asp.net page, is that it gets the ‘from name’ from the Facebook profile, like this:
      
       protected string GetUserName()
        {
            try
            {
                facebook.Schema.user userinfo = Master.API.users.getInfo(Master.API.uid);
                return userinfo.first_name;
            }
            catch
            {
                return "Someone";
            }
        }

Note, that the exception can be thrown on first load, before the user has accepted access to their own profile, hense
the try/catch

Categories: Uncategorized

Setting up SQL server Azure

This is my experience with setting up SQL server Azure (2008), pretty difficult, and very buggy, to be honest,
my feeling is to stay away from the CTP, but here’s my ‘walkthrough’

I got this email a few days ago:

Welcome to the SQL Azure CTP!  We are excited to have you join us.  Below are
some steps to get you started, as well as links to helpful resources. 

 

 Getting Started

1)     Visit https://sql.azure.com

2)     Sign in with a valid Windows LiveID

3)     Enter your invitation code

 Your invitation code is:
d329171f-c1fd-4060-862e-1a7f613ea8ce

 4)     Create your SQL Azure Server (and
databases)

 So I stepped through the process, and set up an Azure database, then I found that I needed SQL server 2008 to connect to it,

I downloaded  SQLManagementStudio_x86_ENU.exe from
http://www.microsoft.com/DownLoads/details.aspx?familyid=08E52AC2-1D62-45F6-9A4A-4B76A8564A2B&displaylang=en

During Install, said that I needed to reboot… when I had, so a work around was:

# Open Regedit
# Find the key "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession Manager"
# Rename the "PendingFileRenameOperations" value to "PendingFileRenameOperations2"
# Re-Run the checks

Downloaded powershell:

http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=6ccb7e0d-8f1d-4b97-a397-47bcc8ba3806&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f7%2f3%2f4%2f7345bb7d-0b07-40e8-9480-5b8c55b9c8b7%2fWindowsXP-KB926139-v2-x86-ENU.exe

Uninstalled SQL server management studio express

Uninstalled Visual studio 2008

It then crashed with this error:

TITLE: SQL Server Setup failure.
——————————

SQL Server Setup has encountered the following error:

Unable to generate a temporary class (result=1).
error CS0006: Metadata file ‘C:WINDOWSassemblyGAC_MSILMSClusterLib1.0.0.0__89845dcd8080cc91MSClusterLib.dll’ could not be found

Error code 0x84B10001.

——————————
BUTTONS:

OK
——————————

Rebooted…

Deleted the PendingFileOperations Registry Key

Installed!

Tried to Connect:

ADO.NET:
Server=tcp:yitwxb6n0v.ctp.database.windows.net;Database=master;User ID=fiach;Password=myPassword;Trusted_Connection=False; Server=tcp:yitwxb6n0v.ctp.database.windows.net;Database=;User ID=fiach;Password=myPassword;Trusted_Connection=False; Copy to clipboard
ODBC:
Driver={SQL Server};Server=tcp:yitwxb6n0v.ctp.database.windows.net;Database=master;Uid=fiach;Pwd=myPassword; Driver={SQL Server};Server=tcp:yitwxb6n0v.ctp.database.windows.net;Database=;Uid=fiach;Pwd=myPassword; Copy to clipboard
OLE DB:
Provider=SQLNCLI10;Server=tcp:yitwxb6n0v.ctp.database.windows.net;Database=master;Uid=fiach;Pwd=myPasswor

TITLE: Connect to Server
——————————

Cannot connect to yitwxb6n0v.ctp.database.windows.net.

——————————
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

——————————

Invalid object name ‘sys.configurations’. (Microsoft SQL Server, Error: 208)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.9006&EvtSrc=MSSQLServer&EvtID=208&LinkId=20476

——————————
BUTTONS:

OK
——————————

Fixed using this post:

http://social.msdn.microsoft.com/Forums/en-US/ssdsgetstarted/thread/9e5b6854-9e5a-4e7d-b771-313aa5683b72

1. cancel out of the first connection dialog that pops up.
2. click on the New Query button from the toolbar (upper left)
3. entered
       Server name: full servername
       Login: just the username (no @…)
4. Under Options, Connect to Database, (type your database here)
5. Hit connect.

And I got in… after an hour.

Now to figure out how to copy the databases!

Categories: Uncategorized

Changing the TTL value of a DNS record in Windows

Categories: Uncategorized

Creating a virtual directory on Apache for Windows

Categories: Uncategorized

Migrating a classic ASP site from Windows to Linux

I recently moved javatiger.com from a Windows server to a Linux server, basically, to move some smaller sites off the main Windows server, and
I had spare VPS server that I could use for the purpose.

First step to set up Apache on the Linux server,

Use WinSCP to create files in
/etc/apache2/sites-enabled/omadataobjects.com.conf
 
<VirtualHost *>
ServerAdmin webmaster@localhost
ServerAlias www.omadataobjects.com
DocumentRoot
/var/www/omadataobjects.com
</VirtualHost>
 
Use Putty to restart Apache /etc/init.d/apache2
reload

The site was in ASP, was indexed in Google, with Page Rank, so I didn’t want to change the URLs, so I wanted to use mod_rewrite,
which I installed using Putty:

root@vps ~ # a2enmod rewrite
Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.
root@vps ~ # /etc/init.d/apache2 force-reload
Forcing reload of web server (apache2)… waiting .

I then created a .htaccess file in the website root

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*).asp$ /$1.php [L,NC,R=301]
</IfModule>

Which rewrites all .asp requests to .php

I then changed the extension of all .asp files to .php,
and changed
<!–#include file="header.asp"–> to <?php include("header.php"); ?>

Oh, and I had a few glitches with case-sensitivity, which Windows is less strict about.

Categories: Uncategorized

List of Software developers, Mashup.

RS Software GmbH
 


WORKSLINE BV SOFTWARE VOOR WERKTUIGBOUW
 


A M S ADVANCED MANUFACTURING SOFTWARE S R L
 


IMATIC SOFTWARE Y SISTEMAS INFORMÁTICA S L
 


KONEL SOFTWARE HOUSE S R L
 


SOFTWARE DEVELOPMENTS INTERNATIONAL LTD
 


NATRON SOFTWARE MAINTENANCE LTD
 


B K Service og Software
 


Sage KHK Software
 


Fischer Hans Josef Software Design
 


PRO MEDISOFT Software Systeme für das Gesundheitswesen GmbH Hotline
 


DHS Media Unterhaltungs Hard und Software GmbH Co
 


f s Computer und Software Vertriebs GmbH
 


SOMENTEC Software GmbH
 


ZWEITWERK software engineering GmbH
 


SEDIS SOFTWARE BV
 


Blyth Software Germany GmbH
 


Software exclusiv GmbH
 


Innovative Software Design GmbH Beratung Design Entwicklung
 


Software Partner GmbH
 


T T Software Consulting GmbH
 


S I G SOFTWARE Ingenieur GmbH Automatisierungstechnik
 


Doors GmbH Software Consulting
 


COMPUTER SOFTWARE ENGINERING SRL
 


st Software GmbH Co KG i G
 


Gutbrod Willi Software GmbH
 


Erste CRG Computer u Software Vertriebs GmbH
 


PANORAMA SOFTWARE INTERNATIONAL LTD
 


NAVISION SOFTWARE U K LTD
 


CB Software Christa Bildstein
 


OPEN MARKET INTERNET SOFTWARE BV
 


Carano Software Entwicklungs GmbH
 


S R Software GmbH
 


Integrierte Software Technologie Roggenhof GmbH
 


HL Computer Hard u Software
 


Innovative Software AG
 


SOC Software Outsourcing Consulting GmbH
 


JARITZ SOFTWARE GmbH
 


SEMA SOFTWARE GMBH
 


Hügen Katzmann Software GmbH
 


Voigt Software und Unternehmensberatung GmbH
 


VSS GmbH Vertrieb von Systemen und Software
 


MARINE SOFTWARE LTD
 


Intertrend Software GmbH
 


hagosoft Industrie Software GmbH
 


PALMA SOFTWARE AND COMPUTING SAS
 


Akten James Software GmbH Petersen Firmengruppe Interclearing Petersensoftware
 


SOCON Software Consulting GmbH
 


ASPIA Automatisierte Software Produktion und Informatik Architektur GmbH Groeneveld
 


SCI Software GmbH
 


Wannemacher Software Service GmbH Wannemacher Software Servic GmbH
 


Softdesign Hard u Software
 


IVAMEC SOFTWARE E SERVIZI SRL
 


AUGEO SOFTWARE BV
 


Transcom Computer Hard Software
 


DATALINE Gesellschaft für Hard u Software Systeme mbH
 


Software Engineering Klaus Thiehoff
 


TARGET Software Vertriebs GmbH
 


Software AG Stiftung
 


MK tec GmbH Software und Elektronik i G
 


L S ADVANCED SOFTWARE DI GIUGNO E VALENTI SNC
 


CAPRI SOFTWARE S A
 


PATIDOK Clinical Software GmbH Patidok
 


STACKS CONSULTING E INGENIERIA EN SOFTWARE S L
 


TOTOPROJECT SOFTWARE HOUSE
 


intermedix Gesellschaft für medizinische Software mbH
 


SCHELHAAS SOFTWARE BV
 


Sternberg Software und Computersysteme GmbH
 


BCIS Hard Softwaren Leipzig GmbH BCIS Hard und Software Leipzig GmbH
 


Kraus Software GmbH
 


TECTONIC SOFTWARE LTD
 


TRANSLINK SOFTWARE LTD
 


THE SOFTWARE TRAINING CO
 


SET IN POINT HARD SOFTWARE
 


Plus Data Hard u Software GmbH
 


CSCS Computer u Software Schnäkel
 


Opus Software Betreuungs GmbH
 


SF Software
 


TESCOM Software Systems Testing GmbH
 


FERNBACH Software AG
 


DEECODE SOFTWARE LTD
 


SCOPS SOFTWARE LTD
 


A S SOFTWARE S R L
 


DETEC Decision Technology Software GmbH
 


Attica Software Computersystems bvba
 


COSYCO SOFTWARE
 


SOFTWARE TRAINING ASSOCIATES
 


METROPOLIS SOFTWARE
 


Exact Software GmbH Exact Software GmbH Software Software
 


Software Service R Welz GmbH
 


Greenlab Systems GmbH Gesellschaft für med Software
 


BYTE SOFTWARE HOUSE S P A
 


TBG Software GmbH
 


Rehm Software GmbH
 


SOFTWARE MIGRATIONS LTD
 


MEDEA SOFTWARE Inh Dr Sühling
 


CAM Service Gesellschaft für Software und Automationstechnik mbH CAM Service mbH
 


SACO Software and Consulting GmbH
 


UNISON SOFTWARE U K LTD
 


BOSS Branchen Organisation u Software Systeme GmbH
 


PC USING Software GmbH
 


DIALOG SOFTWARE TELECOMMUNICATIONS SRL
 


S O T Gesellschaft für Software u Organisationstechniken mbH S O T Ges f Software u Organisationstechnik GmbH
 


HELPING HAND SOFTWARE LTD
 


C3 Hard und Software Service
 


4D Concepts Prototyping Software und Consulting GmbH
 


Blue Communications Software GmbH Blue Communications Software GmbH
 


HL Software EDV
 


BIOLOGIE SOFTWARE ET SYSTEMES
 


Software 7 GmbH
 


ORTEC NV Computer printers en software
 


CUMMINGS SOFTWARE S L
 


Interactive Software Federation of Europe
 


BRITTANIC SOFTWARE SERVICES LTD
 


ReNoFlex Computer Software GmbH Vertriebsbüro
 


Pi M software Allgäuer
 


VMARK SOFTWARE LTD
 


ZINC SOFTWARE U K LTD
 


Neon Software GmbH
 


SOFTWARE VISUAL DE SANTA CLARA S L
 


CANDESCENT SOFTWARE LTD
 


AF Software GmbH
 


KEOS SOFTWARE SERVICE BV
 


Seneca Software Services GmbH
 


Y2K SOFTWARE LTD
 


COMSULT COMPUTER SOFTWARE CONSULTANTS
 


mbv Software GmbH
 


TSE Thürnau Software Entwicklung GmbH
 


PRODIXIA SOFTWARE
 


ESYS Gesellschaft für Elektronische Systemtechnik Hard u Software mbH
 


SOFTWARE MACHINES AND SYSTEM DI CICCONE LUCIO C S A S
 


ELCOTEC Gesellschaft für Software und Systemlösungen m b H
 


itCampus Software und Systemhaus
 


S A D Software Vertriebs und Produktions GmbH
 


TEGIS Software GmbH Softwaretechnik
 


ANT SOFTWARE BV
 


Integrated Application Software
 


Ulybin Gesellschaft für Business und Software GmbH
 


SPEA SOFTWARE AKTIENGESELLSCHAFT
 


OPEN SOFTWARE SERVICES VOF
 


FIVE STAR SOFTWARE LTD
 


Laser Soft Hard und Software Vertriebs GmbH
 


PC PARTNER PLUS PPP Hard u Software GmbH
 


MIPROTEK Gesellschaft für Hard und Software Entwicklung GmbH
 


Bauer Partner Consulting und Software GmbH Region Deutschland Südost
 


G TEC Software GmbH Eduard
 


multicom Software Entwicklung Dr Ruchert Co GmbH
 


Related Designs Software GmbH Related Design Software GmbH
 


SIDIN SOFTWARE S R L
 


MJ Software GmbH Co KG
 


MCS SOFTWARE S R L
 


BeO Gesellschaft für standard software support mbH
 


LSE Software OHG Software
 


HAB Software GmbH Co KG
 


P C Software GmbH
 


Heinsohn Andreas Heinsohn Computer Zubehör Software Werkstatt
 


SDS Software Mußhoff und Spohr GbR
 


Becker Pöttgen Software GmbH
 


VISUAL POINT SOFTWARE DI QUARANTA TIZIANO
 


LANDEN SOFTWARE
 


CBMS Software GbR
 


SSW Software Support Winter GmbH
 


DESARROLLO E IMPLANTACION DE SOFTWARE S L
 


SHS GmbH Spezial Hardware Software
 


Zaremba Software Engineering GmbH Z S E
 


Software Sidoun GmbH
 


Weiß Elektronik u Software GmbH
 


Bob Software bvba
 


SOFTWARE OF EXCELLENCE UNITED KINGDOM LTD
 


TRANS NATIONS SOFTWARE DI FRANCESCO PERNIOLA
 


SOFTWARE COMPARTS
 


SCION SOFTWARE
 


betzemeier automotive software GmbH betzmeier
 


ARS SOFTWARE BV
 


SYSTEM 3 ARCADE SOFTWARE LTD
 


Bäurer Unternehmensberatung u Software GmbH
 


AWIDA SOFTWARE GmbH Softwareentwicklung
 


Saturn Electro Handelsgesellschaft mbH Software
 


SysTeam Handelssysteme Software GmbH
 


Elite Software Aps og Verner Kristensen
 


INTRANET SOFTWARE SOLUTIONS
 


Objective Software GmbH Uwe Meyer
 


STEP UP SOFTWARE S L
 


ISIS GmbH Ingenieurbüro für Software und integrierte Systemlösungen ISIS GmbH
 


ASS Software Odenwald
 


Arsdata Software GmbH
 


Unicom Computerservice und Software GmbH
 


Körtner Muth GmbH Software Entwicklung
 


BLUE SOFTWARE S R L
 


V ZES SOFTWARE
 


CS Software Computer und Software Beratungs GmbH
 


Sollist Individual Software GmbH Kock
 


B B SOFTWARE LTD
 


Specken Detlef Win Service Hard u Software GmbH
 


C M Software GmbH
 


FS SOFTWARE Schmid
 


EPLAN Software Service GmbH Co KG
 


Candid Software
 


Virtual X citement Software GmbH
 


Phönix Computer Software Service Schulung
 


Impule Software Systeme GmbH
 


Bob Software sprl
 


SOFTWARE AUTOMATIC
 


Ixos Software Ixos Software Internation
 


CASH SOFTWARE BV
 


tp net Hard Software GmbH
 


PRODEWA SOFTWARE GmbH
 


ACC SYS SOFTWARE LTD
 


TOTO BIT INFORMATICA SOFTWARE E SISTEMI SPA
 


SOFTLINE SOFTWARE
 


4D SOFTWARE SERVICES LTD
 


BAAR SOFTWARE H
 


ADM2000 SOFTWARE NV
 


QUOEN SOFTWARE
 


FLEMING SOFTWARE LTD
 


Heineck Heineck Ulrich Thüringer Software Service
 


LASER VISUAL SOFTWARE
 


CUSH Gruppe Dresden Computer und Software Haus GmbH
 


ELITE SOFTWARE LTD
 


Kraus Thorsten Kraus Hard u Software Verkauf
 


SSR Software Entwicklung Beratung GmbH
 


Prosoft Software Entwicklung mbH
 


BARTELDS TECHNICAL SOFTWARE
 


DOMUS SOFTWARE AG
 


CRIL TELECOM SOFTWARE
 


InstallShield Software GmbH
 


DESKTOP MAPPING SOFTWARE S L
 


RiskTrak Financial Software GmbH
 


COMPUTER APPARATUUR PLAN 5 SOFTWARE
 


SILK ROAD SOFTWARE ENTERPRISE BV
 


Hard Software Ris
 


SOFTWARE TEAM SRL TECNOLOGIE INFORMATICHE AVANZATE
 


BOMICO BOMICO ENTERTAINMENT SOFTWARE BNL
 


Dahm Software Systeme GmbH
 


Dataline 

Categories: Uncategorized

Http Traces Wiki started.

Categories: Uncategorized