PDA

View Full Version : [Gunny] Ai giúp mình lỗi System.NullReferenceException



thandongdatmi
29-01-15, 02:21 PM
Tại sao khi mình mở mấy cái Service trong Release thì nó hiện mấy hàng đỏ nói lỗi System.NullReferenceException?
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

19:45:58,036 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,177 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property Edition,keep it default value!
19:45:58,197 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,197 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property MustComposeGold,keep it default value!
19:45:58,207 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,207 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property MustFusionGold,keep it default value!
19:45:58,207 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,207 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property MustStrengthenGold,keep it default value!
19:45:58,217 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,217 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property CheckRewardItem,keep it default value!
19:45:58,217 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,217 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property CheckCount,keep it default value!
19:45:58,217 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,217 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property HymenealMoney,keep it default value!
19:45:58,227 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,247 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property DivorcedMoney,keep it default value!
19:45:58,247 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,247 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property DivorcedDiscountMoney,keep it default value!
19:45:58,267 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,307 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property MarryRoomCreateMoney,keep it default value!
19:45:58,327 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,337 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property BoxAppearCondition,keep it default value!
19:45:58,337 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,337 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property DisableCommands,keep it default value!
19:45:58,337 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,337 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property AssState,keep it default value!
19:45:58,337 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,347 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property DailyAwardState,keep it default value!
19:45:58,347 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,367 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property Cess,keep it default value!
19:45:58,367 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,367 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property BeginAuction,keep it default value!
19:45:58,367 - [MAIN] - ERROR - Bussiness.BaseBussiness - GetServerConfig
System.NullReferenceException: Object reference not set to an instance of an object.
at Bussiness.ServiceBussiness.GetServerPropertyByKey( String key) in D:\DDTank\Workspce.Gunny.II\Bussiness\ServiceBussi ness.cs:line 254
19:45:58,397 - [MAIN] - ERROR - Bussiness.GameProperties - Cannot find server property EndAuction,keep it default value!

btbaotrung90
29-01-15, 03:00 PM
Thứ nhất ảnh quá nhỏ
thứ 2 đây là thông báo lỗi cơ bản do 1 biến nào đó bị null, bạn nói thế quá chung chung.

kelalung
29-01-15, 03:40 PM
chủ topic ơi, gởi bài viết nhớ kiểm tra nội dung bài viết nhá.
hình bé tẹo, coi sao đây

thmodz
29-01-15, 03:46 PM
Dùng Kính Lúp Xem Ý
Hãy viết tên miền đầy đủ của clbgamesvn ? (gợi ý câu trả lời: <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)

CunConLonTon
29-01-15, 03:49 PM
Dùng Kính Lúp Xem Ý
Hãy viết tên miền đầy đủ của clbgamesvn ? (gợi ý câu trả lời: <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)

Không phải mod miếc gì mà comment nào cũng dùng chữ đỏ , thích chơi trội hả :-B

shinichi12
29-01-15, 05:05 PM
lần đầu tiên trong đời chưa thấy cái ảnh nào to như vậy =))

thandongdatmi
30-01-15, 02:41 PM
Xin lỗi mấy bạn, mình sửa lại ảnh rồi.

hoang7625
31-01-15, 12:26 PM
bạn config sai thì phải, nó báo không lấy dc dữ liệu từ SQL ( chính xác là Db_Tank)

thandongdatmi
31-01-15, 01:44 PM
bạn config sai thì phải, nó báo không lấy dc dữ liệu từ SQL ( chính xác là Db_Tank)

Cảm ơn bạn. Tại cái SQL của mình quên bật SQL Authentication.