İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

windows serverla ilgili problem

kutver

0
İyinet Üyesi
Katılım
30 Haziran 2005
Mesajlar
148
Reaction score
0
merhaba
--------
Microsoft VBScript runtime error '800a0046'

Permission denied

/mail.asp, line 122
-------

bu hatayı alıyorum ve cdonts gerekli diye server cdonts.dll i system32 klasörüne yükledim ve dostan registry kayıt ettim herhalde buraya kadar herşey normal.

siteye yazma iznide verdim ISSten. hatta ISSten default asp language: VBscriptide aktif ettim ama çözemedim bir türlü.. mail.aspdeki kod aşağıda arkadaşlar yardımcı olursanız sevinirim 122. satırıda belirttim. şimdiden teşekkürler


PHP:
<%
	if Request("gonder") = "1" then
	
	tarih = date()
	istek = Request.Form("istek")
	
	ad = Request.Form("ad")
	eposta = Request.Form("eposta")
	konu = Request.Form("konu")
	mesaj = Request.Form("mesaj")
	tele = Request.Form("tel")
	Sonuc = "E-Postanız Başarıyla Gönderilmiştir!"
	
	if DbVar = "1" then
    	SQLstmt = "INSERT INTO MesajLog (birim_id, istek, tarih, adsoyad, eposta, tel, konu, mesaj)"
	    SQLstmt = SQLstmt & " VALUES ('" & depart & "','" & istek & "','" & date() &  "','" & ad & "','" & eposta & "','" & tele & "','" & konu & "','" & mesaj & "')"
		Baglanti.Execute(SQLstmt)
	
		Baglanti.Close
		Set Baglanti = Nothing
		Set SQLstmt = Nothing
	end if
	
	Dim BizeGelen
	Dim BizdenGiden
	Dim BizeMesaj
	Dim BizdenMesaj
	
	Set BizeGelen = CreateObject("CDONTS.NewMail")
	BizeGelen.From = eposta
	BizeGelen.To = MailTo
	BizeGelen.Cc = MailCc
	BizeGelen.Bcc = MailBcc
	BizeGelen.Subject = "Web İletişim Formu : " & konu
	BizeGelen.MailFormat = CdoMailFormatMime
	BizeGelen.BodyFormat = CdoBodyFormatHTML
	BizeMesaj = "<html><head><title>title</title>"
	BizeMesaj = BizeMesaj & "<meta http-equiv=""Content-Type"" content=""text/html; charset=windows-1254"">"
	BizeMesaj = BizeMesaj & "<META http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-9"">"
	BizeMesaj = BizeMesaj & "<meta http-equiv=""Content-Language"" content=""tr""></head>"
	BizeMesaj = BizeMesaj & "<body><font face=""Tahoma"" size=""10px"" color=""Black"">"
	BizeMesaj = BizeMesaj & "Aşağıda Ayrıntıları Bulunan Mesaj Sitesinden Size Gönderilmiştir<br>"
	BizeMesaj = BizeMesaj & "Bilgi Ayrıntıları : <p>"
	BizeMesaj = BizeMesaj & "<strong><font color=""red"">Gönderme Tarihi : </font>" & tarih & "<br>"
	BizeMesaj = BizeMesaj & "<font color=""red"">Gönderen Kişi : </font>" & ad & "<br>"
	BizeMesaj = BizeMesaj & "<font color=""red"">E - Posta Adresi : </font>" & eposta & "<br>"
	BizeMesaj = BizeMesaj & "<font color=""red"">Gönderme Konusu : </font>" & konu & "<br>"
	BizeMesaj = BizeMesaj & "<font color=""red"">Telefon Numarası : </font>" & tele & "<br>"
	BizeMesaj = BizeMesaj & "<font color=""red"">Mesaj İçeriği :  </font><br>"
	BizeMesaj = BizeMesaj & mesaj
	BizeMesaj = BizeMesaj & "</strong></font></body></html>"
	BizeGelen.Body = BizeMesaj

122. satır	 burası --->  BizeGelen.Send
	Set BizeGelen = Nothing
	
	Set BizdenGiden = CreateObject("CDONTS.NewMail")
	BizdenGiden.From = "[email protected]"
	BizdenGiden.To = eposta
	BizdenGiden.Cc = "[email protected]"
	BizdenGiden.Subject = "tittle"
	BizdenGiden.MailFormat = CdoMailFormatMime
	BizdenGiden.BodyFormat = CdoBodyFormatHTML
	BizdenMesaj = "<html><head><title>title</title>"
	BizdenMesaj = BizdenMesaj & "<meta http-equiv=""Content-Type"" content=""text/html; charset=windows-1254"">"
	BizdenMesaj = BizdenMesaj & "<META http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-9"">"
	BizdenMesaj = BizdenMesaj & "<meta http-equiv=""Content-Language"" content=""tr""></head><body>"
	BizdenMesaj = BizdenMesaj & "<font face=""Tahoma"" size=""10px"" color=""black"">"
	BizdenMesaj = BizdenMesaj & "Sayın " & ad & "<br>"
	BizdenMesaj = BizdenMesaj & "E-Postanız ilgili makama iletilmiştir!<br>"
	BizdenMesaj = BizdenMesaj & "Size en yakın zamanda birim yetkilisinden cevap gelecektir!<br>"
	BizdenMesaj = BizdenMesaj & "İlginize teşekkür ederiz...<br>"
	BizdenMesaj = BizdenMesaj & "Sevgilerle...<br><br>"
	BizdenMesaj = BizdenMesaj & "<b>title</b><br>"
	BizdenMesaj = BizdenMesaj & "<a href=""http://www.adres.com"" target=""_blank"">http://www.adres.com</a><p>"
	BizdenMesaj = BizdenMesaj & "</font></body></html>"
	BizdenGiden.Body = BizdenMesaj
	
	BizdenGiden.Send
	Set BizdenGiden = Nothing

	Response.Write(sonuc)
	end if
	%>
 

disconnect

0
İyinet Üyesi
Onaylı Üye
Katılım
1 Şubat 2005
Mesajlar
3,367
Reaction score
5
Bende cdontsla çok mücadele ettim. Başa çıkamadım. persits kurdum. sorun çözüldü.
Bazı arkadaşlar web edition da sorunlu standartta çalışır dediler. Standartta denedim gene aynı hatayı aldım. Ya bilmediğimiz bir ayar var sanırım.
 

kutver

0
İyinet Üyesi
Katılım
30 Haziran 2005
Mesajlar
148
Reaction score
0
standart kurulu serverda persistta kurulu ama anlamadım gitti.
 

zokkie

0
İyinet Üyesi
Onaylı Üye
Katılım
8 Şubat 2003
Mesajlar
1,465
Reaction score
0
2003 ise hiç kasma, cdo dene o belki çalışır. ben 2003'te cdonts çalıştırabilenlere saygı duyuyorum.
 

disconnect

0
İyinet Üyesi
Onaylı Üye
Katılım
1 Şubat 2005
Mesajlar
3,367
Reaction score
5
zokkie' Alıntı:
2003 ise hiç kasma, cdo dene o belki çalışır. ben 2003'te cdonts çalıştırabilenlere saygı duyuyorum.
Daha önce labina ile çalışıyordum. orada 3 defa farklı makinlerde bulundum. ve hepsinde cdonts çatır çatır çalışıyordu.
Bir incelik var bu işte. Umarım server yöneticilerinden bir cevap gelir.
 

zokkie

0
İyinet Üyesi
Onaylı Üye
Katılım
8 Şubat 2003
Mesajlar
1,465
Reaction score
0
benim layered'de makinası olan bi arkadaşımda da çalışıyor ama nasıl çalışıyor bizde bilmiyoruz. gerçekten bi incelik var ama...
 

zokkie

0
İyinet Üyesi
Onaylı Üye
Katılım
8 Şubat 2003
Mesajlar
1,465
Reaction score
0
nasıl çözdüğünü yazarsan bizde ..
 

kutver

0
İyinet Üyesi
Katılım
30 Haziran 2005
Mesajlar
148
Reaction score
0
SLiM_BoY'un verdiği sayfaya bakarsan oradaki adımları yaptığında çözülüyor.
 

KerneL32

0
İyinet Üyesi
Katılım
8 Mart 2005
Mesajlar
1,247
Reaction score
0
2003 'de cdonts un calismasi icin yetkilendirmeleri dogru yapmak gerekiyor. ve MailRoot 'a everyone yetkisi vermek gerekiyor. Yoksa calismaz.

Saygilar.
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst