Adobe Dreamweaver Forums



Last 10 THreads :         FireFox displaying Search interface incorrectly (Last Post : kdeuler - Replies : 0 - Views : 1 )           »          Flash Will NOT Install - Tech Note 19166 Didn't Work (Last Post : twitterpated - Replies : 0 - Views : 1 )           »          Adobe Flash 10 kills Wimpy (Last Post : ClubEXL.com - Replies : 33 - Views : 208 )           »          Disabling flash display in Air HTML Component (Last Post : ReisenderJosh - Replies : 0 - Views : 1 )           »          repeated javascript function on same page (Last Post : aonefun - Replies : 0 - Views : 1 )           »          Live stream player (Last Post : noobie_here - Replies : 0 - Views : 1 )           »          cfloop within a cfif tag (Last Post : Azadi - Replies : 2 - Views : 3 )           »          Making constraints on a symbol... (Last Post : sirkibble2 - Replies : 0 - Views : 1 )           »          Creating a boundry in the stage... (Last Post : fazstp - Replies : 2 - Views : 3 )           »          Director or Flash? (Last Post : Sean Wilson - Replies : 1 - Views : 2 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 09-03-2008, 12:49 AM
Peter Stelman
 
Posts: n/a
Diggs:
Default Can't connect to SQL Server with Flex wizard

Hi. This is my first question about working with Flex. I just started
experimenting with it, and I'm pretty excited over it.

I'm trying to create a little form and populate it with data from a SQL Server
database via ASP.NET. I created a project in Flex Builder 3 Pro, chose Desktop
application (runs in Adobe AIR), and selected Application server type ASP.NET.
On the next page, I selected "Use ASP.NET Development Server", since I just
want to test it on my desktop. After creating the project, I go to the Data
menu and select "Create Application from Database". I select my project, and
then click "New" on the data source page to create the connection to the data.
I give my new connection a name, and click next. I enter my server name,
database name, and login info. When I click Test Connection, I get an error
"Unable to connect to database". I click Details, and the info starts with
java.sql.SQLException... Connection refused. Then it traces through a zillion
details.

I have tested this connection in SQL Server and Visual Studio 2005, so I know
the connection information is valid. I have never tried connecting through
anything that uses Java before. Is there some configuration issue I am missing?
Is there some way I can troubleshoot the connection problem? I don't know much
about Java.

Are there any step-by-step examples out there of connecting to a SQL Server
database (or other database) via ASP.NET from a Flex project? This is all new
to me (I'm a .NET developer).

My ultimate goal is to replace the web-based front end of a .NET application
with an AIR-based front end.

BTW, I have Visual Studio 2005 Pro and SQL Server 2005 Developer installed on
my workstation.

Thanks for any help.

Peter





Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-18-2008, 01:50 PM
dgss dgss is offline
Junior Member
 
Join Date: Nov 2008
Posts: 1
Diggs: 0
Default Me Too

hi can you solve this problem?

i have this problem too, i can connect sql express 2005 db if my project is a flex project by using "create application from database" wizard. but there is a problem when i create a project as an air application that i cannot connect database .it says a problem occur ?!)(+^/&+') anyway if you find a solution for this please share it with me, or if i can find sth. about this issue i will share it with you

Reply With Quote
  #3 (permalink)  
Old 11-24-2008, 03:28 AM
deuce4 deuce4 is offline
Junior Member
 
Join Date: Nov 2008
Posts: 1
Diggs: 0
Default yes, any answers

Yes, I have the same question. I hope this isn't another dead end of functionality offered, but not delivered. The other one: The automated actionscipt classes that are generated for a web service don't work for datasets, but only in a distant bug list is this acknowledged (with an obtuse workaround that doesn't work).
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 02:48 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk