Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
New Member
Posts: 12
Registered: ‎05-17-2010

Object reference not set to an instance of an object , When try deploying SlxClient from AA

Hi Everyone,

 

I just restored the project, I am receving the error when deploying SlxClient from Application Architect,

"Object reference not set to an instance of an object".

 

Build Output:

INFO  - Writing target Manifest for portal ProcessHost
INFO  - Skipping javascript minify process for SageSalesLogixCommon.jsb. Project file was not found in scripts directory.
INFO  - Skipping javascript minify process for SageStyles.jsb. Project file was not found in scripts directory.
INFO  - Using inherited target port and app pool settings
INFO  - Configuring IIS Directory for ProcessHost
INFO  - Finding virtual directory ProcessHost on LocalHost.
INFO  - Virtual directory found. Skipping  directory configuration
INFO  - Portal ProcessHost deployed to all targets
INFO  - Writing target Manifest for portal sdata
INFO  - Skipping javascript minify process for SageSalesLogixCommon.jsb. Project file was not found in scripts directory.
INFO  - Skipping javascript minify process for SageStyles.jsb. Project file was not found in scripts directory.
INFO  - Using inherited target port and app pool settings
INFO  - Configuring IIS Directory for sdata
INFO  - Finding virtual directory sdata on LocalHost.
INFO  - Virtual directory found. Skipping  directory configuration
INFO  - Portal sdata deployed to all targets
ERROR - Object reference not set to an instance of an object.

 

 

Any help, please?

 

 

Regards,

Saw

Bronze Super Contributor
Posts: 141
Registered: ‎02-22-2010

Re: Object reference not set to an instance of an object , When try deploying SlxClient from AA

Can you Check Deploying Each Portal Individually instead of Deploying All Portals at a time. May Be in that way we can find out i which portal it is throwing the above error.
New Member
Posts: 12
Registered: ‎05-17-2010

Re: Object reference not set to an instance of an object , When try deploying SlxClient from AA

Thanks for reply.

 

SlxClient portal throwing error.

 

 

ProcessHost

INFO  - Writing target Manifest for portal ProcessHost
INFO  - Skipping javascript minify process for SageSalesLogixCommon.jsb. Project file was not found in scripts directory.
INFO  - Skipping javascript minify process for SageStyles.jsb. Project file was not found in scripts directory.
INFO  - Using inherited target port and app pool settings
INFO  - Configuring IIS Directory for ProcessHost
INFO  - Finding virtual directory ProcessHost on LocalHost.
INFO  - Virtual directory found. Skipping  directory configuration
INFO  - Portal ProcessHost deployed to all targets
INFO  - The deployment was completed Successfully

SData
INFO  - Writing target Manifest for portal sdata
INFO  - Skipping javascript minify process for SageSalesLogixCommon.jsb. Project file was not found in scripts directory.
INFO  - Skipping javascript minify process for SageStyles.jsb. Project file was not found in scripts directory.
INFO  - Using inherited target port and app pool settings
INFO  - Configuring IIS Directory for sdata
INFO  - Finding virtual directory sdata on LocalHost.
INFO  - Virtual directory found. Skipping  directory configuration
INFO  - Portal sdata deployed to all targets
INFO  - The deployment was completed Successfully

 

SlxClient

ERROR - Object reference not set to an instance of an object.

 

At least, AA should show why causing the error, or is there any log to check?

New Member
Posts: 12
Registered: ‎05-17-2010

Re: Object reference not set to an instance of an object , When try deploying SlxClient from AA

Found the solution.

I noticed that the project restored from another machine and use 'Add as link' to add files to Portal Manager.

These files are in different location at new machine.

Solution is update the contents "Model\Portal\SlxClient\SupportFiles.def.xml" to point to the correct path, restart AA and redeploy again.

 

Thanks.