0 Replies Latest reply on Sep 18, 2007 7:50 AM by mark416

    HTTP 401.3 Error ?

    mark416 Level 1
      Hi,

      I just test the remoteobject with the a simple code like this

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="vertical" >
      <mx:Script>
      <![CDATA[
      import mx.rpc.events.ResultEvent;
      import mx.controls.Alert;

      [Bindable]
      public var sResult:String;

      public function handleStringResult(event:ResultEvent):void{
      sResult=event.result as String;
      }

      ]]>
      </mx:Script>

      <mx:RemoteObject
      id="myService"
      destination="ColdFusion"
      source="HelloWorld_ro.cfcs.HelloWorld">
      <mx:method name="sayHelloString" result="handleStringResult(event)" fault="Alert.show(event.fault.message)" />
      </mx:RemoteObject>

      <mx:Label id="lblStringResult" text="{sResult}"/>
      <mx:Button label="get String Remote Object" click="myService.sayHelloString()"/>

      </mx:Application>

      But I get the following error when I access it by http://localhost/HelloWorld_ro/HelloWorld_ro.mxml.

      HTTP 401.3 - Access denied by ACL on resource
      Internet Information Services

      Please let me know how to fix this

      Thanks

      MK