Galera,
Boa Tarde,
Fiz um backup da aplicação para trocar de máquina e quando fui importar o projeto da o seguinte erro:
INSERT INTO sc_tbapl (Cod_Prj, Versao, Cod_Apl, Login, Folder, Data_Uacc, Hora_Uacc, usa_seguranca, SchemaAll, Variaveis, Xml_Procedure, Attr1, Attr2, Attr3, Attr4) VALUES ('SYSRAC', 2, 'grid_investigativo_utilizacao_dia_2', 'admin', 'root/Monitoramento/InvestigativoBE', '20110129', '205717', 'S', 'scriptcase__NM__ScriptCase5_Green', 'a:1:{s:4:"vars";a:0:{}}', 'a:0:{}', 'a:275:{s:7:"app_ver";s:5:"1.0.0";s:7:"atalhos";s:0:"";s:8:"botao_ok";s:1:"S";s:10:"botao_sair";s:1:"S";s:12:"busca_iframe";s:1:"N";s:13:"busca_tamanho";s:4:"1500";s:11:"busca_vazia";s:1:"N";s:12:"cab_img_path";s:0:"";s:14:"conf_order_usr";s:1:"N";s:15:"conf_order_intg";s:2:"FR";s:14:"csv_botao_abre";s:1:"N";s:14:"csv_sep_coluna";s:1:"1";s:13:"csv_sep_linha";s:1:"1";s:13:"csv_sep_texto";s:1:"1";s:13:"csv_add_label";s:1:"N";s:5:"debug";s:1:"N";s:7:"deleted";s:1:"N";s:8:"doc_path";s:0:"";s:11:"estado_form";s:1:"S";s:12:"filtro_exibe";s:1:"N";s:11:"form_onload";s:0:"";s:13:"form_onsubmit";s:0:"";s:13:"form_sqlorder";s:0:"";s:14:"form_sqlselect";s:0:"";s:13:"form_sqlwhere";s:0:"";s:12:"formato_vars";s:0:"";s:12:"graf_nov_pag";s:1:"N";s:20:"graf_subtitle_height";s:0:"";s:13:"graf_qdt_cols";s:0:"";s:13:"graf_only_res";s:1:"N";s:11:"graf_margin";s:0:"";s:10:"graf_align";s:4:"left";s:11:"graf_valign";s:3:"top";s:14:"graf_antes_res";s:1:"N";s:13:"graf_user_def";s:1:"S";s:10:"help_bloco";s:1:"N";s:10:"help_geral";s:1:"N";s:11:"inc_retorna";s:1:"N";s:14:"largura_filtro";s:1:"0";s:22:"largura_unidade_filtro";s:2:"AT";s:14:"liga_cabecalho";s:1:"N";s:10:"liga_forca";s:1:"N";s:11:"liga_insert";s:1:"R";s:12:"liga_largura";s:3:"350";s:12:"liga_posicao";s:1:"B";s:12:"liga_tamanho";s:3:"700";s:14:"liga_url_saida";s:0:"";s:16:"liga_form_insert";s:1:"S";s:16:"liga_form_update";s:1:"S";s:16:"liga_form_delete";s:1:"S";s:17:"liga_form_btn_nav";s:1:"S";s:14:"liga_form_edit";s:1:"S";s:10:"lin_codigo";s:1:"0";s:12:"margem_app_l";s:0:"";s:12:"margem_app_r";s:0:"";s:12:"margem_app_t";s:0:"";s:12:"margem_app_b";s:0:"";s:12:"msg_rs_color";s:7:"#000000";s:11:"msg_rs_face";s:0:"";s:11:"msg_rs_flag";s:1:"N";s:11:"msg_rs_size";s:2:"12";s:12:"msg_rs_vazio";s:0:"";s:11:"pag_a_color";s:0:"";s:13:"pag_a_bgcolor";s:0:"";s:11:"pag_d_color";s:0:"";s:13:"pag_d_bgcolor";s:0:"";s:8:"pag_face";s:0:"";s:8:"pag_size";s:0:"";s:12:"pdf_bookmark";s:1:"S";s:12:"pdf_comp_rod";s:1:"S";s:9:"pdf_fonte";s:0:"";s:14:"pdf_fonte_name";s:0:"";s:14:"pdf_fonte_size";s:2:"12";s:15:"pdf_fonte_color";s:7:"#000000";s:15:"pdf_fonte_style";s:0:"";s:12:"pdf_use_code";s:1:"N";s:17:"pdf_use_code_head";s:1:"N";s:17:"pdf_use_code_body";s:1:"N";s:17:"pdf_use_code_foot";s:1:"N";s:8:"pdf_graf";s:1:"S";s:11:"pdf_largura";s:3:"800";s:14:"pdf_line_pages";s:6:"SIMPLE";s:13:"pdf_marge_top";s:0:"";s:13:"pdf_marge_bot";s:0:"";s:15:"pdf_marge_right";s:0:"";s:14:"pdf_marge_left";s:0:"";s:13:"pdf_resolucao";s:1:"N";s:12:"pdf_user_def";s:1:"N";s:14:"pdf_permit_imp";s:1:"S";s:14:"pdf_permit_mod";s:1:"S";s:18:"pdf_formato_height";s:1:"0";s:17:"pdf_formato_width";s:1:"0";s:12:"pdf_unid_med";s:2:"mm";s:12:"pdf_dest_doc";s:1:"I";s:13:"pdf_dest_path";s:0:"";s:12:"pdf_qtd_page";s:1:"1";s:16:"pdf_page_tot_reg";s:1:"N";s:15:"pdf_print_regua";s:1:"N";s:8:"pdf_type";s:1:"2";s:15:"pdf_height_line";s:1:"0";s:14:"pdf_height_ini";s:1:"0";s:10:"quebra_reg";s:0:"";s:10:"quebra_sep";s:4:" => ";s:13:"quebra_titulo";s:1:"N";s:14:"redir_edit_ins";s:1:"S";s:14:"redir_edit_upd";s:1:"S";s:13:"redir_msg_ins";s:0:"";s:13:"redir_msg_upd";s:0:"";s:10:"redir_sair";s:1:"N";s:12:"refresh_time";s:1:"0";s:8:"res_tipo";s:1:"1";s:12:"resumo_ordem";s:1:"E";s:14:"resumo_quebras";s:0:"";s:11:"rod_bgcolor";s:0:"";s:9:"rod_color";s:0:"";s:8:"rod_face";s:0:"";s:12:"rod_grid_usa";s:1:"N";s:12:"rod_grid_var";s:0:"";s:14:"rod_filter_usa";s:1:"N";s:14:"rod_filter_var";s:0:"";s:15:"rod_summary_usa";s:1:"N";s:15:"rod_summary_var";s:0:"";s:9:"rod_image";s:0:"";s:8:"rod_size";s:0:"";s:14:"rtf_botao_abre";s:1:"N";s:12:"saida_fechar";s:1:"N";s:10:"sel_column";s:1:"N";s:11:"sql_prepare";s:0:"";s:13:"tot_lin_unica";s:1:"S";s:14:"tot_horizontal";s:1:"S";s:12:"tot_vertical";s:1:"S";s:9:"usa_senha";s:0:"";s:12:"vert_inc_lin";s:2:"10";s:14:"xls_botao_abre";s:1:"N";s:11:"align_app_h";s:6:"center";s:14:"phtml_modo_imp";s:2:"AM";s:14:"phtml_tipo_imp";s:2:"AM";s:16:"phtml_num_linhas";s:1:"0";s:24:"pdf_resumo_linhas_pagina";s:1:"0";s:26:"phtml_resumo_linhas_pagina";s:1:"0";s:15:"detalhe_largura";s:1:"0";s:15:"detalhe_unidade";s:2:"AT";s:14:"resumo_largura";s:1:"0";s:14:"resumo_unidade";s:2:"AT";s:9:"tipo_cons";s:7:"cns_htm";s:12:"pdf_tipo_imp";s:5:"ambos";s:13:"error_posicao";s:3:"top";s:16:"error_exibir_tit";s:1:"N";s:20:"error_exibir_tit_apl";s:1:"S";s:16:"error_msg_titulo";s:4:"ERRO";s:16:"tp_upd_form_mult";s:1:"S";s:15:"upload_max_size";s:0:"";s:13:"titulo_resumo";s:0:"";s:22:"quebra_exibir_treeview";s:1:"N";s:11:"subcons_pos";s:1:"M";s:13:"subcons_align";s:1:"E";s:16:"subcons_treeview";s:1:"N";s:11:"subcons_pdf";s:1:"S";s:17:"subcons_tit_linha";s:1:"N";s:21:"filter_case_sensitive";s:1:"S";s:20:"preserv_fields_order";s:1:"S";s:14:"macro_sc_image";s:0:"";s:11:"sql_timeout";s:1:"0";s:12:"webhelp_file";s:0:"";s:11:"graf_option";s:1:"1";s:18:"pdf_background_img";s:0:"";s:20:"pdf_background_width";s:1:"0";s:21:"pdf_background_height";s:1:"0";s:19:"pdf_background_posx";s:1:"0";s:19:"pdf_background_posy";s:1:"0";s:20:"pdf_background_print";s:1:"S";s:23:"error_timeout_msg_valid";s:1:"5";s:10:"unique_key";s:0:"";s:12:"graf_tp_graf";s:0:"";s:14:"graf_cor_fundo";s:0:"";s:15:"graf_cor_margem";s:0:"";s:15:"graf_cor_labels";s:0:"";s:13:"graf_cor_vals";s:0:"";s:14:"graf_preen_esp";s:1:"N";s:14:"graf_show_vals";s:1:"N";s:16:"graf_show_marcas";s:1:"N";s:14:"graf_tp_marcas";s:1:"Q";s:11:"graf_angulo";s:2:"45";s:11:"pdf_qtd_col";s:1:"1";s:12:"pdf_dist_col";s:1:"0";s:11:"pdf_alt_col";s:1:"0";s:16:"exib_output_ajax";s:1:"S";s:25:"flds_resume_igual_totcons";s:1:"S";s:18:"label_func_tot_sum";s:0:"";s:18:"label_func_tot_avg";s:0:"";s:18:"label_func_tot_max";s:0:"";s:18:"label_func_tot_min";s:0:"";s:18:"order_fld_tot_cons";b:0;s:17:"order_fld_tot_res";b:0;s:19:"resumo_formato_graf";s:5:"flash";s:13:"graf_tp_flash";s:0:"";s:23:"barra_pos_botoes_bottom";s:1:"3";s:24:"barra_pos_botoes_fil_top";s:1:"3";s:27:"barra_pos_botoes_fil_bottom";s:1:"3";s:22:"fld_mandatory_pos_mark";s:5:"right";s:22:"fld_mandatory_exib_msg";s:1:"N";s:17:"usar_lang_session";s:1:"S";s:14:"titulo_qtd_res";s:16:"{lang_othr_rows}";s:12:"captcha_usar";s:1:"N";s:16:"captcha_qtd_char";s:1:"4";s:17:"captcha_list_char";s:35:"ABCDEFGHIJKLMNOPRSTUVWXYZ0123456789";s:17:"captcha_msg_label";s:21:"{lang_othr_cptc_lbel}";s:16:"captcha_msg_erro";s:21:"{lang_othr_cptc_errm}";s:18:"captcha_img_height";s:2:"45";s:17:"captcha_img_width";s:3:"175";s:15:"captcha_refresh";s:1:"N";s:11:"captcha_pos";s:1:"1";s:17:"captcha_font_size";s:2:"20";s:13:"title_box_msg";s:30:"{lang_usr_lang_othr_msgs_titl}";s:21:"flsh_chrt_barra_orien";s:8:"Vertical";s:21:"flsh_chrt_barra_forma";s:3:"Bar";s:21:"flsh_chrt_barra_dimen";s:2:"2d";s:21:"flsh_chrt_barra_sobre";s:2:"No";s:21:"flsh_chrt_barra_empil";s:3:"Off";s:21:"flsh_chrt_barra_inver";s:6:"Normal";s:21:"flsh_chrt_barra_agrup";s:6:"Normal";s:21:"flsh_chrt_pizza_forma";s:3:"Pie";s:21:"flsh_chrt_pizza_dimen";s:2:"2d";s:21:"flsh_chrt_pizza_orden";s:3:"Off";s:21:"flsh_chrt_pizza_explo";s:3:"Off";s:21:"flsh_chrt_pizza_valor";s:5:"Valor";s:21:"flsh_chrt_linha_forma";s:4:"Line";s:21:"flsh_chrt_linha_inver";s:6:"Normal";s:21:"flsh_chrt_linha_agrup";s:6:"Normal";s:20:"flsh_chrt_area_forma";s:4:"Area";s:20:"flsh_chrt_area_empil";s:3:"Off";s:20:"flsh_chrt_area_inver";s:6:"Normal";s:20:"flsh_chrt_area_agrup";s:6:"Normal";s:21:"flsh_chrt_marca_inver";s:6:"Normal";s:15:"cab_summary_usa";s:1:"S";s:15:"cab_summary_tit";s:0:"";s:15:"cab_summary_var";s:0:"";s:19:"usar_schema_session";s:1:"S";s:17:"search_modal_show";s:1:"N";s:19:"search_modal_height";s:1:"0";s:18:"search_modal_width";s:1:"0";s:16:"change_tab_enter";s:1:"N";s:14:"total_line_msg";s:16:"{lang_msgs_totl}";s:12:"modules_cons";s:4:"cons";s:21:"timeout_msg_form_ajax";s:1:"2";s:18:"imp_background_pdf";s:1:"S";s:19:"imp_background_html";s:1:"S";s:14:"graf_order_val";s:0:"";s:18:"graf_size_font_val";s:0:"";s:19:"ord_fld_tot_res_reg";b:0;s:19:"ord_fld_tot_res_def";s:0:"";s:20:"ord_fld_tot_res_type";s:0:"";s:21:"ord_fld_tot_res_start";s:1:"1";s:17:"list_fld_calendar";b:0;s:21:"calendar_iframe_width";s:1:"0";s:22:"calendar_iframe_height";s:1:"0";s:26:"flsh_chrt_show_eixo_y_zero";s:1:"N";s:19:"eixo_graf_tot_geral";s:1:"C";s:18:"quicksearch_fields";b:0;s:20:"quicksearch_criteria";b:0;s:10:"sc_version";s:0:"";s:14:"prop_fld_group";b:0;s:19:"auto_tab_size_limit";s:1:"N";s:17:"sel_text_on_focus";s:1:"N";s:21:"error_focus_first_fld";s:1:"N";s:17:"field_start_focus";s:0:"";s:15:"checked_all_chk";s:1:"S";s:12:"gantt_output";s:0:"";s:11:"gantt_label";s:0:"";s:11:"gantt_start";s:0:"";s:9:"gantt_end";s:0:"";s:13:"graf_qtd_cols";s:0:"";s:21:"flsh_chrt_marca_agrup";s:0:"";s:11:"page_or_seq";s:3:"seq";s:11:"numpagesseq";i:10;}', 'a:12:{s:6:"blocos";a:0:{}s:13:"blocos_filter";a:0:{}s:6:"botoes";a:0:{}s:12:"botoes_ordem";a:0:{}s:17:"botoes_ord_filter";a:0:{}s:13:"botoes_resume";a:0:{}s:7:"paginas";a:1:{i:0;a:4:{s:4:"nome";s:4:"Pag1";s:6:"titulo";s:4:"Pag1";s:5:"icone";s:0:"";s:6:"blocos";a:0:{}}}s:14:"paginas_filter";a:1:{i:0;a:4:{s:4:"nome";s:4:"Pag1";s:6:"titulo";s:4:"Pag1";s:5:"icone";s:0:"";s:6:"blocos";a:0:{}}}s:7:"quebras";a:0:{}s:12:"rules_orders";a:0:{}s:13:"botoes_filtro";a:0:{}s:10:"layout_pdf";a:0:{}}', 'a:19:{s:20:"libraries_scriptcase";a:0:{}s:13:"libraries_sys";a:0:{}s:13:"libraries_prj";a:0:{}s:13:"libraries_usr";a:0:{}s:10:"attributes";a:0:{}s:8:"ligacoes";a:0:{}s:15:"tot_fields_cons";a:0:{}s:14:"tot_fields_res";a:0:{}s:8:"toolbars";a:10:{s:4:"flag";s:1:"N";s:8:"top_left";a:0:{}s:9:"top_right";a:0:{}s:10:"top_center";a:0:{}s:11:"bottom_left";a:0:{}s:12:"bottom_right";a:0:{}s:13:"bottom_center";a:0:{}s:7:"atalhos";a:0:{}s:6:"labels";a:0:{}s:5:"hints";a:0:{}}s:15:"toolbars_filter";a:10:{s:4:"flag";s:1:"N";s:8:"top_left";a:0:{}s:9:"top_right";a:0:{}s:10:"top_center";a:0:{}s:11:"bottom_left";a:0:{}s:12:"bottom_right";a:0:{}s:13:"bottom_center";a:0:{}s:7:"atalhos";a:0:{}s:6:"labels";a:0:{}s:5:"hints";a:0:{}}s:10:"containers";a:0:{}s:12:"group_labels";a:0:{}s:19:"group_labels_resume";a:0:{}s:13:"layout_resume";a:0:{}s:12:"layout_total";a:0:{}s:18:"config_graf_resume";a:0:{}s:19:"config_graf_res_tot";a:0:{}s:14:"dependency_new";a:0:{}s:25:"dependency_type_criticize";s:0:"";}', 'a:89:{s:9:"criargrid";N;s:9:"criaredit";N;s:11:"criarsearch";N;s:16:"gridlinhaspagina";N;s:22:"gridlinhaspaginanumero";i:0;s:18:"gridmostranumlinha";N;s:19:"gridmostracabecalho";N;s:10:"editavanca";N;s:11:"editretorna";N;s:10:"editinicio";N;s:9:"editfinal";N;s:8:"editnovo";N;s:11:"editincluir";N;s:11:"editalterar";N;s:11:"editexcluir";N;s:15:"searchbrancoall";N;s:10:"searchtipo";N;s:17:"urlsaidaaplicacao";N;s:15:"editformatohtml";N;s:16:"editformatoframe";N;s:12:"criardetalhe";N;s:11:"detalhetipo";N;s:10:"searchcond";N;s:10:"apliniciar";N;s:14:"gridorientacao";N;s:23:"gridcolunaspaginanumero";i:0;s:12:"gridpostotal";N;s:14:"gridpermiteqtd";N;s:13:"gridposquebra";N;s:14:"gridtotalafter";N;s:16:"gridcabecalhoini";N;s:16:"gridmostraresumo";N;s:13:"gridposresumo";N;s:8:"criarpdf";N;s:14:"barrapospagina";N;s:14:"barraposbotoes";N;s:8:"criarxml";N;s:8:"criarcsv";N;s:21:"criarhtmlvisualizacao";N;s:18:"criarhtmlimpressao";N;s:11:"cons_params";N;s:11:"form_params";N;s:14:"liga_aplicacao";N;s:11:"liga_campos";N;s:14:"cabecalho_pesq";N;s:11:"titulo_grid";N;s:11:"titulo_pesq";N;s:14:"titulo_detalhe";N;s:13:"titulo_insert";N;s:13:"titulo_update";N;s:14:"cabecalho_grid";N;s:14:"cabecalho_edit";N;s:17:"cabecalho_detalhe";N;s:12:"usa_distinct";N;s:12:"timeout_cons";i:0;s:12:"timeout_form";i:0;s:12:"quebra_forca";N;s:10:"js_formata";N;s:12:"resumo_count";N;s:10:"graf_count";N;s:11:"graf_altura";i:0;s:12:"graf_largura";i:0;s:9:"graf_tipo";i:0;s:9:"timestamp";N;s:11:"graf_margem";i:0;s:12:"graf_aspecto";N;s:11:"pdf_formato";i:0;s:14:"pdf_orientacao";N;s:8:"criardoc";N;s:10:"grupo_edit";N;s:14:"gridpermiteseq";N;s:17:"vert_total_coluna";N;s:11:"imagem_path";s:0:"";s:14:"exibir_sumario";N;s:13:"align_detalhe";N;s:15:"align_grid_vert";N;s:13:"criarpdfblack";N;s:10:"criarexcel";N;s:15:"exibir_erro_sql";N;s:18:"exibir_erro_script";N;s:13:"num_col_slide";i:0;s:17:"pdf_linhas_pagina";i:0;s:12:"redirect_url";N;s:12:"redirect_var";N;s:14:"tabela_unidade";s:0:"";s:14:"tabela_largura";s:0:"";s:17:"grid_colunas_usar";N;s:14:"pdf_botao_abre";N;s:14:"xml_botao_abre";N;}')
sc_tbapl.Tipo_Apl may not be NULL
Preciso resolver esse erro com urgência, alguém tem ideia de como resolver?
Leandro Auler