{"id":11062,"date":"2015-10-09T10:57:32","date_gmt":"2015-10-09T10:57:32","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=11062"},"modified":"2015-10-09T10:57:32","modified_gmt":"2015-10-09T10:57:32","slug":"troubleshooting-sage-crms-customized-data-upload-routine-issue","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/","title":{"rendered":"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue"},"content":{"rendered":"<p style=\"text-align: justify;\">As we all are familiar, <a href=\"http:\/\/www.sagesoftware.co.in\/product-sage-crm\" target=\"_blank\" rel=\"noopener\">Sage CRM<\/a> has provided the facility to create multiple Primary and\u00a0Secondary entities to maintain data in system either by making data entries manually or by \u00a0uploading large number of records at a time. <a href=\"http:\/\/www.sagesoftware.co.in\/product-sage-crm\" target=\"_blank\" rel=\"noopener\">Sage CRM<\/a>\u2019s flexibility has helped the users to not only use the data upload routine for standard primary entities but also design and incorporate customized routine within CRM which would work for secondary entities. In below article, I will share one of my experience where the customized upload routine threw unpredicted issues.<\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #993300;\"><em><strong>New Stuff:\u00a0<\/strong><\/em><span style=\"color: #000000;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/07\/working-with-integrated-quotes-and-orders-screen\/\" target=\"_blank\">Working with integrated Quotes and Orders screen<\/a><\/span><\/span><\/p>\n<p style=\"text-align: justify;\">Recently for one of our clients, I had designed a custom data upload routine with the help of .NET API, Microsoft interop DLL etc. It worked well on the development machine however threw issues on another machine as listed below &#8211;<\/p>\n<p><strong><em>1. System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)<\/em><\/strong><br \/>\n<strong> <em>2. Microsoft.Office.Interop.Excel.Workbooks.Open exception<\/em><\/strong><\/p>\n<p style=\"text-align: justify;\">On analyzing above issue we came to know that, these issues were related to the application rights and other related configurations. On troubleshooting, we were able to resolve these issues by following below given steps.<\/p>\n<p style=\"text-align: justify;\">1. Go To <strong>Start<\/strong> | <strong>RUN<\/strong><br \/>\n2. Enter <strong>Dcomcnfg<\/strong> and click ok button<br \/>\n3. From the left panel select <strong>Computer | My Computer | DCOM Config<\/strong><\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-11065\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg\" alt=\"image1\" width=\"627\" height=\"391\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">4. Right click on <strong>Microsoft excel application<\/strong> option.<br \/>\n5. Select Properties option from list<br \/>\n6. Go to <strong>Security<\/strong> tab, click on Customize option and provide user access rights to System, Interactive user, Network, and Everyone users as shown below.<\/p>\n<p>\u00a0<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image2.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-11066\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image2.jpg\" alt=\"image2\" width=\"526\" height=\"511\" \/><\/a><br \/>\n7. Test if the excel is working properly. &#8220;Run&#8230;&#8221; type &#8220;excel.exe \/safe&#8221; &#8211; Enter, and &#8220;excel.exe \/automation&#8221; &#8211; Enter &#8230; if both open the excel, the application should work<br \/>\n8. Create directory <strong>C:\\Windows\\SysWOW64\\config\\systemprofile\\Desktop<\/strong> (for 64 bit Windows) or <strong>C:\\Windows\\System32\\config\\systemprofile\\Desktop<\/strong> (for 32 bit Windows)<br \/>\n9. Set Full control permissions for directory Desktop (for example, in Win7 and IIS 7 and DefaultAppPool set permissions for user &#8220;IIS AppPool\\DefaultAppPool&#8221;)<br \/>\n10. Open <strong>Inetmgr<\/strong> and Go to Application pool<br \/>\n11. Select <strong>Sage CRM<\/strong> application pool<br \/>\n12. Click on Advance setting button<br \/>\n13. Set <strong>Local System<\/strong> option in identity field.<br \/>\n14. Perform <strong>IISRESET<\/strong><br \/>\n<span style=\"color: #993300;\"><em><strong>Also Read:<\/strong><\/em><\/span><br \/>\n<strong>1.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/09\/05\/data-upload-using-deduplication-part-2\/\" target=\"_blank\">Data Upload using Deduplication \u2013 Part 2<\/a><br \/>\n<strong>2.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/12\/30\/sage-crm-file-upload-limitation-setting\/\" target=\"_blank\">Sage CRM File Upload Limitation setting<\/a><br \/>\n<strong>3.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2013\/07\/20\/data-upload-using-deduplication\/\" target=\"_blank\">Data Upload using Deduplication<\/a><br \/>\n<strong>4.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2013\/04\/23\/document-upload-notification-in-sage-crm\/\" target=\"_blank\">Document Upload Notification in Sage CRM<\/a><br \/>\n<strong>5.<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/01\/30\/document-upload-link-from-other-entity-lists\/\" target=\"_blank\">Document upload link from other entity lists<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we all are familiar, Sage CRM has provided the facility to create multiple Primary and\u00a0Secondary entities to maintain data in system either by making data entries manually or by \u00a0uploading large number of records at a time. Sage CRM\u2019s flexibility has helped the users to not only use the data upload routine for standard\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,42,73,92,98,101,106,138,152,182,184,284,332,356,1,413],"tags":[899,929,930,1443,1444,1948,2515],"class_list":["post-11062","post","type-post","status-publish","format-standard","hentry","category-32-bit","category-64-bit","category-bulk","category-configuration","category-custom-entity","category-customization","category-data-upload","category-dcom","category-error","category-feature","category-iisreset","category-import-sage-crm","category-permissions","category-sage-crm","category-security","category-uncategorized","category-upload","tag-customized-data-upload-issue","tag-dcom-2","tag-dcom-config","tag-interop-dll","tag-interop-dll-issue","tag-rights","tag-upload-issue"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue - Sage CRM \u2013 Tips, Tricks and Components<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"As we all are familiar, Sage CRM has provided the facility to create multiple Primary and\u00a0Secondary entities to maintain data in system either by making data entries manually or by \u00a0uploading large number of records at a time. Sage CRM\u2019s flexibility has helped the users to not only use the data upload routine for standard\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-09T10:57:32+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg\" \/>\n<meta name=\"author\" content=\"greysagecrm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greysagecrm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/\",\"name\":\"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg\",\"datePublished\":\"2015-10-09T10:57:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#primaryimage\",\"url\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg\",\"contentUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\",\"name\":\"Sage CRM \u2013 Tips, Tricks and Components\",\"description\":\"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\",\"name\":\"greysagecrm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"greysagecrm\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue - Sage CRM \u2013 Tips, Tricks and Components","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/","og_locale":"en_US","og_type":"article","og_title":"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue - Sage CRM \u2013 Tips, Tricks and Components","og_description":"As we all are familiar, Sage CRM has provided the facility to create multiple Primary and\u00a0Secondary entities to maintain data in system either by making data entries manually or by \u00a0uploading large number of records at a time. Sage CRM\u2019s flexibility has helped the users to not only use the data upload routine for standard\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2015-10-09T10:57:32+00:00","og_image":[{"url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg","type":"","width":"","height":""}],"author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/","name":"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#primaryimage"},"thumbnailUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg","datePublished":"2015-10-09T10:57:32+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#primaryimage","url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg","contentUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/10\/image1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/10\/09\/troubleshooting-sage-crms-customized-data-upload-routine-issue\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting Sage CRM\u2019s Customized Data Upload Routine Issue"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/","name":"Sage CRM \u2013 Tips, Tricks and Components","description":"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f","name":"greysagecrm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"greysagecrm"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/11062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=11062"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/11062\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=11062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=11062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=11062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}