Cosa vuol dire questo errore?

codice:
Specified cast is not valid. 
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.InvalidCastException: Specified cast is not valid.

Source Error: 

Line 66: 
Line 67: 			RepEventi.DataSource = pagedData; 
Line 68: 			RepEventi.DataBind(); 
Line 69: 
Line 70: 			conn.Close();
L'errore mi viene restituito quando cerco di caricare un repeater. Credevo fosse un problema di dati, quindi ho copiato la stringa sql e l'ho incollata in access, ma tutto funzionava. Non dovrebbe essere un problema di codice in quanto prima funzionava.

Sonia