Below is my code and I get the above mentioned error in vb.net. I am trying to pass blank in integer .
Private ReadOnly Property GPLegalEntityId() As Integer
Get
If Request.QueryString("GPLegalEntityId") = "" Then
Return ""
Else
Return Convert.ToInt32(Request.QueryString("GPLegalEntityId"))
End If
End Get
End Property