|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
IIS / ACCESS / ASP launch
Hi everybody!
I work on an existing application in ASP, which requires an access to DBAccess. I work on Win2K Professional and launch ISS. I have created both an administrator and a user count. The fact is that I can't launch ASP file in a browser. It results in asking me whether I want to register the file or whether I want to open it with an application on the hard disk. I use FrontPage to edit ASP files. Using this software allows me to see the result of html but not the results of query (using DBAccess). I have yet declared an ODBC source refering to my Access database. I have also nstalled IIS. But I can launch it only when Administrator!?? I have declared a virtual path to my web pages. But impossible to attain them in Netscape or IE. If anyone has had these kinds of problem and can take a few minutes to give some help, thanks a lot. Sincerely |
|
#2
|
|||
|
|||
|
When logged in on *your* machine with the Administrator account you say it works ?
But when logged in with the user account you say it doesn't right? try giving that *user* account the *same* rights as the administrator account for *testing* purposes and see if it works! Personally, *I* work on a win2K professional myself and I am administrator of my machine, I have to be, because I register some COM objects(.dll) so my suggestion to you is to *always be administrator* of your machine when you code. Hope this helps! Sincerely Vlince |
|
#3
|
|||
|
|||
|
It works neither with the Administrator count nor with the user one!
An important point too, is that I use AspMap also. I attempt to log in as "user" after a suggest I found in the forum, about someone having problems when launching asp files. I rather suspect my server not to be well working. I have indeed this sentence in Netscape when I launch an asp file : No web site has been configured on this address. Otherwise, a window opens asking me whether I want to register the asp file or to launch it with an application (as I said previously). In fact, I am obliged to start IIS by logging as Administrateur 'cause I can't access http server via the Internet Services Manager of Windows. I have followed the configuration steps, but to my mind, there's still a problem from here. I wonder... |
|
#4
|
|||
|
|||
|
Ok in that case all that's left to do is DEBUG.
Step1) Make sure you have an Inetpub folder usually installed here: C:\Inetpub Step2) Inside the Inetpub folder you have a wwwroot. Create a simple *.html* file that says "Hello World" call that page test.html NOTE: It *must* be inside the wwwroot folder. Then open a browser and type: http://localhost/test.html Now does this work ? Do you see the "Hello World" message inside your browser? Step3) Let's try with an .asp page now! Step4) copy/paste the test.html and rename it to test.asp notice the file extension from .html to .asp Step5) http://localhost/test.asp What do you get? Another thing you *might* want to look into is Administrative Tools-->Internet Service Manager Once open, make sure the *Default Web Site* is running(The PLAY icon should be disable since it is running) Now right click the *Default Web Site* and go to properties Select the Documents tab and make sure you have an .asp page in there. Also, check out the Directory Security tab the *first* button Edit... click it This fires the Authentication Methods dialog box. Check(if not checked) the Anonymous access checkbox then click on the *first* Edit... button. This fires the Anonymous User Account dialog box. Make sure you have ISUR_machine_name Where machine_name is the name of your machine At this point, it can be anything, check out the different *tabs* also make sure your firewall(if you have one) isn't blocking the pages Its really hard to *guess* since I don't have the machine next to me but it should be something around that if not security issues. The worst case, you'll have to reinstall win2K and IIS but I doubt that. Also might want to search google.com for any Microsoft related articles... Hope this helps! Sincerely Vlince |
|
#5
|
|||
|
|||
|
I create the test.html and unfortunately when I launch http://localhost/test.html :
--> if I am not connected to the web, nothing appears --> if I am connected to the web, it writes that the site is unfound. I can't access ASP files through their virtual address. About, thanks echolalia, I didn't know asp files could'nt be opened by clicking on them. I have followed your instruction Vlince through the Internet Services Manager. But it doesn't change the problem. It is possible that the problem is due to security "barriers". I don't think I have a firewall. My PC takes part to the Intranet of the firm. But the proxy may cause some limitations ? Thanks for your help. I know it is difficult to solve when you've not the problem under your eyes. I try to find any help in articles. Thanks again. |
|
#6
|
|||
|
|||
|
When I type "ping localhost" to DOS, it works.
I check for the proxy. In fact, I don't use it for the LAN connections. I can't execute iisresset / restart if I'm just a user and not the administrator (but I launch IIS by logging in as Administrator). Anyway, typing "http://localhost" still results in an error. I can't acceed to the page of my web site in a navigator ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > IIS / ACCESS / ASP launch |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|