|
<< Click to Display Table of Contents >> Navigation: Forum > Http.sys deploy and aHttpBindings |
03-25-2021, 06:03 AM:
Hi guys, have anyone seen the error below and has any tip to solve it?
TIWServiceWorker.Execute: [HttpSys] A call to "HttpAddUrlToUrlGroup" failed: The parameter is incorrect http://app.bobskeywords.com/
This is my code:
aHttpBindings.Add('http://app.bobskeywords.com/');
I have the above URL pointing to the server the app is running and I can run the app if I use a URL base for the binding, for example:
aHttpBindings.Add('http://*:80/bkw/');
in this case, if I try to access my app using http://app.bobskeywords.com/bkw/ it works as expected.
Cheers and thanks.
Jackson
03-25-2021, 12:33 PM:
Hi Jackson. When you Bind information manually, you need to enter the complete url:
aHttpBindings.Add('http://app.bobskeywords.com:80/bkw/');
And if you use https, do the same:
aHttpsBindings.Add('https://app.bobskeywords.com:443/bkw/');
03-25-2021, 09:42 PM:
aHttpBindings.Add('http://app.bobskeywords.com/')
Is a full URL too... Does http.sys *require* a path? Can it not bind to the root path of a domain?
03-25-2021, 11:55 PM:
(03-25-2021, 12:33 PM)Jose Nilton Pace Wrote: [ -> ]Hi Jackson. When you Bind information manually, you need to enter the complete url:
aHttpBindings.Add('http://app.bobskeywords.com:80/bkw/');
And if you use https, do the same:
aHttpsBindings.Add('https://app.bobskeywords.com:443/bkw/');
Thanks for the tip... you really need to add the full URL, including the port number.
https://docs.microsoft.com/en-us/windows...ix-strings
03-26-2021, 12:53 AM:
Odd.... that Microsoft doesn't accept 80 as the default like is usual.