{"id":10419,"date":"2015-06-02T05:56:13","date_gmt":"2015-06-02T05:56:13","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=10419"},"modified":"2015-06-02T05:56:13","modified_gmt":"2015-06-02T05:56:13","slug":"wrapper-error-in-sage-crm-part-2","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/","title":{"rendered":"Wrapper error in Sage CRM \u2013 Part 2"},"content":{"rendered":"<p style=\"text-align: justify;\">As we all know <strong><em>\u201cSageCrmWrapper.dll\u201d<\/em><\/strong> is one of the most important dll used among most of the Sage CRM custom entities. We have already posted few blogs regarding wrapper and other .dll issues which occurs in Sage CRM. In today\u2019s blog, I will explain you one such scenario that was encountered during our recent implementation for one of our client.<\/p>\n<p style=\"text-align: justify;\"><strong><em><span style=\"color: #993300;\">New Stuff:<\/span>\u00a0<\/em><\/strong><a title=\"Sync Company Data from Sage CRM.com to Sage 50 (US) using GUMU&#x2122; link\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/05\/30\/sync-company-data-from-sage-crm-com-to-sage-50-us-using-gumu-link\/\" target=\"_blank\">Sync Company Data from Sage CRM.com to Sage 50 (US) using GUMU&#x2122; link<\/a><\/p>\n<p style=\"text-align: justify;\">We had installed Sage CRM on new server and everything was working perfectly except few customized pages where we used some classes of SageCrmWrapper.dll. It was giving error as \u201ccannot load type Sage.CRM.Wrapper\u201d. Below is the screenshot for the same.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter  wp-image-10420\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg\" alt=\"Sceenshot1\" width=\"1578\" height=\"338\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">After debugging this issue, we came to know that it was occurring due to improper registration of SageCrmWrapper.dll. Normally this dll gets registered during Sage CRM installation Process. Now to resolve this issue, you need to register this particular dll once again. You can refer below steps and screenshots for the same.<\/p>\n<p style=\"text-align: justify;\">Consider for an example, Sage CRM v7.2 is installed in D drive then you need to follow below steps to register Sage CRM .NET DLL\u2019s manually.<\/p>\n<p style=\"text-align: justify;\"><strong>1.<\/strong> Login to the Sage CRM server. Make sure you are using administrative account.<br \/>\n<strong>2.<\/strong> Start the command prompt.<br \/>\n<strong>3.<\/strong> Navigate to the path i.e. <em>D:\\Program Files\\Sage\\CRM\\CRMDotNet\\7.2\\. You will find SageCRMWrapper.dll<\/em> over there.<br \/>\n<strong>4.<\/strong> Now to register the same, run below command. Make sure that you enter correct name and file path. In our case it is, <em>D:\\Program Files\\Sage\\CRM\\CRMDotNet\\7.2&gt; regasm SageCRMWrapper.dll<\/em><br \/>\n<strong>5.<\/strong> After registration, a message will appear telling you registration was successful. Refer below screenshot.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot2.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-10421\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot2.jpg\" alt=\"Sceenshot2\" width=\"668\" height=\"330\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>6.<\/strong> Then you need to install the DLL into Global Assembly cache (GAC). You can do the same by executing the following command, <em>D:\\Program Files\\Sage\\CRM\\CRMDotNet\\7.2&gt; gacutil -i SageCRMWrapper.dll<\/em><\/p>\n<p style=\"text-align: justify;\"><strong>7.<\/strong> After registration, a message will appear <em>\u201cAssembly successfully added to the cache\u201d<\/em> Refer below screenshot.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot3.jpg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-10422\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot3.jpg\" alt=\"Sceenshot3\" width=\"670\" height=\"332\" \/><\/a><\/p>\n<p style=\"text-align: justify;\"><strong>8.<\/strong> Lastly run IISRESET command.<\/p>\n<p><span style=\"color: #993300;\"><em><strong>Also Read:<\/strong><\/em><\/span><br \/>\n<strong>1.<\/strong> <a title=\"Wrapper error in Sage CRM\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2013\/08\/20\/wrapper-error-in-sage-crm\/\" target=\"_blank\">Wrapper error in Sage CRM<\/a><br \/>\n<strong>2.<\/strong> <a title=\"Error On Relationships tab\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/04\/27\/error-on-relationships-tab\/\" target=\"_blank\">Error On Relationships tab<\/a><br \/>\n<strong>3.<\/strong> <a title=\"Dot Net Admin and DLL Security Levels\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/02\/05\/dot-net-admin-and-dll-security-levels\/\" target=\"_blank\">Dot Net Admin and DLL Security Levels<\/a><br \/>\n<strong>4.<\/strong> <a title=\"Backward compatibility for .NET API dlls from old version\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2012\/06\/16\/backward-compatibility-for-net-api-dlls-from-old-version\/\" target=\"_blank\">Backward compatibility for .NET API dlls from old version<\/a><br \/>\n<strong>5.<\/strong> <a title=\"Running VI Import in GUMU&#x2122; integrated system\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/05\/28\/running-vi-import-in-gumu-integrated-system\/\" target=\"_blank\">Running VI Import in GUMU&#x2122; integrated system<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we all know \u201cSageCrmWrapper.dll\u201d is one of the most important dll used among most of the Sage CRM custom entities. We have already posted few blogs regarding wrapper and other .dll issues which occurs in Sage CRM. In today\u2019s blog, I will explain you one such scenario that was encountered during our recent implementation\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/\">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":[120,138,332,337,1,439],"tags":[829,991,2615],"class_list":["post-10419","post","type-post","status-publish","format-standard","hentry","category-dll-error","category-error","category-sage-crm","category-sage-crm-7-2","category-uncategorized","category-wrapper","tag-crm-wrapper","tag-dll-registration","tag-wrapper-error"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Wrapper error in Sage CRM \u2013 Part 2 - 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\/06\/02\/wrapper-error-in-sage-crm-part-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Wrapper error in Sage CRM \u2013 Part 2 - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"As we all know \u201cSageCrmWrapper.dll\u201d is one of the most important dll used among most of the Sage CRM custom entities. We have already posted few blogs regarding wrapper and other .dll issues which occurs in Sage CRM. In today\u2019s blog, I will explain you one such scenario that was encountered during our recent implementation\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-02T05:56:13+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.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\/06\/02\/wrapper-error-in-sage-crm-part-2\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/\",\"name\":\"Wrapper error in Sage CRM \u2013 Part 2 - 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\/06\/02\/wrapper-error-in-sage-crm-part-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg\",\"datePublished\":\"2015-06-02T05:56:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#primaryimage\",\"url\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg\",\"contentUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wrapper error in Sage CRM \u2013 Part 2\"}]},{\"@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":"Wrapper error in Sage CRM \u2013 Part 2 - 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\/06\/02\/wrapper-error-in-sage-crm-part-2\/","og_locale":"en_US","og_type":"article","og_title":"Wrapper error in Sage CRM \u2013 Part 2 - Sage CRM \u2013 Tips, Tricks and Components","og_description":"As we all know \u201cSageCrmWrapper.dll\u201d is one of the most important dll used among most of the Sage CRM custom entities. We have already posted few blogs regarding wrapper and other .dll issues which occurs in Sage CRM. In today\u2019s blog, I will explain you one such scenario that was encountered during our recent implementation\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2015-06-02T05:56:13+00:00","og_image":[{"url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.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\/06\/02\/wrapper-error-in-sage-crm-part-2\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/","name":"Wrapper error in Sage CRM \u2013 Part 2 - 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\/06\/02\/wrapper-error-in-sage-crm-part-2\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#primaryimage"},"thumbnailUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg","datePublished":"2015-06-02T05:56:13+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#primaryimage","url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg","contentUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2015\/06\/Sceenshot1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/02\/wrapper-error-in-sage-crm-part-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Wrapper error in Sage CRM \u2013 Part 2"}]},{"@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\/10419","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=10419"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/10419\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=10419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=10419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=10419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}