Wednesday, August 20, 2008 Register Login
Search:    Go
 
 


   Mini Anket Minimize  

1. "Module" ün Türkçesi Nedir?







Submit Survey  View Results
     
 Print   
Burada Reklam Ver 468x60 Reklam Bandı


SearchForum Home
     
  DotNetNuke Yardım!  DotNetNuke 4.x Kurulum  "Object re...
 "Object reference not set to an instance of an object." hatası
 
 10/16/2006 4:27:28 PM
User is offlineesaydam
7 posts


"Object reference not set to an instance of an object." hatası
Arkadaşlar bu foruma yeni üye oldum. Bu dnn 4.x'i bir türlü kuramadım.

Windows 2003 ve SQL Server 2000 var. Web config'deki datasource'u SQL 2000'e göre doğru şekilde tanımladım. Ancak kurulum sırasında bazı aşamalarda error veriyor ve kurulum tamamlanmıyor. Sanırım error verdiği yerler Stred procedure tanımlanan yerler. Çünkü Stored Procedures altında hiç SP yok.

Sonuçta sayfada

Object reference not set to an instance of an object.

şeklinde hata veriyor. NE yaparsam yapayım başaramadım. SQL'de database kurarken bir çok dil seçeneğini de denedim. Bu kurulumda ne gibi bir hata yapmış olabilirim.

Teşekkürler...


 10/16/2006 4:58:54 PM
User is offlineXeon
50 posts
www.dnnturkiye.com


Re: "Object reference not set to an instance of an object." hatası

Merhaba,

Hangi işletim sistemini ve hangi dnn install paketini kullandığını yollarsan yardımcı olmaya çalışacağım... Ayrıca web.config dosyasında kullandığın connectionStrings ve appsettings taglarını da yollarsan iyi olur...

koyla gelsin


Melih Eroglu
DotNetNuke Türkiye
 10/17/2006 8:21:37 AM
User is offlineesaydam
7 posts


Re: "Object reference not set to an instance of an object." hatası
Merhaba Melih Bey,

DNN 4.3.5 paketini kurmaya çalışıyorum.
İşletim Sistemi Windows Server 2003 TR Standard Edition.
IIS 6.0
.Net Framework 2.0 English

SQL Server 2000 (database collation Latin1_General_CI_AI, pek çoğuyla da denenmiştir)

Web config içinde değiştirdiğim ilgili satırlar şu şekilde


 <connectionStrings>
    <add name="SiteSqlServer" connectionString="Server=sqlweb;uid=sa;database=web" providerName="System.Data.SqlClient" />
  </connectionStrings>

  <appSettings>
    <add key="SiteSqlServer" value="Server=sqlweb;uid=sa;database=web"/>
.... (buralar değişmedi)
  </appSettings>


Kurulum yapmak istediğimde aşağıdaki hatayı veriyor ve kurulum başarıyla tamamlanamıyor.
İlginize teşekkür ederim.


Installing DotNetNuke

Version: 04.03.05


Installation Status Report

00:00:00.015 - Installing Version: 3.1.0
00:00:00.046 - Installing s c r i p t: DotNetNuke.SetUp.SqlDataProvider Success
00:00:00.062 - Installing s c r i p t: DotNetNuke.Schema.SqlDataProvider Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\DotNetNuke.Schema.log for more information)
00:00:01.578 - Installing s c r i p t: DotNetNuke.Data.SqlDataProvider Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\DotNetNuke.Data.log for more information)
00:00:04.250 - Installing MemberRole Provider:
00:00:04.250 - Executing InstallCommon.sql
00:00:04.484 - Executing InstallMembership.sql
00:00:04.734 - Executing InstallProfile.sql
00:00:04.828 - Executing InstallRoles.sql
 Error!
00:00:05.203 - Upgrading to Version: 3.1.1 Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\03.01.01.log for more information)
00: - Upgrading to Version: 3.2.0 Success
00:00:06.031 - Upgrading to Version: 3.2.1 Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\03.02.01.log for more information)
00:00:06.062 - Upgrading to Version: 3.2.2 Success
00:00:06.093 - Upgrading to Version: 3.2.3 Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\03.02.03.log for more information)
00:00:07.031 - Upgrading to Version: 3.2.4 Success
00:00:07.062 - Upgrading to Version: 3.2.5 Success
00:00:07.078 - Upgrading to Version: 3.2.6 Success
00:00:07.109 - Upgrading to Version: 3.2.7 Success
00:00:07.109 - Upgrading to Version: 3.3.0 Success
00:00:07.125 - Upgrading to Version: 3.3.1 Success
00:00:07.156 - Upgrading to Version: 3.3.2 Success
00:00:07.187 - Upgrading to Version: 3.3.3 Success
00:00:07.343 - Upgrading to Version: 4.0.0 Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\04.00.00.log for more information)
00:00:07.484 - Upgrading to Version: 4.0.1 Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\04.00.01.log for more information)
00:00:07.531 - Upgrading to Version: 4.0.2 Success
00:00:07.546 - Upgrading to Version: 4.0.3 Success
00:00:07.546 - Upgrading to Version: 4.0.4 Success
00:00:08.171 - Upgrading to Version: 4.0.5 Success
00:00:08.171 - Upgrading to Version: 4.0.6 Success
00:00:08.187 - Upgrading to Version: 4.0.7 Success
00:00:08.187 - Upgrading to Version: 4.3.0 Success
00:00:08.203 - Upgrading to Version: 4.3.1 Success
00:00:08.218 - Upgrading to Version: 4.3.2 Success
00:00:08.265 - Upgrading to Version: 4.3.3 Success
00:00:08.328 - Upgrading to Version: 4.3.4 Success
00:00:08.343 - Upgrading to Version: 4.3.5 Error! (seeC:\ebr\Providers\DataProviders\SqlDataProvider\04.03.05.log for more information)
00:00:08.531 - Performing General Upgrades
00:00:08.796 - Loading Host Settings:
00:00:08.843 - Configuring SuperUser:

 


Server Error in '/ebaro' Application.

Runtime Error

Des c r i p tion: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


 10/17/2006 9:33:26 AM
User is offlineesaydam
7 posts


Re: "Object reference not set to an instance of an object." hatası
Bu arada belki işe yarar bir bilgi olabilir. dotnetnuke'u site altındaki bir klasör altına kurmaya çalışmaktayım.
Örn. siteadi.com/dnn/ gibi.

IIS'de virtual directory tanımladım ve göstediğim C:\dnn\ altına tüm install dosyalarını kopyaladım. Yani buralarda da hiç bir problem yok.

 10/17/2006 2:50:59 PM
User is offlineXeon
50 posts
www.dnnturkiye.com


Re: "Object reference not set to an instance of an object." hatası

Merhaba,

Şimdiye kadar kurduğum dnn ler için hiç db collation değiştirmedim...
Şu anda kullandığım collation ise : SQL_Latin_General_CP1_CI_AS ve problemsiz çalışıyor...

ConnetcionString i de bu şekilde yaparsan belki problemi çözebilirsin :

connectionString="Server=(local);Database=VeriTabanıİsmi;uid=sa;pwd=Şifre;"

tabiiki aynısını appsetings için de yapmak gerekir.

Ayrıca kurulum aşamalarını bir daha gözden geçirmeni öneririm.
http://www.dnnturkiye.com/Blog/tabid/170/EntryID/1/Default.aspx 

Eğer yine olmazsa dnn in kurulu olduğu klasöre everone full access ver. Dnn klasörünün altındaki bütün klasörler ve dosyalara herkesin tam erişim hakkı olsun.

Bu şekilde mutlaka çalışması lazım. Bende bu şekilde anlamsız hatalar ile karşılaştım fakat insan bazen kendi hatasını bulmakta zorlanıyor :) onun için yetkilendirmeyi tam yaparak kurulumu tekrardan denemeni öneririm...

Umarım yardımcı olabilmişimdir...

 


Melih Eroglu
DotNetNuke Türkiye
  DotNetNuke Yardım!  DotNetNuke 4.x Kurulum  "Object re...
Türkçe'yi yeniden öğrenelim ve düzgün konuşalım...
 
 
Terms Of Use  Privacy Statement