# Server Macro Error

**URL:** <https://community.easymorph.com/t/server-macro-error/3467>\
**Category:** General Q&A\
**Created:** [March 8, 2022, 3:09pm UTC](https://community.easymorph.com/t/server-macro-error/3467 "2022-03-08T15:09:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicktagz](https://community.easymorph.com/user_avatar/community.easymorph.com/nicktagz/32/5816_2.png) [@nicktagz](https://community.easymorph.com/u/nicktagz)\
**Post date:** [March 8, 2022, 3:09pm UTC](https://community.easymorph.com/t/server-macro-error/3467/1 "2022-03-08T15:09:51Z")

</div>

Has anyone experienced this error? I can run the model from the desktop. When I run it from the EM server I get this:

Execution of programs and scripts is not permitted by your system administrator.

**Location:** action "Excel command", module "Main", table "Run Macros"

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [March 8, 2022, 3:36pm UTC](https://community.easymorph.com/t/server-macro-error/3467/2 "2022-03-08T15:36:30Z")

</div>

Hi Nick,

check out the tips here: [Running VBA Macros from the Excel Command action](https://community.easymorph.com/t/running-vba-macros-from-the-excel-command-action/3149#tips-for-running-the-excel-command-action-on-server-11)

---

<div class="post-metadata">

**Author:** ![CraigT](https://community.easymorph.com/user_avatar/community.easymorph.com/craigt/32/3839_2.png) [@CraigT](https://community.easymorph.com/u/CraigT)\
**Post date:** [March 8, 2022, 3:45pm UTC](https://community.easymorph.com/t/server-macro-error/3467/3 "2022-03-08T15:45:05Z")

</div>

Hi, nicktagz.

Not completely sure. The only thing I can think of is....

Is the Server running on the same system as the Desktop workflow, under the same user profile (set up in Server)? Almost sounds like a permission issue running Excel macros, but if it works in the Desktop... ?

If something else pops into my head, I'll pass it along.  
Craig

---

<div class="post-metadata">

**Author:** ![nicktagz](https://community.easymorph.com/user_avatar/community.easymorph.com/nicktagz/32/5816_2.png) [@nicktagz](https://community.easymorph.com/u/nicktagz)\
**Post date:** [March 8, 2022, 4:04pm UTC](https://community.easymorph.com/t/server-macro-error/3467/4 "2022-03-08T16:04:49Z")

</div>

Thanks, I am running the Server on the same system as the Desktop and the server is setup using the same user profile. It's weird because it just randomly stopped working. I believe it is a permission issue somewhere, I'm just not sure where.

---

<div class="post-metadata">

**Author:** ![nicktagz](https://community.easymorph.com/user_avatar/community.easymorph.com/nicktagz/32/5816_2.png) [@nicktagz](https://community.easymorph.com/u/nicktagz)\
**Post date:** [March 8, 2022, 5:12pm UTC](https://community.easymorph.com/t/server-macro-error/3467/5 "2022-03-08T17:12:00Z")

</div>

Possible bug in the server.

 ![image](https://community.easymorph.com/uploads/default/original/2X/3/3f17c5cd165bffc8a4d149a9ab035d7ab3eb1a22.png)

Here's what the server says under documentation:

![image](https://community.easymorph.com/uploads/default/original/2X/b/b3fa24e2108950348fa77d9bec81bbcb45dc92a2.png)

---

<div class="post-metadata">

**Author:** ![RJO](https://community.easymorph.com/user_avatar/community.easymorph.com/rjo/32/4084_2.png) [@RJO](https://community.easymorph.com/u/RJO)\
**Post date:** [March 8, 2022, 5:26pm UTC](https://community.easymorph.com/t/server-macro-error/3467/7 "2022-03-08T17:26:13Z")

</div>

Hi

Did you try to run your excel macro logged as the service account on the EM server ? You should try first.

---

<div class="post-metadata">

**Author:** ![nicktagz](https://community.easymorph.com/user_avatar/community.easymorph.com/nicktagz/32/5816_2.png) [@nicktagz](https://community.easymorph.com/u/nicktagz)\
**Post date:** [March 8, 2022, 5:32pm UTC](https://community.easymorph.com/t/server-macro-error/3467/8 "2022-03-08T17:32:46Z")

</div>

Stupid mistake on my part. This was Disabled, I should have checked here first.

![image](https://community.easymorph.com/uploads/default/original/2X/4/4fc5421e7a26dd711823a26a20b080a0dcd553bb.png)
