ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 6th, 2004, 08:56 AM
stevieggg01 stevieggg01 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 stevieggg01 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Microsoft VBScript compilation error '800a03f6' expected end

Hi i am getting thi s error :Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/myspace/edit_userloc.asp, line 36

from running this page:
.

edituser_loc.asp
<%@ LANGUAGE="VBSCRIPT" %>
<% Response.buffer = TRUE %>
<!--#include virtual="/adovbs.inc"-->
<!--#include virtual="/pagetop.txt"-->
<!--#include virtual="/isadmin.inc"-->
<%
if isAdmin then
username = Request.cookies("isLoggedInAs")("username")

town = cstr(Request.form("utown"))
postcode = cstr(Request.form("upostcode"))
alerts = cstr(Request.form("alerts"))
Response.write town & "<br>"
Response.write alerts & "<br>"
Response.write postcode & "<br>"
Response.write username
set racDB = Server.CreateObject("ADODB.Connection")
racDB.Open "rac"

set insertset = Server.CreateObject("ADODB.RecordSet")
insertset.Open "Select count(*) as Cnt from memb_loc where username= '" & username & "'", racdb
Dim UserExist, strsql
UserExist = insertset("Cnt")
insertset.close
set insertset = Nothing
If CInt(UserExist)=0 then
strsql="Insert into memb_loc(username,town,postcode,alerts) Values('" & username & "','" & town & "','" & postcode & "','" & alerts & "')"
response.write strsql
response.end
racdb.Execute(strsql)
Else
strsql="Update memb_loc set town='" & town & "', postcode='" & postcode & "', alerts='" & alerts & "' where username='" & username & "'"
response.write strsql
response.end
racdb.Execute(strsql)
End if

%>
</BODY>
</HTML>

this is going to write the values as well as update the database.

all the variables have values so that all works.....

please help.

steve


Reply With Quote
  #2  
Old June 6th, 2004, 05:10 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 9 m 49 sec
Reputation Power: 181
There is a reason you didn't post this in the asp forum?

Just curious.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old October 15th, 2004, 08:47 PM
freddo freddo is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 freddo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I had this and went to the extend of commenting the entire incude file only to find in the file with the include statement had a <5 instead of a <% after the include statement

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > Microsoft VBScript compilation error '800a03f6' expected end


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT