ASP.NET dumb question

lothos12345

Junior Contributor
Joined
May 2, 2002
Messages
294
Location
Texas
I have created a web application and it works fine on the computer it was created on. However when I try to browse to the application on another machine it does not work? The computers are networked, it gives me a page cannot be displayed error. I guess I am trying to use the computer the app. was created on as a web host. Not sure whats wrong and did I mention I am new to ASP.NET
 
Can any other asp scripts be displayed on the other computer?

There is some weird batch type program you need to run, which i always forget about, and then stumble upon accidentally.
 
Question

What batch program do I need to run? How do I configure the asp application so that other users on the same network can start using it like a website? Any help given is greatly appreciated.
 
As i say i cant remember, i only ever find it by accident. Try google. Sorry i cant be more use, but i am a nufi myself.
 
This does not sound like an ASP.NET issue unless security is involved.

First of all make sure computer2 (client) can reach computer2 (server). Use ping or something like that.

If this is the case and you put the machine name and/or IP address in the browser on the client machine what messages do you get back from the server?
 
Problem in detail

Computer2 is the development computer I develop the ASP.NET application there. And if I open my webbrowser and point it to http://computer2/applicationstuff.aspx it works fine on computer2. The problem comes when computer3 tries to browse to http://computer2/applicationstuff.aspx, its browse returns a Page cannot be displayed message. This problem occurs it I use the computer name or the IP address in the URL. Both computers are networked and have full access to one another. I am not sure what the problem is. Any help given is greatly appreciated.
 
Try giving the "IUSR_xxxx" account on the machine in question read access on the application directory. Also make sure "ASP.NET Machine Account" has access.
 
lothos12345 said:
Computer2 is the development computer I develop the ASP.NET application there. And if I open my webbrowser and point it to http://computer2/applicationstuff.aspx it works fine on computer2. The problem comes when computer3 tries to browse to http://computer2/applicationstuff.aspx, its browse returns a Page cannot be displayed message. This problem occurs it I use the computer name or the IP address in the URL. Both computers are networked and have full access to one another. I am not sure what the problem is. Any help given is greatly appreciated.

Is your application in inetpub/wwwroot/ directory?
Have you tried http://computer2:8080/applicationstuff.aspx ?
or http://computer2:8080/folder_name ?
 
Still not working

Again I can browse to the program fine on the development machine however, I cannot seem to browse to the app via any other machine, and all machines have access. It keeps giving me a "Page cannot be displayed Error" not sure what is wrong. I have tried all the above mentioned suggestions, however nothing seems to work. Please help.
 
You must make sure that computer3 can log on computer2, else it will be denied access. This is done in the IIS Admin screen in the control panel. Just select the directory and directory security, click edit. Also make sure the rights on the directory include read and execute scripting.
 
Please Help

I am not sure what to do. The ASP.NET application is ready to go, if the computer are on the same network shouldn't be as easy as a remote computer typing "http://computername/applicationname/webform1.aspx" to get to the asp.net application. It's just that easy on the development machine, which by the way I am trying to run this asp.net app off of. Please let me know what I am missing.
 
Yes thank you

Yes I had the XP windows firewall up blocking the access to the computer. Thank you very much for your help.
 
Back
Top