server.execute error..help me

This is a discussion on "server.execute error..help me" within the Classic ASP section. This forum, and the thread "server.execute error..help me are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 26th, 2004, 14:27
New Member
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
server.execute error..help me

Hi 2 all


i have a problem with my server.execute query...
i m getting error

-2147467259
006~ASP 0228~Server.Execute Error~The call to Server.Execute failed while loading the page

i have 2 folders on my website 1 is main folder and other is subfolder which is exist in main folder...



some files are exist in main folder which is also root folder of my site.


and sub.asp file exist in sub folder

code for sub.asp is


<%on Error Resume next
server.execute("www.mysite.com/header2.asp")
'
%>
<link rel="stylesheet" href="../style.css" type="text/css">
<TABLE WIDTH="770" ALIGN=center BORDER=0 CELLSPACING=2 CELLPADDING=0>
<TR>
<TD valign="top">
<%if session("MemberID")="" then
response.Write "<TR><TD valign=top><p align=center>"
server.Execute("www.mysite.com/left_pane1.asp")
else
response.Write "<TR><TD valign=top><p align=center>"
server.Execute("www.mysite.com/left_pane_member.asp")
end if
%>

</TD>
<TD bgcolor="#FFFFFF" width="517" valign="top" align=center>

<center>
<h3>About Us</h3>
</center>



</td>
</tr>
</table>
<%
server.Execute("www.mysite.com/footer.htm")
if err.number <>0 then
response.Write err.number & "
"
response.write err.description
end if
%>

Thanx for help

bye n take care

  #2 (permalink)  
Old Apr 26th, 2004, 17:35
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
replace "www.mysite.com" with "..", take the () out of the server.execute lines too

Also, you can't comment out an include like you tried to do on line 3
  #3 (permalink)  
Old Apr 26th, 2004, 17:59
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">Originally posted by Catalyst

Also, you can't comment out an include like you tried to do on line 3
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">Simply removing the # works nicely though.
Closed Thread

Tags
serverexecute, errorhelp

Thread Tools

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! 500 Internal Server Error? mattyprice4004 PHP Forum 2 Jul 3rd, 2007 12:27
PHP Error on the web server i loathe JasonStanley PHP Forum 2 May 2nd, 2007 23:19
Error 500 - Internal server error JasonStanley PHP Forum 3 Apr 23rd, 2007 17:56
553 server error trying to upload MS Word docs audiopleb PHP Forum 4 Sep 26th, 2006 08:24
SSI, server.execute and Global variables D3mon Classic ASP 5 May 8th, 2004 09:50


All times are GMT. The time now is 07:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43