[development-axapta] Re: Error when install Ax 4

2007-11-09 Thread axaeffect
hi,

already enabled remote connection and named pipes protocol, but still 
that error come. :(



--- In development-axapta@yahoogroups.com, axaeffect 
[EMAIL PROTECTED] wrote:

 sorry, where I can find remote connection and named pipes?
 
 thanks,
 
 
 --- In development-axapta@yahoogroups.com, leetopida 
 leetopida@ wrote:
 
  Check the following in your SQL server Management studio: right 
  click the appropriate instance and enable remote connections, and 
  named pipes.
  
  --- In development-axapta@yahoogroups.com, axaeffect 
  axaeffect@ wrote:
  
   Hi all,
   
   I got error when installing Ax4 in my computers, right when the 
  setup
   says setup AOS. When I look at the log it says something like 
  this :
   
   === Setting up Object server ===
   Adding this computer's Network Service account as a login in to 
 the
   database server.
   Exception = System.NullReferenceException
   Message = Object reference not set to an instance of an object.
   FullText = System.NullReferenceException: Object reference not 
set
   to an instance of an object.
   at Microsoft.Dynamics.Setup.Misc.GetMachineDomain()
   at
   
  
 
Microsoft.Dynamics.Setup.InstallSqlServer.GrantAosAccessToRemoteSqlSe
  r
   ver()
   at Microsoft.Dynamics.Setup.MainForm.AosDbAccess()
   at Microsoft.Dynamics.Setup.MainForm.s250Timer_Tick()
    Setup ended before completion. ===
   
   
   Could anyone help me on this ?
   
   
   Thanks in advance,
   Tonz
  
 





[development-axapta] Re:Interacting via AxaptaCOMConnector, how to set fields?

2007-11-09 Thread Martin Sujkowski
I don't know about 4.0 but in 3.0 you just call CreateRecord function
passing it the name of the table you want to create. That

Will return IAxaptaRecord object. Then you call
set_field(fieldname,value)

to set your fields. 

It's all pretty straight forward and believe it or not there is some
documentation on it. Look up CreateRecord in the developer's guide.

 



[Non-text portions of this message have been removed]



[development-axapta] The logon attempt failed

2007-11-09 Thread cshauw
Hi all, anyone can shed a light to me about the message below? The
message will appear every few minutes in the event log of the AOS
server. Will this become the performance issue of the server?

Object Server axMFI: Security package/Domain Authentication failed
during initialize context.
Error code 0x8009030C
The logon attempt failed

Thanks you so much.




[development-axapta] Contact person Go To Main table

2007-11-09 Thread James Flavell
Hi everyone
 
I have added an extra contact person field on the sales table and have
overridden the lookup() to provide  a list of contacts from the INVOICE
ACCOUNT.
 
The problem is the Go to main table does not work on this new field.  I have
overriden the jumpref() to set the args.enum to YES in the jumpref() to
indicate it is a Go to main table but the contact person records shown are
those of the salestable.orderaccount
 
After some checking I found that there is a table relation on cotnactperson
that sales contactperson.custaccount == salestable.orderaccount
From what my testing has found this relation puts a 'silent' filter or join
into the contact person query when the form is called as a Go to main
 
Is there:
1) a way to change this (I played with the executequery() in contact person
but could not get anything to work)
2) how/where do I store in args the calling field (because i ahve 2 fields)
so I can work out where the contactperson was called from
 
Right now I removed the jumpref() on the field and this half works...it gets
the right record but the problem is it shows ALL contactperson records where
as I only want to show the contactperson records having custaccount ==
slaestable.invoiceaccount
 
Lok forward to hearing possible solutions
 
Thanks
James
 
 


[Non-text portions of this message have been removed]