Posted on 13/02/2020 14:27:37
Hi Umar,
I have just published and installed our runtime package for BC15 on a clean on prem business central.
I only used the standard demo license you get when installing a developement business central environment from classic installation DVD.
I used the steps in the readme file Dmitriy mentioned above.
I was administrator when I ran Business Central Administration Shell and my user had 'SUPER' permission set in Business Central.
Your next steps
- Ask the administrator of the Business Central server to publish and install the app or
- Ask the administrator to give you a user with SUPER permission set or
- Ask the administrator to give you a user with permission set which allows execute on codeunits in ISV ranges. I am not NAV/BC expect, but it looks like there is a permission set called "D365 BASIC ISV" or "D365 EXTENSION MGT"
- If none of steps 1 to 3 does not help please return. Then it looks like we need to create a support request.
Here are my steps using Business Central Administration Shell
PS C:\Windows\system32> Publish-NAVApp -ServerInstance BC150 -Path 'C:\RuntimePackages\Dynamicweb_Dynamicweb Plug-In Unit_1.2.0.5.app' -SkipVerification
PS C:\Windows\system32> Get-NAVTenant -ServerInstance BC150
ServerInstance : MicrosoftDynamicsNavServer$BC150
DatabaseName : Demo Database BC (15-0)
DatabaseServer : ***************
DatabaseUserName :
State : Operational
DetailedState :
DeletionState : Not deleted
IsInExclusiveAccessMode : False
TenantDataVersion : 15.0.36560.36649
Id : default
AlternateId : {}
AllowAppDatabaseWrite : True
NasServicesEnabled : False
RunNasWithAdminRights : False
EncryptionProvider : LocalKeyFile
AzureKeyVaultSettings :
DefaultCompany :
DefaultTimeZone : UTC
ExchangeAuthenticationMetadataLocation : https://outlook.office365.com/
AadTenantId : common
ApplicationInsightsKey :
DisplayName :
EnvironmentName :
EnvironmentType : Production
PS C:\Windows\system32> Sync-NAVApp -ServerInstance BC150 -Tenant 'default' -Name 'Dynamicweb Plug-In Unit'
PS C:\Windows\system32> Install-NAVApp -ServerInstance BC150 -Name 'Dynamicweb Plug-In Unit' -Version 1.2.0.5
Please note: There are no error messages.
Here is my Server Configuration which shows ExtensionAllowedTargetLevel is 'Internal'
PS C:\Windows\system32> Get-NAVServerConfiguration
cmdlet Get-NAVServerConfiguration at command pipeline position 1
Supply values for the following parameters:
ServerInstance: BC150
key value
--- -----
AllowSessionWhileSyncAndDataUpgrade true
AmountOfSqlStatementsInDebugger 10
ApiServicesEnabled false
ApiSubscriptionDelayTime 30000
ApiSubscriptionExpiration 3
ApiSubscriptionMaxNumberOfNotifications 100
ApiSubscriptionMaxNumberOfSubscriptions 200
ApiSubscriptionNotificationUrlTimeout 5000
ApiSubscriptionsEnabled true
ApiSubscriptionSendingNotificationTimeout 30000
AppIdUri
AzureActiveDirectoryClientCertificateThumbprint
AzureActiveDirectoryClientId
AzureActiveDirectoryClientSecret
AzureKeyVaultClientCertificateStoreLocation LocalMachine
AzureKeyVaultClientCertificateStoreName My
AzureKeyVaultClientCertificateThumbprint
AzureKeyVaultClientId 00000000-0000-0000-0000-000000000000
AzureKeyVaultKeyUri
BufferedInsertEnabled true
CalendarTwoDigitYearMax -1
ClientBuildRestriction WarnClient
ClientServicesAllowedFileTypes
ClientServicesChunkSize 28
ClientServicesCompressionThreshold 64
ClientServicesCredentialType Windows
ClientServicesEnabled true
ClientServicesFederationMetadataLocation
ClientServicesIdleClientTimeout MaxValue
ClientServicesKeepAliveInterval 00:02:00
ClientServicesMaxConcurrentConnections 500
ClientServicesMaxItemsInObjectGraph 512
ClientServicesMaxNumberOfOrphanedConnections 20
ClientServicesMaxUploadSize 350
ClientServicesOperationTimeout MaxValue
ClientServicesPort 7046
ClientServicesProhibitedFileTypes ade;adp;asp;bas;bat;chm;cmd;com;cpl;csh;exe;fxp;gadget;hlp;hta;inf;i...
ClientServicesProtectionLevel EncryptAndSign
ClientServicesReconnectPeriod 00:10:00
ClientServicesTokenSigningKey
CompileBusinessApplicationAtStartup true
DatabaseInstance
DatabaseName Demo Database BC (15-0)
DatabaseServer ******************
DataCacheSize 10
DebuggingAllowed true
DefaultClient Windows
DefaultLanguage
DeltaServiceClientTimeout 00:02:00
DeveloperServicesEnabled true
DeveloperServicesPort 7049
DeveloperServicesSSLEnabled false
DisableQueryHintForceOrder true
DisableQueryHintLoopJoin true
DisableQueryHintOptimizeForUnknown false
DisableSmartSql false
DisableTokenSigningCertificateValidation false
DisableWriteInsideTryFunctions true
EnableALServerFileAccess true
EnableApplicationChannelLog true
EnableDataExportImport true
EnableDeadlockMonitoring true
EnableDebugging false
EnableFullALFunctionTracing false
EnableLongRunningSqlStatementsInDebugger true
EnableMembershipEntitlement
EnableMultithreadedCompilation true
EnableSaveFromReportPreview true
EnableSaveToExcelForRdlcReports true
EnableSaveToWordForRdlcReports true
EnableSqlConnectionEncryption false
EnableSqlInformationDebugger true
EnableSymbolLoadingAtServerStartup false
EnableTaskScheduler true
EncryptionProvider LocalKeyFile
ExcelAddInAzureActiveDirectoryClientId
ExchangeAuthenticationMetadataLocation
ExtendedSecurityTokenLifetime 0
ExtensionAllowedTargetLevel Internal
ExternalTraceLevel Error
IntegrationRecordsTableId 5151
LegacyOptionCaptionResolution false
LockoutPolicyFailedAuthenticationCount 0
LockoutPolicyFailedAuthenticationWindow 0
LongRunningSqlStatementsInDebuggerThreshold 500
ManagementServicesEnabled true
ManagementServicesPort 7045
MaxConcurrentCalls 1000
MaxRowsToExportToExcel MaxValue
MaxStreamReadSize 1000000
Multitenant false
NASServicesEnableDebugging false
NASServicesRunWithAdminRights false
NASServicesStartupArgument
NASServicesStartupCodeunit
NASServicesStartupMethod
NavHttpClientMaxResponseContentSize 150
NavHttpClientMaxTimeout 00:05:00
NetworkProtocol Default
NonInteractiveSessionsLogRetainInterval 5.00:00:00
ODataEnableExcelAddInAnnotations true
ODataMaxConnections 0
ODataMaxConnectionsPerTenant 0
ODataServicesEnabled false
ODataServicesMaxPageSize 20000
ODataServicesOperationTimeout MaxValue
ODataServicesPort 7048
ODataServicesSSLEnabled false
ODataServicesV3EndpointEnabled true
ODataServicesV4EndpointEnabled true
OverwriteExistingTranslations true
PublicODataBaseUrl
PublicSOAPBaseUrl
PublicWebBaseUrl
PublicWinBaseUrl
ReplaceReportExecutionTimeWithClientTime true
ReportAppDomainIsolation true
ReportPDFFontEmbedding true
RequiredExtensions
SearchTimeout 00:00:10
SecurityProtocol Tls12
ServerInstance BC150
ServicesCertificateThumbprint
ServicesCertificateValidationEnabled true
ServicesDefaultCompany
ServicesDefaultTimeZone UTC
ServicesLanguage en-US
ServicesOptionFormat OptionCaption
ServicesUseNTLMAuthentication false
SessionEventTableRetainInterval 90.00:00:00
SOAPServicesEnabled false
SOAPServicesMaxMsgSize 1024
SOAPServicesPort 7047
SOAPServicesSSLEnabled false
SqlBulkImportBatchSize 448
SqlCommandTimeout 00:30:00
SqlConnectionIdleTimeout 00:05:00
SqlConnectionTimeout 00:01:30
SqlLockTimeoutOverride 0
SqlLongRunningThreshold 1000
SqlParametersByOrdinal true
SqlTracingAllowed true
SupportedLanguages
TaskSchedulerMaximumConcurrentRunningTasks 10
TaskSchedulerSystemTaskEndTime 23:59:59
TaskSchedulerSystemTaskStartTime 00:00:00
TokenSigningCertificateValidationMode IssuerNameValidation
TraceLevel Normal
TrustSQLServerCertificate false
UIElementRemovalOption LicenseFileAndUserPermissions
UseFindMinusWhenPopulatingPage true
UseIncrementalCompanyDelete false
UseSimplifiedFilters false
ValidAudiences
WSFederationLoginEndpoint
XmlMetadataCacheSize 500
Here is my license to show that I am not running any special license
PS C:\Windows\system32> Export-NAVServerLicenseInformation
cmdlet Export-NAVServerLicenseInformation at command pipeline position 1
Supply values for the following parameters:
ServerInstance: BC150
Microsoft Software License Information
Copyright (C) 2007-2018 Microsoft Corporation. All rights reserved
****************************************************************************
VOICE Account Number : *********
Licensed to : Cronus
One Lone Tree Road
1111
Fargo
ND
58104
United States
Product Line : Microsoft Dynamics 365 Business Central on premises
Product Edition : Unspecified
Product Version : 15
Country : United States
Language : English (US)
Created Date : 8/28/2019 12:26:15 PM (-07:00)
Expires : 8/25/2029
Configuration : BC on Premises - Product Demo W1 v15
****************************************************************************
Name Amount
----------------------------------------------------------------- ----------
Country Code: W1 1
Demonstration Basic Module 1
Internal Named User 2
Product Demo Customization Objects 1
****************************************************************************
Here are the installed apps [Edited result to only include Dynamicweb app]
PS C:\Windows\system32> Get-NAVAppInfo
cmdlet Get-NAVAppInfo at command pipeline position 1
Supply values for the following parameters:
ServerInstance: BC150
Id : ca39f1d0-dbfd-4b00-b9b1-4b4fd1baa075
Name : Dynamicweb Plug-In Unit
Version : 1.2.0.5
Publisher : Dynamicweb
ExtensionType : ModernDev
Scope : Global