Runnig exe file from Internet explorer

Hi everyone,
my problem in short:
--------------------------------------------------------------------------------------------------------------
"From internet explorer, i want to put in the URL .exe file directory to run it."
---------------------------------------------------------------------------------------------------------------

From the server side:
I have 2003 Server, i installed IIS and ASP windows components,
from the client side:
i made the server name to be in the trusted sites, i can ping the server by its name, like "ping servername" and i can ping its IP.
but when I put the exe file directory it is not giving any outputs !

in the same time:
but from the client, if i go to run > \\servername\location.exe it will work
a security warning window opens and it is asking if i am sure that is a know publisher, once you click run, the exe file will be executed and working.

AymanOZAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NrisimhaCommented:

Did you try this to put in your URL field in IE:

//servername/location.exe


Because, your command is a typical DOS or Windows command with BACKSLASHES.
Mine is with SLASHES what is correct for URL syntax.


good luck

Nrisimha
0
AymanOZAuthor Commented:
yes, from Ineternet explorer, i used //
but from run i used \\

i think it is something with the .net or with the security !!
any help!!
0
NrisimhaCommented:

Something like a full URL page with file that you need to download:

http://www.astrologija.net/CMR/CM_Fonts_ALL.zip

or

http://www.paukic.com/euro/CM_Fonts_ALL.zip


Just one thing. You have to check this file properties with pressing a right mouse button and go to Properties. Then if you see a "Unblock" button then press it.


good luck

Nrisimha

0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

AymanOZAuthor Commented:
@Nrisimha,
how is this related to my problem?
0
NrisimhaCommented:

The problem in IIS is that here are defined a PATHS !!!

You have to set a path for your folder where is a placed location.exe file.

I had a problem with that, but once when I discover the possibility to set a path in IIS then I called this path from URL field where is location.exe.

I had a 10 years ago NT server and IIS so I couldn't even read HTML files in IE !
Then my friend add a path in this server. His name was Jupiter ( jupiter ).

And I have to enter next URL with a full path - //jupiter/home/directory/nrisimha/index.html and I could get my Intranet web page under any browser.

It is a same with EXE file, the difference is only that browser ask you to run or save this EXE file.


good luck

Nrisimha
0
AymanOZAuthor Commented:
thanks Nrisimha, i am not expert, i did not understand what are you trying to explain ..
but from the client internet explorer, i can open html page. But exe i cannot!
0
NrisimhaCommented:

Of course, because you have to set additional permissions for EXE, BAT, MSI or even SWF files.

You know there are three option - enable or disable READ, WRITE and EXECUTE.

It is connecting with security. If someone want to run EXE file from local server than Administrator of that server will be responsible in a case if he ENABLED one directory ( folder ) that any user can Read, Write or Execute a files in this folder.

My friend which was Network Administrator has to set this permission that only I can use EXE file and run this from the server's folder. Because he enable this for me and gave me such permissions only when I logged on server with my username and password.
All other users had to log in also when Windows boot up finished, because they had to write in log on window Username and Password and they get their IP address.

What was the issue? I have bought an Mailer EXE program that has ability to be executed on the server. When I was opening one HTML page that was in that folder and that contained a simple FORM for our users who want to fill in that Form and describe their Computer problems and then send it data to E-mail of our Helpdesk.

I could successfully did it. But, my director didn't like that. He explained that he don't like any idea of executing any EXE files on the server.

It was a joke. We had installed at that time MS Windows, MS Office and Corel from the same server to users PCs.

But, it doesn't matter. I had to accepted a director's rules and I gave up of further experiments.


Nrisimha


0
AymanOZAuthor Commented:
Dear Nrisimha,
i really appreciate your help!
can you please forget about your history and your friends for a while ! and give me suggested instructions for my problem (if any) ?
0
NrisimhaCommented:

OK AymanOZ,

Try to do this:

1. create a new folder on your server and give to it a name "programs",
2. put in this folder 2 textual files with a .TXT extension and your file location.exe,
3. be a sure that your location.exe file has a name WITHOUT a blank spaces in the name,
4. then open on the client side a browser and type in the URL field this:
 
      //servername/programs/

If you set a right permissions for the folder programs then you have to get a list of files in your browser.You will get this:

client
Now, if you get this you can click on file location.exe to run that .EXE file.

And just this - when you are at the client PC and go to Start and click Run and write \\servername\location.exe then you press OK button and you will get an alert, are you sure at 100% that this filelocation.exe is transferred via TCP/IP?

I ask to you this, because connection from your server and client side can be enabled ( maybe ),
via another protocols that are used on the client's PC.

I am talking about a protocols that are enabled in the client's Network properties:

client1
The Client for MS Networks is enabled and it uses a NWLink NetBIOS protocol for communication between a server and client.


client2
 client3

Check all of this. So, you will find where is a fault and what's the point.


regards

Nrisimha
0
AymanOZAuthor Commented:
I found what i missed :O

Thanks all
exe.png
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AymanOZAuthor Commented:
Thanks All :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.