Slettet bruger
19. juni 2006 - 17:16
Der er
18 kommentarer og 1 løsning
ASP Fejl : Response Buffer Limit Exceeded ?
Jeg får denne fejl når jeg kører min kode: Response object error 'ASP 0251 : 80004005' Response Buffer Limit Exceeded /Visprofil.asp, line 0 Execution of the ASP page caused the Response Buffer to exceed its configured limit. ------------------------------------- Hvad betyder fejlen? Og hvad kan jeg gører ved den ? Jeg har prøvet at sætte <%Response.Buffer = False %> Og det virkede også, men det gik bare psygo langsomt at hente siden.
Annonceindlæg tema
Offentlig digitalisering
Fra effektivisering til digital suverænitet. Hvordan skaber det offentlige en digital fremtid med AI, sikkerhed og kontrol i centrum?
Slettet bruger
19. juni 2006 - 17:17
#1
Det er fordi at jeg er ved at flytte min side fra B-one til Web10, og på B-one virkede det fint, men ikke på Web10 ?.. Hvordan kan det være?
Forklaring: Alle webservere har en predefineret mængde hukommelse den kan bruge til hver side. Hver gang du laver en response.write bliver det gemt i denne "buffer", og hvis du nu kom til at lave en uendelig løkke, kunne du hurtig opbruge alt hukommelsen på serveren hvis der ikke var denne limit. Med response.flush tvinger du serveren til at sende buffer informationerne til klienten (browseren) og derved tømme bufferen, så den kan fyldes op igen. Det giver desuden brugeren de første informationer hurtigere, da siden ellers først bliver sendt til klienten når den er helt færdig. Brøv f.eks dette script: for f=0 to 100000 if f mod 1000 = 0 then response.write "Er nu kommet til: "& f &"<br>" response.flush end if next
Slettet bruger
20. juni 2006 - 15:02
#4
okay tak så forstår jeg bedre. Men jeg har prøvet at indsætte Response.Flush for hver 100 linje men så stopper den med at loaded når den er halvejs ca. Derfor tænker jeg; hvis man nu har Selected en Tabel ligger den så også gemt i bufferen? Det vil altså sige at hvis jeg tømmer bufferen før at jeg er færdig med at bruge Recordsættet, vil den jo ikke kunne finde det?
Buffer limit er KUN relativ til udskrift. Altså alt det der sendes til browseren via response.write eller HTML kode. Jeg ved faktisk ikke om der er en limit på variablel størrelse, men det burde der være. Kunne du evt vise os din kode, for så har vi nemmere ved at se hvor den kan optimeres.
Slettet bruger
20. juni 2006 - 18:42
#6
Ja den kommer her den er lidt lang men jeg har fjenet Styles o.s.v : <html> <head> </head> <body background="Grafik/Sidegrafik/Bg.gif"> <table width="885" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="702" height="114" scope="row"><%server.Execute("Top.asp")%> </th> </tr> <tr> <th height="443" scope="row" style="background-color:B1EAA1; border-right:1px solid #A4A699; border-left:1px solid #A4A699 "> <!-- #include file="Database.asp" --> <% Id = request.QueryString("ID") Call OpenDataBase strSQL = "Select * from Brugere Where Id =" & Request.QueryString("ID") Set rs = objConn.Execute(strSQL) If rs("Profilbillede") = "Intet" then Profilbillede = "Grafik/Sidegrafik/BgIntetbillede.gif" Else Profilbillede = rs("Profilbillede") End if If rs("status") = "online" then StatusStyle = "Online" Else StatusStyle = "Offline" End if Function Borderbottom(fane) If request.QueryString("Mode") = fane then Response.Write "" else response.Write "border-bottom:1px solid #FFF;" end if end Function Response.Flush %> <br> <br> <table width="97%" cellpadding="0" cellspacing="0"> <tr> <th width="37" height="33" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="7" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; "> </th> <th width="114" bgcolor="9ACB89" scope="row" style="border-top:1px solid #FFF;"><span class="style61">Profil</span></th> <th width="11" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:right; background-repeat:no-repeat; "> </th> <th width="11" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="8" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="133" bgcolor="9ACB89" scope="row" onclick="document.location.href='Visprofilscooter.asp?id=<%response.Write request.QueryString("id")%>&Mode=Scooter'" style="border-top:1px solid #FFF; cursor:pointer; border-bottom:1px solid #FFF "><span class="style61">Scootere(<%response.Write rs("Antalscootere")%>)</span></th> <th width="12" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:roght; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="10" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="8" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="111" bgcolor="9ACB89" scope="row" style="border-top:1px solid #FFF; border-bottom:1px solid #FFF "><span class="style61">Biler</span></th> <th width="11" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:roght; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="12" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="8" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="131" bgcolor="9ACB89" scope="row" style="border-top:1px solid #FFF; border-bottom:1px solid #FFF "><span class="style61">MC'er</span></th> <th width="12" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:roght; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="217" scope="row" style="border-bottom:1px solid #FFF; "> </th> </tr> </table> <table width="97%" cellpadding="0" cellspacing="0" > <tr> <td width="4%" height="58" bgcolor="9ACB89" class="style40" style="border-bottom:1px solid #FFF; border-left:1px solid #FFF;" > </td> <td width="96%" bgcolor="9ACB89" class="style40" style="border-bottom:1px solid #FFF; border-right:1px solid #FFF;" ><% response.Write rs("Brugernavn") %> 's Profil:</td> </tr> <tr> <td height="39" bgcolor="C9EDBE" style="border-left:1px solid #FFF;"><span class="style41"> </span></td> <td height="39" bgcolor="C9EDBE" style=" border-right:1px solid #FFF;"><span class="style41">Profil info:</span></td> </tr> <tr> <td height="363" colspan="2" bgcolor="7DA36C" style="border-left:1px solid #FFF; border-right:1px solid #FFF;"><table width="99%" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="284" height="158" scope="row"><div align="left"> <table width="261" align="left" > <tr> <th width="88" class="style32" scope="row"><div align="left" class="style42">Status:</div></th> <th width="161" class="style43" scope="row"><div align="left"> <% response.Write rs("Status") %> </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Navn:</div></th> <th class="style43" scope="row"><div align="left" class="style31"> <% response.Write rs("Navn") Response.Flush%> </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Oprettet:</div></th> <th class="style43" scope="row"><div align="left" class="style31"> <% response.Write rs("Oprettet")%> </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Landsdel:</div></th> <th class="style43" scope="row"><div align="left" class="style31"> <% response.Write rs("Landsdel")%> </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Alder:</div></th> <th class="style43" scope="row"><div align="left"> <% response.Write rs("Alder")%> År </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Oprettet:</div></th> <th class="style43" scope="row"><div align="left"> <% response.Write rs("Oprettet") %> </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Landsdel:</div></th> <th class="style43" scope="row"><div align="left"> <% response.Write rs("Landsdel") Response.Flush%> </div></th> </tr> </table> </div></th> <th width="320" scope="row"><div align="left"><img src="<% response.Write Profilbillede %>" height="150" align="left" style="border:1px solid #FFF "></div></th> <th width="237" rowspan="2" scope="row"> <table width="237" cellpadding="0" cellspacing="0"> <tr> <th width="18" height="39" scope="row" style="background-image:url(Grafik/Sidegrafik/VenneboxkantOV.gif); background-position:top; background-repeat:no-repeat"> </th> <th width="199" scope="row" bgcolor="B6DBA9" style="border-top:2px solid #FFF "><span class="style48">Venner:</span></th> <th width="18" scope="row" style="background-image:url(Grafik/Sidegrafik/VenneboxkantOH.gif); background-position:top; background-repeat:no-repeat"> </th> </tr> <tr> <th height="258" colspan="3" scope="row" bgcolor="B6DBA9" style="border-left:2px solid #FFF; border-right:2px solid #FFF "> <table width="100%" align="top" height="100%" > <% Response.Flush strSQL4 = "Select * from Venner Where (Bruger2id = '" & request.QueryString("id") & "' OR Bruger1id = '" & request.QueryString("id") & "') AND Status='Accepteret'" Set rs4 = objConn.Execute(strSQL4) Dim Ven Do Until rs4.EOF 'TJEK OG UDSKRIV VENNER: (Udskriv alle "venneforhold"(records) hvor QueryString("ID") indgår!) If rs4("Bruger1id") = request.QueryString("id") then Ven = "<a href=""Visprofil.asp?id=" & rs4("Bruger2id") & """ class=""style60"">" & rs4("Bruger2") & "</a><Br>" Response.Write "<tr><th height=""25"" align=""Left"" style=""border-bottom:1px solid #FFF; Font-size:14;"" scope=""row""> " & Ven & "</th></tr>" Response.Flush else Ven = "<a href=""Visprofil.asp?id=" & rs4("Bruger1id") & """ class=""style60"">" & rs4("Bruger1") & "</a><Br>" Response.Write "<tr><th height=""25"" align=""Left"" style=""border-bottom:1px solid #FFF; Font-size:14; "" scope=""row""> " & Ven & "</th></tr>" Response.Flush end if rs4.movenext Loop %> <tr> <th height="139">.</th> </tr> <tr> <th height="29" onclick="document.location.href='Ansoegomvenskab.asp?Bruger2=<%response.Write request.QueryString("id")%>'" onMouseOver="this.style.background='#D7F4CE';" style="cursor:pointer; " onMouseOut="this.style.background='#B6DBA9';"><span class="style68">Ansøg <%response.Write rs("Brugernavn") %> om venskab </span></th> </tr> </table></th> </tr> <tr> <th height="26" scope="row" style="background-image:url(Grafik/Sidegrafik/VenneboxkantNV.gif); background-position:Bottom; background-repeat:no-repeat"> </th> <th height="26" scope="row" bgcolor="B6DBA9" style="border-bottom:2px solid #FFF "> </th> <th height="26" scope="row" style="background-image:url(Grafik/Sidegrafik/VenneboxkantNH.gif); background-position:bottom; background-repeat:no-repeat"> </th> </tr> </table> </th> </tr> <tr> <th height="151" colspan="2" scope="row"><div align="left"> <table width="604"> <tr> <th colspan="3" scope="row"><div align="left" class="style49">Stats</div></th> </tr> <tr> <th colspan="3" scope="row"><div align="left" class="style50">Rang: <%response.Write rs("Rang")%> <%Rangstjerner1 = Rangstjerne(rs("Rang"))%></div></th> </tr> <tr> <th colspan="3" scope="row"><div align="left"></div> <div align="left"></div></th> </tr> <tr> <th width="144" scope="row"><div align="left" class="style51">Gæstebogsindlæg:</div></th> <th width="141" scope="row"><div align="left" class="style54"><%response.Write rs("Gaestebogsindlaeg")%> </div></th> <th width="303" class="style53" scope="row"><div align="left">Scootere: <%response.Write rs("Antalscootere")%></div></th> </tr> <tr> <th class="style51" scope="row"><div align="left">Forumemner:</div></th> <th scope="row"><div align="left" class="style54"><%response.Write rs("Forumemneroprettet")%></div></th> <th class="style53" scope="row"><div align="left">Biler: 0</div></th> </tr> <tr> <th class="style51" scope="row"><div align="left">Forumindlæg:</div></th> <th scope="row"><div align="left" class="style54"><%response.Write rs("Forumindlaeg")%></div></th> <th class="style53" scope="row"><div align="left" class="style53">MC'er: 0 </div></th> </tr> <tr> <th class="style53" scope="row"><div align="left">Points i alt:</div></th> <th colspan="2" scope="row"><div align="left" class="style53"><%response.Write rs("Points")%></div></th> </tr> </table> </div></th> </tr> </table></td> </tr> </table> <table width="97%" cellpadding="0" cellspacing="0" > <tr> <th width="639" height="116" bgcolor="7DA36C" scope="row" style="border-right:1px solid #FFF; border-left:1px solid #FFF;"><div align="center"><br> <table width="618" bgcolor="C9EDBE" style="border:1px solid #FFF " > <tr> <th width="610" scope="row"><div align="left" class="style55"> <span class="style57">Profiltekst:</span><br> <br> <span class="style59"> <%response.Write rs("Fritekst")%> </span><br> <br> </div></th> </tr> </table> </div></th> </tr> </table> <table width="97%" cellpadding="0" cellspacing="0" > <tr> <th width="639" height="98" bgcolor="7DA36C" scope="row" style="border-right:1px solid #FFF; border-left:1px solid #FFF; border-bottom:1px solid #FFF "><div align="center"><br> <table width="100%" > <tr> <th scope="row"><span class="style65">awddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd</span><br> <a href="Visprofilgaestebog.asp?id=<%response.write request.QueryString("id")%>" class="style63">Klik her for at se <%response.Write rs("Brugernavn") Response.Flush%> 's Gæstebog</a></th> </tr> </table> </div></th> </tr> </table> <br> <p> </p> <p class="style60">1</p> <p> </p></th> </tr> <tr> <th height="18" scope="row"><%server.Execute("Bund.asp")%></th> </tr> </table> </body> </html>
Slettet bruger
20. juni 2006 - 23:53
#7
Åh Nej.. Nu er det vel ikke fordi at hele siden kører over en stor Table og så nogle mindre tables inde i den. Og hvis jeg så sender siden til browseren i dele kommer det sidste </TABLE> ikke med og siden indlæses derfor ikke korekt ?.. Men det er mærkeligt fordi at det er som om at den indlæser siden halvejs og så stopper den pludseligt. Og den halve del som den viser ser fin nok ud.
Hvor mange rækker returnere din rs4?? Er det over 100??
Slettet bruger
21. juni 2006 - 12:42
#9
Nej. Koden er en side som viser profil info... og rs4 er brugerens venner (fordi at brugerne kan ansøge hinanden om venskab). Og hele sitet er ikke lagt ud på domænet endnu, fordi at jeg stadig er ved at teste. Så den bruger som har flest venner har vel omkring 4 venner..
21. juni 2006 - 13:22
#10
Så er det lidt mig en gåde hvordan du kan få en buffer limit. Denne kode skulle være afviklet på få milisekunder. Prøv at fjerne dit rs4 loop, så du kører siden uden at finde vennerne. Virker siden så, og hvor lang tid tager siden at loade (under 1 sek??)
Slettet bruger
21. juni 2006 - 13:28
#11
Hvis jeg fjerner alt med Rs4 så sker der det samme... Jeg forstår det heller ikke.. Da jeg hostede hos B-one virkede alt på hele sitet. Men da jeg så skulle til at udgive det ville jeg skifte over til web10 pga. at jeg skal bruge deres komponenter.
Slettet bruger
21. juni 2006 - 13:33
#12
Men jeg ved ikke om det kan have noget at gører med at jeg i starten Selecter ALT om brugeren: strSQL = "Select * from Brugere Where Id =" & Request.QueryString("ID") Set rs = objConn.Execute(strSQL) og der er 28 felter til hver bruger eller hvad skal man sige. Altså i tabellen Brugere er der 28 kolonner. Fx Brugernavn, Kode, Email o.s.v... Kan det have noget at gører med at den ikke kan kapére så mange kolonner ?
21. juni 2006 - 13:43
#13
Nej. Alt i alt burde denne side ikke bruge ret mange KB data. Prøv at fjerne dine 2 server.execute() også.
21. juni 2006 - 13:48
#14
Og fjer også alle Response.Flush. Det er ikke nødvendige på sådan en lille side.
Slettet bruger
21. juni 2006 - 13:50
#15
der sker stadig intet andet end at bunden og toppen forsvinder... det er som om at den stopper med at indlæse på en ganske bestemt punkt! Her er kildekoden, den kan vel sammenlignes med ASP koden: <html> <head> <style type="text/css"> <!-- .Online { color:#00FF00; font-family: Verdana, Arial, Helvetica, sans-serif background-color: 9ACB89; font-size: 12px; font-weight:Bold } .Offline { color: #FF0000 ; font-family: Verdana, Arial, Helvetica, sans-serif background-color: 9ACB89; font-size: 12px; font-weight:Bold } .style40 { color: #4f6741; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 36px; } .style41 { color: #7da36c; font-size: 28px; font-family: Verdana, Arial, Helvetica, sans-serif; } .style42 { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF; font-weight:bold } .style43 { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF; font-weight:normal } .style48 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 22px; color: #5d764f; font-weight:300 } .style49 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 25px; font-weight:normal; color: #FFFFFF; } .style50 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; color: #FFFFFF; font-weight:normal } .style51 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; color: #FFFFFF; } .style53 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 18px; color: #FFFFFF; font-weight:normal } .style54 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; font-weight:normal; color: #FFFFFF; } .style55 { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; font-weight:normal } .style57 {font-size: 24px} .style59 {font-size: 10; font-weight:500} .style61 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 22px; color: #4f6741; font-weight:200 } .style63 { font-family: Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 30px; font-weight:normal } .style65 {color: #7da36c} .style60 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; color: #000000; font-weight:normal } .style68 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; color: #000000; font-weight: normal; } --> </style> <title>Manko!</title> </head> <body background="Grafik/Sidegrafik/Bg.gif"> <table width="885" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="702" height="114" scope="row"><html> <head> <title>Manko!</title> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> </head> <body background="Grafik/Sidegrafik/bg.gif"> <table width="885" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="7" height="19" scope="row"></th> <td width="865" height="19"><div align="center"></div></td> <td width="11" > </td> </tr> <tr> <th width="7" height="145" rowspan="0" style="border-bottom:1px solid #A4A699; background-position:top; background-image:url(Grafik/Sidegrafik/BgTopVen.gif)" scope="row"> </th> <td height="145" style="border-bottom:1px solid #A4A699; background-color:B1EAA1; background-image:url(Grafik/Sidegrafik/SektionsLogoer/Scooter.gif); background-repeat:no-repeat; background-position:center; background-position:top; border-top:1px solid #A4A699" > <table width="869"> <tr> <th width="111" height="137" scope="row"><a href="index.asp"><img src="Grafik/Sidegrafik/LogoG.gif" width="107" height="135" border="0"></a></th> <th width="742" scope="row"><div align="right" class="style5"> <span onclick="window.open('Opretvejledninghjaelp.asp', 'hej', 'width=600,height=500,toolbar=0,resizeable=0,menubar=0,scrollbars=1'); " class="style4" ><a href="" target="" class="style4">LOGIN!</a></span> . </div> <p><br> <br> <br> <img src="Grafik/Sidegrafik/Sektioner.gif" width="74" height="20" align="absmiddle"><span class="style2">-----------------------</span><br> <img src="Grafik/Sidegrafik/SektionsMenu/Scooter.gif" style="filter:alpha(opacity=100)" onMouseOver="this.filters.alpha.opacity=80" onMouseOut="this.filters.alpha.opacity=100" width="80" height="19"><img src="Grafik/Sidegrafik/SektionsMenu/Opdeler.gif" width="7" height="19"> <img src="Grafik/Sidegrafik/SektionsMenu/Biler.gif" style="filter:alpha(opacity=100)" onMouseOver="this.filters.alpha.opacity=80" onMouseOut="this.filters.alpha.opacity=100" width="65" height="17"><img src="Grafik/Sidegrafik/SektionsMenu/Opdeler.gif" width="7" height="19"> <img src="Grafik/Sidegrafik/SektionsMenu/Mc.gif" width="91" height="19" align="top" style="filter:alpha(opacity=100)" onMouseOver="this.filters.alpha.opacity=80" onMouseOut="this.filters.alpha.opacity=100"> <img src="Grafik/Sidegrafik/SektionsMenu/Opdeler.gif" width="7" height="19"> <img src="Grafik/Sidegrafik/SektionsMenu/Humor.gif" style="filter:alpha(opacity=100)" onMouseOver="this.filters.alpha.opacity=80" onMouseOut="this.filters.alpha.opacity=100" width="91" height="19"> <img src="Grafik/Sidegrafik/SektionsMenu/Opdeler.gif" width="7" height="19"> <span class="style2">m---------------ellem</span></p> </th> </tr> </table> <td width="11" rowspan="0" style="border-bottom:1px solid #A4A699; background-image:url(Grafik/Sidegrafik/BgTopHoj.gif) "="11"> </td> </tr> <tr> <th height="62" colspan="3" style="border-bottom:1px solid #A4A699; background-color:F1FBEE; border-left:1px solid #A4A699; border-right:1px solid #A4A699" scope="row"> <a href="Galleri.asp"><img src="Grafik/Sidegrafik/Menu/SoegScooter.gif" width="83" height="56" border="0" align="bottom" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70"></a> <a href="index.asp"><img src="Grafik/Sidegrafik/Menu/Home.gif" width="83" height="54" border="0" align="bottom" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70"></a> <a href="Minside.asp"><img src="Grafik/Sidegrafik/Menu/MinSide.gif" width="81" height="52" border="0" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70"></a> <a href="Brugere.asp"><img src="Grafik/Sidegrafik/Menu/Brugere.gif" width="87" height="55" border="0" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70"></a> <a href="Battle.asp"><img src="Grafik/Sidegrafik/Menu/Battle.gif" width="91" height="52" border="0" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70"></a> <a href="Forum.asp"><img src="Grafik/Sidegrafik/Menu/Forum.gif" width="75" height="56" border="0" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70"></a> <a href="Markedet.asp"><img src="Grafik/Sidegrafik/Menu/Orbogen.gif" width="82" height="56" border="0" style="filter:alpha(opacity=70)" onMouseOver="this.filters.alpha.opacity=100" onMouseOut="this.filters.alpha.opacity=70"></a><a href="Scooterstuff.asp"><img src="Grafik/Sidegrafik/Menu/ArtiklerVejl.gif" width="92" height="56" border="0" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70"></a> <img src="Grafik/Sidegrafik/Menu/SupportHjaelp.gif" style="filter:alpha(opacity=70)" onMouseover="this.filters.alpha.opacity=100" onMouseout="this.filters.alpha.opacity=70" width="106" height="54"></th> </tr> </table> </body> </html> </th> </tr> <tr> <th height="443" scope="row" style="background-color:B1EAA1; border-right:1px solid #A4A699; border-left:1px solid #A4A699 "> <br> <br> <table width="97%" cellpadding="0" cellspacing="0"> <tr> <th width="37" height="33" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="7" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; "> </th> <th width="114" bgcolor="9ACB89" scope="row" style="border-top:1px solid #FFF;"><span class="style61">Profil</span></th> <th width="11" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:right; background-repeat:no-repeat; "> </th> <th width="11" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="8" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="133" bgcolor="9ACB89" scope="row" onclick="document.location.href='Visprofilscooter.asp?id=3&Mode=Scooter'" style="border-top:1px solid #FFF; cursor:pointer; border-bottom:1px solid #FFF "><span class="style61">Scootere(2)</span></th> <th width="12" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:roght; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="10" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="8" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="111" bgcolor="9ACB89" scope="row" style="border-top:1px solid #FFF; border-bottom:1px solid #FFF "><span class="style61">Biler</span></th> <th width="11" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:roght; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="12" scope="row" style="border-bottom:1px solid #FFF; "> </th> <th width="8" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOV.gif); background-position:left; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="131" bgcolor="9ACB89" scope="row" style="border-top:1px solid #FFF; border-bottom:1px solid #FFF "><span class="style61">MC'er</span></th> <th width="12" scope="row" style="background-image:url(Grafik/Sidegrafik/FanekantOH.gif); background-position:roght; background-repeat:no-repeat; border-bottom:1px solid #FFF "> </th> <th width="217" scope="row" style="border-bottom:1px solid #FFF; "> </th> </tr> </table> <table width="97%" cellpadding="0" cellspacing="0" > <tr> <td width="4%" height="58" bgcolor="9ACB89" class="style40" style="border-bottom:1px solid #FFF; border-left:1px solid #FFF;" > </td> <td width="96%" bgcolor="9ACB89" class="style40" style="border-bottom:1px solid #FFF; border-right:1px solid #FFF;" >jimmi 's Profil:</td> </tr> <tr> <td height="39" bgcolor="C9EDBE" style="border-left:1px solid #FFF;"><span class="style41"> </span></td> <td height="39" bgcolor="C9EDBE" style=" border-right:1px solid #FFF;"><span class="style41">Profil info:</span></td> </tr> <tr> <td height="363" colspan="2" bgcolor="7DA36C" style="border-left:1px solid #FFF; border-right:1px solid #FFF;"><table width="99%" align="center" cellpadding="0" cellspacing="0"> <tr> <th width="284" height="158" scope="row"><div align="left"> <table width="261" align="left" > <tr> <th width="88" class="style32" scope="row"><div align="left" class="style42">Status:</div></th> <th width="161" class="style43" scope="row"><div align="left"> online </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Navn:</div></th> <th class="style43" scope="row"><div align="left" class="style31"> Jimmi </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Oprettet:</div></th> <th class="style43" scope="row"><div align="left" class="style31"> 2006-12-12 </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Landsdel:</div></th> <th class="style43" scope="row"><div align="left" class="style31"> </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Alder:</div></th> <th class="style43" scope="row"><div align="left"> 123 År </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Oprettet:</div></th> <th class="style43" scope="row"><div align="left"> 2006-12-12 </div></th> </tr> <tr> <th class="style42" scope="row"><div align="left">Landsdel:</div></th> <th class="style43" scope="row"><div align="left"> </div></th> </tr> </table> </div></th> <th width="320" scope="row"><div align="left"><img src="profilbilleder/3.gif" height="150" align="left" style="border:1px solid #FFF "></div></th> <th width="237" rowspan="2" scope="row"> <table width="237" cellpadding="0" cellspacing="0"> <tr> <th width="18" height="39" scope="row" style="background-image:url(Grafik/Sidegrafik/VenneboxkantOV.gif); background-position:top; background-repeat:no-repeat"> </th> <th width="199" scope="row" bgcolor="B6DBA9" style="border-top:2px solid #FFF "><span class="style48">Venner:</span></th> <th width="18" scope="row" style="background-image:url(Grafik/Sidegrafik/VenneboxkantOH.gif); background-position:top; background-repeat:no-repeat"> </th> </tr> <tr> <th height="258" colspan="3" scope="row" bgcolor="B6DBA9" style="border-left:2px solid #FFF; border-right:2px solid #FFF "> <table width="100%" align="top" height="100%" > <font face="Arial" size=2> <p>Response object</font> <font face="Arial" size=2>error 'ASP 0251 : 80004005'</font> <p> <font face="Arial" size=2>Response Buffer Limit Exceeded</font> <p> <font face="Arial" size=2>/Visprofil.asp</font><font face="Arial" size=2>, line 0</font> <p> <font face="Arial" size=2>Execution of the ASP page caused the Response Buffer to exceed its configured limit. </font> Og Styles er igen fjernet
21. juni 2006 - 13:57
#16
Har du fjernet denne linje også: Set rs4 = objConn.Execute(strSQL4) For ellers skal du gøre det.
Slettet bruger
21. juni 2006 - 14:04
#17
Det ser sådan ud: 'strSQL4 = "Select * from Venner Where (Bruger2id = '" & request.QueryString("id") & "' OR Bruger1id = '" & request.QueryString("id") & "') AND Status='Accepteret'" 'Set rs4 = objConn.Execute(strSQL4) 'Dim Ven 'Do Until rs4.EOF 'If rs4("Bruger1id") = request.QueryString("id") then 'Ven = "<a href=""Visprofil.asp?id=" & rs4("Bruger2id") & """ class=""style60"">" & rs4("Bruger2") & "</a><Br>" 'Response.Write "<tr><th height=""25"" align=""Left"" style=""border-bottom:1px solid #FFF; Font-size:14;"" scope=""row""> " & Ven & "</th></tr>" 'Response.Flush() 'else 'Response.Flush() 'Ven = "<a href=""Visprofil.asp?id=" & rs4("Bruger1id") & """ class=""style60"">" & rs4("Bruger1") & "</a><Br>" 'Response.Write "<tr><th height=""25"" align=""Left"" style=""border-bottom:1px solid #FFF; Font-size:14; "" scope=""row""> " & Ven & "</th></tr>" 'end if 'rs4.movenext 'Loop Så jeg har teknisk set slettet alt hvad der har med rs4 at gører .. Men jeg har lige skrevet til web10 support :) .. Jeg har nemlig ikke betalt webhotellet endnu, da jeg jo først vil have mit site til at virke. Ellers må jeg jo finde et andet webhotel ??
Slettet bruger
21. juni 2006 - 17:03
#18
ARha!.. Fandt langt om længe fejlen :) .. Det var slet ikke i det kode som jeg har postet her. Det var fordi at jeg har lavet et Rangsystem, hvor man ens rang viser hvor aktiv man er på sitet. Og ens rang bliver betegnet med et rangnavn (fx Newbie) og så et hvis antal stjerner som hører til hver rang. Til at beregne hvor mange stjerner den skal udskrive har jeg lavet en funktion som kan beregne dette. Og det var åbenbart den funktion, som den skrev fejl ved. Så jeg beklager ulegligheden og fennec skal have mange tak! (og hvis du lige smider et svar fennic så får du lige points alligevel, jeg lærte jo en masse)
22. juni 2006 - 08:46
#19
.o) <-- One Eyed Jack
Kurser inden for grundlæggende programmering