Sounds like a security issue to me. Is it possible that the account your Web site runs under (ASPNET or Network Service) does not have permission to write to and read from the database?
Check out this FAQ:
http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=263
It's targeted at classic asp but I think it will work for you too.
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.