PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

ASP page run time error

 
 
=?Utf-8?B?Q2luZGVyZWxsYQ==?=
Guest
Posts: n/a
 
      4th Jun 2004
I recently upgraded my ASP forum's backend database from Access to SQL Server.

I was trying to make a new posting, then got the following error

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Execute'

/forum/forums.asp, line 1180

This is the code of the line
cn.execute = "UPDATE disc_forums SET posts = posts + 1 WHERE forumid = " & forumi
cn.execute = "UPDATE disc_topics SET last_user_id = " & session("user_id") & ", datelast = '" & now & "', replies = replies + 1 WHERE topicid = " & topici

I suspected in the beginning that there was some problem with my user account in conn. It has the right to insert, delete, update, and read. However, I couldn't give it right to execute. I tried to create a new user and it worked. Is there any syntax that would only work with ACCESS but not SQL SERVER here

Thanks

Cinderell

 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      4th Jun 2004
Have you contacted the author of your forum application for help regarding the conversion from
Access to MS SQL server?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Cinderella" <(E-Mail Removed)> wrote in message
news:88F2B8BF-F513-4851-85EE-(E-Mail Removed)...
> I recently upgraded my ASP forum's backend database from Access to SQL Server.
>
> I was trying to make a new posting, then got the following error:
>
> Microsoft VBScript runtime error '800a01b6'
>
> Object doesn't support this property or method: 'Execute'
>
> /forum/forums.asp, line 1180
>
> This is the code of the line:
> cn.execute = "UPDATE disc_forums SET posts = posts + 1 WHERE forumid = " & forumid
> cn.execute = "UPDATE disc_topics SET last_user_id = " & session("user_id") & ", datelast = '" &

now & "', replies = replies + 1 WHERE topicid = " & topicid
>
> I suspected in the beginning that there was some problem with my user account in conn. It has the

right to insert, delete, update, and read. However, I couldn't give it right to execute. I tried to
create a new user and it worked. Is there any syntax that would only work with ACCESS but not SQL
SERVER here?
>
> Thanks!
>
> Cinderella
>



 
Reply With Quote
 
MD Websunlimited
Guest
Posts: n/a
 
      4th Jun 2004
Hi,

Have you contacted the authors of the forum system? This question is not related to FP.

--
Mike -- FrontPage MVP '97 - '02
http://www.websunlimited.com


"Cinderella" <(E-Mail Removed)> wrote in message news:88F2B8BF-F513-4851-85EE-(E-Mail Removed)...
> I recently upgraded my ASP forum's backend database from Access to SQL Server.
>
> I was trying to make a new posting, then got the following error:
>
> Microsoft VBScript runtime error '800a01b6'
>
> Object doesn't support this property or method: 'Execute'
>
> /forum/forums.asp, line 1180
>
> This is the code of the line:
> cn.execute = "UPDATE disc_forums SET posts = posts + 1 WHERE forumid = " & forumid
> cn.execute = "UPDATE disc_topics SET last_user_id = " & session("user_id") & ", datelast = '" & now & "', replies = replies + 1

WHERE topicid = " & topicid
>
> I suspected in the beginning that there was some problem with my user account in conn. It has the right to insert, delete, update,

and read. However, I couldn't give it right to execute. I tried to create a new user and it worked. Is there any syntax that would
only work with ACCESS but not SQL SERVER here?
>
> Thanks!
>
> Cinderella
>



 
Reply With Quote
 
=?Utf-8?B?Q2luZGVyZWxsYQ==?=
Guest
Posts: n/a
 
      4th Jun 2004
Thanks! I solved the problem.
 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Front Page Run-Time Error kryket Microsoft Frontpage 2 30th Sep 2009 05:11 PM
Script Error While Loading Web page Then Run Time Error =?Utf-8?B?TW9vbmVy?= Windows XP General 2 16th Dec 2007 11:27 AM
Error page not displaying all the time tshad Microsoft ASP .NET 0 26th Jan 2007 03:19 AM
Every page I go to, up comes run time Error, what is that PeterM Windows XP Internet Explorer 1 17th May 2004 01:49 PM
Run time error when exiting a web page Ian Windows XP Internet Explorer 1 19th Nov 2003 07:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:38 PM.