Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FP 2003, asp page displays html coding, not the form

Status
Not open for further replies.

mldmld

Technical User
Jul 22, 2003
95
US
I created a simple asp page with one form containing 4 fields. I connected it to a database in my web.
When I try to open the page in IE6, the code comes up. There is a big section that starts with <%

If I delete the <% section up to the <html, it will open fine, but I don't think it is linking to the database.

I believe it is something with a component, but not sure.

Here is a sample of what I get at the beginning of the html coding:
<%
' FP_ASP ASP Automatically generated by a FrontPage Component. Do not Edit.

On Error Resume Next
Session(&quot;FP_OldCodePage&quot;) = Session.CodePage
Session(&quot;FP_OldLCID&quot;) = Session.LCID
Session.CodePage = 1252
Session.LCID = 1033
Err.Clear

strErrorUrl = &quot;&quot;

If Request.ServerVariables(&quot;REQUEST_METHOD&quot;) = &quot;POST&quot; Then
If Request.Form(&quot;VTI-GROUP&quot;) = &quot;0&quot; Then
Err.Clear

Set fp_conn = Server.CreateObject(&quot;ADODB.Connection&quot;)
FP_DumpError strErrorUrl, &quot;Cannot create connection&quot;

Thanks,
 
Nevermind, I wasn't opening the page directly through the server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top