There is an SQL query you can try:
ALTER DATABASE databasename
SET emergency
GO
ALTER DATABASE databasename
SET single_user
GO
DBCC checkdb (databasename, repair_allow_data_loss)
ALTER DATABASE databasename
SET multi_user
GO
You can use the following code to try a possible repair. I have seen that there are many applications who might be able to repair it, but I wouldn't trust them since they're too expensive.