ASP going for download intstead of execution.

When I try to click open a link (which is an ASP file) in my homepage it goes in for download instead of getting executed. I have Sun ONE ASP 4.0.1 running on my server with Sun ONE Web Server 6.1. What should I do at the server end so that the ASP files get executed rather than display the download dialog box at the browser end.

I am trying to manage my Web Server remotely using the URL format http://host_name:8888 but the admin page doesnt open. I am required to go every time in person to my server machine to do that. What can be the reason?

An early reply would be highly appreciated.

Regards

Sabu

[637 byte] By [SABU] at [2007-11-26 10:25:04]
# 1

when the page is going for download, it means that the instance configuration is not completed correctly. couple of reasons

- when you start the web server, see if you are seeing message to reflect that ASP plugin is indeed starting up successfully

- you see entries like below in the magnus.conf, obj.conf and mime.types respecitively

magnus.conf

Init fn="load-modules" funcs="caspreq,caspinit,casptrans"

Init fn="caspinit" casplib="..."

obj.conf

<object name="default">

..

NameTrans fn="casptrans"

NameTrans fn="ntrans-j2ee" name="j2ee"

...

Service method="(GET|POST)" type="sunone-internal/active-server-page" fn="caspreq" casplib="..."shlib="../netscape_6.x/nes_casp2.so"

...

</object>

mime.types

type=sunone-internal/active-server-page exts=asp,asa

now, if all these configurations exists and server still doesn't start, then check out the server.xml to see if the correct obj.conf (containing this asp configuration) is actually being loaded by the server.

hope this helps

chilideveloper at 2007-7-7 2:27:34 > top of Java-index,Web & Directory Servers,Web Servers...