[Axapta-Knowledge-Village] Error when install Ax4

2007-10-23 Thread axaeffect
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.GrantAosAccessToRemoteSqlSer
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




[Axapta-Knowledge-Village] Re: How to create http request?

2007-10-23 Thread Steeve Gilbert
I'm actually trying something close to what you need.  I'm using a 
COM to do the request.  Here's some sample code :


COM xmlhttp = new COM(MSXML2.ServerXMLHTTP);
COM xmlResponse;

xmlhttp.Open(POST,http://somewebsite/somepage.asp,false);
xmlhttp.setRequestHeader(Content-Type, application/x-www-form-
urlencoded);
xmlhttp.send();
xmlResponse = xmlhttp.responsexml();

info(xmlResponse.xml());



--- In Axapta-Knowledge-Village@yahoogroups.com, Marko Kull 
[EMAIL PROTECTED] wrote:

 
 Hi.
 
 I consider mysqlf quite experienced in axapta, but now I'm faceing 
a simple problem.
 How can I create a simple http request? I mean something like 
adding a comment to some article?
 In HTML it looks something like this:
 
 FORM Target=MyTarget
   textarea name=requestparams Here goes a big XML text, actually 
includes needed request parameters /textarea
   input type=submit
 /FORM
 
 How can I create such request in Axapta using X++?
 
 Thank You.
   
 
 
 [Non-text portions of this message have been removed]





[Axapta-Knowledge-Village] Re: How to get the application path in the code

2007-10-23 Thread Steeve Gilbert
Use : xInfo::directory(DirectoryType::Appl)

Steeve...

--- In Axapta-Knowledge-Village@yahoogroups.com, Marwa Elsawah 
[EMAIL PROTECTED] wrote:

 Hi all,
 I wanna ask about how to get the application folder path in the code 
to be
 dynamic wherever it is the application folder, may anyone help me 
ASAP?
 Thanks.
 
 
 [Non-text portions of this message have been removed]





[Axapta-Knowledge-Village] Report prints different on different computer

2007-10-23 Thread V G
Hi

I am facing a problem where in a custom report is printing fine when I print
it on my computer. But when I run/print the report on client computer it is
printing a little different like the lines are longer there.

Thanks in advance
VG


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



[Axapta-Knowledge-Village] rundll32 issue

2007-10-23 Thread techamitdev
Hi,

I am trying to view TIFF file through navision and it is giving me 
following error:

The operating sytem cannot find  the file RunDLL32.exe.

Please check that the drive, directory, and file names are correct.

Any thought?