Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > Classic ASP

Closed Thread
 
LinkBack Thread Tools
Old April 26th, 2004, 10:27 AM   #1
New Member
 

Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 tulip4heaven is on a distinguished road
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
tulip4heaven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old April 26th, 2004, 01:35 PM   #2
WebForumz Admin Badge
 

Join Date: Jul 2003
Posts: 1,848
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 118 Webforumz Staff is on a distinguished road
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
Webforumz Staff is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Old April 26th, 2004, 01:59 PM   #3
Reputable Member
 

Join Date: Aug 2003
Location: United Kingdom
Posts: 339
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 D3mon is on a distinguished road
<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.
D3mon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Bookmarks

Tags
serverexecute , errorhelp


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 2 July 3rd, 2007 08:27 AM
PHP Error on the web server i loathe JasonStanley PHP 2 May 2nd, 2007 07:19 PM
Error 500 - Internal server error JasonStanley PHP 3 April 23rd, 2007 01:56 PM
553 server error trying to upload MS Word docs audiopleb PHP 4 September 26th, 2006 04:24 AM
SSI, server.execute and Global variables D3mon Classic ASP 5 May 8th, 2004 05:50 AM


Search Engine Optimization by vBSEO 3.2.0 RC8