1 |
[img]http://4.bp.blogspot.com/_PZMW-pNN5is/TBNo4EGSDtI/AAAAAAAAAAM/xGCT6qtb8dM/s320/elephantdung.jpg[/img]
|
1 |
[img]http://4.bp.blogspot.com/_PZMW-pNN5is/TBNo4EGSDtI/AAAAAAAAAAM/xGCT6qtb8dM/s320/elephantdung.jpg[/img]
|
2 |
\n
|
2 |
\n
|
3 |
\n
|
3 |
\n
|
4 |
Server Error in '/' Application.
|
4 |
Server Error in '/' Application.
|
5 |
\n
|
5 |
\n
|
6 |
\n
|
6 |
\n
|
7 |
Object reference not set to an instance of an object.
|
7 |
Object reference not set to an instance of an object.
|
8 |
\n
|
8 |
\n
|
9 |
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
|
9 |
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
|
10 |
\n
|
10 |
\n
|
11 |
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
|
11 |
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
|
12 |
\n
|
12 |
\n
|
13 |
Source Error:
|
13 |
Source Error:
|
14 |
\n
|
14 |
\n
|
15 |
\n
|
15 |
\n
|
16 |
Line 3: @using ZkData
|
16 |
Line 3: @using ZkData
|
17 |
Line 4: @model ZkData.Account
|
17 |
Line 4: @model ZkData.Account
|
18 |
Line 5: @{ Page.Title = Model.Name + " user page"; }
|
18 |
Line 5: @{ Page.Title = Model.Name + " user page"; }
|
19 |
Line 6:
|
19 |
Line 6:
|
20 |
Line 7: @if (Model.AccountID == Global.AccountID) {
|
20 |
Line 7: @if (Model.AccountID == Global.AccountID) {
|
21 |
\n
|
21 |
\n
|
22 |
Source File: c:\projekty\zero-k.info\www\Views\Shared\UserDetail.cshtml Line: 5
|
22 |
Source File: c:\projekty\zero-k.info\www\Views\Shared\UserDetail.cshtml Line: 5
|
23 |
\n
|
23 |
\n
|
24 |
\n
|
24 |
\n
|
25 |
\n
|
25 |
\n
|
26 |
[NullReferenceException: Object reference not set to an instance of an object.]
|
26 |
[NullReferenceException: Object reference not set to an instance of an object.]
|
27 |
ASP._Page_Views_Shared_UserDetail_cshtml.Execute() in c:\projekty\zero-k.info\www\Views\Shared\UserDetail.cshtml:5ean& completedSynchronously) +155
|
27 |
ASP._Page_Views_Shared_UserDetail_cshtml.Execute() in c:\projekty\zero-k.info\www\Views\Shared\UserDetail.cshtml:5ean& completedSynchronously) +155
|
28 |
\n
|
28 |
\n
|
29 |
\n
|
29 |
\n
|
30 |
\n
|
30 |
\n
|
31 |
\n
|
31 |
\n
|
32 |
\n
|
32 |
\n
|
33 |
http://howtoprogram.co/io/avoiding-the-object-reference-not-set-to-an-instance-of-an-object-error/
|
33 |
http://howtoprogram.co/io/avoiding-the-object-reference-not-set-to-an-instance-of-an-object-error/
|
|
|
34 |
\n
|
|
|
35 |
\n
|
|
|
36 |
http://www.shubho.net/2011/01/exception-handling-best-practices-in-n.html
|
|
|
37 |
\n
|
|
|
38 |
\n
|