rpt.Database.LogOnServer "crdb_odbc.dll", "GRS", "GRS", "sa", "asd123"
You are using odbc rather than oledb provider. I don't CR11 to test but I think there is another option how to login so check your documentation and see if you can switch to oledb instead - this way you won't have to create odbc entry.