navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

All I' m getting is the HTML code when I click the link to my FrontPage form

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> All I' m getting is the HTML code when I click the link to my FrontPage form
Page: [1]
 
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
All I' m getting is the HTML code when I click the link... - 12/9/2002 3:21:41   
I have several forms on my website, which are obviously in active server pages. The data from these forms is saved to an Access database. Suddenly, when previewing in my browser, I started getting the error message below when trying to access my asp pages containing a form. What I mean is that just the HTML code appears, and the code speaks of errors. Does this look familiar to anyone? I need my form to come back.

---
ERROR BELOW:
 
<%
'  FP_ASP ASP Automatically generated by a Frontpage Component. Do not Edit.

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



< Message edited by Tad -- 12/13/2002 2:48:16 PM >
bobby

 

Posts: 11394
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 9:55:11   
Welcome to the forum...

It looks like that' s your page code, not an error...

I would open FP in html view and check to see if there is a <p> tag right before that code... that may cause it to display on the screen...

You' ll probably see html " longhand" for the <% brackets as well...

I hope it' s something that simple!


_____________________________

If con is the opposite of pro, is Congress the opposite of progress?


:)

(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 10:18:45   
Thanks, Bobby, I' ll give it a try when I get home tonight. It was really strange. I had been playing with my shared borders (something that ostensibly shouldn' t affect my asp pages) and then this happened. I don' t know if there' s a connection. Hopefully, it' s just the <p> tag.

Thanks again,

Tad

(in reply to bobby)
rdouglass

 

Posts: 9270
From: Biddeford, ME USA
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 10:34:31   
I hope I don' t insult your intelligence, but is the page named " .asp" ? If it is named " .htm" (or " .html" ) your ASP code will display and not run....

(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 11:27:14   
I' d have to have some to be insulted, right? Just kidding. Yes, all of my database pages have the .asp extension.

I response to Bobby' s earlier recommendation, I walked my wife through this over the phone, and she said that there was no <p> tag. Last night I had tried to remove all the HTML code before the <html> tag to see what would happen, and FrontPage just recreated the same code that I had deleted.

I wonder if some security setting may have changed. I know that the problem is tied to my database connection. Last night I removed the database connection, and the hyperlink to the form took me to the form, not the HTML code. When I added the connection back, the code came back again. Very strange, but I am a neophyte.

Tad

(in reply to rdouglass)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 14:02:30   
Do you have a web example we can view?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 14:22:58   
Spooky,

What you see under " ERROR BELOW" in my original post is all there is. I click on the hyperlink to the asp page containing my form, and all I get is that HTML code. Incidentally, I have four forms on my site, and all of them are doing this when I preview in browser. That' s why I think some higher level setting has possibly changed. Otherwise, it seems that it would only apply to the one asp form. If there' s anything specific that I can post here or send you, please let me know. This has me more baffled than anything I' ve ever experienced. And by the way, thank you all for your suggestions. I really appreciate them.

Tad

(in reply to Spooky)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 14:28:47   
Can you open the source code using notepad (from within frontpage - right click > open with) and paste that source here?

Use the code button in this forum to maintain the formatting of your paste.

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 18:55:13   
Spooky:

Here is the source code from the page that appears when I attempt to link to my asp form page. After this, I am including the source code for the form itself:

<%
'  FP_ASP ASP Automatically generated by a Frontpage Component. Do not Edit.

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

strErrorUrl = " " 

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

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

	Set fp_rs = Server.CreateObject(" ADODB.Recordset" )
	FP_DumpError strErrorUrl, " Cannot create record set" 

	fp_conn.Open Application(" MembershipForm_ConnectionString" )
	FP_DumpError strErrorUrl, " Cannot open database" 

	fp_rs.Open " Results" , fp_conn, 1, 3, 2 '  adOpenKeySet, adLockOptimistic, adCmdTable
	FP_DumpError strErrorUrl, " Cannot open record set" 

	fp_rs.AddNew
	FP_DumpError strErrorUrl, " Cannot add new record set to the database" 
	Dim arFormFields0(12)
	Dim arFormDBFields0(12)
	Dim arFormValues0(12)

	arFormFields0(0) = " BusinessName" 
	arFormDBFields0(0) = " BusinessName" 
	arFormValues0(0) = Request(" BusinessName" )
	arFormFields0(1) = " City" 
	arFormDBFields0(1) = " City" 
	arFormValues0(1) = Request(" City" )
	arFormFields0(2) = " Email" 
	arFormDBFields0(2) = " Email" 
	arFormValues0(2) = Request(" Email" )
	arFormFields0(3) = " FirstName" 
	arFormDBFields0(3) = " FirstName" 
	arFormValues0(3) = Request(" FirstName" )
	arFormFields0(4) = " PurchContact" 
	arFormDBFields0(4) = " PurchContact" 
	arFormValues0(4) = Request(" PurchContact" )
	arFormFields0(5) = " StreetAddLn1" 
	arFormDBFields0(5) = " StreetAddLn1" 
	arFormValues0(5) = Request(" StreetAddLn1" )
	arFormFields0(6) = " NewsletterYN" 
	arFormDBFields0(6) = " NewsletterYN" 
	arFormValues0(6) = Request(" NewsletterYN" )
	arFormFields0(7) = " StreetAddLn2" 
	arFormDBFields0(7) = " StreetAddLn2" 
	arFormValues0(7) = Request(" StreetAddLn2" )
	arFormFields0(8) = " Zip" 
	arFormDBFields0(8) = " Zip" 
	arFormValues0(8) = Request(" Zip" )
	arFormFields0(9) = " LastName" 
	arFormDBFields0(9) = " LastName" 
	arFormValues0(9) = Request(" LastName" )
	arFormFields0(10) = " ProdInterest" 
	arFormDBFields0(10) = " ProdInterest" 
	arFormValues0(10) = Request(" ProdInterest" )
	arFormFields0(11) = " State" 
	arFormDBFields0(11) = " State" 
	arFormValues0(11) = Request(" State" )

	FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0

	If Request.ServerVariables(" REMOTE_HOST" ) <> " "  Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables(" REMOTE_HOST" ), " Remote_computer_name" 
	End If
	If Request.ServerVariables(" HTTP_USER_AGENT" ) <> " "  Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables(" HTTP_USER_AGENT" ), " Browser_type" 
	End If
	FP_SaveFieldToDB fp_rs, Now, " Timestamp" 
	If Request.ServerVariables(" REMOTE_USER" ) <> " "  Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables(" REMOTE_USER" ), " User_name" 
	End If

	fp_rs.Update
	FP_DumpError strErrorUrl, " Cannot update the database" 

	fp_rs.Close
	fp_conn.Close

	FP_FormConfirmation " text/html; charset=windows-1252" ,_
						" Form Confirmation" ,_
						" Thank you for submitting the following information:" ,_
						" MembershipForm.asp" ,_
						" Return to the form." 

End If
End If

Session.CodePage = Session(" FP_OldCodePage" )
Session.LCID = Session(" FP_OldLCID" )

%>
<html>

<head>
<meta http-equiv=" Content-Language"  content=" en-us" >
<meta name=" GENERATOR"  content=" Microsoft FrontPage 5.0" >
<meta name=" ProgId"  content=" FrontPage.Editor.Document" >
<meta http-equiv=" Content-Type"  content=" text/html; charset=windows-1252" >
<title>New Member Sign</title>
<meta name=" Microsoft Theme"  content=" copy-of-arcs 101, default" >
<meta name=" Microsoft Border"  content=" tlb, default" >
</head>

<body background=" _themes/copy-of-arcs/arctile.jpg"  bgcolor=" #FFFFCC"  text=" #000000"  link=" #0000FF"  vlink=" #CC00CC"  alink=" #0000FF" ><!--msnavigation--><table border=" 0"  cellpadding=" 0"  cellspacing=" 0"  width=" 100%" ><tr><td bgcolor=" #000066" ><!--mstheme--><font face=" Verdana, Arial, Helvetica" >
<p align=" center"  style=" margin-top: 10; margin-bottom: -1" >
<span style=" background-color: #000066" >
<font size=" 4"  color=" #FFFFFF" >
<a href=" index.htm" ><font color=" #EEEEEE"  face=" Verdana" >
<a href=" index.htm" ><img src=" _derived/index.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Home"  align=" middle" ></a> <a href=" Policies%20and%20Terms/PrivacyPolicy.htm" ><img src=" Policies%20and%20Terms/_derived/PrivacyPolicy.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Privacy Policy"  align=" middle" ></a> <a href=" mailto:info@darncoolstuff.com" ><img src=" _derived/ext1013_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Contact Us"  align=" middle" ></a> <a href=" FAQs.htm" ><img src=" _derived/FAQs.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" FAQs"  align=" middle" ></a> <a href=" Search.htm" ><img src=" _derived/Search.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Search DCS.com"  align=" middle" ></a></font></a></font></span></p>
<p align=" center"  style=" margin-top: 10; margin-bottom: 3" >
<b><font size=" 6"  face=" Comic Sans MS" >
<applet code=" fprotate.class"  width=" 80"  height=" 103" >
  <param name=" rotatoreffect"  value=" dissolve" >
  <param name=" time"  value=" 5" >
  <param name=" image1"  valuetype=" ref"  value=" images/Software_Educational/jumpbaby[1].jpg" >
  <param name=" image2"  valuetype=" ref"  value=" images/aliensvspredgold.jpg" >
  <param name=" image3"  valuetype=" ref"  value=" images/Stun_Guns/SM625.jpg" >
  <param name=" image4"  valuetype=" ref"  value=" images/Stun_Guns/625holster.jpg" >
</applet>  </font></b>
<img border=" 0"  src=" _borders/DCSLogoOriginal19.gif"  width=" 604"  height=" 106" ><b><font size=" 6"  face=" Comic Sans MS" > 
<applet code=" fprotate.class"  width=" 80"  height=" 103" >
  <param name=" rotatoreffect"  value=" dissolve" >
  <param name=" time"  value=" 5" >
  <param name=" image1"  valuetype=" ref"  value=" images/Software_Educational/jumpbaby[1].jpg" >
  <param name=" image2"  valuetype=" ref"  value=" images/aliensvspredgold.jpg" >
  <param name=" image3"  valuetype=" ref"  value=" images/Stun_Guns/SM625.jpg" >
  <param name=" image4"  valuetype=" ref"  value=" images/Stun_Guns/625holster.jpg" >
</applet></font></b></p>
<p align=" center"  style=" margin-top: 0; margin-bottom: 4" ><b><i><font color=" #FFFF00"  face=" Copperplate Gothic Bold"  size=" 4" >
Working Hard to Become the World' s #1 Online Discounter!!!</font></i></b></p>

<!--mstheme--></font></td></tr><!--msnavigation--></table><!--msnavigation--><table dir=" ltr"  border=" 0"  cellpadding=" 0"  cellspacing=" 0"  width=" 100%" ><tr><td valign=" top"  width=" 1%" ><!--mstheme--><font face=" Verdana, Arial, Helvetica" >
<p align=" center" >                         </p>
<p> </p>

<!--mstheme--></font></td><td valign=" top"  width=" 24" ></td><!--msnavigation--><td valign=" top" ><!--mstheme--><font face=" Verdana, Arial, Helvetica" >

<p align=" center" > </p>
<p align=" center" ><b><font size=" 5" >New Member Sign-Up</font></b></p>
<!--msthemeseparator--><p align=" center" ><img src=" _themes/copy-of-arcs/arcsepd.gif"  width=" 600"  height=" 10" ></p>
<p align=" left" ><b>Please complete the following to set up your member account. 
When finished, click on the <font color=" #0000FF" ><u>Purchase Membership</u></font> 
link at the bottom to choose your type of membership and add it to your shopping 
cart. Before giving us your personal information, please review our
<a href=" Policies%20and%20Terms/PrivacyPolicy.htm" >Privacy Policy</a>. At 
DarnCoolStuff.com, we are committed to protecting your information and your 
privacy.</b></p>
<form method=" POST"  action=" MembershipForm.asp"  webbot-action=" --WEBBOT-SELF--" >
  <!--webbot bot=" SaveDatabase"  SuggestedExt=" asp"  S-DataConnection=" MembershipForm"  S-RecordSource=" Results"  U-Database-URL=" fpdb/MembershipForm.mdb"  S-Builtin-Fields=" REMOTE_HOST HTTP_USER_AGENT Timestamp REMOTE_USER"  S-Builtin-DBFields=" Remote_computer_name Browser_type Timestamp User_name"  S-Form-Fields=" BusinessName City Email FirstName PurchContact StreetAddLn1 NewsletterYN StreetAddLn2 Zip LastName ProdInterest State"  S-Form-DBFields=" BusinessName City Email FirstName PurchContact StreetAddLn1 NewsletterYN StreetAddLn2 Zip LastName ProdInterest State"  U-ASP-Include-Url=" _fpclass/fpdbform.inc"  startspan --><input TYPE=" hidden"  NAME=" VTI-GROUP"  VALUE=" 0" ><!--#include file=" _fpclass/fpdbform.inc" --><!--webbot bot=" SaveDatabase"  i-checksum=" 40548"  endspan --><p align=" center"  style=" margin-bottom: -14" > </p>
    <div style=" width: 734; height: 712; border-style: solid; border-width: 1" >
    <p align=" center"  style=" margin-bottom: -12" > </p>
    <p align=" center" ><u><b>New Member Account Info</b></u></p>
      <p align=" left" ><b> First Name        
    <input type=" text"  name=" FirstName"  size=" 20" ></b></p>
    <p align=" left" ><b> Last Name        
    <input type=" text"  name=" LastName"  size=" 25" ></b></p>
    <p align=" left" ><i><b>    or for businesses (*):</b></i></p>
    <p align=" left" ><b>    *Business Name           
    <input type=" text"  name=" BusinessName"  size=" 30" > </b></p>
    <p align=" left" ><b>    *Purchasing Contact</b><i>   
    </i><b><input type=" text"  name=" PurchContact"  size=" 30" ></b><i>  </i>
    </p>
    <p align=" left" ><b> Street Address: 
    <input type=" text"  name=" StreetAddLn1"  size=" 30" > </b></p>
    <p align=" left" ><b> Address (<i>cont</i>.):
    <input type=" text"  name=" StreetAddLn2"  size=" 30" ></b></p>
    <p align=" left" ><b> City <input type=" text"  name=" City"  size=" 25" >  
    State <input type=" text"  name=" State"  size=" 2" > Zip
    <input type=" text"  name=" Zip"  size=" 10" ></b></p>
    <p align=" left" ><b> E-mail address <input type=" text"  name=" Email"  size=" 25" ></b></p>
    <p align=" left" > What products are you most likely to buy from 
    DarnCoolStuff.com:</p>
    <p align=" left" > <select size=" 1"  name=" ProdInterest" >
    <option selected>Software/Application programs</option>
    <option>Gifts/General</option>
    <option>Software/Educational</option>
    <option>Software/Games</option>
    <option>Golf Gifts</option>
    <option>Toys/Educational</option>
    <option>Toys/General</option>
    <option>Hobbies/Remote Control</option>
    <option>Custom Product Search</option>
    <option>Personal Security Products</option>
    </select></p>
    <p align=" left"  style=" margin-bottom: -17" >
     <input type=" checkbox"  name=" NewsletterYN"  value=" ON"  checked>Also sign me 
    up for the DarnCoolStuff.com Internet Shopping Newsletter. <i>This is a</i></p>
    <p align=" left"  style=" margin-bottom: -17" >
    <i> free, monthly e-mail newsletter designed to save you money and help keep you 
    an</i></p>
    <p align=" left"  style=" margin-bottom: -17" >
    <i> informed online shopper</i>. <i>Please see</i>
    <a href=" Internet%20shopping%20newsletter.asp" >DCS.com Internet Shopping 
    Newsletter</a> <i>for more</i></p>
    <p align=" left"  style=" margin-bottom: -17" >
    <i> details.</i></p>
      <p align=" center" ><input type=" submit"  value=" Submit"  name=" B1" ><input type=" reset"  value=" Reset"  name=" B2" ></p>
      <p align=" center" ><b>To choose your level of membership and add it to your 
    shopping cart, click</b> <b><font color=" #0000FF" ><u>Purchase Membership</u></font>
    </b>
  </div>
</form>
<p align=" left" ><b><u>Important Note:</u> After you check out, your membership 
number will be emailed to you within 24 hours. Please keep this number in a safe 
place as you will need it each time you purchase from DarnCoolStuff.com. 
Although your membership has not been officially approved yet, and your 
membership number not assigned, you may still make purchases with this 
membership order. At checkout, you will be asked to enter your membership 
number. If you are purchasing a membership now, enter " NEW"  in  the 
Membership ID field. </b></p>
<p align=" center" >

<!--mstheme--></font><!--msnavigation--></td></tr><!--msnavigation--></table><!--msnavigation--><table border=" 0"  cellpadding=" 0"  cellspacing=" 0"  width=" 100%" ><tr><td bgcolor=" #000066" ><!--mstheme--><font face=" Verdana, Arial, Helvetica" >
<div style=" border: 7px ridge #808080" >
<p align=" center" ><span style=" background-color: #000066" >
<font size=" 4"  color=" #FFFFFF" >
<a href=" index.htm" ><font color=" #EEEEEE"  face=" Verdana" >
<a href=" index.htm" ><img src=" _derived/index.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Home"  align=" middle" ></a> <a href=" Policies%20and%20Terms/PrivacyPolicy.htm" ><img src=" Policies%20and%20Terms/_derived/PrivacyPolicy.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Privacy Policy"  align=" middle" ></a> <a href=" mailto:info@darncoolstuff.com" ><img src=" _derived/ext1013_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Contact Us"  align=" middle" ></a> <a href=" FAQs.htm" ><img src=" _derived/FAQs.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" FAQs"  align=" middle" ></a> <a href=" Search.htm" ><img src=" _derived/Search.htm_cmp_indust000_hbtn.gif"  width=" 140"  height=" 50"  border=" 0"  alt=" Search DCS.com"  align=" middle" ></a></font></a></font></span></p>
<p align=" center" ><span style=" background-color: #000066" >
<b>
<font color=" #FF0000"  size=" 5"  face=" Comic Sans MS" >
<img border=" 0"  src=" images/CreditCardImages/visa1_53x34_a.gif"  width=" 53"  height=" 34" >          
Darn</font><font color=" #CCFFFF"  size=" 5"  face=" Comic Sans MS" >Cool</font></b><font color=" #FF0000"  size=" 5"  face=" Comic Sans MS" ><b>Stuff</b>.com         
<img border=" 0"  src=" images/CreditCardImages/mc053a.gif"  width=" 57"  height=" 36" ></font></span></p>
<p align=" center" >
<img border=" 0"  src=" images/CreditCardImages/img_fraud_protec_logo.gif"  width=" 79"  height=" 35" ></p>
<p align=" center" >
<img src=" _vti_bin/fpcount.exe/C:/Documents%20and%20Settings/Michael/My%20Documents/My%20Webs/myweb/DarnCoolStuffWeb1/?Page=_borders/bottom.htm|Image=2|Digits=5"  alt=" Hit Counter" >
<b><font color=" #FF9933"  size=" 5" >Visitors</font></b></p>

</div>

<!--mstheme--></font></td></tr><!--msnavigation--></table></body>

</html>


<b>And here is the code for the form itself. This is actually, I believe, the part that I already posted. It looks the same to me:</b>

<%
'  FP_ASP ASP Automatically generated by a Frontpage Component. Do not Edit.

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

strErrorUrl = " " 

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

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

	Set fp_rs = Server.CreateObject(" ADODB.Recordset" )
	FP_DumpError strErrorUrl, " Cannot create record set" 

	fp_conn.Open Application(" MembershipForm_ConnectionString" )
	FP_DumpError strErrorUrl, " Cannot open database" 

	fp_rs.Open " Results" , fp_conn, 1, 3, 2 '  adOpenKeySet, adLockOptimistic, adCmdTable
	FP_DumpError strErrorUrl, " Cannot open record set" 

	fp_rs.AddNew
	FP_DumpError strErrorUrl, " Cannot add new record set to the database" 
	Dim arFormFields0(12)
	Dim arFormDBFields0(12)
	Dim arFormValues0(12)

	arFormFields0(0) = " BusinessName" 
	arFormDBFields0(0) = " BusinessName" 
	arFormValues0(0) = Request(" BusinessName" )
	arFormFields0(1) = " City" 
	arFormDBFields0(1) = " City" 
	arFormValues0(1) = Request(" City" )
	arFormFields0(2) = " Email" 
	arFormDBFields0(2) = " Email" 
	arFormValues0(2) = Request(" Email" )
	arFormFields0(3) = " FirstName" 
	arFormDBFields0(3) = " FirstName" 
	arFormValues0(3) = Request(" FirstName" )
	arFormFields0(4) = " PurchContact" 
	arFormDBFields0(4) = " PurchContact" 
	arFormValues0(4) = Request(" PurchContact" )
	arFormFields0(5) = " StreetAddLn1" 
	arFormDBFields0(5) = " StreetAddLn1" 
	arFormValues0(5) = Request(" StreetAddLn1" )
	arFormFields0(6) = " NewsletterYN" 
	arFormDBFields0(6) = " NewsletterYN" 
	arFormValues0(6) = Request(" NewsletterYN" )
	arFormFields0(7) = " StreetAddLn2" 
	arFormDBFields0(7) = " StreetAddLn2" 
	arFormValues0(7) = Request(" StreetAddLn2" )
	arFormFields0(8) = " Zip" 
	arFormDBFields0(8) = " Zip" 
	arFormValues0(8) = Request(" Zip" )
	arFormFields0(9) = " LastName" 
	arFormDBFields0(9) = " LastName" 
	arFormValues0(9) = Request(" LastName" )
	arFormFields0(10) = " ProdInterest" 
	arFormDBFields0(10) = " ProdInterest" 
	arFormValues0(10) = Request(" ProdInterest" )
	arFormFields0(11) = " State" 
	arFormDBFields0(11) = " State" 
	arFormValues0(11) = Request(" State" )

	FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0

	If Request.ServerVariables(" REMOTE_HOST" ) <> " "  Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables(" REMOTE_HOST" ), " Remote_computer_name" 
	End If
	If Request.ServerVariables(" HTTP_USER_AGENT" ) <> " "  Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables(" HTTP_USER_AGENT" ), " Browser_type" 
	End If
	FP_SaveFieldToDB fp_rs, Now, " Timestamp" 
	If Request.ServerVariables(" REMOTE_USER" ) <> " "  Then
		FP_SaveFieldToDB fp_rs, Request.ServerVariables(" REMOTE_USER" ), " User_name" 
	End If

	fp_rs.Update
	FP_DumpError strErrorUrl, " Cannot update the database" 

	fp_rs.Close
	fp_conn.Close

	FP_FormConfirmation " text/html; charset=windows-1252" ,_
						" Form Confirmation" ,_
						" Thank you for submitting the following information:" ,_
						" MembershipForm.asp" ,_
						" Return to the form." 

End If
End If

Session.CodePage = Session(" FP_OldCodePage" )
Session.LCID = Session(" FP_OldLCID" )

%>
<html>

<head>
<meta http-equiv=" Content-Language"  content=" en-us" >
<meta name=" GENERATOR"  content=" Microsoft FrontPage 5.0" >
<meta name=" ProgId"  content=" FrontPage.Editor.Document" >
<meta http-equiv=" Content-Type"  content=" text/html; charset=windows-1252" >
<title>New Member Sign</title>
<meta name=" Microsoft Theme"  content=" copy-of-arcs 101, default" >
<meta name=" Microsoft Border"  content=" tlb, default" >
</head>

<body>

<p align=" center" > </p>
<p align=" center" ><b><font size=" 5" >New Member Sign-Up</font></b></p>
<hr>
<p align=" left" ><b>Please complete the following to set up your member account. 
When finished, click on the <font color=" #0000FF" ><u>Purchase Membership</u></font> 
link at the bottom to choose your type of membership and add it to your shopping 
cart. Before giving us your personal information, please review our
<a href=" Policies%20and%20Terms/PrivacyPolicy.htm" >Privacy Policy</a>. At 
DarnCoolStuff.com, we are committed to protecting your information and your 
privacy.</b></p>
<form method=" POST"  action=" --WEBBOT-SELF--" >
  <!--webbot bot=" SaveDatabase"  suggestedext=" asp"  s-dataconnection=" MembershipForm"  s-recordsource=" Results"  u-database-url=" fpdb/MembershipForm.mdb"  s-builtin-fields=" REMOTE_HOST HTTP_USER_AGENT Timestamp REMOTE_USER"  s-builtin-dbfields=" Remote_computer_name Browser_type Timestamp User_name"  s-form-fields=" BusinessName City Email FirstName PurchContact StreetAddLn1 NewsletterYN StreetAddLn2 Zip LastName ProdInterest State"  s-form-dbfields=" BusinessName City Email FirstName PurchContact StreetAddLn1 NewsletterYN StreetAddLn2 Zip LastName ProdInterest State"  u-asp-include-url=" _fpclass/fpdbform.inc"  startspan --><input TYPE=" hidden"  NAME=" VTI-GROUP"  VALUE=" 0" ><!--#include file=" _fpclass/fpdbform.inc" --><!--webbot bot=" SaveDatabase"  endspan i-checksum=" 40548"  --><p align=" center"  style=" margin-bottom: -14" > </p>
    <div style=" width: 734; height: 712; border-style: solid; border-width: 1" >
    <p align=" center"  style=" margin-bottom: -12" > </p>
    <p align=" center" ><u><b>New Member Account Info</b></u></p>
      <p align=" left" ><b> First Name        
    <input type=" text"  name=" FirstName"  size=" 20" ></b></p>
    <p align=" left" ><b> Last Name        
    <input type=" text"  name=" LastName"  size=" 25" ></b></p>
    <p align=" left" ><i><b>    or for businesses (*):</b></i></p>
    <p align=" left" ><b>    *Business Name           
    <input type=" text"  name=" BusinessName"  size=" 30" > </b></p>
    <p align=" left" ><b>    *Purchasing Contact</b><i>   
    </i><b><input type=" text"  name=" PurchContact"  size=" 30" ></b><i>  </i>
    </p>
    <p align=" left" ><b> Street Address: 
    <input type=" text"  name=" StreetAddLn1"  size=" 30" > </b></p>
    <p align=" left" ><b> Address (<i>cont</i>.):
    <input type=" text"  name=" StreetAddLn2"  size=" 30" ></b></p>
    <p align=" left" ><b> City <input type=" text"  name=" City"  size=" 25" >  
    State <input type=" text"  name=" State"  size=" 2" > Zip
    <input type=" text"  name=" Zip"  size=" 10" ></b></p>
    <p align=" left" ><b> E-mail address <input type=" text"  name=" Email"  size=" 25" ></b></p>
    <p align=" left" > What products are you most likely to buy from 
    DarnCoolStuff.com:</p>
    <p align=" left" > <select size=" 1"  name=" ProdInterest" >
    <option selected>Software/Application programs</option>
    <option>Gifts/General</option>
    <option>Software/Educational</option>
    <option>Software/Games</option>
    <option>Golf Gifts</option>
    <option>Toys/Educational</option>
    <option>Toys/General</option>
    <option>Hobbies/Remote Control</option>
    <option>Custom Product Search</option>
    <option>Personal Security Products</option>
    </select></p>
    <p align=" left"  style=" margin-bottom: -17" >
     <input type=" checkbox"  name=" NewsletterYN"  value=" ON"  checked>Also sign me 
    up for the DarnCoolStuff.com Internet Shopping Newsletter. <i>This is a</i></p>
    <p align=" left"  style=" margin-bottom: -17" >
    <i> free, monthly e-mail newsletter designed to save you money and help keep you 
    an</i></p>
    <p align=" left"  style=" margin-bottom: -17" >
    <i> informed online shopper</i>. <i>Please see</i>
    <a href=" Internet%20shopping%20newsletter.asp" >DCS.com Internet Shopping 
    Newsletter</a> <i>for more</i></p>
    <p align=" left"  style=" margin-bottom: -17" >
    <i> details.</i></p>
      <p align=" center" ><input type=" submit"  value=" Submit"  name=" B1" ><input type=" reset"  value=" Reset"  name=" B2" ></p>
      <p align=" center" ><b>To choose your level of membership and add it to your 
    shopping cart, click</b> <b><font color=" #0000FF" ><u>Purchase Membership</u></font>
    </b>
  </div>
</form>
<p align=" left" ><b><u>Important Note:</u> After you check out, your membership 
number will be emailed to you within 24 hours. Please keep this number in a safe 
place as you will need it each time you purchase from DarnCoolStuff.com. 
Although your membership has not been officially approved yet, and your 
membership number not assigned, you may still make purchases with this 
membership order. At checkout, you will be asked to enter your membership 
number. If you are purchasing a membership now, enter " NEW"  in  the 
Membership ID field. </b></p>
<p align=" center" >

</body>

</html>


If anything jumps out at you, please let me know. I am learning, but I have a long way to go.

Tad

(in reply to Spooky)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 20:13:05   
Nope, nothing that jumps out :)
Can you post us a URL?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 20:36:46   
I can' t post a URL right now. The site is down while Microsoft tries to determine how to get my confirmation pages to work. They are testing. Apparently, they create the need for all of the FrontPage server extensions, but they don' t support them all in their hosting. If they won' t, who will?

As far as the other situation is concerned, there is something else sort of buggy going on. I think it might be related in some bizarre way, but I am not sure. Everytime I go to preview in browser, I keep getting messages that everything isn' t saved or that the site will need to be saved or published to view correctly. This always comes right after I' ve saved everything. I make sure every open page with an asterisk has been saved. This never happened before this other mess started.

Tad

(in reply to Spooky)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 21:16:55   
Sounds like the cause is being investigated then :)
With the URL, I can do some extension and server checks - it seems that is perhaps the problem.

If you look at removing the webbot like so : http://www.outfront.net/spooky/adv_new_id.htm

you may have some success too

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 21:47:45   
Well, actually they don' t know about this problem. It has taken them 3 weeks to figure out the other. I' m scared to throw anything else at them.

Incidentally, what is a webbot? Or, more importantly, will removing it screw anything up? If it will help, I' ll do it.

(in reply to Spooky)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 22:21:07   
Here are a few short questions:

In Page Options/Compatibility, should Browsers be set to Custom

In Page Properties/Language, should Reload the current document be set to <Automatic Encoding>?

In Web Settings, should the Default Scripting Language be set to Java Script?

Here' s something else odd that is happening now: Text that used to be centered in my left shared border wont center. It stays left. I am also wondering if something is wrong with FrontPage. I am thinking about deleting it and reinstalling. Is that a good idea?

Tad



(in reply to Spooky)
DarlingBri

 

Posts: 3123
From: Left of Centre, Cork, Ireland
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/9/2002 23:31:08   
Tad, all those settings are fine.

Your form is still there, of course. It' s just a question of how it is displaying.

quote:

I keep getting messages that everything isn' t saved or that the site will need to be saved or published to view correctly.


It looks like you' ve built this site on your local C drive, rather than on a locally installed web server. That could account for some of your problems, including all your form problems. That' s why you need to publish to a working web server to see what is really going on.

quote:

Apparently, they create the need for all of the FrontPage server extensions, but they don' t support them all in their hosting. If they won' t, who will?


Any good FP host. Only you can determine if your host is a good FP host. So far, I' d say " no." I' d be moving after three weeks.

As for your centering problem, that is not something for which you would reinstall FP. It' s likely to be a simple coding problem. Which, given the code, isn' t shocking. The more FP bells you use, the messier the code can get. When you add on a lack of fundamentals, like file names that have spaces, weird style tags like <p align=" left" style=" margin-bottom: -17" > and other wonky stuff, it gets harder to trouble shoot the code and you' re more prone to display problems in different browsers.

_____________________________

--Bri
Bartlet for President 2008
Get a taste of religion. Lick a witch.

(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/10/2002 0:07:58   
Are you saying that file names should or should not have spaces? I didn' t know it mattered. Also, I' m wondering if it' s a browser issue. Is it possible that my browser has a setting (like a security setting) that is denying the asp page?

Tad

(in reply to DarlingBri)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/10/2002 21:43:11   
I have continued to troubleshoot this problem, getting the same error in both Netscape and IE. As it also occurs when I reload a previously saved copy of the site, I am now convinced that there is some corrupt file, maybe in my registry, that is causing the form to bomb out. When I try to open it in FrontPage with the preview option, it comes up fine. Is it possible that there is something askew in my registry that is causing this? If so, any idea what the file might look like?

Tad

(in reply to DarlingBri)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/10/2002 21:54:57   
Dont use the preview option - it sucks.
I thought you had this live and hosted? are you messing around with it on a disk based web or do you have an NT hosted account on the web somewhere?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/10/2002 22:19:05   
Right now I am working on my local machine because I can' t upload to the site. Microsoft techs are still trying to solve other problems for me, and they don' t want me to make any changes until they have some resolution. I only have XP Home, so I can' t run a personal web server to test it in a live setting. As I understand, I need XP Pro. Was I off base with the registry idea? I still have much to learn.

Incidentally, I am probably saying goodbye to Microsoft for my hosting needs. They suck worse than the preview option.

(in reply to Spooky)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/10/2002 22:54:15   
Yes,to preview it locally , youll need to be running via a web server.
Apparently XPHome doesnt cut it, so you will not get a preview or asp pages via XP.

All will hopefully be well when we are working back on a live site [:j]

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/13/2002 14:44:52   
Regarding this issue of seeing the HTML code for my form page when I preview in browser (as opposed to seeing the form itself), I have some further info that might help in determining what the problem is. First, I am certain that when I publish this, all with appear as it should on any computer but mine. Yesterday, I was visiting various sites that came up in a search that I performed. I had a couple that were sites created in FrontPage that had .asp extensions on the link I was selecting. When I tried to access these pages, I got the following error messages:
-----------------------
Active Server Pages error ' ASP 0131'
It may not be a database that your application recognizes, or the file may be corrupt.
----------------------
and
----------------------
Microsoft JET Database Engine error ' 80004005'
The Include file ' ../1.asp' cannot contain ' ..' to indicate the parent directory.
-----------------------
It seems now more than ever that some setting on my local machine has changed. It is affecting how .asp pages load and are viewed. I wonder if this isn' t a security issue. Maybe the mystery setting got changed to protect something. I also know that it is not the code because I viewed the code before the error started (from a saved copy) and compared it with the current and there is no difference. Where could such an error appear?--in the Windows XP registry, FrontPage 2002, Windows XP Home? I just don' t get it.

Tad

(in reply to Tad)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/13/2002 18:23:30   
I would assume that was an error with that site - all the pages here are asp, and youll be seeing them ok? :)

I wouldnt worry about it until they are published. All should be well then.

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/13/2002 21:12:29   
I know you don' t seem to think that this is an issue, Spooky, but it' s limiting what sites I can view. The .asp pages that erred out were pages created in FrontPage. This isn' t happening to all .asp pages--only some that are created in FrontPage. When I tried to access those same sites from two other computers today, they came up just fine. That means that there are sites that I will not be able to visit from my computer until this is resolved. I need to learn what is behind this error so if it happens again I will be able to handle it.

(in reply to Spooky)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/13/2002 22:09:23   
Do you have the error URLS so we can view as well?
Are you running Norton System works or other firewall blocking application?

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/14/2002 10:57:41   
I am running Norton Anti-Virus Corporate Edition for virus protection and I have ZoneAlarm 3.1.395 as my firewall.

The two URLs that wont work on my computer but will on others that I' ve tested are below:

http://www.shortit.com.au/techsupport/default.asp?PageID=2.3
http://www.frontpagedatabase.com/Forum/default.asp

Hope this helps. I will be continuing to troubleshoot this today.

Tad

(in reply to Spooky)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/14/2002 12:19:33   
Its ok, I get the same error from http://www.shortit.com.au/techsupport/default.asp?PageID=2.3 :-)

I think you will have hit a temporary error on the other site too

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to Tad)
Tad

 

Posts: 45
Joined: 12/9/2002
Status: offline

 
RE: All I' m getting is the HTML code when I click the ... - 12/15/2002 19:23:26   
That' s interesting because they both worked when I tested them. Oh well.

More importantly, in testing this issue, I made a discovery. If I delete the database for the form, remove the database connection, and change " Send Results to Database" to " Send Results to File," then I can use Preview in Browser to view the form. I don' t get the HTML code. Does this help narrow down where the error is? Seems like progress, but I am still rather frustrated.

Tad

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> All I' m getting is the HTML code when I click the link to my FrontPage form
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts