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\WSDLLoader.as:98]

Here's my crossdomain.xml file

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
      <site-control permitted-cross-domain-policies="all"/>
      <allow-access-from domain="*" />
      <allow-http-request-headers-from domain="*" headers="*" />
</cross-domain-policy>
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="http://172.16.15.133/MainLine/MLwebService.asmx?wsdl" useProxy="false">
	<mx:operation name="GetBlockInfo" fault="ErrHandler(event)" result="dataHandler(event)"/>	
	<mx:operation name="SetPosition" result="dataHandler2(event)"/>
</mx:WebService>

Open in new window

jwhitedAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
0
ee_autoCommented:
Question PAQ'd, 250 points refunded, and stored in the solution database.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.