|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
All of my scripts run fine locally in netscape, but when I push them up to the web, Netscape just displays the code when I (and everyone else) access them. I even tried very simple codes right out of the WROX manual...nothing will run - even html saved as ASP.
I recently had ASP activated on both of my webservers. Is it possible the problem is there? Other sites with asp run fine. I'm a little new to ASP obviously...any help is greatly appreciated!! Thanks ------------------ Mike schplurg@GameEdit.com |
|
#2
|
|||
|
|||
|
ASP is a server-side technology. How is it that they run fine locally? By their very nature, you shouldn't be able to view them locally.
|
|
#3
|
|||
|
|||
|
I meant I'm using PWS(personal web server) to run asp scripts on my pc here at home. All my scripts run fine here. When they are on the web, Netscape won't run them...IE5 will. Scripts don't get anymore basic than the ones I and my friends have tried to run online.
Still lookin for help... :-) ------------------ Mike schplurg@GameEdit.com |
|
#4
|
|||
|
|||
|
OK. Would you mind posting an example (URL) of one that works locally, but not on the server? If you change the extension to .txt, I can see the source.
|
|
#5
|
|||
|
|||
|
Hers an example...simple piece of code right out of my training manual,,
http://www.gameedit.com/taxcalc.asp try it in netscape and you'll see the code...but heres it is.. <%option explicit%> <html> <head> </head> <body> <% dim intearn, inttax, inttotal intearn = 150 inttax=20 inttotal = intearn - ((intearn/100)*inttax) %> Total earnings after tax are $<%=inttotal %> </body> </html> ************** even if the page is pure html saved as .ASP, it won't run. Thanks! ------------------ Mike schplurg@GameEdit.com |
|
#6
|
|||
|
|||
|
In that case, you probably don't have IIS (I'm assuming that's what you're running for an HTTP daemon) configured to recognize .asp files as Active Server Pages. Look around in its settings (somewhere around MIME types?)
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > ASP will not run in NETSCAPE |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|