{"id":926,"date":"2024-02-19T10:00:00","date_gmt":"2024-02-19T08:00:00","guid":{"rendered":"https:\/\/blog.idesglobal.com\/?p=926"},"modified":"2024-02-15T15:45:27","modified_gmt":"2024-02-15T13:45:27","slug":"invalid-class-string","status":"publish","type":"post","link":"https:\/\/blog.idesglobal.com\/index.php\/2024\/02\/19\/invalid-class-string\/","title":{"rendered":"Invalid Class String"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Introduction<\/h1>\n\n\n\n<p>When the process is being run with administrative privileges the user is unable to get Elmaster Design started properly.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Symptoms<\/h1>\n\n\n\n<p>Error messages at start of Design that says Failed to load Master Concept dlls and invalid class string.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"564\" height=\"268\" src=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-8.png\" alt=\"\" class=\"wp-image-927\" srcset=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-8.png 564w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-8-300x143.png 300w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"401\" height=\"266\" src=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-9.png\" alt=\"\" class=\"wp-image-928\" srcset=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-9.png 401w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-9-300x199.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Cause<\/h1>\n\n\n\n<p>To make it possible\/easier to switch between parallel installed versions resources are registered during the initialization of the application. The registration is done for the user who is logged in.<\/p>\n\n\n\n<p>If the application is run by another account \u2013 even if that account has high privileges \u2013 the part of the registry being used is not the same as where the references to the resources have been set up.<\/p>\n\n\n\n<p>It is a limitation that the acad.exe process about to load Elmaster Design must be run by the logged in user.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Confirmation<\/h1>\n\n\n\n<p>To confirm if processes you initiate are being run by your logged on username one can often determine by opening a command prompt and looking at its title bar if it says administrator or not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"305\" height=\"182\" src=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-10.png\" alt=\"\" class=\"wp-image-929\" srcset=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-10.png 305w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-10-300x179.png 300w\" sizes=\"auto, (max-width: 305px) 100vw, 305px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"598\" height=\"127\" src=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-11.png\" alt=\"\" class=\"wp-image-930\" srcset=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-11.png 598w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-11-300x64.png 300w\" sizes=\"auto, (max-width: 598px) 100vw, 598px\" \/><\/figure>\n\n\n\n<p>Another way to determine if you have this problem is by looking at the acad.exe process via Task Manager. Go to the information pane and select the columns to show via the context menu on the column headers.&nbsp;Choose to show elevated privileges. If your acad.exe process is running with elevated privileges that means it is being run as the administrator account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"284\" src=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-12.png\" alt=\"\" class=\"wp-image-931\" srcset=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-12.png 945w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-12-300x90.png 300w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-12-768x231.png 768w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-12-705x212.png 705w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Solution<\/h1>\n\n\n\n<p>If you are using the context menu on the icon and <em>Run as Administrator<\/em> \u2013 don\u2019t.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"504\" height=\"184\" src=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-13.png\" alt=\"\" class=\"wp-image-932\" srcset=\"https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-13.png 504w, https:\/\/blog.idesglobal.com\/wp-content\/uploads\/2024\/02\/image-13-300x110.png 300w\" sizes=\"auto, (max-width: 504px) 100vw, 504px\" \/><\/figure>\n\n\n\n<p>Instead run in normal mode by clicking on the icon in start menu och double click on the desktop icon to start Elmaster Design.<\/p>\n\n\n\n<p>Usually, this problem occurs when the user temporarily gains elevated privileges to install new software. Via policy or similar management, the processes initiated by the user are impersonated and run by the administrator account for the duration of the installation period. If that is the case, let whoever gave you the elevated privileges know when you are done. When impersonation ceases, the problem ceases.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Preventive measures<\/h1>\n\n\n\n<p>Avoid running the acad.exe processes as administrator. Run it as your logged on user.<\/p>\n\n\n\n<p>If users are temporarily given local administrative privileges for installing software, it is advisable to plan ahead and schedule the installation at a time when the user is not supposed to be productive using Elmaster Design.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Also available in format for download and attachment: <a href=\"https:\/\/idesglobal-my.sharepoint.com\/:w:\/p\/johan_dalenius\/EaEcfAiKbjlFjHoyM4LhyXYBQOMpLGFobXGwWwWtilVpfg?e=OxXBQs\">Invalid Class String.docx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction When the process is being run with administrative privileges the user is unable to get Elmaster Design started properly. Symptoms Error messages at start of Design that says Failed to load Master Concept dlls and invalid class string. Cause To make it possible\/easier to switch between parallel installed versions resources are registered during the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[27,114,115,116],"class_list":["post-926","post","type-post","status-publish","format-standard","hentry","category-support","tag-autocad","tag-error-message","tag-felmeddelande","tag-invalid-class-string"],"_links":{"self":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/posts\/926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/comments?post=926"}],"version-history":[{"count":2,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/posts\/926\/revisions"}],"predecessor-version":[{"id":934,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/posts\/926\/revisions\/934"}],"wp:attachment":[{"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/media?parent=926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/categories?post=926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.idesglobal.com\/index.php\/wp-json\/wp\/v2\/tags?post=926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}