input string was not in a correct format, lookup additional column

Problem: I have a list, which have a Lookup(Venue)+additional column as ID(“Venue:ID”) you can see in the above picture, when i try to get the value of the “Venue:ID” and convert into int32 through my code, it gives me an error input string was not in a correct format, To mistake i was making is that, lookup always bring value like some this “2;#2”; so … Continue reading input string was not in a correct format, lookup additional column

Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED))

Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED)) When working with visual webpart control, my visual webpart works fine, but when i deploy the more then one Visual webpart on a single page, it gives me above error, while going in to many forums and reading the blogs, i was wondering there is some thing with my code … Continue reading Attempted to use an object that has ceased to exist. (Exception from HRESULT: 0x80030102 (STG_E_REVERTED))