Hi, I am new to SQL server, ASP.NET, and FLEX, and I am trying to
integrate FLEX with ASP.NET. I have SQL server 2005 on my Windows
Vista system. I was following a tutorial for this subject, creating a
new web application project based on ASP.NET development server.(port:
3000) After I established a connection with my database table as the
following step:
Data> Create Application from Database> New> simple SQL server
connection> connection was successful
flex automatically generated a *.mxml file with the name of
application matches the name of database table.(There are also some
*.as, *.cs, *.asmx, and Web.config file generated.) Everything went
right until I ran this automatically-generated file to test the
database connection, it alerted an error message "An unexpected error
occurred and has been logged." I checked the actionscript file with
the following code, but still couldn't get any idea.
--
/**
* fault handler for this connection
*
* @param e FaultEvent the error object
*/
public function faultHandler(e:FaultEvent):void
{
Alert.show("An unexpected error occurred and has been logged.");
}
--
There were columns with correct name but no data contents when the
alert message had been closed. When I browsed to my *.asmx file to the
web browser, HTTP 500 error message displayed every time I clicked the
invoke button. But other pages seemed fine and service description
displayed data in XML format.
Does anyone know which could be the problem?
Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---