HTML, CSS, JavaScript
Error in HTML Page
Gravatar is a globally recognized avatar based on your email address. Error in HTML Page
  kalpesh bhavsar
  All
  Sep 12, 2018 @ 01:20pm

Hi, I have older version of West Wind Console Image uploaded. My HTML page has a code for Login PAge as :

<input type="text" name="email" id="email" class="form-control" id="form-group-input1" placeholder="Enter your Username" value="lcFormUser" autocapitalize="off" autocomplete="off" spellcheck="false"

But the value field is not giving the "place holder" value. But it it showing 'lcFormUser' If i Change value="lcFormUser" to value="<%= lcFormUser %>", it gives me an error.

In Short, all the 'SCRIPT' Code in my HTML Page is not interpreted. so in my code I have

<% if vartype(lcFormUser) !="C" lcFormUser="" endif

		if vartype(lcFormPass) !="C"
		  lcFormPass =""
		endif
 	%>	

This code also is not interpreted. nPageScriptMode = 2, I also tried changing it to 3, but does not work.

What should i do to get the 'SCRIPTING' Code in my HTML page being interpreted

Thanks

Kalpesh

Gravatar is a globally recognized avatar based on your email address. re: Error in HTML Page
  Rick Strahl
  kalpesh bhavsar
  Sep 12, 2018 @ 06:34pm

You are likely missing the script map for your file extension. Make sure you have the script map configured.

Please see:

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Error in HTML Page
  kalpesh bhavsar
  kalpesh bhavsar
  Sep 26, 2018 @ 04:01pm

Hi Rick,

Thanks for your reply, I have tried a lot of things from the Document for Scrip Mapping. Also connected our IT Company to check if they can Map the Scripts.

They have advised me to go back to you and with some more info.

I have copied my Project Configuration file details as below If you can throw some light, if would be great

</IIS_Global>
<IIsWebVirtualDir	Location ="/LM/W3SVC/1/Root/SAMPLE"
		AccessFlags="AccessExecute | AccessRead | AccessScript"
		AppFriendlyName="SAMPLE"
		AppIsolated="0"
		AppPoolId="West Wind Web Connection"
		AppRoot="/LM/W3SVC/1/ROOT/SAMPLE"
		AuthFlags="AuthBasic | AuthAnonymous | AuthNTLM"
		Path="C:\Inetpub\wwwroot\SAMPLE"
		ScriptMaps=".asp,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
			.cer,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
			.cdx,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
			.asa,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
			.idc,C:\WINDOWS\system32\inetsrv\httpodbc.dll,5,GET,POST
			.shtm,C:\WINDOWS\system32\inetsrv\ssinc.dll,5,GET,POST
			.shtml,C:\WINDOWS\system32\inetsrv\ssinc.dll,5,GET,POST
			.stm,C:\WINDOWS\system32\inetsrv\ssinc.dll,5,GET,POST
			.asax,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.ascx,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.ashx,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
			.asmx,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
			.aspx,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
			.axd,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
			.vsdisco,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
			.rem,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
			.soap,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
			.config,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.cs,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.csproj,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.vb,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.vbproj,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.webinfo,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.licx,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.resx,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			.resources,C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
			._cc,c:\inetpub\wwwroot\SAMPLE\bin\wc.dll,1
			.wwsoap,c:\inetpub\wwwroot\SAMPLE\bin\wc.dll,1
			.wc,c:\inetpub\wwwroot\SAMPLE\bin\wc.dll,1
			.wcs,c:\inetpub\wwwroot\SAMPLE\bin\wc.dll,1
			.wcsx,c:\inetpub\wwwroot\SAMPLE\bin\wc.dll,1"
	>
</IIsWebVirtualDir>
<IIsInheritedProperties	Location ="inherited:/LM/W3SVC/1/Root/SAMPLE"

It is a Windows Server 2003

Lookimg forward to your answer

Thanks

Kalpesh

Gravatar is a globally recognized avatar based on your email address. re: Error in HTML Page
  Rick Strahl
  kalpesh bhavsar
  Sep 26, 2018 @ 06:29pm

Ugh - I don't remember how this works in Server 2003. That's a 15+ year old server and we don't support that any longer with recent versions...

You're on your own with making the script maps work. I don't have a way to validate that. You can probably download an older version of Web Connection and look in the docs there.

+++ Rick ---

© 1996-2024