header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Bhagyashree
Points:0
Posts:0

8/10/2011 11:30:20 PM

Title: Error #3109: Operation is not permitted when the SQLStatement.sqlConnection property is not set.


Hi,
I am developing the air application in which i want to access the data from the remote database and store it into local database of the application.I am getting the Error #3109: Operation is not permitted when the SQLStatement.connection property is not set. anybody know what is this.i am new to air.
How can i do that please help i don't have any idea about it.

Thank you



1
Shawn
Points: 680
Posts:0
8/21/2011 8:54:35 AM



the error is caused when sqlConnection property is not set to a working sql Connection. See the code below to create a SQlite connection in adobe AIR appliction using actionscript 3.


var database_file:File = File.applicationStorageDirectory.resolvePath("myDb.db"); 
var myConn:SQLConnection = new SQLConnection();
myConn.open(database_file);
var SQLstat:SQLStatement = new SQLStatement();
SQLstat.sqlConnection = myConn; 


2
Justin
Points: 600
Posts:0
8/21/2011 8:59:06 AM



your SQLstat.sqlConnection object is neither not set or is null means the db file does not exist


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions