IIS 5 & IIS 6
Invalid Default Script Language
Last post Dec 04, 2008 01:10 PM by VorlonShadow
Dec 27, 2007 09:00 AM|VorlonShadow|LINK
Today I started receiving the message...
Active Server Pages error 'ASP 0201'
Invalid Default Script Language
The default script language specified for this application is invalid.
...when I try to run an asp page on my XP Pro machine. I've searched the web and
done all sorts of things to try to fix this including:
1. Checking that the Default ASP language setting is set to VBScript
2. I changed it to JScript, applied, then changed it back to VBScript
3. I went through a document that Microsoft has that tells you how to reset
4. I change the home directory to several different ones and back again
5. I changed ports on the server (I'm using 81 as my default, but I changed
it to 80).
6. I re-registered the .dll files that are necessary for VBScript to work.
7. I downloaded and installed the latest version of the script languages
from Microsoft (5.6 I believe)
8. I checked and unchecked various settings on the options tab in
Application Configuration for my web site.
9. The obvious rebooting, (in normal and safe mode).
10. I stopped my virus/spyware/firewall software (Using McAfee)
11. I've tried to go back to an earlier restore point. It would not
restore back to any of them. I tried back to 2 weeks, and not a one of them
12. I uninstalled IIS 5.1 and reinstalled it.
13. I downloaded the IIS Diag Tools and ran through each of them. The Auth Diagnostics did find a few permissions issues, but I resolved all of them, and it's a completely clean run now.
None of the above things fixed the problem. I still get the same error.
I believe I've tried it all except for re-formatting my machine and starting from scratch. That would take me weeks to get it back where I want it, and I simply don't have that much time. Is there anything else that I can try to fix this issue? I know it
was working fine last week. Between there and here, the only thing I can think of that I've done is install a few webcam applications (I was evaluating several of them). I've uninstalled all of them now, and still have the same problem. I don't know if
these have anything to do with it, but surely there's some way to fix this without having to start my machine from scratch.
I'm running IIS 5.1 on Windows XP Pro.
Dec 27, 2007 03:43 PMfirstname.lastname@example.org|LINK
Testing with a Hello World! script?
Dec 27, 2007 03:50 PM|VorlonShadow|LINK
Also did that. Created a very basic .asp page with only standard HTML code on it. Same problem. I also tried putting the <% @language=VBScript %> with various forms, including with and without quotes, etc. None of this worked.
Dec 28, 2007 12:12 AM|steve schofield|LINK
http://classicasp.aspfaq.com/general/why-do-i-get-invalid-default-script-language-errors.html Has an option. Also, Bernard has some options.
http://msmvps.com/blogs/bernard/archive/2006/04/03/88985.aspx Also, hit google and search for your error, there are several articles.
Windows Server MVP - IIS
Log archival solution
Install, Configure, Forget
Dec 28, 2007 04:26 AM|VorlonShadow|LINK
Google (as always) was the first place I hit, and the first document you mentioned is the first one I tried. It's covered under #8 in my list. I've already been through both of these documents several times with no results.
Thanks for trying, though. I'm looking for something that isn't already in my list. :-)
Dec 30, 2007 10:47 PM|qbernard|LINK
Per my blog post. have you try the last step? add iusr to local admin group? if you did and still same error then this is not permission issue.
Dec 31, 2007 09:14 AM|VorlonShadow|LINK
Yes, I added the iusr and iwam both to the administrators group, and still had the same issue. I had determined from that (as you did) that this is not a permissions issue. I don't know what else is left to check...
Jan 01, 2008 09:15 PM|qbernard|LINK
Ya. look like you had tried everything :)
Last try - uinstall IIS, delete inetpub, inetsrv, rename iis6.log file, reboot.
then reinstall IIS, try again with simple hello.asp. if error - search IIS6.log to see if there's any issue during installation.
if still no luck.......... I have no more ideas.
Jan 02, 2008 09:15 AM|VorlonShadow|LINK
Even THAT didn't work!!! In doing that, I've removed everything related to IIS, and started completely from scratch, and STILL it doesn't work!! I just don't get it. What else could it be. I've eliminated IIS as the problem, the Script language as the
problem, and permissions as the problem. The only thing it could be is an outside program interfering somehow.
I run McAfee is my virus/spyware program. I run CCleaner periodically as well as Spy Bot S&D. I've made sure that McAfee's script blocker is turned off, and the additional SB S&D feature that it offers (tea time, or whatever it's called) isn't running.
Other than that, I can't think what else it might be.
Thanks for trying, though.
Jan 07, 2008 03:14 AM|qbernard|LINK
Damn :) what about a hello.asp with 1 line
<% response.write "yo yo" %>
Still got the error msgs? make sure no global.asa etc file in that folder.
re-register those dll :) and finally all failed - reformat - gain more hands on experience on reinstalling Windows :)
Dec 04, 2008 08:31 AM|tlissak|LINK
i've got the same problem
i have checked with REGMON and i found that access
double click he open regedt32 under H.._CLASSES_ROOT\
right click > permission add USER_MACHINE read/write
and the probleme was solved
Dec 04, 2008 09:04 AM|VorlonShadow|LINK
that it refers to the user name used by IIS (I believe), I have a user name called IUSR_ANCHORMAN (Anchorman is the name of my computer). I selected it, added, and set it's permissions to "Full Control" and "Read". Those are the only two permissions that
I could affect. However, after doing this, it still didn't work. Any other ideas?
Dec 04, 2008 09:31 AM|tlissak|LINK
Run Regmon.exe here
To view the registry activity exlude the unesscery items
look at iis service (inetinfo.exe i'm not sure) look for somthing
Path | Result
HKLM\VBScript | "access dennied For (IUSR_ANCHORMAN or IWAN_ANCHORMAN)"
(if you dont have somthing like this you probely got diffrent issue of permissions of vbscript.dll or jscript.dll permission or you have to reregister those dlls
regsvr32 %windir%\system32\VBscript.dll )
double click on the line will open you the registry editor Pointed to this key
its like a folder icon and inside you'v got some values right click on the folder icon
select permissions > add > advanced.. > find > select IWAN_ANCHORMAN and IUSR_ANCHORMAN
click ok and give full control to all users in the list restart your iis good lock
Dec 04, 2008 01:10 PM|VorlonShadow|LINK
I ran the regsvr32 on each of the .dll's that you referenced above, and still have the problem.
I did previously right-click on the folder Icon when I added IUSR_ANCHORMAN to the list. I just tried to add IWAN_ANCHORMAN, but was told, "name not found".
I restarted IIS, but still have the same problem.
Thanks for trying.