Welcome, Guest. Please login or register.
Did you miss your activation email?
31 Jul 2010, 11:30:02 UTC
Forum home
+  flexdeveloper.eu Forum
|-+  Flex and ActionScript 3.0
| |-+  Flex 3 Framework (Moderators: JMWhittaker, Jan K, thewarpedcoder, James)
| | |-+  Flex app. calling webservices using SSPI to SQL Server fails on IIS Server
« previous next »
Pages: [1] Print
Author Topic: Flex app. calling webservices using SSPI to SQL Server fails on IIS Server (Read 266 times)
mfarhanali
Newbie FD
*
Posts: 2


« on: 08 Feb 2010, 23:54:16 UTC »

Hi,
  I have flex project calling webservices developed within the flex project is running fine in my flex 3.5 development environment but when i push the application on IIS server, it throws exceptions.

WebServices are calling the SQL Server database with the SSPI integrated security= true, which runs fine from my local flex test environment but it does not work in the IIS Server 7 on Windows 2008 server. If i hardcode my id and pwd in the web.config, it runs fine on IIS Server.

The Service account created for SSPI is fine since i ran one asp.net page on IIS with SSPI settings. It runs fine.

I would highly appreciate your help in this issue.

Thanks
Logged
flexy
flexdeveloper.eu
Guru/Addict FD
*****
Posts: 3,155


Recovering Coffee Addict & Adobe Expert


WWW
« Reply #1 on: 09 Feb 2010, 09:22:04 UTC »

What response code is your server responding with when the error occurs? I've seen issues like this before which have been caused by malformed request headers failing to pass the filters on HTTP.sys on IIS7.
Logged

mfarhanali
Newbie FD
*
Posts: 2


« Reply #2 on: 09 Feb 2010, 18:04:45 UTC »


status code = 500

here is the sspi connection string i am using and it works fine from my local flex environment but fails in IIS 7, windows 2008 server

<add name="OnboardingDB" connectionString="server=IMCNJSQLDV03;database=OnBoarding; Trusted_Connection=Yes" providerName="System.Data.SqlClient" />     


Thanks
Logged
flexy
flexdeveloper.eu
Guru/Addict FD
*****
Posts: 3,155


Recovering Coffee Addict & Adobe Expert


WWW
« Reply #3 on: 10 Feb 2010, 10:04:41 UTC »

So you're getting an internal server error, implying one of your scripts is barfing. I doubt this is an issue with HTTP.sys now, as the response code would be 400 or 406.
Logged

Pages: [1] Print
« previous next »
Share this on: Twitter Twitter Del.icio.us del.icio.us Digg Digg
Jump to:

©2006-2010 Flexdeveloper.eu/Jodie O'Rourke. All rights reserved.
Adobe®, Adobe® Flash™, Adobe® AIR™ and Adobe® Flex™ are registered trademarks of Adobe Systems Incorporated in the United States and other countries. All rights reserved.

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC