I've gone thru the process of modifying the "SOP Blank Packing Slip Form" on our development system and generating a new template. Now I'm trying to deploy it to another server and not having any success.
After exporting and importing the Package file the standard report works correctly.
When I try to import the template from Report Template Maintenance with the green + I get the error 'The template you selected cannot be added to this report'.
If I create a new template for the existing original template and click the Modify button I get the error
---------------------------
RUN APPLICATION ERROR
---------------------------
File Not Found:'C:\Users\ADMINI~1.WOR\AppData\Local\Temp\2\SOP Blank Packing Slip Form Template(1).docx'
---------------------------
I've printed the 'Standard' report to an XML file and can attach the XML to the template in Word so the Word Addin seems to be working.
I've tried uninstalling and reinstalling the add in with no change.
I also installed the Template Generator and generated a template from the XML file so it looks like the XML products are working.
The biggest difference between the two system is the development one is running Windows2003 and the production server is running Windows2008R2-64
My gut tells me this is a 32/64 bit issue but I don't like to think with my gut and even if it is, I need to find a solution.
I've use the DeBugger to log dexterity scripts on the two system during a 'Modify' operation here are the results ( difference in Italics ):
Failes on Prod system | 12:42:58 'TemplateMaintenance l_ModifyBtn_CHG on form syReportTemplateMaintenance' 12:42:58 'SetIndex_ID of form syReportTemplateObj', 2-0-0-1-1-0-2-2, 10002 12:42:58 'Get() of form syReportTemplateObj', 0, 1-0-0-1-1-0-1-1, 15 12:42:58 'Get() of form TableObj', 0, 1-0-0-1-1-0-1-1, table 'syReportTemplateMSTR', 15 12:42:58 'GetFileName() of form syReportTemplateObj', "", 1-0-0-1-1-0-2-2 12:42:58 'GetReportTemplateFile of form syReportTemplateObj', 10002, 0, 0, 0, 0, "C:\Users\ADMINI~1.WOR\AppData\Local\Temp\2\SOP Blank Packing Slip Form Template(1).docx" 12:42:58 'Create() of form syReportTemplateObj', 0, 0-0-0-0-0-0-0-0, table 'syReportTemplateMSTR', 10002, 0 12:42:58 'SetIndex_ID of form syReportTemplateObj', 0-0-0-1-1-0-1-1, 10002 12:42:58 'Get() of form syReportTemplateObj', 0, 1-0-0-1-1-0-1-1, 15 12:42:58 'Get() of form TableObj', 0, 1-0-0-1-1-0-1-1, table 'syReportTemplateMSTR', 15 12:42:58 'SQL_GetServerName_GPConn()', "" 12:42:58 'BlobStorage_ExtractToFile() of form Main Menu', 0, 10002, "Dynamics GP 2010", "DYNAMICS", "syReportTemplates", "C:\Users\ADMINI~1.WOR\AppData\Local\Temp\2\SOP Blank Packing Slip Form Template(1).docx" 12:42:58 'Dummy Window Execute Button_CHG on form Main Menu' 12:42:58 'Destroy of form syReportTemplateObj', 1-0-0-1-1-0-2-2 |
Works on Dev system | 12:48:04 'TemplateMaintenance l_ModifyBtn_CHG on form syReportTemplateMaintenance' 12:48:04 'SetIndex_ID of form syReportTemplateObj', 2-0-0-1-1-0-2-2, 10013 12:48:04 'Get() of form syReportTemplateObj', 0, 1-0-0-1-1-0-1-1, 15 12:48:04 'Get() of form TableObj', 0, 1-0-0-1-1-0-1-1, table 'syReportTemplateMSTR', 15 12:48:05 'GetFileName() of form syReportTemplateObj', "", 1-0-0-1-1-0-2-2 12:48:05 'GetReportTemplateFile of form syReportTemplateObj', 10013, 0, 0, 0, 0, "C:\DOCUME~1\ADMINI~1.DYN\LOCALS~1\Temp\SOP BOL-TB-1.docx" 12:48:05 'Create() of form syReportTemplateObj', 0, 0-0-0-0-0-0-0-0, table 'syReportTemplateMSTR', 10013, 0 12:48:05 'SetIndex_ID of form syReportTemplateObj', 0-0-0-1-1-0-1-1, 10013 12:48:05 'Get() of form syReportTemplateObj', 0, 1-0-0-1-1-0-1-1, 15 12:48:05 'Get() of form TableObj', 0, 1-0-0-1-1-0-1-1, table 'syReportTemplateMSTR', 15 12:48:05 'SQL_GetServerName_GPConn()', "" 12:48:05 'BlobStorage_ExtractToFile() of form Main Menu', 0, 10013, "Gp2010", "DYNAMICS", "syReportTemplates", "C:\DOCUME~1\ADMINI~1.DYN\LOCALS~1\Temp\SOP BOL-TB-1.docx" 12:48:05 'Dummy Window Execute Button_CHG on form Main Menu' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 '[0]' 12:48:05 'Destroy of form syReportTemplateObj', 1-0-0-1-1-0-2-2 |
Anybody know where to look? What to do?
*This post is locked for comments