Quantcast
Channel: SCN: Message List - SAP NetWeaver Administrator
Viewing all articles
Browse latest Browse all 8487

Re: NWBC: No predefined system matches the specified location

$
0
0

Hi All,

 

I've come in to look at the issue, and it appears it has to do with the URL parameter length of the call (the part after the ?).

 

e.g. Taking it back to pure fundamentals of the issue, the following are working scenarios running it from the command line (deliberately using a fixed length font to show the parameter issue):

"NWBC.exe sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc~canvas;window=app/obn/NotifCount.Disp?STRNO-LOW=AN"

"NWBC.exe sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc~canvas;window=app/obn/NotifCount.Disp?STRNO=AN%2DC"

and the following only work for people with local administration on their Windows 7 machine, otherwise you get the error below:

"NWBC.exe sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc~canvas;window=app/obn/NotifCount.Disp?STRNO-LOW=AN%2DC"

"NWBC.exe sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc~canvas;window=app/obn/NotifCount.Disp?STRNO=AN%2DC%2DDAM"

 

or to make it even less about the OBN, the following produces the same error:

"NWBC.exe sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc?STRNO-LOW=AN%2DC"

 

or even!

"NWBC.exe sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc?AAAAAAAAAAAAAAAA"

while this works!

"NWBC.exe sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc?AAAAAAAAAAA"

 

Error reported from NWBC in verbose tracelog:

+++ Tracelevel for module 'NwbcBrowser.dll' = Info
11:04:48.862 [Runtime]         RuntimeUi.TryGetConnectionAndConfigureStartupNavigation {
11:04:48.862 [Runtime]          FederatedRuntime.GetOrCreateConnectionForStartup {
11:04:48.862 [Runtime]           FederatedRuntime.FindConnectionByUrl {
11:04:48.862 [Runtime]           } // FederatedRuntime.FindConnectionByUrl => <null>
11:04:48.862 [Runtime]           FederatedRuntime.CreateTemporaryConnection {
11:04:48.862 [Runtime]            CreateUriAndDotEscape: uri=https://sapert.xxx.com.au/sap/bc/nwbc?STRNO-LOW=AN%2DC%2DDAM%2DD03 {
11:04:48.862 [Runtime] .           Try to create uri without unescaping. Uri: https://sapert.xxx.com.au/sap/bc/nwbc?STRNO-LOW=AN-C-DAM-D03
11:04:48.862 [Runtime] .           Following uri created: https://sapert.xxx.com.au/sap/bc/nwbc?STRNO-LOW=AN-C-DAM-D03
11:04:48.862 [Runtime]            } // URLTools.CreateUriAndDotEscape
11:04:48.878 [Runtime]           

=========> Loaded assembly: System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

11:04:48.909 [Runtime] .          {7} MessageDialog.Show [Runtime<=>main]: Waiting for result...
11:04:48.925 [main]           MessageDialog.Show [Runtime<=>main] {
11:04:48.925 [main]            <>c__DisplayClass5.<Show>b__4: Title: Security Warning, Message: SAP Netweaver Business Client has identified a potential security concern.

No predefined system matches the specified location:

  sap-nwbc://https://sapert.xxx.com.au/sap/bc/nwbc/~canvas;window=app/obn/NotifCount.Disp?STRNO-LOW=AN%2DC%2DDAM%2DD03

The creation of temporary connections is disabled by default.

Contact your administrator to define the connection for this system in NWBC settings or to allow temporary connections.

(For more information, see '3.5 Administrator Configuration' in the NWBC 3.5 documentation.), Icon: Warning, ChoiceId: , PermanentlyPersistChoice: False, OptionalDefaultButton: OK, Buttons: System.String[] {
11:04:48.940 [main]            

 

Pretty sure it's some kind of .NET routine relying on some security setting, but really need to debug the above NWBC code to see what it's using.

 

So would recommend adding this to the service marketplace to get some feedback, and in the mean time, start looking at all the .NET security registry settings about restricted URL parameter lengths or something.

 

Cheers,

Matt


Viewing all articles
Browse latest Browse all 8487

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>