Error consuming webservice from Flex 3 using IIS 7 and windows server 2008

I'm getting the following error in Flex 3 when trying to consume a webservice using ii7 on server 2008. Works ok on Server 2003 iis 6. Any ideas?

[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://Server2008iis7/MainLine/MLwebService.asmx?wsdl)"]
      at mx.rpc.wsdl::WSDLLoader/faultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\wsdl\]

Here's my crossdomain.xml file

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
      <site-control permitted-cross-domain-policies="all"/>
      <allow-access-from domain="*" />
      <allow-http-request-headers-from domain="*" headers="*" />
flex code fragment. Normally a name instead of an ip address would be used, but to bypass any dns issues, we changed to the ip address.
<mx:WebService id="MLwebService"
		wsdl="" useProxy="false">
	<mx:operation name="GetBlockInfo" fault="ErrHandler(event)" result="dataHandler(event)"/>	
	<mx:operation name="SetPosition" result="dataHandler2(event)"/>

Open in new window

Who is Participating?
ee_autoConnect With a Mentor Commented:
Question PAQ'd, 250 points refunded, and stored in the solution database.
jwhitedAuthor Commented:
Found the problem. For some reason IIS 7 on our server 2008 defaulted to Authentication mode="Forms" instead of Authentication mode="Windows" in the web.config file. Created a new application/virtual directory and got the same default for authentication mode. What's up with that? Seems like anything but "Forms" would be ok for a default. Anyway, that's all we changed and it works ok.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.