Your problem is related to the following line:
<p><%Response.Write(now())%></p>
The operator needs a semicolon, since you strictly write the C # operator (instead of using any binding expressions):
<p><% Response.Write(now()); %></p>
Oops ... the missing part of the question.
If this works on your local server, but not on the remote client server, you must make sure that the remote client server is set to Visual Basic instead of C # as the language.
You can also add the Language directive directly to the * .aspx page to force the page to use the correct language:
<%@ Page Title="Your page title" Language="VB" %>
Justin niessner
source share