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.
|
|
|
|
|
![]() |
||
server.execute error..help me
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
|
|
|
|||
|
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 |
|
|||
|
<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. |
![]() |
| Tags |
| serverexecute, errorhelp |
| Thread Tools | |
|
|
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 |