Solved

Emailing through MYOB, run as Admin

Posted on 2013-06-07
9
1,923 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 500 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Changing a few Outlook Options can help keep you organized!
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

695 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