RSS

Tag Archives: Azure

Net.TCP Port Sharing: Dynamics NAV 2015 and Azure

If you come from the Dynamics NAV community you probably have seen the blog post from one of my favorite bloggers: Port Sharing with NAV2013. This blog describes in detail on how to set up port sharing to several NAV service tiers (NST).

So what is new then? If you run the 1VM/2VM script it will by default install a NST service with a local user account instead of using one of the system accounts. So if you follow Waldo´s instructions on how activate port sharing you will get an error like this:

The service MicrosoftDynamicsNavServer$DynamicsNAV80_Instance1 failed to start. This could be caused by a configuration error. Detailed error information:System.ServiceModel.CommunicationException: The service endpoint failed to listen on the URI ‘net.tcp://SERVERNAME:9001/DynamicsNAV80_Instance1/Service’ because access was denied. Verify that the current user is granted access in the appropriate allowAccounts section of SMSvcHost.exe.config. —> System.ComponentModel.Win32Exception: Access is denied
at System.ServiceModel.Activation.SharedMemory.Read(String name, String& content)

Read the rest of this entry »

 
1 Comment

Posted by on 2014-10-27 in Okategoriserade

 

Tags: , , , ,

Azure Get-AzureSubscription: Same SubscriptionName And Blank SubscriptionID

I was going to set up a new azure environment for a new customer with a powershell script when I encountered the following error:

Get-AzureVNetConfig : Value cannot be null.
Parametername: subscriptionId
At line:1 char:1
+ Get-AzureVNetConfig
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-AzureVNetConfig], ArgumentNullException
+ FullyQualifiedErrorId : System.ArgumentNullException,Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzureVNetConfigCommand

It seems that I was too quick to start with the new environment. I had forgotten to download the latest publishsettings file which contains the new customer subscription.

What instead happened now was that it created a new subscription named “CUSTOMERNAME” with SubscriptionID blank.

Read the rest of this entry »

 
Leave a comment

Posted by on 2014-10-25 in Okategoriserade

 

Tags: ,

Dynamics NAV ClickOnce: Install 2013/2015 Help Server

One of the less good things with the 1VM/2VM script is that it doesn’t install a NAV help server.

So in order to get the help server to work with the newly installed ClickOnce client in your Azure environment you have to do the following things:

  1. Install the help server from the NAV DVD on the current machine
  2. Add the help server URL to ClientUserSettings.config in the ClickOnce folder
  3. Add an endpoint to the Azure VM in the Azure portal
  4. Update the ClickOnce deployment

Read the rest of this entry »

 
1 Comment

Posted by on 2014-10-18 in Okategoriserade

 

Tags: , , ,

Dynamics NAV ClickOnce: “File, FILENAME application identity.manifest, has a different computed hash than specified in manifest.”

Ok, you have probably landed here because you are trying to update your ClickOnce deployment but gets the error “application identity.manifest, has a different computed hash than specified in manifest.” .

In my case the reason was that I had done the wrong order when building the deployment.

Read the rest of this entry »

 
1 Comment

Posted by on 2014-10-18 in Okategoriserade

 

Tags: , ,

Set up backups in Azure part 4 – Notifications

Ok, so now we have our backups, Windows Server Backup, Azure Backup and SQL backup. If you have used a normal SQL edition and not express you have probably used maintenance plans to notify when the jobs fail but if you use SQL express you need to do it in another way and that is what I’m going to show you. Read the rest of this entry »

 
Leave a comment

Posted by on 2014-09-23 in Okategoriserade

 

Tags: , , , , ,

Set up backups in Azure part 3 – Windows Server Backup & Azure Backup

Welcome to my third post about Setting up backups in Azure. This post will be about Windows Server Backup and Azure backup.
Read the rest of this entry »

 
Leave a comment

Posted by on 2014-09-10 in Okategoriserade

 

Tags: , ,

Set up backups in Azure part 2 – SQL Backup

Time for the part two in this series which is going to be about SQL backups on a virtual machine in Azure. Read the rest of this entry »

 
1 Comment

Posted by on 2014-09-08 in Okategoriserade

 

Tags: , , ,

Get your own SMTP server!

Many times when we are coding email functions in Dynamics NAV and using Codeunit 400 SMTP Mail we need to fill in a SMTP adress in the setup.

NAVMail

This is here where the hassle starts. You need to contact the customers hosting partner so they can fix/open up a SMTP account for you and of course you will get questions like why and when you need it and if it is really necesary. On top of that you also got their leadtime of answering emails. Instead you ask your companys exchange administrator and he says forget it!

I say screw them! Lets get our own SMTP server.

Now you problaby imagine something like downloading software and installing SMTP server software somewhere at the customer premises without being noticed. Nah, that is not the solution I had in mind 🙂

Instead get an account at http://sendgrid.com/ . This is a cloud based service that is used to seend thousands of marketing emails and then see statistics who read what. But! They also offer a SMTP server which you at the moment can send 200 emails a day for free!! 

It takes 5-10 minutes before you get all the information you need but after that you don’t need to ask or wait for anyone to get you this type of information.

And another thing! This is excellent when you want to send notification emails from Azure, failed backups and so on.

Even noticed that Azure got a specific sendgrid plugin. Have to check it out later. Look at it here.

 
2 Comments

Posted by on 2014-09-08 in Okategoriserade

 

Tags: ,

Set up backups in Azure part 1 – Strategies

Many partners only specializes in Dynamics NAV and not in hosting. Often the customers have their own servers and are responsible for backups or a partner is responsible for the hosting environment.

What I’m trying to say is that probably many NAV partners haven’t been responsible for SQL backups before and now with putting everything in Azure we are skipping the hosting partner and instead becoming our own hosting partner.

When we do this we need to have a strategy to tackle this new scenario with this blog post  and following I would like to share some information from the field on how you can implement different backup strategies.

There are several ways to cover this and I’m going to mention the most obvious ones:

  1. SQL Backup
  2. Windows Server Backup
  3. Azure Backup
  4. System Center – Data Protection Manager

Read the rest of this entry »

 
Leave a comment

Posted by on 2014-09-07 in Okategoriserade

 

Tags: , ,

 
James Pearson

Thoughts about Microsoft Dynamics 365 Business Central / NAV development

Roberto Stefanetti Blog - Microsoft Dynamics 365 Business Central

Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central Blog, Microsoft MVP

JoeBrown

DevOps starts with culture!

Comments for DevOps ABCs Blog

Reflections from the ERP field

DevOps ABCs Blog

Reflections from the ERP field

Dynamics 365 Business Central for Partners

Reflections from the ERP field

Freddys blog

Learn something new... - then Teach someone!

Stefano Demiliani Technical Blog

Reflections from the ERP field

David Worthington's NAV Performance Blog

Micosoft Dynamics NAV Performance Testing & Optimization

Freddys Blog

Reflections from the ERP field

Mark Brummel Blog | Business Central, Azure and more...

Design Patterns, Performance, Clean Code

Vjeko.com

Ideas in the cloud

Goprowe AB

Reflections from the ERP field

ArcherPoint Developer Blog

Reflections from the ERP field

The NAV Viking´s Blog

- Sharing my experience in the Dynamics NAV world

Comments for

Reflections from the ERP field

Nav Can Be Fun

Its Really Fun to Work with Microsoft Dynamics Nav / D365 Business Central

Navision-Girl.Com

Reflections from the ERP field