implant


  Aktif KonularAktif Konular  Forum Üyelerini GösterÜye Listesi  Forumu AraArama  YardımYardım
  Kayıt OlKayıt Ol  GirişGiriş
ASP / ASP.NET
 ASPTurkiye.com Forum : ASP / ASP.NET
Konu Konu: Siteyi yayınlarken hata Yanıt YazYeni Konu Gönder
Yazanlarda
Mesaj << Önceki Konu | Sonraki Konu >>
pozitiveh
Yeni Üye
Yeni Üye


Kayıt Tarihi: 17-Mayıs-2013
Ülke: Türkiye
Gönderilenler: 2
Gönderen: 17-Mayıs-2013 Saat 05:02 | Kayıtlı IP Alıntı pozitiveh

selamlar  veritabanındaki bir iletişim tablosuna localden veri gönderiyorum ancak yayınladığım zaman aşağıdaki hatayı alıyorum.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlExcep tion exception, Boolean breakConnection) +5064458
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234
   System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity) +341
    System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLog in(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, SqlConnection owningObject) +129
    System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailov er(ServerInfo serverInfo, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, TimeoutTimer timeout) +239
    System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnli st(SqlConnection owningObject, TimeoutTimer timeout, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +195
    System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConne ctionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +232
    System.Data.SqlClient.SqlConnectionFactory.CreateConnection( DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
    System.Data.ProviderBase.DbConnectionFactory.CreatePooledCon nection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +33
    System.Data.ProviderBase.DbConnectionPool.CreateObject(DbCon nection owningObject) +524
    System.Data.ProviderBase.DbConnectionPool.UserCreateRequest( DbConnection owningObject) +66
    System.Data.ProviderBase.DbConnectionPool.GetConnection(DbCo nnection owningObject) +479
    System.Data.ProviderBase.DbConnectionFactory.GetConnection(D bConnection owningConnection) +108
    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(D bConnection outerConnection, DbConnectionFactory connectionFactory) +126
   System.Data.SqlClient.SqlConnection.Open() +125
    System.Data.EntityClient.EntityConnection.OpenStoreConnectio nIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +52

[EntityException: The underlying provider failed on Open.]
    System.Data.EntityClient.EntityConnection.OpenStoreConnectio nIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +161
   System.Data.EntityClient.EntityConnection.Open() +98
   System.Data.Objects.ObjectContext.EnsureConnection() +81
   System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options) +489
   System.Data.Entity.Internal.InternalContext.SaveChanges() +120
    System.Data.Entity.Internal.LazyInternalContext.SaveChanges( ) +33
   System.Data.Entity.DbContext.SaveChanges() +20
   Proje.Iletisim.btnKaydet_Click(Object sender, EventArgs e) in c:\Users\Kullanıcı\Documents\Visual Studio 2012\Projects\Proje\Proje\Iletisim.aspx.cs:26
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEven tHandler.RaisePostBackEvent(String  eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

kodlar ve connection string im şu şekilde

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Proje
{
    public partial class Iletisim : System.Web.UI.Page
    {
        varlikset nesne = new varlikset();
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnKaydet_Click(object sender, EventArgs e)
        {
             iletisim ilt = new iletisim();
             ilt.adsoyad = txtadsoyad.Text;
             ilt.eposta = txteposta.Text;
             ilt.konu = txtkonu.Text;
             ilt.mesaj = txtmesaj.Text;       &nbs p; 
             nesne.iletisim.Add(ilt);
             nesne.SaveChanges();


             Response.Redirect("~/Iletisim.aspx");
            
        }
    }
}
 <add name="varlikset" connectionString="metadata=res://*/Model1.csdl|res://*/Model 1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;pro vider connection string=&quot;data source=hostadres;initial catalog=veritabanıismi;user id=kullanıcı;password=passwod;MultipleActiveResultSets=True; App=EntityFramework&quot;" providerName="System.Data.EntityClient" />


Veritabanında iletisim adında bir tablo mevcut id adsoyad eposta konu mesaj isimli 5 alan var. veri tipleri sırasıyla int varchar 50 varchar 50 varchar 50 varcharmax

Hatanın bir satırında bilgisayarımdan bir adres vermiş hosta yukledıgım halde. Sizce sorun nedir nereyi güncellemem gerekiyor ? asp.net de ilk sitem bu hatayı çözemedim yardımcı olursanız sevinirim.

Yukarı Dön Göster pozitiveh's Özellikler Diğer Mesajlarını Ara: pozitiveh
 
fanatik
Üye
Üye


Kayıt Tarihi: 11-Nisan-2012
Gönderilenler: 76
Gönderen: 26-Temmuz-2013 Saat 09:43 | Kayıtlı IP Alıntı fanatik

siteyi sunucuya atmadan önce build / publish etmen lazım. derleme işlemini yapmamışsın gibi gözüküyor.

c:\Users\Kullanıcı\Documents\Visual Studio 2012\Projects\Proje\Proje\Iletisim.aspx.cs:26

dosyasını çalıştırmaya çalışıyor.



__________________
http://www.googledostu.com
Türk Sosyal İmleme Sitesi
Yukarı Dön Göster fanatik's Özellikler Diğer Mesajlarını Ara: fanatik Ziyaret fanatik's Ana Sayfa
 
collegefootball
Kıdemli Üye
Kıdemli Üye


Kayıt Tarihi: 23-Şubat-2024
Gönderilenler: 202
Gönderen: 28-Nisan-2024 Saat 04:18 | Kayıtlı IP Alıntı collegefootball

gaye-jersey-c-1_28.html">Ali Gaye LSU Tigers Jerseys
woods-jersey-c-1_86.html">Al Woods LSU Tigers
Jerseys

anthony-bradford-jersey-c-1_76.html">Anthony Bradford LSU
Tigers Jerseys

key-jersey-c-1_66.html">Arden Key LSU Tigers Jerseys
austin-deculus-jersey-c-1_77.html">Austin Deculus LSU
Tigers Jerseys

badara-traore-jersey-c-1_75.html">Badara Traore LSU Tigers
Jerseys

cannon-jersey-c-1_41.html">Billy Cannon LSU Tigers
Jerseys

ojulari-jersey-c-1_35.html">BJ Ojulari LSU Tigers
Jerseys

ferguson-jersey-c-1_64.html">Blake Ferguson LSU Tigers
Jerseys

wing-jersey-c-1_60.html">Brad Wing LSU Tigers
Jerseys

bradyn-swinson-jersey-c-1_32.html">Bradyn Swinson LSU
Tigers Jerseys

breiden-fehoko-jersey-c-1_83.html">Breiden Fehoko LSU
Tigers Jerseys

thomas-jr-jersey-c-1_29.html">Brian Thomas Jr. LSU Tigers
Jerseys

chasen-hines-jersey-c-1_68.html">Chasen Hines LSU Tigers
Jerseys

edwardshelaire-jersey-c-1_44.html">Clyde Edwards-Helaire
LSU Tigers Jerseys

richardson-jersey-c-1_45.html">Colby Richardson LSU Tigers
Jerseys

cordale-flott-jersey-c-1_52.html">Cordale Flott LSU Tigers
Jerseys

damien-lewis-jersey-c-1_71.html">Damien Lewis LSU Tigers
Jerseys

damone-clark-jersey-c-1_36.html">Damone Clark LSU Tigers
Jerseys

danielle-hunter-jersey-c-1_85.html">Danielle Hunter LSU
Tigers Jerseys

darran-evans-jersey-c-1_48.html">Darran Evans LSU Tigers
Jerseys

darrel-williams-jersey-c-1_54.html">Darrel Williams LSU
Tigers Jerseys

godchaux-jersey-c-1_69.html">Davon Godchaux LSU Tigers
Jerseys

jones-jersey-c-1_62.html">Deion Jones LSU Tigers
Jerseys

stingley-jr-jersey-c-1_49.html">Derek Stingley Jr. LSU
Tigers Jerseys

white-jersey-c-1_61.html">Devin White LSU Tigers
Jerseys

chark-jersey-c-1_17.html">DJ Chark LSU Tigers
Jerseys

jackson-jersey-c-1_2.html">Donte Jackson LSU Tigers
Jerseys

riley-jersey-c-1_12.html">Duke Riley LSU Tigers
Jerseys

ingram-jersey-c-1_72.html">Ed Ingram LSU Tigers
Jerseys

pocic-jersey-c-1_78.html">Ethan Pocic LSU Tigers
Jerseys

foster-moreau-jersey-c-1_37.html">Foster Moreau LSU Tigers
Jerseys

garrett-nussmeier-jersey-c-1_31.html">Garrett Nussmeier
LSU Tigers Jerseys

delpit-jersey-c-1_18.html">Grant Delpit LSU Tigers
Jerseys

gregory-clayton-jr-jersey-c-1_80.html">Gregory Clayton Jr.
LSU Tigers Jerseys

jabril-cox-jersey-c-1_39.html">Jabril Cox LSU Tigers
Jerseys

phillips-jersey-c-1_15.html">Jacob Phillips LSU Tigers
Jerseys

mills-jersey-c-1_55.html">Jalen Mills LSU Tigers
Jerseys

adams-jersey-c-1_58.html">Jamal Adams LSU Tigers
Jerseys

jamarr-chase-jersey-c-1_3.html">Ja'Marr Chase LSU Tigers
Jerseys

jaquelin-roy-jersey-c-1_87.html">Jaquelin Roy LSU Tigers
Jerseys

jenkins-jersey-c-1_26.html">Jaray Jenkins LSU Tigers
Jerseys

jarrick-bernardconverse-jersey-c-1_50.html">Jarrick
Bernard-Converse LSU Tigers Jerseys

jayden-daniels-jersey-c-1_14.html">Jay Ward LSU Tigers
Jerseys

ward-jersey-c-1_13.html">Jayden Daniels LSU Tigers
Jerseys

jeremiah-hughes-jersey-c-1_57.html">Jeremiah Hughes LSU
Tigers Jerseys

stovall-jersey-c-1_42.html">Jerry Stovall LSU Tigers
Jerseys

burrow-jersey-c-1_25.html">Joe Burrow LSU Tigers
Jerseys

jontre-kirklin-jersey-c-1_30.html">Jontre Kirklin LSU
Tigers Jerseys

justin-jefferson-jersey-c-1_5.html">Justin Jefferson LSU
Tigers Jerseys

jackson-jersey-c-1_56.html">Kaleb Jackson LSU Tigers
Jerseys

kayshon-boutte-jersey-c-1_19.html">Kayshon Boutte LSU
Tigers Jerseys

toliver-ii-jersey-c-1_6.html">Kevin Toliver II LSU Tigers
Jerseys

klavon-chaisson-jersey-c-1_38.html">K'Lavon Chaisson LSU
Tigers Jerseys

kristian-fulton-jersey-c-1_4.html">Kristian Fulton LSU
Tigers Jerseys

alexander-jersey-c-1_53.html">Kwon Alexander LSU Tigers
Jerseys

jackson-jersey-c-1_47.html">Kylin Jackson LSU Tigers
Jerseys

lacy-jersey-c-1_8.html">Kyren Lacy LSU Tigers
Jerseys

collins-jersey-c-1_73.html">La'el Collins LSU Tigers
Jerseys

leonard-fournette-jersey-c-1_20.html">Leonard Fournette
LSU Tigers Jerseys

cushenberry-jersey-c-1_79.html">Lloyd Cushenberry LSU
Tigers Jerseys

diggs-jersey-c-1_11.html">Logan Diggs LSU Tigers
Jerseys

nabers-jersey-c-1_24.html">Malik Nabers LSU Tigers
Jerseys

garner-jersey-c-1_7.html">Mekhi Garner LSU Tigers
Jerseys

baskerville-jersey-c-1_46.html">Micah Baskerville LSU
Tigers Jerseys

jones-jr-jersey-c-1_40.html">Mike Jones Jr. LSU Tigers
Jerseys

farrell-jersey-c-1_84.html">Neil Farrell LSU Tigers
Jerseys

cain-jersey-c-1_43.html">Noah Cain LSU Tigers
Jerseys

beckham-jr-jersey-c-1_9.html">Odell Beckham Jr. LSU Tigers
Jerseys

patrick-peterson-jersey-c-1_21.html">Patrick Peterson LSU
Tigers Jerseys

patrick-queen-jersey-c-1_23.html">Patrick Queen LSU Tigers
Jerseys

mcmath-jersey-c-1_34.html">Racey McMath LSU Tigers
Jerseys

rashard-lawrence-jersey-c-1_82.html">Rashard Lawrence LSU
Tigers Jerseys

ferguson-jersey-c-1_65.html">Reid Ferguson LSU Tigers
Jerseys

russell-gage-jersey-c-1_81.html">Russell Gage LSU Tigers
Jerseys

stephen-sullivan-jersey-c-1_27.html">Stephen Sullivan LSU
Tigers Jerseys

tashawn-bower-jersey-c-1_63.html">Tashawn Bower LSU Tigers
Jerseys

terrace-marshall-jr-jersey-c-1_16.html">Terrace Marshall
Jr. LSU Tigers Jerseys

casanova-jersey-c-1_59.html">Tommy Casanova LSU Tigers
Jerseys

turner-jersey-c-1_67.html">Trai Turner LSU Tigers
Jerseys

tredavious-white-jersey-c-1_33.html">Tre'Davious White LSU
Tigers Jerseys

shelvin-jersey-c-1_74.html">Tyler Shelvin LSU Tigers
Jerseys

tyrann-mathieu-jersey-c-1_22.html">Tyrann Mathieu LSU
Tigers Jerseys

tyrion-davisprice-jersey-c-1_10.html">Tyrion Davis-Price
LSU Tigers Jerseys

clapp-jersey-c-1_70.html">Will Clapp LSU Tigers
Jerseys

alexander-jersey-c-1_51.html">Zy Alexander LSU Tigers
Jerseys

Yukarı Dön Göster collegefootball's Özellikler Diğer Mesajlarını Ara: collegefootball
 

Eğer Bu Konuya Cevap Yazmak İstiyorsanız İlk Önce Giriş
Eğer Kayıtlı Bir Kullanıcı Değilseniz İlk Önce Kayıt Olmalısınız

  Yanıt YazYeni Konu Gönder
Yazıcı Sürümü Yazıcı Sürümü

Forum Atla
Kapalı Foruma Yeni Konu Gönderme
Kapalı Forumdaki Konulara Cevap Yazma
Kapalı Forumda Cevapları Silme
Kapalı Forumdaki Cevapları Düzenleme
Kapalı Forumda Anket Açma
Açık Forumda Anketlerde Oy Kullanma

Powered by Web Wiz Forums version 7.91
Copyright ©2001-2004 Web Wiz Guide

Bu Sayfa 0,0938 Saniyede Yüklendi.