Yazýlarýmý Daha Kolay Takip Etmek Ýçin Týklayýn!

SQL Server 2008'de Asp.net Web Site Administration Tool Kullanımı

yazan: 3/12/2009 6:22:00 AM

Evet yine Sql yine sorun :) Asp.net altyapısını barındıracak, her türlü sitenizde Sql Express yerine SQL Server kullanmak isterseniz Web Configuration tool ile ilgili problemler yaşamanız olası. Eğer yaşayanlardansanız şu yolu takip edin;

1. x:\\Windows\Microsoft.NET\Framework\v2.0.....  dizininde "aspnet_regsql.exe" varonu çalıştırın.

2. bununla bir database yaratmak istiyoruz, default olarak adı, aspnetdb.mdf olacak. Böyle kalsın, sonra server ismi verdiğimiz yere dikkat "Bilgisayar_Adı\SQLServer_Adı" şeklinde serverınızı belirtmeli.

3. Database'e kendimiz kullanıcı atayabiliriz, bu gibi isteğe bağlı ayarları Sql Server Management Studio ile yapacağız.

4. Role Provider, membership provider gibi yönetimsel araçlarla ilgili bilgiler, machine.config dosyasında bulunur. bu dosyaya da "X:\\Windows\Microsoft.NET\Framework\v2.0...\CONFIG" yolundan ulaşacağız.

5. Bu dosyada en aşağılarda, LocalSqlServer diye bir değişkenin tanımlandığı, bir satır var. Oraya gidip buradaki connection string yerine; 

         . ya aspnetdb veritabanımıza erişimi sağlayan connection string'i kendimiz yazacağız

         . ya da Visual Studio'dan bu veritabanına erişip, otomatik yaratılan connection string'i kopyalayıp buraya yapıştıracağız. Her iki yolda da kullanımdan doğan sorunlar sizin yükümlülüğünüzde, vay efendim güvenli olmadı demeyin sonra.

6. Bir ihtimal siz machine.config dosyasını değiştirdiğiniz için,<system.serviceModel> ile ilgili bir hata alırsanız; "X:\WINDOWS\WinFX\v3.0\Windows Communication Foundation" yoluna gidip,  "ServiceModelReg.exe"yi "-i" parametresi ile çalıştırın, yani; "ServiceModelReg.exe -i".

bu işlemlerden sonra artık web yönetim aracını kullanabilir hale geldiniz.

Diğer bir yöntem de "MMC" konsolu kullanarak, IIS aracılığı ile Rol belirlemek olabilir. Ama bu başka bir konu.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Etiketler: , ,

İspanya

Related posts

Comments

11/9/2009 8:25:34 PM

payday loans

thanks! very helpful post!! like the template btw ;)

payday loans us

12/21/2009 7:08:39 PM

WA Payday Loans

Do you make money out of this blog? just curious

WA Payday Loans us

1/23/2010 12:30:09 AM

fast payday loans

To win without risk is to triumph without glory.

fast payday loans us

2/7/2010 9:32:59 PM

acai berry select

Don't limit yourself. Many people limit themselves to what they think they can do. You can go as far as your mind lets you.

acai berry select us

2/17/2010 11:49:13 PM

usa mapquest driving directions

Well I am new here and really enjoyed reading the article, and have shared it with my friends.

usa mapquest driving directions

3/3/2010 12:34:11 PM

ucvhost

It’s a good topic. I would like to read more about your articles.That contains nice information....Thanks, informative site, i try it later.

ucvhost us

3/30/2010 12:25:37 PM

ucvhost

Your blog is my favorite, congratulates. Often I'll look here, a lot of information and nice site.

ucvhost us

5/22/2010 5:22:47 PM

cheap hosting

Your blog is my favorite, congratulates

cheap hosting

5/27/2010 11:54:49 PM

designer handbags

Easily, the post is really the greatest on this laudable topic. I concur with your conclusions and will thirstily look forward to your future updates. Saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay privy of any updates. Solid work and much success in your business enterprize!

designer handbags US

6/18/2010 9:19:01 PM

Buenos Aires hotels

Buenos Aires Hotels and Accommodations reviews. Check <a href="http://www.checkinba.com"> Buenos Aires hotels </a> and vacation rentals reviews and compare prices in order to decide Where to stay in Buenos Aires. Find the best Hotels in Buenos Aires.

Buenos Aires hotels us

7/3/2010 6:44:12 PM

handbags prada

There are certainly a lot of details like that to take into consideration. That is a great point to bring up. I offer the thoughts above as general inspiration but clearly there are questions like the one you bring up where the most important thing will be working in honest good faith. I don?t know if best practices have emerged around things like that, but I am sure that your job is clearly identified as a fair game.

handbags prada US

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

9/4/2010 12:10:41 PM

 

Yazar Hakkýnda

Erçin YONTAR
Erçin Yontar
1986 yýlýnda Çorlu'da doðdu.Ýlk öðrenimini Ankara'da, ortaöðrenimini Eskiþehir'de gördü.
Çanakkale 18 Mart Üniversitesi Bilgisayar Mühendisliði Bölümü mezunu.
Yazýlým ile çok ilgili; Visual Studiosu daima açýk :) bunun sayesinde Imagine Cup 2008 Türkiye 3.sü ve bir çok proje geliþtiriyor.
Yazýlým dýþýnda : Frp hastasý, rock/metal dinliyor, organizasyon iþlerine merak sardý. Bunlarýn yanýnda o bir; 
MCTS (Microsoft Certified Technology Specialist)



MSP (Microsoft Student Partner)

Bana posta atýn Send mail

Favorilerine Ekle


Add to Technorati Favorites

 

Twitter - Ne Yapýyorum?

    Pages

      Recent comments

      Feragatname

      Burada yazan yazýlar ve içerdikleri fikirler yazarýna aittir. Baþkasýný ilgilendirmez. Yazýlarý kaynaðýný kopyaladýðýnýz yazýnýn içinde týklanabilir link halinde belirtmek þartý ile olduðu gibi kullanabilirsiniz. Bu kurallarý deðiþtirme hakkým saklýdýr. Yarýn bir gün benim yazým benim blogumdan baþka bir yerde olamaz dersem Kopyaladýðýnýz yazýyý da silmek zorundasýnýz. Bu iþe girþen kiþi bu koþullarý ve doðan yasal yükümlülükleri kabul etmiþ sayýlýr. Eyvallah diyen devam etsin.

      © Tüm haklarý saklýdýr.

      Giriþ