質問

I have the following VBS code in my webpage:

<body>

<%

Randomize
response.write(Rnd)

%>

</body>

But instead of outputting a random number, I get a webpage that says this:

<% Randomize response.write(Rnd) %>

Why won't my code execute?

Thank you.

役に立ちましたか?

解決

You need to make sure your webpage extension is managed by the ASP handler mapping. The steps to configure handler mappings depend on the version of IIS you are using.

See this page for information on configuring ASP under IIS 7 or 7.5.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top