Invalid Default Script Language
Invalid Default Script Language
am 27.12.2007 02:51:28 von A Player
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 web server. 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
permissions.
4. I change the home directory to several different ones.
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.
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.
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
worked.
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'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.
I'm running IIS 5.1on Windows XP Pro.
Thanks,
Jesse
Re: Invalid Default Script Language
am 31.12.2007 14:55:14 von Ken Schaefer
To determine whether this is an IIS problem:
a) Uninstall IIS
b) Delete metabase.bin file
c) Reinstall IIS
If the problem persists, then the issue isn't in IIS per se. Somewhere else
the problem is occuring. but the try the above first, and see if that solves
the problem.
Cheers
Ken
--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
"Jesse" wrote in message
news:eLH$AsCSIHA.3940@TK2MSFTNGP05.phx.gbl...
> 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 web server. 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 permissions.
>
> 4. I change the home directory to several different ones.
>
> 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.
>
> 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.
>
> 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 worked.
>
> 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'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.
>
> I'm running IIS 5.1on Windows XP Pro.
>
> Thanks,
> Jesse
>
>
Re: Invalid Default Script Language
am 01.01.2008 03:09:31 von A Player
It appears that the uninstall of IIS removes metabase.bin as well. I did a
search for it and found it in C:\Windows\System32\inetsrv BEFORE the
uninstall. After the uninstall, the file was nowhere to be found. I had
already previously uninstalled and reinstalled IIS (not in my list, I don't
believe, but I did do it). After re-installing (last time and this time), I
had the same exact problem.
If it's not IIS, and it's not permissions, and it's not the ASP Script
language itself, what else could it be? To me, those are the possible three
things it might be, and I've eliminated all of them??? This simiply isn't
making any sense to me. I've had to copy my apps to another computer and
use it for my work. it's driving me nutz. 8-p
Jesse
"Ken Schaefer" wrote in message
news:%23Tc9LT7SIHA.3532@TK2MSFTNGP04.phx.gbl...
> To determine whether this is an IIS problem:
> a) Uninstall IIS
> b) Delete metabase.bin file
> c) Reinstall IIS
>
> If the problem persists, then the issue isn't in IIS per se. Somewhere
> else the problem is occuring. but the try the above first, and see if that
> solves the problem.
>
> Cheers
> Ken
>
> --
> My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
>
>
> "Jesse" wrote in message
> news:eLH$AsCSIHA.3940@TK2MSFTNGP05.phx.gbl...
>> 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 web server. 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 permissions.
>>
>> 4. I change the home directory to several different ones.
>>
>> 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.
>>
>> 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.
>>
>> 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 worked.
>>
>> 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'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.
>>
>> I'm running IIS 5.1on Windows XP Pro.
>>
>> Thanks,
>> Jesse
>>
>>
>
Re: Invalid Default Script Language
am 01.01.2008 10:10:20 von Ken Schaefer
Hi,
The "script engines" are things like VBScript, and JScript (these ship from
Microsoft) plus any additional script engines you choose to install (there's
also a PERLScript engine, and a Rexx script engine available from other, 3rd
parties). These script engines can be used by IIS (when you write an ASP
page using one of these scripting languages), but also for non-IIS related
functionality (e.g. you can write:
WScript.Echo("Hello World")
and put that into a file called test.vbs and just run that file. That will
also invoke the VBScript engine. So the scripting engines are separate from
IIS per se.
The test, in removing the metabase.bin file, was to make sure there wasn't
something invalid stored inside metabase.bin. If metabase.bin has been
restored from a brand new copy (i.e. from the Windows source files, with
none of your custom settings in it), then it has correct information on
scripting engines. Something else is wrong instead with permissions, or the
actual script engine, or something like that.
Do you have System Restore enabled? Are you able to revert to your previous,
pre-problem stage?
If you try to create a simple .vbs file (e.g. the Hello World example
above), does that also bomb out?
Cheers
Ken
--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
"Jesse" wrote in message
news:%236JcatBTIHA.5360@TK2MSFTNGP03.phx.gbl...
> It appears that the uninstall of IIS removes metabase.bin as well. I did
> a search for it and found it in C:\Windows\System32\inetsrv BEFORE the
> uninstall. After the uninstall, the file was nowhere to be found. I had
> already previously uninstalled and reinstalled IIS (not in my list, I
> don't believe, but I did do it). After re-installing (last time and this
> time), I had the same exact problem.
>
> If it's not IIS, and it's not permissions, and it's not the ASP Script
> language itself, what else could it be? To me, those are the possible
> three things it might be, and I've eliminated all of them??? This simiply
> isn't making any sense to me. I've had to copy my apps to another
> computer and use it for my work. it's driving me nutz. 8-p
>
> Jesse
>
>
> "Ken Schaefer" wrote in message
> news:%23Tc9LT7SIHA.3532@TK2MSFTNGP04.phx.gbl...
>> To determine whether this is an IIS problem:
>> a) Uninstall IIS
>> b) Delete metabase.bin file
>> c) Reinstall IIS
>>
>> If the problem persists, then the issue isn't in IIS per se. Somewhere
>> else the problem is occuring. but the try the above first, and see if
>> that solves the problem.
>>
>> Cheers
>> Ken
>>
>> --
>> My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
>>
>>
>> "Jesse" wrote in message
>> news:eLH$AsCSIHA.3940@TK2MSFTNGP05.phx.gbl...
>>> 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 web server. 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 permissions.
>>>
>>> 4. I change the home directory to several different ones.
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> 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 worked.
>>>
>>> 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'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.
>>>
>>> I'm running IIS 5.1on Windows XP Pro.
>>>
>>> Thanks,
>>> Jesse
>>>
>>>
>>
>
>
Re: Invalid Default Script Language
am 03.01.2008 00:22:32 von A Player
> Do you have System Restore enabled? Are you able to revert to your
> previous, pre-problem stage?
Yes. I tried restoring every day for back to two weeks, and the system
restore always failed.
> If you try to create a simple .vbs file (e.g. the Hello World example
> above), does that also bomb out?
I'm not familiar with a .vbs file or how to run one. How do I do that? I
hand-code all my .ASP and ASP.Net apps, so I don't have Visual Studio if
that's what's required. I have VB 2005 Express, but don't know enough about
it to do much.
Jesse
Re: Invalid Default Script Language
am 07.01.2008 07:40:33 von Ken Schaefer
Just create a new text file.
Using notepad, put the following text in it:
WScript.Echo("Hello World")
Save the file
Rename the file extension from .txt to .vbs
Double click the file to run it
That's all
Cheers
Ken
"Jesse" wrote in message
news:OGxWbZZTIHA.5164@TK2MSFTNGP03.phx.gbl...
>> Do you have System Restore enabled? Are you able to revert to your
>> previous, pre-problem stage?
>
> Yes. I tried restoring every day for back to two weeks, and the system
> restore always failed.
>
>
>> If you try to create a simple .vbs file (e.g. the Hello World example
>> above), does that also bomb out?
>
> I'm not familiar with a .vbs file or how to run one. How do I do that? I
> hand-code all my .ASP and ASP.Net apps, so I don't have Visual Studio if
> that's what's required. I have VB 2005 Express, but don't know enough
> about it to do much.
>
> Jesse
>