1.教会你爱的人爱你。 2.创造财富,享受生活,享受人生。 3.知识只有经过分享才能体现价值。 4.做最好的自己!

C#错误一览

上一篇 / 下一篇  2011-01-14 10:27:30 / 个人分类:C#

1.      Maximum request length exceeded.

2. Object reference not set to an instance of an object.

3.      Failed to convert parameter value from a String to a Double.

4. 'ddlRateMode' has a SelectedValue which is invalid because it does not exist in the list of items.

 

5.      Specified cast is not valid.

6. Could not find stored procedure 'ChannelAccessDetail_Sel'.

7. Invalid viewstate.

8. Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

9. Invalid column name 'MsgType'.

10.Failed to convert parameter value from a String to a Double.

11.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.

12.Input string was not in a correct format.

13.Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

14.String or binary data would be truncated.

The statement has been terminated.

15.ORDER BY items must appear in the select list if SELECT DISTINCT is specified.

16.The remote host closed the connection. The error code is 0x800704CD.

17.Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

18.Object cannot be cast from DBNull to other types.

19.Maximum request length exceeded.

20.An error occurred while communicating with the remote host. The error code is 0x800703E3. ---> System.Runtime.InteropServices.COMException (0x800703E3): The I/O operation has been aborted because of either a thread exit or an application request. (Exception from HRESULT: 0x800703E3)

  --- End of inner exception stack trace ---

21.Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

22.Cannot have multiple items selected in a DropDownList.

23.Cannot have multiple items selected in a DropDownList.

24.Must declare the scalar variable "@HotelID".

 

 


TAG: 错误

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

Open Toolbar