ASP Classic problems on LAN IIS install

N

Newbie

Hi All

Trying to create a mini-ASP web dev with a couple of PCs at school. When
the teachers are happy with the site on the LAN then going to upload it to
the school site. Problem is having real problems with the ASP side of
things.

Timeline of events is as follows:

1) Added IIS (via Add/Remove Windows Components) on WinXP Pro machine (6
month old Acer to be exact). No problem.

2) Created a folder called asp in the inetpub folder and made it web
shareable by right-clicking on it and setting the Web Sharing bit. I
usually have read, execute and directory browsing. No problem.

3) Put a text file (with an ext of .asp) in this new asp folder, typed the
usual text of <%=now()%> and saved it. No problem.

4) Went to http://itpc1/asp and clicked on the new 'test.asp' file. Date
and time appears. No problem.

5) Went to my colleague's little office (showing him how to do asp) to make
sure his PC can see the web page working OK (both machines are on the same
network) and the page displays fine. No problem.

6) Now the reason for this setup is that the PC in his little office is only
WinXP Home and the PCs with WinXP pro on are the children's suite, which he
can't have sitdown access to all the time. My plan was that I would web
share the asp folder AND network share the folder so that he can be dropping
files in and doing edits on the asp folder via the network share and then
view the results via the http://itpc1/asp web share.

Proceeded to network share (all are setup for simple sharing) the asp
folder. No problem.

7) Went into network places on his WinXP Home PC, found the folder no
problem, created a shortcut to this folder no problem, he can open up, edit
and save changes no problem.

HOWEVER, as soon as he goes back to the http://itpc1/asp page all of the asp
files generate an ASP error saying the Invalid Default Script Language.

I go back downstairs and try and get the pages via the main WinXP Pro
machine and this now generates the exact same problem.

The long and short of it is, I have to uninstall and then reinstall IIS to
fix the problem. Nothing in the IIS settings has been changed. I never
touch the default scripting lang setting, which is in fact the right setting
of vbscript.

Could somebody please let me know what is happening. Why is the XP Home PC
screwing things up when the files are network shared on the WinXP Pro
machine?

Thanks
 
D

Daniel Crichton

Newbie wrote on Fri, 1 Dec 2006 09:48:56 -0000:
HOWEVER, as soon as he goes back to the http://itpc1/asp page all of the
asp
files generate an ASP error saying the Invalid Default Script Language.

I go back downstairs and try and get the pages via the main WinXP Pro
machine and this now generates the exact same problem.

The long and short of it is, I have to uninstall and then reinstall IIS to
fix the problem. Nothing in the IIS settings has been changed. I never
touch the default scripting lang setting, which is in fact the right
setting of vbscript.

Could somebody please let me know what is happening. Why is the XP Home
PC screwing things up when the files are network shared on the WinXP Pro
machine?

Have you tried any of these suggestions?

http://classicasp.aspfaq.com/general/why-do-i-get-invalid-default-script-language-errors.html

http://support.microsoft.com/kb/296626


Also, make sure that you have Automatic Updates disabled, and if you have
any anti-virus/security software on the IIS machine then turn off any script
blocking it might have. It's likely either the script runtime is being
blocked, or a MS patch is messing up the security settings. The first link
above seems to suggest a possible fix, but I've never had this problem on
any of my IIS machines so I cannot test it.

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top