Webmaster Forumu - Webmaster Zone

Geri git   Webmaster Forumu - Webmaster Zone > Webmaster Zone > Programlama Dilleri > Asp & Asp.net

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)  
Alt 05-07-2008, 08:57:13
salzey salzey isimli üyemiz çevrimdışıdır. (Offline)
Yeni Üye
 
Üyelik tarihi: 30/6/2008
Yaş: 22
Mesajlar: 6
iTrader: (0)
Tecrübe Puanı: 0
salzey üyemiz henüz acemi
Standart veri tabanı hatası

arkadaşlar bu hatanın nerden kaynaklandığını ve nasıl çözeceğimi anlatırlarsa çok sevinirim ...
şimdiden teşekkürler..
kodlar:
<!--#INCLUDE FILE="../haber_includes/admin_connections.asp"-->
<!--#INCLUDE FILE="../haber_includes/admin_pagesettings.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<link rel="stylesheet" href="../haber_includes/style.css" type="text/css">
<%
If Session("AdminSession") = "" Then
Response.Redirect "login.asp"
Else

'##---
If Request("Action") = "DelPicture" Then
UpdateSQL = "update TblNews Set "
UpdateSQL = UpdateSQL & "StrImage=0 WHERE NewsID=" & Request("NewsID")
ObjConn.Execute(UpdateSQL)

Set ObjFso = CreateObject("Scripting.FileSystemObject")
Set ObjFileObject = ObjFso.GetFile(StrPath & Request("StrImage"))
ObjFileObject.Delete
Set ObjFileObject = Nothing
Set ObjFso = Nothing
Response.Redirect "error.asp?StrMsg=Resim başarıyla silimiş durumdadır&StrRefer=updatenews.asp?NewsID=" & Request("NewsID")
Response.End
End If
'##--
If Request("Action") = "SendData" Then

If Request("StrSubject") = "" Then
Response.Redirect "error.asp?StrMsg=Lütfen haber başlığını yazınız&StrRefer=updatenews.asp?NewsID=" & Request("NewsID")
Response.End
End If
If Request("StrFrontBody") = "" Then
Response.Redirect "error.asp?StrMsg=Lütfen haber ön yazısını yazınız&StrRefer=updatenews.asp?NewsID=" & Request("NewsID")
Response.End
End If
If Request("StrBody") = "" Then
Response.Redirect "error.asp?StrMsg=Lütfen haber metnini yazınız&StrRefer=updatenews.asp?NewsID=" & Request("NewsID")
Response.End
End If
UpdateSQL = "update TblNews Set "
UpdateSQL = UpdateSQL & "CatID=" & Request("CatID") & ", "
UpdateSQL = UpdateSQL & "EditorID=" & Request("EditorID") & ", "
UpdateSQL = UpdateSQL & "StrSubject='" & Replace(Request("StrSubject"),"'","`") & "', "
UpdateSQL = UpdateSQL & "SourceID=" & Request("SourceID") & ", "
UpdateSQL = UpdateSQL & "StrImage='" & Request("StrImage") & "', "
UpdateSQL = UpdateSQL & "StrImageMini='" & Request("StrImageMini") & "', "
UpdateSQL = UpdateSQL & "StrRead='" & Request("StrRead") & "', "
UpdateSQL = UpdateSQL & "StrPoint='" & Request("StrPoint") & "', "
UpdateSQL = UpdateSQL & "StrRow='" & Request("StrRow") & "', "
UpdateSQL = UpdateSQL & "StrFrontBody='" & Replace(Request("StrFrontBody"),"'","`") & "', "
UpdateSQL = UpdateSQL & "StrBody='" & Replace(Request("StrBody"),"'","`") & "' WHERE NewsID=" & Request("NewsID")
ObjConn.Execute(UpdateSQL)
Response.Redirect "error.asp?StrMsg=Haber başarıyla güncellenmiştir.&StrRefer=news.asp?CatID=" & Request("CatID")
Response.End
End If
Set ObjCat = Createobject("ADODB.Recordset")
ObjCat.open "SELECT * FROM TblCategory order by Category asc", ObjConn , 1 , 3
Set ObjEditors = Createobject("ADODB.Recordset")
ObjEditors.open "SELECT * FROM TblEditors order by StrName asc", ObjConn , 1 , 3
Set ObjSources = Createobject("ADODB.Recordset")
ObjSources.open "SELECT * FROM TblSource order by SourceID desc", ObjConn , 1 , 3
Set ObjNews = Createobject("ADODB.Recordset")
ObjNews.open "SELECT * FROM TblNews Where NewsID=" & Request("NewsID") & "", ObjConn , 1 , 3
%>

Hata
Teknik Bilgiler (destek personeli için)
Hata Tipi:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Sürücüsü] İşlem, güncelleştirilebilir sorgu kullanmalıdır.
/ss/haber_admin/updatenews.asp, line 62

Tarayıcı Tipi:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Sayfa:
POST 1186 bytes to /ss/haber_admin/updatenews.asp
POST Data:
CatID=9&EditorID=2&StrSubject=%60Kanun+delen+tek+o kul+Harbiye&StrFrontBody=Ymam+Hatiplerin+kanunla+b ir+problemi+olmady%3Fyny+belirten+Solmaz%2C+%22Kan unu+delen+tek+okul+Harbiye%60dir%22+dedi.&select=P . . .
Alıntı ile Cevapla
Cevapla



Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
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 Açık
Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Açık
Pingbacks are Açık
Refbacks are Açık

Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
veri tabanı hatası salzey ASP Sistemler 1 10-08-2008 13:11:52
1.1.4 Veri Tabanı Güncelleme SanaLisyan SMF 3 18-06-2008 08:49:50
veri girişi, veri aktarımı, editörlük, redaktörlük, site güncellemesi yapabilirim getpass İş Arıyorum 0 24-02-2008 04:13:24
Sitemize online satış tabanı yerleştirebilecek arkadaş aranıyor sağlıklıyaşam Proje Geliştirme ve Ortaklık 2 24-06-2007 20:21:33
veri tabanı dışarı aktarma sorunu aygun61 Veritabanları 3 20-04-2007 18:21:06


Bütün Zaman Ayarları WEZ olarak düzenlenmiştir. Şu Anki Saat: 17:11:01 .




Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Zone Org | 2006-2008

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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164