ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 30th, 2003, 06:28 AM
tipy tipy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 22 tipy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old June 30th, 2003, 08:17 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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

Reply With Quote
  #3  
Old June 30th, 2003, 09:29 AM
tipy tipy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 22 tipy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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...

Reply With Quote
  #4  
Old June 30th, 2003, 09:58 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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

Reply With Quote
  #5  
Old June 30th, 2003, 10:39 AM
tipy tipy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 22 tipy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #6  
Old July 4th, 2003, 03:34 AM
tipy tipy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 22 tipy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > IIS / ACCESS / ASP launch


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway