Solved

Emailing through MYOB, run as Admin

Posted on 2013-06-07
9
1,548 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 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
 

Author Comment

by:Ergs
ID: 39232989
I followed the instructions and I am still getting the administrator username/password prompt?
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
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…

911 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

23 Experts available now in Live!

Get 1:1 Help Now