Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

IIS Discovery Pattern Failed

Not applicable

Hello Experts,

 

can someone please help me to overcome this error for IIS Pattern?

 

Identification Engine: Discovery status is FAILURE, Identification sections in pattern failed: section: Identification for HTTP(S) entry point type(s) for IIS6 second logic, error: Match step predicate is not matched. section: Identification for HTTP(S) entry point type(s) for IIS7 and above, error: JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Parse port for websites - get all ports' at line 4

1:
2: var binds = iis_websites___bindings;
3: var port = binds.match(/.*?(\d+)/);
==> 4: port = port[1];
. section: Identification for HTTP(S) entry point type(s) for IIS6, error: Match step predicate is not matched.
1 ACCEPTED SOLUTION

Not applicable

we are getting null value from the websites where net.pipe protocol configured. In below line, it is trying to assign first index of null. Hence it is failing. 

port = port[1];

View solution in original post

5 REPLIES 5

Not applicable

we are getting null value from the websites where net.pipe protocol configured. In below line, it is trying to assign first index of null. Hence it is failing. 

port = port[1];