Solved

Emailing through MYOB, run as Admin

Posted on 2013-06-07
9
1,527 Views
Last Modified: 2013-06-09
Hi Guys...

I have been having some difficulties with emailing through MYOB. I am running Windows Server 2012 with Remote Desktop Services, I have Office 2010 (32 bit) and MYOB (32 bit) installed, when a user tries to send an email through MYOB I get the following error

"The attachment file was created successfully, but there was an error writing it."

I can see what the problem is, I think MYOB is trying to use the "c:\Users\Administrator\AppData\Local\Temp" folder to create and attach the PDF files, this is probably because I have the MYOB shortcuts with the following command in the Target field of the properties for the shortcuts
"C:\Windows\System32\runas.exe /savecred /user:administrator "c:\Premier19-NZ\myobp.exe"

I had to do this to stop MYOB asking for Administrator permission to run.

Not sure what to do or how to get myself out of this situation, any ideas?
Thanks
0
Comment
Question by:Ergs
  • 6
  • 3
9 Comments
 
LVL 42

Expert Comment

by:Davis McCarn
Comment Utility
Logged in as the server admin, go to the original MYOB shortcut, right-click on it, choose properties, and, on the Compatability tab, click the button to Change settings for all users. Check the box to Run this program as an administrator and then OK.
Copy the shortcut to C:\Users\Public\Desktop, log in as another user, and try it.
0
 

Author Comment

by:Ergs
Comment Utility
Even if I do as it instructed, when a user attempts to run MYOB it still asks for a admin user/password.

The email function only works from the Administrator login? when I try as a normal user I get the "The attachment file was created successfully, but there was an error writing it."
0
 
LVL 42

Accepted Solution

by:
Davis McCarn earned 500 total points
Comment Utility
The Runas; though, is invoking the program as the administrator which would then have to have an email account which worked and would further send every email from that account if it worked.
Pretend you are setting it up on a network and do what this tells you to do: http://myobnz.custhelp.com/app/answers/detail/a_id/33034
0
 

Author Comment

by:Ergs
Comment Utility
I followed the instructions and I am still getting the administrator username/password prompt?
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 42

Expert Comment

by:Davis McCarn
Comment Utility
Did you remove the check on Run this program as an administrator?
0
 

Author Comment

by:Ergs
Comment Utility
Just doubled checked everything - basically started from the beginning with a new shortcut and yes for some reason it is asking for Admin Username/Password - When trying to run MYOB it has always asked for username password that's why I initially setup the shortcut with the
"C:\Windows\System32\runas.exe /savecred /user:administrator "c:\Premier19-NZ\myobp.exe"
0
 

Author Comment

by:Ergs
Comment Utility
And what I have noticed is that if I enter the Administrator Username/Password - MYOB sends the email but from the Administrator profile, the Administrator logon must be running Outlook and it send the email, I can confirm this by checking the sent items for both the normal user account and Admin account
0
 

Author Comment

by:Ergs
Comment Utility
I had a post regarding MYOB and UAC which Hi  xBouchardx helped me with
http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_28096424.html

This worked well until I had to email from MYOB
0
 

Author Comment

by:Ergs
Comment Utility
Hi Davis.... I think I have it sorted. Using the link from your original post (mapping drive) and using the information in this link
http://adrian.sutantio.info/2012/06/fix-myob-required-administrator-account.html
to stop UAC it is working nicely.

Thanks for you help
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
OfficeMate Freezes on login or does not load after login credentials are input.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now