‘win32 error. code: 1. incorrect function’ is one of the most forbidding error found in Sage CRM 7.x history under Reports section. It is usually found when you try to extract any of the report from CRM in PDF format. Recently we encountered the same issue for one of our clients. However, We were lucky enough to get rid of it which is as explained below.
New Stuff: Create log file using .net API
While investigating this issue, I found various suggestions such as:
- Increasing the Desktop size limitation from CRM so that huge amount of data can be generated.
- Re-install Sage CRM, but only IIS Aliases.
- Re-installing/installing Java.
But the one which lead me to exact error definition was executing FOP.bat file from command line. Since we all know that FOP is called via a batch file (FOP.bat) and this in turn calls the Java application that reads a formatting object (FO) tree and renders the resulting pages to PDF. So on executing FOP.bat file from command prompt I faced the below error.
On examining the FOP.bat file I found an incorrect path that was referring to JRE folder.
We have replaced the path with one which referred to the JRE folder; located within the CRM’s services folder and gave an IISRESET.
And that was it, my report’s Export to PDF issue was resolved.
About Us
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.
Greytrix has some unique integration solutions for Sage CRM with Sage ERPs (Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100, Sage 500 and Sage 300).We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migrating of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature and Sage CRM CTI Framework.
Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage Enterprise Management – Sage CRM integration also listed on Sage Marketplace.
For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.
Pingback: Slot Joker เกมใหม่ โบนัสแตกโหด
Pingback: เว็บรวมเกมสล็อต
Pingback: ทางเข้าpg
Pingback: meal replacement shake