Determining success Registering assembly using sps.exe ?

Discussions related to SoftPro Select Server development.

Moderator: Phil Barton

Post Reply
brianc_la
Posts: 15
Joined: Fri Oct 10, 2008 2:01 pm

Determining success Registering assembly using sps.exe ?

Post by brianc_la »

How can you check and see that the registering step using the sps.exe utility is a success? Where might you look to see it is correctly installed?

The sps.exe does not return any notification of a successfull registration.
Mark McKenna

Re: Determining success Registering assembly using sps.exe ?

Post by Mark McKenna »

If you were using the register command, you should be able to then use the SPS utility to query the Server for the services known to be registered.

Code: Select all

sps.exe services /s:(server)
brianc_la
Posts: 15
Joined: Fri Oct 10, 2008 2:01 pm

Re: Determining success Registering assembly using sps.exe ?

Post by brianc_la »

Here is the output. Does anything look suspicious?

The assembly that is loaded is called Landam.Validations.Custom.dll.

When 1 custom business rule as a test is loaded, the server goes to 100% CPU.


{Test Future}
C:\Program Files\SoftPro\Select Server\Tools>sps.exe services /server:http://localhost/SelectServer /user:xxxxx,xxxxxxxx
Service : OrderTracking
--------------------------------------------------------------------------------------------------------------------------------------
Guid : c4c55687-a771-42f4-8feb-3ec0640f3afc
Endpoints : {Count = 2}
ID Name Address
------------------------------------ -------------- -------------------------------------------------------------------
688d586d-63c2-410b-af4d-598d7b523a8d ScreenRegistry http://localhost/SelectServer/OrderTrac ... gistry.svc
69952518-49d0-4c59-8b2d-b1341720bcfa Lookups http://localhost/SelectServer/OrderTrac ... ookups.svc
Events : {Count = 5}
ID Name
------------------------------------ ----------------------------------------------------------------------------------
c4edbd4f-f11d-4c48-be08-8c105181f5c9 OrderChanged
cec82641-2d23-4072-bd81-4ac126ba2567 OrderClosed
c3088264-4f52-4256-9132-ccb0b9ff0906 TasksChanged
cacdf1c3-d4be-4471-b345-1f7a81a6fa87 CommitmentChanged
dc43850f-04c4-4ebc-bc23-7d863462820d InvoiceChanged
Attributes : {Count = 0}

Service : Accounting
--------------------------------------------------------------------------------------------------------------------------------------
Guid : 6b0c588d-9f10-485f-963e-443594479ac0
Endpoints : {Count = 0}
Events : {Count = 1}
ID Name
------------------------------------ ----------------------------------------------------------------------------------
0d670a83-cc37-4d7e-b507-186f2ecf23f4 Disbursement
Attributes : {Count = 0}

Service : Integration
--------------------------------------------------------------------------------------------------------------------------------------
Guid : 3dd607a1-3389-4455-8752-96031a784748
Endpoints : {Count = 6}
ID Name Address
------------------------------------ ----------------- ----------------------------------------------------------------
c1c59a83-2f73-427e-96d8-0151c5510302 ServerStatus http://localhost/SelectServer/Integrati ... Status.svc
70d05be4-9205-454f-b8e4-26e5d148b55c Authorization http://localhost/SelectServer/Integrati ... curity.svc
296170c7-93b0-429e-aa53-78cb2677eca1 EventNotification http://localhost/SelectServer/Integrati ... fication.s
c1270162-acb0-4b05-883a-ad5d6eafb297 Authentication http://localhost/SelectServer/Integrati ... curity.svc
3bf32ae8-7d7c-477d-809f-bb8bb29adbf4 Licensing http://localhost/SelectServer/Integrati ... ensing.svc
ced8102e-502a-4af3-be7c-ff70bcd963d6 Registration http://localhost/SelectServer/Integrati ... ration.svc
Events : {Count = 0}
Attributes : {Count = 10}
Name Value
---------------------------------- ------------------------------------------------------------------------------------
BusinessObjectCollectionAssemblies SoftPro.BusinessObjects.Core
BusinessRuleAssemblies SoftPro.BusinessRules.Core;Landam.Validations.Custom.dll
DocAndReportDefsPath Data\DocAndReportDefs
ManagerAssemblies SoftPro.SPAdminManagers.Core; SoftPro.SPAdminManagers.UI
ManagerControlAssemblies SoftPro.Administration.Controls; SoftPro.SPAdminManagers.UI
ManagerObjectMapsPath Data\ManagerObjectMaps
RuleInstanceDefsPath Data\RuleInstanceDefs
SnapSectionAssemblies SoftPro.OrderTracking.Controls; SoftPro.UI.Base
StorageSystem SoftPro.Documents.Storage.FileSystem.FileSystemStorage, SoftPro.Documents.Storage.Fi
DbConnectionString Data Source=xxxxxxxxdb03d;Initial Catalog=XSoftProDotNetCentral;Integrated S
Mark McKenna

Re: Determining success Registering assembly using sps.exe ?

Post by Mark McKenna »

Try to register your assembly without the .dll file extension. Your output from the Integration service section would then look like:

Attributes : {Count = 10}
Name Value
---------------------------------- ------------------------------------------------------------------------------------
BusinessObjectCollectionAssemblies SoftPro.BusinessObjects.Core
BusinessRuleAssemblies SoftPro.BusinessRules.Core;Landam.Validations.Custom
DocAndReportDefsPath Data\DocAndReportDefs
etc.
Post Reply