473,387 Members | 1,455 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to run ASP file from Client machine in an intranet??

6
Hi all,
I am working on an ASP application and the code is almost ready..but i am unable to run those files from the clients browser. I was testing the files as
http://localhost/<file_name>.asp

Please tell me how can run ASP file from another machine on the same network without actually installing IIS on client machine.

Please help !!
Nov 8 '08 #1
9 4473
DrBunchman
979 Expert 512MB
Hi winash,

Welcome to Bytes.com! I hope you find the site useful.

ASP pages will only run through IIS so if you want another machine to be able to browse your pages you will need to set up your website on a server that the machine has access to or install IIS on that machine and copy the files to it.

Hope this helps,

Dr B
Nov 10 '08 #2
winash
6
Thanks Dr. B,
But I have already set up all my files on the server n I have given users all the permissions. I am using Access at the back end. When I try to open asp file from user's machine asp code does not get executed and browser displays that.
Please reply!!
Nov 11 '08 #3
DrBunchman
979 Expert 512MB
How are you trying to browse the site from the users machine? To browse a site located on the IIS of a different machine you need to use the following url pattern:

//<server name or IP address>/<virtual directory or website name>/<page name.asp>

Is this how you've been browsing the site? If not give that a go. If you have done this then what is the message that is displayed in the browser?

Dr B
Nov 11 '08 #4
winash
6
How are you trying to browse the site from the users machine? To browse a site located on the IIS of a different machine you need to use the following url pattern:

//<server name or IP address>/<virtual directory or website name>/<page name.asp>

Is this how you've been browsing the site? If not give that a go. If you have done this then what is the message that is displayed in the browser?

Dr B
I installed IIS on my machine (windows XP) and created one folder "SRTS" in the wwwroot directory. From there I was running asp file as

localhost/SRTS/login.asp

Now I dont know how to run it from another machine without actually installing IIS. I believe tht IIS is not required on every machine.
I tried following url:
192.168.1.206/localhost/SRTS/login.html
This gave me Page Not Found error!!
Nov 11 '08 #5
winash
6
I also tried to run it as
192.168.1.206/c:/inetpub/wwwroot/SRTS/login.asp

this loads my page but without running the asp code!!

Help me !
Nov 11 '08 #6
DrBunchman
979 Expert 512MB
Try 192.168.1.206/SRTS/login.html

localhost is the servername when you are browsing the site from the machine that the IIS is on - you don't use it when browsing it remotely.

Let me know if that works

Dr B
Nov 11 '08 #7
winash
6
I tried following url:

192.168.1.206/SRTS/login.html
But it gives error:

"Page can not be displayed"

Please tell me what all access permission settings I need to do at the client side.

Thanks a lot
Nov 13 '08 #8
winash
6
Thanks Dr. B

I got it!!!!

Windows Firewall on my server was not set to allow HTTP.
I set it to allow HTTP and added default.asp page in wwwroot folder. and Thats it!!!!!!!!!!!

Thank u a lot!!!
winash
Nov 17 '08 #9
DrBunchman
979 Expert 512MB
No problem winash, glad you got it sorted :-)
Nov 17 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Tess | last post by:
Hi, Long time reader, first time poster... Any help is appreciated. I have a few questions regarding Winform controls embedded within an html page. For more info please see the appendix. Now,...
6
by: Nimesh | last post by:
Hi All, I am new to ASP.NET. I need to download a file from server to the client machine. Any ideas on how to go about this ? Thanks In Advance.
0
by: julio | last post by:
I have an application developed in .net, that is essentially an audio player, it can perform searches on a db on a server, and then play audio tracks (the audio tracks too are on a server, another...
3
by: Abhishek | last post by:
Hi! Everyone I have a small issue, if anyone could help me out I need to upload user files to my website thru my web application. something similar to attaching a file to the mail. I know one...
5
by: aatif | last post by:
Can I get machine key of the client accessing a web page through ASP.net, like I can make an exe which is installed on the client side to get his machine key, but how will it be transferred to the...
10
by: sonny | last post by:
Is there a way to do it? thx...sonny
0
by: julio | last post by:
I have an application developed in .net, that is essentially an audio player, it can perform searches on a db on a server, and then play audio tracks (the audio tracks too are on a server, another...
7
by: CJM | last post by:
I have a page on our intranet that is supposed to stream an Excel sheet to the user. I'm using pretty standard code: sFilePath = sFileDir & sFilename Response.AddHeader...
6
by: DevX | last post by:
Hello, I have a big intranet that I run with IIS 6.0. I need to log the client's machine names, and I found on the web istruction on how to use REMOTE_HOST server variable while enabling...
6
by: raymond_b_jimenez | last post by:
I need to download a file from an Intranet web site and feed it into a program on the PC where the browser is running. Browser is Internet Explorer. Both Javascript and VBscript are options. Which...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.