Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

ASP 0201 error....The default script lanuage is set to VBS..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Cobalt RaQ3 Hard Drive Size Limit?  
Author Message
IT Pro

External


Since: Apr 19, 2006
Posts: 2



(Msg. 1) Posted: Wed Apr 19, 2006 7:55 pm
Post subject: ASP 0201 error....The default script lanuage is set to VBScript ..
Archived from groups: microsoft>public>inetserver>iis (more info?)

But I get this error

"Active Server Pages error 'ASP 0201'

Invalid Default Script Language

The default script language specified for this application is invalid. "

When i run the follwoing code:

<%@ Language="VBScript" %>
<% Option Explicit %>

<!--- This page should display "ASP is working!" --->

<!--- if ASP is available to you. --->

<HTML>
<HEAD>
<TITLE>ASP Test Page</TITLE>
</HEAD>

<BODY>

<% Dim TestString %>
<% TestString = "ASP is Working!" %>

<H1>

<% Response.Write TestString %>

</H1>
</BODY>
</HTML>

 >> Stay informed about: ASP 0201 error....The default script lanuage is set to VBS.. 
Back to top
Login to vote
IT Pro

External


Since: Apr 19, 2006
Posts: 2



(Msg. 2) Posted: Wed Apr 19, 2006 10:16 pm
Post subject: RE: ASP 0201 error....The default script lanuage is set to VBScript .. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I had to put the iusr_ account in the admin group for this bloomin thing to
work. It's a quick fix but this can't be the "right" way. I can serve ASP
PAges but I'm not too cool with this account being in the admin group.

"IT Pro" wrote:

> But I get this error
>
> "Active Server Pages error 'ASP 0201'
>
> Invalid Default Script Language
>
> The default script language specified for this application is invalid. "
>
> When i run the follwoing code:
>
> <%@ Language="VBScript" %>
> <% Option Explicit %>
>
> <!--- This page should display "ASP is working!" --->
>
> <!--- if ASP is available to you. --->
>
> <HTML>
> <HEAD>
> <TITLE>ASP Test Page</TITLE>
> </HEAD>
>
> <BODY>
>
> <% Dim TestString %>
> <% TestString = "ASP is Working!" %>
>
> <H1>
>
> <% Response.Write TestString %>
>
> </H1>
> </BODY>
> </HTML>
>
>
>

 >> Stay informed about: ASP 0201 error....The default script lanuage is set to VBS.. 
Back to top
Login to vote
jackieja

External


Since: Aug 26, 2003
Posts: 392



(Msg. 3) Posted: Fri Apr 21, 2006 10:55 am
Post subject: RE: ASP 0201 error....The default script lanuage is set to VBScript .. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This error is usually caused by lack of permissions. Please check the
following:

1. Make sure the Users group has Read/Execute permissions to the
\windows\system32\inetsrv folder and \inetpub\wwwroot and any other content
folders for your site.

2. Make sure the anonymous account(IUSR_machinename) has Read permissions
to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes and all subkeys

3. Make sure the Users group has Read permissions on the following registry
key: HKEY_CLASSES_ROOT

Hope this helps!

Thank you,

Jackie Jaynes [MSFT]
Microsoft IIS

Please do not send email directly to this alias. This
is our online account name for newsgroup participation only.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
 >> Stay informed about: ASP 0201 error....The default script lanuage is set to VBS.. 
Back to top
Login to vote
Bob Blaney

External


Since: Aug 24, 2006
Posts: 3



(Msg. 4) Posted: Thu Aug 24, 2006 4:06 am
Post subject: RE: ASP 0201 error....The default script lanuage is set to VBScrip [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I reviewed the posts on this issue. I am running a XP Pro SP2 with IIS 6.
After installing Script Engine 5.6 I began getting the same error. I checked
the permissions that you suggested and they are set as proper.
Any other ideas that I may try.
How does one go about doing what IT Pro did, add iusr_ account to admin
group. My knowledge of permsiiosn is somewhat limited on my PC. I may want to
try that to see if it fixes the problem. What is the vulnerability if left
this way?
Thanks for any information.
--
Bob Blaney
Chandero Systems


"Jacqueline Jaynes [MSFT]" wrote:

> This error is usually caused by lack of permissions. Please check the
> following:
>
> 1. Make sure the Users group has Read/Execute permissions to the
> \windows\system32\inetsrv folder and \inetpub\wwwroot and any other content
> folders for your site.
>
> 2. Make sure the anonymous account(IUSR_machinename) has Read permissions
> to the following registry key:
> HKEY_LOCAL_MACHINE\SOFTWARE\Classes and all subkeys
>
> 3. Make sure the Users group has Read permissions on the following registry
> key: HKEY_CLASSES_ROOT
>
> Hope this helps!
>
> Thank you,
>
> Jackie Jaynes [MSFT]
> Microsoft IIS
>
> Please do not send email directly to this alias. This
> is our online account name for newsgroup participation only.
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> You assume all risk for your use. © 2001 Microsoft Corporation. All rights
> reserved.
>
>
>
 >> Stay informed about: ASP 0201 error....The default script lanuage is set to VBS.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]