I submitted a post before that had not replies. I believe I was to vauge.
Problem. Just upgraded from SQL 2000 to 2005 and now endorsements do not print licenses when printing certificates.
Results. The data is sent to a word template and printed, but the endorsements (authorities) are not printed on the license in 2005. Works fine in 2000.
When I run the command interactively in Management Studio (obtained by a trace) in 2005 the following messages shows the following message: Again - no error message in 2000.
Any ideas on how to solve this?
Jim
Problem. Just upgraded from SQL 2000 to 2005 and now endorsements do not print licenses when printing certificates.
Code:
declare @P1 int set @P1=180150004 declare @P2 int set @P2=8 declare @P3 int set @P3=2 exec sp_cursoropen @cursor = @P1 output, @stmt = 'SELECT DISTINCT item_text, '' '' FROM lcps.t_license,lcps.t_assigned_authorities,lcps.c_s_itemval WHERE lcps.T_LICENSE.license_id= 123456 AND lcps.t_license.license_id=lcps.t_assigned_authorities.license_id AND lcps.t_assigned_authorities.authority_code=lcps.c_s_itemval.item_str_code AND lcps.c_s_itemval.language=''E'' AND lcps.c_s_itemval.profession_id in (0,1) AND item_type=''specialty code'' ORDER BY item_text, '' ''', @scrollopt = @P2 output, @ccopt = 4, @rows = @P3 output select @P1, @P2, @P3
Results. The data is sent to a word template and printed, but the endorsements (authorities) are not printed on the license in 2005. Works fine in 2000.
When I run the command interactively in Management Studio (obtained by a trace) in 2005 the following messages shows the following message: Again - no error message in 2000.
Code:
Msg 16966, Level 16, State 1, Procedure sp_cursoropen, Line 1
sp_cursoropen: Specified concurrency control option 4 (OPTIMISTIC) is incompatible with static or fast forward only cursors. Only read-only is compatible with static or fast forward only cursors.
Any ideas on how to solve this?
Jim