[WD19] Shell execute not working for url's

Startbeitrag von Al am 23.01.2015 04:21

Hello All

A client has a cloud server running Windows Server 2008 R2

On that server the Windev shellexecute() commands for everything except passing a url work as expected and everything works on 2008 R1.

On 2008 R2 shellexecute("www.windev.com") doesn't open a browser even with http:// ot https:// as a prefix.. The client's tech support say that Microsoft must have changed something in 2008R2 and its's not their problem.
I can't imagine the MS would change something as fundamental as shellexecute() functionality but as it is only url's that don't work maybe there is a security or permissions issue ?

Regards
Al

Antworten:

Hi Al,

I don't have this kind of problem.
Maybe it's a security setting in Windows?

Can you check if the website opens if in Windows you do :
START -> Run -> www.windev.com

Kind regards,
Joris.

von Joris - am 23.01.2015 10:18
Hello Joris

That doesn't work on the 2008R2 server, although it does work on a 2008R1 server and every other computer I own.

Does the failure of the run www.windev.com indicate a possible cause to you ?
Do you have the Windev shellexecute() function working for url's on a 2008R2 server ?

Regards
Al

von Al - am 23.01.2015 23:48
Al

I have several Windows 2008 R2 servers and the Run www.windev.com works fine. Our apps also use ShellExecute() and that also works fine. Our servers are also fullu patched. This is not a Windows 2008 R2 problem per se.

It would seem to me that for some reason the link between a URL and a browser is lost so Windows does not know what to do with it i.e. how to open it. I would google something like; file association url browser

HTH

von JP - am 24.01.2015 09:04
Hello JP

Thanks for the confirmation, it gives me some ammunition to go back to the tech support guy at my client.

Regards
Al

von Al - am 24.01.2015 12:18
Al,

Some links:

http://www.techtalkz.com/internet-explorer/473608-lost-file-association-url.html

Relevant part:

Go to Control Panel > Default Programs.
* In Set your default programs, set IE as default.
* In Associate a file type, associate type url with IE
* In Set program access and computer defaults, set IE as the default
browser.


http://www.tomshardware.co.uk/forum/89286-45-files-dont-open-internet-explorer

von JP - am 24.01.2015 19:35
Hello JP

Thanks for the followup info.

Regards
Al

von Al - am 25.01.2015 05:12
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.