473,386 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Invalid Default Script Language

I have IIS installed on my computer (XP pro) - - I have the DotNet Framework
installed - -
ASP.net runs fine - but any time I run even the simplest Classic ASP
script/page, I get the following error:

Active Server Pages error 'ASP 0201'

Invalid Default Script Language

The default script language specified for this application is invalid.

I've tried adding Language=VBscript at the top of the page
I've gone into IIS - the default language is VBScript - I've tried changing
it to Javascript and back again - no luck.
Tried re-registering the asp.dll and others, like scrrun.dll, just because
someone on the net suggested it.
IIS Reset - nothing

I've tried numerous other things - but no luck still - -

any ideas?
Aug 9 '05 #1
13 16950
Elmo Watson wrote:
I have IIS installed on my computer (XP pro) - - I have the DotNet
Framework installed - -
ASP.net runs fine - but any time I run even the simplest Classic ASP
script/page, I get the following error:

Active Server Pages error 'ASP 0201'

Does this help (see the KB article)?
http://www.aspfaq.com/show.asp?id=2371

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 9 '05 #2
Yep - done it all -
put :
<% language="VBScript"%>
even tried without the double quotes and removing it altogether
Went into IIS - made VBScript the default scripting language (which comes up
by default anyway)
Another suggestion was to change to Javascript - open it up again and change
it back to VBScript - did that too.

Installed 5.6 of the scripting engine

all to no avail. It still doesn't work - - I am down to a page with only:
<%
response.Write ("whatever")
%>

Nothing - same error.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:uz*************@TK2MSFTNGP15.phx.gbl...
Elmo Watson wrote:
I have IIS installed on my computer (XP pro) - - I have the DotNet
Framework installed - -
ASP.net runs fine - but any time I run even the simplest Classic ASP
script/page, I get the following error:

Active Server Pages error 'ASP 0201'

Does this help (see the KB article)?
http://www.aspfaq.com/show.asp?id=2371

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Aug 10 '05 #3
Am I the only one who's had this problem and can't get it fixed?
"Elmo Watson" <sp**********@No.Spam.Yahho.com> wrote in message
news:eL**************@TK2MSFTNGP14.phx.gbl...
Yep - done it all -
put :
<% language="VBScript"%>
even tried without the double quotes and removing it altogether
Went into IIS - made VBScript the default scripting language (which comes
up
by default anyway)
Another suggestion was to change to Javascript - open it up again and
change
it back to VBScript - did that too.

Installed 5.6 of the scripting engine

all to no avail. It still doesn't work - - I am down to a page with only:
<%
response.Write ("whatever")
%>

Nothing - same error.
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:uz*************@TK2MSFTNGP15.phx.gbl...
Elmo Watson wrote:
I have IIS installed on my computer (XP pro) - - I have the DotNet
Framework installed - -
ASP.net runs fine - but any time I run even the simplest Classic ASP
script/page, I get the following error:

Active Server Pages error 'ASP 0201'

Does this help (see the KB article)?
http://www.aspfaq.com/show.asp?id=2371

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Aug 18 '05 #4
Elmo Watson wrote:
<% language="VBScript"%>


Am I the only one who's had this problem and can't get it fixed?


It would help if the @ were included to indicate this is a directive:

<%@ Language=VBScript %>

http://msdn.microsoft.com/library/en...2e08ff4437.asp

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Aug 18 '05 #5
I have also been having this problem and have not found a solution as of yet.

this simple code does not work.

<%@ Language=VBScript %>
<% Response.Write "test" %>

It does not matter if I put quotes around VBScript or not it still does not work.

I have changed the default language in IIS fron VBScript to JScript and back again and still nothing.

I have removed the directory and added it back in again. re-registered all the DLL's, re-install scripting 5.6, etc, etc. Nothing is working.

Any other ideas to resolve this problem?

Thanks,
Joshua
Aug 23 '05 #6
I've the same problem
Anyone can solve it?

Thanks
Iacopo Cricelli

Sep 7 '05 #7
I ended up finding a few solutions but none of them worked any more after I restarted my computer so they were kind of useless solutions.

In the end I gave up a formatted my machine and started over and now it all works great!

Sorry I never found a better solution...

Joshua
Sep 7 '05 #8
ia*************@gmail.com wrote:
I've the same problem
Anyone can solve it?


http://tinyurl.com/beq8b

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Sep 8 '05 #9
Well it looks like even after formatting my drive and starting from scratch, I am having the problem again.

Everything was fine for a few days then it just stopped working again. The only change I made was installing the latest windows security updates.
Sep 20 '05 #10
Sorry - - I've seen this - - it doesn't work either - - I've changed it in
the page - I've changed it in IIS
I've re-registered the asp.dll

so far -- nothing tried has fixed the problems

"Dave Anderson" <GT**********@spammotel.com> wrote in message
news:O7**************@TK2MSFTNGP09.phx.gbl...
Elmo Watson wrote:
<% language="VBScript"%>


Am I the only one who's had this problem and can't get it fixed?


It would help if the @ were included to indicate this is a directive:

<%@ Language=VBScript %>

http://msdn.microsoft.com/library/en...2e08ff4437.asp

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.
Use of this email address implies consent to these terms. Please do not
contact me directly or ask me to contact you directly for assistance. If
your question is worth asking, it's worth posting.

Sep 23 '05 #11
Sprogz
1
Judging by the number of recent forum (not just this one) posts about this issue you're most definately not the only one; I also have this problem.

Everything was working fine several weeks ago, the ASP code hasn't changed so I know it's not at fault and anyway, even an HTML-only .asp file fails with the same error:

Active Server Pages error 'ASP 0201'

Invalid Default Script Language

The default script language specified for this application is invalid.

I've reinstalled VBScript 5.6, IIS 5.1 (I'm running XP Pro).

ASP.NET and .SHTML/.HTM files are server perfectly by my webserver on localhost it only seems to be .ASP files.

I think it must be related somehow but in the past couple of weeks I've started to get Microsoft "Open File - Security Warning" pop-ups when I try and run applications. For example, I get one when running Microsoft's vbscript scripten.exe installer.

Anyone have any ideas? I'm sure it's a recent security update so I'm going to see if I can identify it. If so I'll post the result here.
Oct 2 '05 #12
I'm having this same problem.

if anyone solves it, I would love a heads up; i am having no luck :\

-E
Nov 11 '05 #13
009
1
Have gotten it working momentarily by reinstalling iis once.. and reinstalling .net framework got it going for a bit another time but it is again not working..
There must be a reasonable explaination.. the security updates are definitely suspect but i'm at a loss.
Jun 10 '06 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Rune Strand | last post by:
What would it take to create a Firefox extension that enables Python as a script language in the browser - just like Javascript? Is it at all possible? Are the hundred good reasons not to bother? ...
2
by: massimo874 | last post by:
Please some one can tell me wich is the SQLPlus default script directory an how I can set it. I tryed by 'Define' but SQLPlus don't find the scripts I give it in input. WinXP, ORACLE 9i.
5
by: Services of TKO | last post by:
Hi, On witch website i can find the whole script language of C++? I want to learn to program with C++ but i can't find a list of script language and what that script does (description). Can you...
2
by: Ingo Schasiepen | last post by:
Hi there, i'm evaluating if c# is suited to replace a script language. Most of the elements of this language can be replaced with a c#-library, but it also has some realtime-like elements. E.g.,...
7
by: RFS666 | last post by:
Hello, I would like to use variables with a type in jscript.NET. I declare them as follows: var x : double = 5.03; This doesn't work in my script, that I write to the page in codebehind with...
0
by: jdmcguire | last post by:
This is just a followup to a question I saw posted here regarding the error: Invalid Default Script Language aka: Active Server Pages error 'ASP 0201' Try re-installing XP Service Pack2 - I...
1
by: Webman77 | last post by:
Does anyone have a solutions to this issue? I think it started when I made a new 2.0 project on the same server and now all my ASP clasic crashes? Any sugestions? Please help?
8
by: howa | last post by:
Just found a funny things.. in HTML4's dtd, http://www.w3.org/TR/html4/strict.dtd language is not valid, i.e. <!ELEMENT SCRIPT - - %Script; -- script statements --> <!ATTLIST...
4
by: lenniekuah | last post by:
Hi Helpful Good Guys, I need your help. Please help me. I have been asked to transfer the FUNCTION FCalculate from WebFrmLoan.aspx to Web Page CODEBEHIND. The Functon event is to calculate the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.