FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in

Applescript Error SQLGrinder got an error: NSInternalScriptE

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Advenio Support Forum Index -> SQLGrinder Discussion
View previous topic :: View next topic  
Author Message
frankcorrigan



Joined: 14 Aug 2006
Posts: 4

PostPosted: Wed Nov 08, 2006 12:55 pm    Post subject: Applescript Error SQLGrinder got an error: NSInternalScriptE Reply with quote

I'm using SQL Grinder 2.03 to connect to a MS SQL database. In Applescript I am running this command:
execute sql with text theStatement using "connection_name" delimiter ","

If the query I use has a result I get bake the result correctly but if I run a query that does not have a result I get back an Applescript error:

"SQLGrinder got an error: NSInternalScriptError"

instead of just ""

Also, If I get the error then all other query return the same error until I restart SQLGrinder.

Is this a bug? I need to know if my query result was just empty or it really was an error.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Lloyd



Joined: 10 Apr 2006
Posts: 10

PostPosted: Tue Mar 06, 2007 4:37 pm    Post subject: Reply with quote

Frank,

This is a known bug that has been around for a few versions. It would be nice to have it fixed alone with being able to use stored procedures in MS SQL in AppleScript.

In my routine, if I get that error, I automatically restart sql Grinder so that the next query gets executed.

I think there is a sample of the function I use list in the archive further down.

Lloyd
Back to top
View user's profile Send private message
michaeldupuis
Site Admin


Joined: 15 May 2003
Posts: 1427
Location: Lewiston, ME

PostPosted: Wed Mar 07, 2007 2:24 pm    Post subject: Reply with quote

This should have been fixed in the latest version, which is 2.0.4. If it's still a problem, please report it to support, using the "Send Feedback" menu item in the application Help menu.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Advenio Support Forum Index -> SQLGrinder Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group