dbTalk Databases Forums  

Executing the query failed

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Executing the query failed in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
GSwan
 
Posts: n/a

Default Executing the query failed - 10-19-2006 , 09:55 AM






Hi all,

I have been looking at deploying an SSIS package which is called by a web
service. I have had to reconfigure the package so that all connections use
windows authentication. This windows account will be the one used by the
application pool which calls the web service. On my development machine i
have the package running with no problems what so ever.

When i deploy it to a test server which also has SQL 2005, and the web
service installed i get errors in my log files. The error is as follows:

Executing the query "Set ? = (select max(URC_ID) AS URC_ID FROM
VIEW_A1021_URC
WHERE SerialNumber = ?)
" failed with the following error: "Syntax error, permission violation, or
other nonspecific error". Possible failure reasons: Problems with the query,
"ResultSet" property not set correctly, parameters not set correctly, or
connection not established correctly.

This as i mentioned previously works on the development machine and the user
rights should be set identically on both SQL server instance.

Can anyone suggest why this may be failing. It always seems taht i get 95%
of apps down with no problems then the last 5% takes days to find a solution
to. I'm assuming that it can be done.

All help greatly recieved.
Thanks in advance,

Grant



Reply With Quote
  #2  
Old   
GSwan
 
Posts: n/a

Default RE: Executing the query failed - 10-19-2006 , 11:06 AM






I have the package now working when i execute it from SQL server management
studio. Once i runit from the web service however it processes once and deals
with one folder. Upon reaching the same query the second time round it fails
with the smae error message. This just gets stranger and stranger.

"GSwan" wrote:

Quote:
Hi all,

I have been looking at deploying an SSIS package which is called by a web
service. I have had to reconfigure the package so that all connections use
windows authentication. This windows account will be the one used by the
application pool which calls the web service. On my development machine i
have the package running with no problems what so ever.

When i deploy it to a test server which also has SQL 2005, and the web
service installed i get errors in my log files. The error is as follows:

Executing the query "Set ? = (select max(URC_ID) AS URC_ID FROM
VIEW_A1021_URC
WHERE SerialNumber = ?)
" failed with the following error: "Syntax error, permission violation, or
other nonspecific error". Possible failure reasons: Problems with the query,
"ResultSet" property not set correctly, parameters not set correctly, or
connection not established correctly.

This as i mentioned previously works on the development machine and the user
rights should be set identically on both SQL server instance.

Can anyone suggest why this may be failing. It always seems taht i get 95%
of apps down with no problems then the last 5% takes days to find a solution
to. I'm assuming that it can be done.

All help greatly recieved.
Thanks in advance,

Grant



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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.