How to change default email client in Dynamics NAV? - dynamics-nav

We are switching from Ms Outlook to Lotus Notes as our default email client. The problem I have is that some customize button to print and send PDF are not longer working and instead return this message: "Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client"
What I tried so far was
Change the default email client in the ControlPanel --> DefaultPrograms --> Set Your Default Programs settings and made my Lotus Notes Mail and then clicked on the "Set this program as default".
This did not work, so I went back into the same settings but instead clicked on "Set program access and computer defaults", from there I went under the section of default e-mail program and chose Lotus Notes, still no go.
Went into regedit navigated to "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\mailto\UserChoice" changed the key "Progid" (of type REG_SZ) to the value of "LotusNotes.URL.mailto"
Googled it a lot but still cannot find anything that is working.
Dynamics NAV seems to have the Outlook very deep inside it, but I really have no choice but to switch to Lotus Notes. Any help would be appreciate. We also have both Windows 7 and Windows XP at our location.
EDIT:
Looking into the codeunit has the function call of Mail.NewMessage() which again was working correctly with Outlook but I can't get it to work with Lotus Notes

The short answer, current versions of Microsoft Dynamics NAV are specifically integrated with Outlook not just an e-mail client.
To get the same type of integration as Outlook you need to start with the automation variables within the Mail Codeunit point to Outlook specific controls, the first step is to augment or replace those automation controls to the equivalent ones for the version of Lotus that you are running.
You will then need to review each function call within the Mail Codeunit to ensure that the function has the same method signature in Lotus as it does in Outlook and adjust each function accordingly.
Changes like this require the Solution Builder license granule and modify access to the core application codeunits. This tends to require a Microsoft Solution Center and is not likely to be a small modification.
If you are purely looking to send E-Mail then you can adjust the logic to use Codeunit 400 which is just SMTP and should use any SMTP client that can be located on the network.
Depending on the Version of NAV you are running different versions of office are supported:
Microsoft Dynamics NAV 2009 (SP1/R2)
Microsoft Office 2003, Service Pack 3 or later
the 2007 Microsoft Office system, Service Pack 1
Microsoft Dynamics 2013
Microsoft Office 2013 or Microsoft Office 2010 is required for mail merge. Microsoft Office 2013, Microsoft Office 2010, or Microsoft Office 2007 SP1 is required for Outlook client integration, budget import and export to and from Microsoft Excel and Office XML, and SharePoint links

Related

Missing: Outlook 16.0 Object library (msoutl.olb)

I'm running an MS Access database with VBA code that has libraries for Microsoft Office 2010. Currently, there are users that are upgrading their machine to Windows 10 running Access 2016.
When the database is opened on a new machine running Access 2016 the libraries for the Outlook changes to 16.0.
When I try to open the file in the old Access 2010 environment, I run into this error:
Missing msoutl.olb.
Is there a way to make the database backwards compatible?
It sounds like the users share the same frontend hosted in a network folder.
If not done already, split the database to have a single shared backend database file. Then, to avoid your issue, distribute a separate copy of the frontend to each user's workstation.
On the workstation, let the user launch the frontend using a shortcut that runs a script to always keep the frontend current. This method is described in detail in my article:
Deploy and update a Microsoft Access application with one click

How to email team members within Visual Studio Team Services when they use Microsoft Accounts

I am adding a user who has a Hotmail account to Visual Studio Team Services (was Visual Studio Online).
First I added him to Azure Active Directory, then I added him to the Team in Visual Studio Team Services.
When I open a backlog item, and attempt to email it to him using the Team Services "Send Work Items in Email" feature, I get this error:
"Unable to send message to the following recipients: abc#hotmail.com Preferred Email address is not configured within the user’s profile."
Why doesn't it just use the Hotmail address? Looking through VSTS and Azure, I see no place to specify a "Preferred Email address". Google turns up very little, except Robert Noack's post on Microsoft Connect which describes trouble changing the Preferred Email for ADFS accounts.
You need to ask the user to sign in VSTS to configure it. If it is the first time to login, a page will be displayed to ask him configure this. Otherwise, clicking the account name in the up right corner after login and select "My Profile->edit your profile".

Insufficient privilege to run as user SSRS and CRM2011

I am attempting to generate a Dynamics CRM 2011 SSRS report programatically.
I am receiving the following error:
Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: Caller S-1-5-21-3239909829-2541432921-3578859411-1114 has insufficient privilege to run report as user 519f1b51-1f3a-e411-80be-00155d823202
The second Guid is the id of the CRM user that I use to authenticate against the CRM and the credntials of who are passed to the report. (CRM Reports take the userid as a username and the organisation id as the password).
The first Guid is, I suspect, the user that my SSRS reporting service runs under (domain\sql_reports)
Firstly, this works fine in my development environment (I hate saying that).
Secondly, I have checked the following:
sql_reports user is a member of the appropriate PrivUserGroup, PrivReportingGroup, SqlAccessGroup and ReportingGroup
I can correctly run the report via CRM
I can correclty run the report via the http://server/reports interface when I supply the appropriate credentials
The error I receive is only when I programtically attempt to generate this report from a custom application. As mentioned above, this is only an issue in the production environment. I have other components of this application that read/write to the CRM without any issue in the production environment.
I am running SQL Server 2012 & Reporting Services, and Dynamics CRM 2011 (all components are patched to UR17).
The SQL Server, Reporting Services & Dynamics Reporting Extensions are installed on one machine and CRM is installed on another.
Any help would be greatly appreciated!

CRM 2011 - unable to connect to database after installing Active Directory

I've been given a VM for development purposes, in which is installed Windows 2008R2, CRM 2011, SQL Server, etc. Prior to me being given the project, the VM was being used inhouse, validating to the company's AD server.
Since I need to use the VM off-site, I have run "dcpromo" in order to install Active Directory etc. in the VM. As you may have guessed, upon doing this, nothing can now connect to SQL Server using Windows Authentication, because users are now AD users, with different IDs (at least I assume that's the problem - I'm no sys admin).
So when I run CRM Deployment Manager, it says it can't connect to the CRM_CONFIG database, assumedly because Windows Auth isn't working. SQL Server is running fine. In fact Windows Auth won't even work in SQL Mgmt Studio, I have to connect using SQL Server Auth.
How do I fix this mess? :) Is there a way of telling CRM Deployment Manager (and everything else) to use SQL Server Auth instead of Windows Auth? Or is there a way to fix Windows Auth on the machine? The latter would be preferable, as it would probably fix everything which now can't connect to SQL Server with Windows Auth.
I'm not sure how to fix this, but I would probably have a go at:
Uninstall CRM
Reinstall CRM - these steps should give you a working CRM, without any customisations or data.
Import the existing organisation - this should give you CRM as the original developers had it (as part of the import process you can remap all the users in AD).
Check out this link for detail on the process:
Import a Microsoft Dynamics CRM 2011 Organization
Also this may help:
Move the Microsoft Dynamics CRM 2011 deployment

Connecting and manuplating data on an access database?

I'm working on my thesis project with Windows Phone 7. I'm developing an application requires store data in a database, my thesis supervisor said an Microsoft Access database is enough for this step, because I'm newbie at developing applications for Windows Phone 7.
How can i do that?
Windows Phone 7 doesn't support MS Access.
For a list of databases which are supported on WP7 see Local Sql database support for Windows phone 7
Windows Phone 7 can't have direct access to a database since standard DB connection drivers are not compatible with this platform. What you can do is built a multi-layered project, where there is a web service (easily built with WCF) that connects your Windows Phone 7 application to a local (or remote) database.
You could send request to the web service and it will send those to the database. The same service can send the response back to the app.
Unfortunately I cannot remember the details, but I saw a fairly recent presentation on integrating Sharepoint, Access and the Windows phone.
EDIT
I just found this video:
http://pocketnow.com/windows-phone/sharepoint-office-2010-on-windows-phone-7
For access 2010, IT allows one to build web databases. You need SharePoint (Enterprise), and access 2010. You also be able to use Office 365 and skydrive (not out yet).
The resulting access web database can thus be used on the windows 7 phone with the browser. In fact, I have a windows 7 phone and have tested my access applications on it.
In the following video, note how at the half way point, I swtich to using and running the access application in a web browser.
http://www.youtube.com/watch?v=AU4mH0jPntI

Resources