.net based application recording issue

While recording cookies are not there , while replaying cookies are there and also receiving internal server error 500 for a dotnet based application recording in loadrunner .please guide .