Is NAV service running?
Did you add correct database name to service.
Is NAV service running?
Did you add correct database name to service.
When I run Nav 2013 Role Tailored Client with my system connected through VPN to the nav server, i get the error "The server "net.tcp://<mynavconnecction>" is either unavailable or your connection has been lost." I did add my domain credentials on the PC for the NAV server address in control panel but yet can not connect. please I need help.
Dear TSokira,
What i am able to understand after reading your question is that you are planning to create a new Blank database with No Data.
There are two ways (if i understand you correctly) -
FIRST WAY -
1. Use the Standard Cronus Database.
2. Create a New Company in database.
Refer Here -
saurav-nav.blogspot.in/.../nav-2013-r2-create-new-company.html
3. Delete Cronus Company.
** With this approach you will have data that is common to all companies like currency.
SECOND WAY -
1. After creating a Database (you already did that) you still need below things -
a) A service Connected to the database.
b) Objects in Database.
c) A Company in the Database.
1. Create a Service Instance For Your Database.
Refer Here -
saurav-nav.blogspot.in/.../nav-2013-r2-how-to-create-new-service.html
2. Export all objects as FOB from Cronus Database.
3. Import those objects into New Database.
4. Create a Company in Database.
Refer Here -
saurav-nav.blogspot.in/.../nav-2013-r2-how-to-login-in-database.html
5. Create your User with Super Rights in the database.
And you are good to go.
Let me know if you require any further information.
Hey Toffsam,
Check Following Things -
1. Database Name, Server Name and Server Instance on the Service Tier.
2. Check Build of service Tier and Client are Same.
3. Check the user rights on SQL Server that is being used for running Service (Default is Network Service).
Hi Saurabh,
Thanks for the reply, that is good suggestion.
I need to create this for sales and need to book invoice.
For eg:
Painting - labor charges: Rs. 100000
Service Tax Rs. 12000
CESS 300
SHCess 60
Rs. 112360
Some times, there may be lot of labor items, the user may not be willing for creating as many GL accounts for that.
The user may need to get the labor items frequently, so changing the description may be tedious.
Thanks Saurav! This worked like a charm.
Hi there,
I just installed Dynamics NAV 2013 R2 and I have run the commands to successfully create a new (empty) NAV database using Developer Environment however, I'm unclear what to do next. I have added the new database to my instance and launched NAV but I get the following error:
Object of type CodeUnit with id 1 could not be found
Is there something I'm missing after creating the new database? Do I need to import basic data from somewhere?
Thanks for your help :)
- Trevor
I just ran into this error, a RTM version that has been upgraded to CU 10.
Is there a fix for it ? - an additional file that needs to be replaced, one that needs to be deleted, a reg key that needs to be updated.... or... ?
I need to import an upgraded company into a customer production database that allready contains other companies.
Best regards,
Erik
Updated Database from NAV 2013 R5 to NAV 2013 R2 (R9). Import of the .navdata ( one company) file failed with the message mentioned below
- I checked the import on different machines
- The same behavior occurs while renaming a company
- Lines 200000007 etc from table Object Metadata Snapshot were deleted
Can anybody help with respect to this error? Thanks in advance
Type: Microsoft.Dynamics.Nav.Client.NavClientClosingException
Fatal: False
ShowError: True
Message: The server "xxxx" was unable to process the request. Close the application and start it again.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoHandleThreadException(Exception exception, Boolean designMode)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.WinFormsDispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs eventArgs)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.HandleDispatcherException(Object sender, Exception e)
at Microsoft.Dynamics.Framework.UI.WinForms.WinFormsDispatcher.OnThreadException(Object sender, ThreadExceptionEventArgs eventArgs)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunMessagePump()
at Microsoft.Dynamics.Nav.Client.WinClient.NavWinFormsClientSession.RunCore()
at Microsoft.Dynamics.Framework.UI.Windows.ClientSessionBase.Run()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "xxxx" was unable to process the request. Close the application and start it again.
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass6.<DoRethrowWithCatchException>b__4()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "AKQ-AG-NAVCross" was unable to process the request. Close the application and start it again.
StackTrace:
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Upload(StreamTransfer stream)
at Microsoft.Dynamics.Nav.Client.FileActionProvider.InvokeFileAction(IFileDialogProvider fileDialogProvider, FileActionRequest fileActionRequest, UISession uiSession, Int32 maxUploadFileSize, RetrieveFileContents retrieveFileContents, IService service)
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass28.<FileActionDialog>b__27()
at Microsoft.Dynamics.Nav.Client.ServiceClientCallback.<>c__DisplayClass1.<RunClientRequest>b__0()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.<>c__DisplayClass8.<WaitForServerResponse>b__6()
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.DoClientRequestAndCatch(Action clientRequest, Action`1 sendToServerIfNotFaulted)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.WaitForServerResponse(IAsyncResult asyncResult, ThreadCallbackContext threadEventContext)
at Microsoft.Dynamics.Nav.Client.ServerInvocationManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod, ServerCallOptions options)
at Microsoft.Dynamics.Nav.Client.ConnectionStateManager.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
at Microsoft.Dynamics.Nav.Client.ServerInvocationHandler.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.CallServer[T](BeginCallServerMethod beginCallServerMethod, EndCallServerMethod`1 endCallServerMethod)
at Microsoft.Dynamics.Nav.Client.ServiceConnectionBase.CloseForm(NavCloseFormArguments& mainForm, NavCloseFormArguments[]& subForms, Boolean force)
at Microsoft.Dynamics.Nav.Client.ServiceConnection.Microsoft.Dynamics.Nav.Client.IService.CloseForm(NavCloseFormArguments& , NavCloseFormArguments[]& , Boolean )
at Microsoft.Dynamics.Nav.Client.DataBinder.NstDataAccess.CloseForm(IService service, LogicalForm mainForm, FormResult exitAction, Collection`1 subForms, Boolean force)
at Microsoft.Dynamics.Nav.Client.UIPatterns.NavFormCloseHandler.ExecuteCloseForm(Boolean force)
at Microsoft.Dynamics.Nav.Client.UIPatterns.NavFormCloseHandler.ExecuteCloseCore(FormClose formClose, Boolean force)
at Microsoft.Dynamics.Framework.UI.LogicalFormCloseController.DoExecuteCloseThisAndChildForms(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalFormCloseController.PerformFullClose(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalForm.PerformClose(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.LogicalForm.Close(FormClose formClose)
at Microsoft.Dynamics.Framework.UI.CloseAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Nav.Client.Actions.ExitAction.InvokeCore(LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.InvokeCoreWithErrorHandling(LogicalControl logicalControl, Object state, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.LogicalAction.DoInvoke(LogicalControl logicalControl, UISession uiSession)
at Microsoft.Dynamics.Framework.UI.ActionControl.Invoke()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.<>c__DisplayClassa.<ModalitySafeInvoke>b__8()
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafe(Action action)
at Microsoft.Dynamics.Framework.UI.Windows.ActionsHelper.ModalitySafeInvoke(ActionControl actionControl)
at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(LogicalControlAdapter adapter, ActionControl actionControl)
at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.DefaultInvokeAction(LogicalControlAdapter adapter)
at Microsoft.Dynamics.Framework.UI.Windows.ActionControlAdapterBase.OnInvoke()
at Microsoft.Dynamics.Framework.UI.WinForms.ActionControlAdapter.OnInvoke()
at Microsoft.Dynamics.Framework.UI.WinForms.ActionControlAdapter.<InitializeNativeControl>b__0(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at Microsoft.Dynamics.Framework.UI.WinForms.ActionControlAdapter.ActionButton.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: Microsoft.Dynamics.Nav.Client.ServiceConnection
HResult: -2146233088
----------------------------------
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavServerSessionException
Message: The server "xxxx" was unable to process the request. Close the application and start it again.
HResult: -2146233088
----------------------------------
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
StackTrace:
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.GetWritableSqlValue(NCLMetaField field, NavValue value)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.ExecuteInsert(IRecordBuffer record)
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ExecuteCommandAndCacheOnSuccess[T](NavSqlCommandCacheKey commandKey, Func`1 createFunc, Func`2 executeFunc)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.Insert(NavDatabase database, NCLMetaTable table, Int32 companyIndex, IRecordBuffer record, Boolean retrieveTimestamp, NavValue& identityValue, NavBigInteger& timestampValue)
at Microsoft.Dynamics.Nav.Runtime.NavSqlDmlCommand.Insert(NavDatabase database, NCLMetaTable table, Int32 companyToken, IRecordBuffer recordBuffer, NavValue& identityValue, NavBigInteger& timestampValue)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.GetCompaniesAndInclusion(NavSqlDataExportHeader header, NavDatabase tenantDatabase, NCLMetaTable companyTable, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.ReadTenantTables(BinaryReader reader, Boolean emptyTenantDatabase, NavSqlDataExportHeader header, NavDatabase tenantDatabase, SqlBulkCopy sqlBulkCopy, Boolean includeGlobalTables, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.<>c__DisplayClass20.<ReadTenantDatabase>b__1f()
at Microsoft.Dynamics.Nav.Runtime.NavDatabase.PerformSynchronizationAction(Action action)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.ReadTenantDatabase(BinaryReader reader, NavSqlDataExportHeader header, NavDatabase tenantDatabase, Boolean includeGlobalTables, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude)
at Microsoft.Dynamics.Nav.Runtime.NavSqlImportExportData.Import(Stream stream, Boolean includeApplication, Boolean includeApplicationDatabaseTables, NavDatabase tenantDatabase, Boolean includeGlobalTables, Boolean includeAllCompanies, IEnumerable`1 companiesToInclude, Action`1 reportProgress, Int64 totalBytesInStream, Boolean leaveStreamOpenWhenDone)
at Microsoft.Dynamics.Nav.Runtime.ALDatabase.<>c__DisplayClass9.<ALImportData>b__7(StreamTransfer streamTransfer)
at Microsoft.Dynamics.Nav.Service.NSService.Upload(StreamTransfer stream)
at SyncInvokeUpload(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
Source: Microsoft.Dynamics.Nav.Ncl
HResult: -2147467261
In previous versions (classic client) you could use the object "input dialog".
Make a small development in a .net language (C # or VB) showing the popup. Then from C / AL using interoperatibility to call the popup you created before and send / get data.
More info... msdn.microsoft.com/.../hh168247(v=nav.71).aspx
Well I've done the branch and merge now. It appears that the assumption that the C/AL codebase of NAV2015 RTM is based on NAV2013R2 CU10 is the best match. One thing was noteworthy, though: Almost all changes from CU11 in the pages that already had a NAVW18.00 version tag are contained in NAV2015. This isn't the case for tables, codeunits, reports. So, it's a partial.
<edit: spelling, clarity>
hello tiffany,
i developed a solution within a customer project. to find a solution was very time-consuming and complicated. so, it's no possible to give you the solution for free.
if you are yet interested for a solution contact me by mail.
cheers
hello,
i wanna use zetadocs express with production orders.
there are some strange things.
* changing the Status from 'released' to 'finished' cuts the document links. so the finishied prod. order has no attached documents any more. but it's the same record with the same object no.
* in SharePoint normally the record-no. (nav object no.) and the organisation Name are shown in the SP document line. using the zetadocs factbox with a production order these values are empty. Also, ev. more important, in SP no document folders are created using. prod. orders.
does anyone know this problem?
regards
hi,
i'm not sure what you mean, but maybe you wanna know how to find the nav tables within the sql db. the data tables have the same name as in nav, but with the company name as prefix except the base tables (users, security, ...).
cheers
hi
check file ClientUserSettings.config in C:\Users\<User Name>\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\71
is the client pc within the same windows domain?
cheers
hi
this is a funny error presented by MS. the sql report engine does not manage the memory very well. it's easy to get that error.
so what can you do: only send the really needed data from nav to the sql report.
that means: do not filter data in the report but in the dataitems
use labels instead of text fields
do not send the same information twice or more.
be aware of the structure of the dataitems.
AND: use only few small or better no images in the report.
the usage of (large) images is the most reason of that error.
the less data the report gets the better it is.
cheers
hello,
1. check the installation guide once again.
2. check the zetadocs sharepoint extensions in sharepoint administration (are the ext. activated?)
3. do the (windows/nav) users have read permission to the zetadocs archive/library?
4. check topic 3.8 "setting up users" in the installation guide.
cheers
hi
are all workstations within the same windows domain? if not, delegation settings and impersonation are a challenge.
try full qualified name of the (nav app.) server, try the ip address instead.
best regards
Having difficulty accessing NAV 2013 R2 Soap Services. I'm issuing a http call to list all published services i.e. http://<NAV Application Server>:port/<Instance>/WS/Service. This returns the correct published services listing when requested from IE on the NAV Application Server but not from any other workstation. From any other workstation I get a security login which I complete with Windows credentials and I then receive HTTP error 400 - web page cannot be found. I've been over the delegation settings many many times and cannot figure this out.
Any help will be appreciated.
hi,
maybe a security topic or
word does not start in edit mode (view mode).
br