Hata Günlüğüm
1)Server Error in '/' Application.
Unable to load the specified metadata resource.
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.Exception Details: System.Data.Entity.
Source Error:
|
Bu hatayı App.Configdeki connection stringi Web.Configdeki connectionstring kısmına kopyalarak çözdüm.
2)
Violation of PRIMARY KEY constraint 'PK_AllUser'. Cannot insert duplicate key in object 'dbo.AllUser'. The duplicate key value is (-1).
The statement has been terminated.
Bu hatayı MSSQLSERVERdaki Identity Specification özelliğini yes yaparak çözdüm.
3)
Server Error in '/' Application.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
3)
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
|
Datasouce'a atadığım listeyi ToList() yaparak çözdüm.
System.Linq.Enumerable+WhereSelectListIterator
Bu şekilde görünen stringi First().ToString(); yaparak çözdüm
-------------------------------------------------------------------------------------------
System.Linq.Enumerable+WhereSelectListIterator
Bu şekilde görünen stringi First().ToString(); yaparak çözdüm
-------------------------------------------------------------------------------------------
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Page Loadda bir şey doldururken if(!Ispostback) kullanmayınca
Yorumlar
Yorum Gönder