You need to sign in to do that
Don't have an account?
CRMfusion - GW
Flex Error Message
I'm building a flex based Scontrol and I get the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.utils::URLUtil$/getProtocol()
at com.salesforce::Connection/::_invoke()
at com.salesforce::Connection/::invoke()
at com.salesforce::Connection/query()
Any ideas?
Any ideas on a better way to debug that will give more specific error messages?
GlennW
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.utils::URLUtil$/getProtocol()
at com.salesforce::Connection/::_invoke()
at com.salesforce::Connection/::invoke()
at com.salesforce::Connection/query()
Any ideas?
Any ideas on a better way to debug that will give more specific error messages?
GlennW
are you able to get the sample code running as a first step?
are you using Flex Builder ?, it has a good debugger.
I've sort of got it limping along and can get it to work in Debug under the Flex IDE and in FireFox. When I try to access in in IE I get the following error:
Any ideas?
Message Edited by CRMfusion - GW on 05-14-2007 03:30 PM
Hi
This is an issue we are facing too. This is because of the security policy on Salesforce Side. A little research that we did had to do with the crossdomain.xml file which grants access to a particular domain.
Another post suggest using login with credentials but we tried that and it did not work.
Thank you
Vivek Viswanathan
Could provide some more details around your implementation?
Took me awhile, but I finally got it to work on my localhost .net server (thanks Ron Hess).
1. Set the protocol on the connection to http and use http in the serverUrl
<salesforce:Connection protocol="http" serverUrl="http://www.salesforce.com/services/Soap/u/10.0" />
2. Make sure you are running on port 80 for your IIS or Visual Studio Development Server. Here is a link on how to set the Development Server to a specific port: http://msdn2.microsoft.com/en-us/library/ms178109(VS.80).aspx
That should do the trick.
Cheers.