Hi,
You can run the application pool in classic mode , then IIS7 has the same behave as IIS6. In this case, it seems that the error "converting/casting dbnull to strings" was caused by code logic issue. I’d suggest you debug your application to find the root cause.
Leo Tang
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.