?
Solved

Emailing through MYOB, run as Admin

Posted on 2013-06-07
9
Medium Priority
?
1,949 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
9 Comments
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 39232043
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
ID: 39232066
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 43

Accepted Solution

by:
Davis McCarn earned 1500 total points
ID: 39232393
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
Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

 

Author Comment

by:Ergs
ID: 39232989
I followed the instructions and I am still getting the administrator username/password prompt?
0
 
LVL 43

Expert Comment

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

Author Comment

by:Ergs
ID: 39233538
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
ID: 39233543
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
ID: 39233572
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
ID: 39233724
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Suggested Courses

741 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