Session values that contain objects will always cause an error if you try to Response.Write
them to the page.
You can avoid this by checking whether the Session value contains an object using IsObject()
function.
In your code something like
If Item <> "Servidor" And Not IsObject(Session.Contents(item)) Then
IMPORTANT:
As meda points out it is expensive to store
ADODB.Recordset
objects inside session values. It's not recommended to do this if you can explain what it is you are trying to accomplish we might be able to provide a more viable solution.