I tried that already with:
EXEC sp_attach_single_file_db @dbname = 'koiforum',
@physname = 'C:\Program Files\Microsoft SQL Server\MSSQL$LISTSERVER\data\koiforum_data.mdf'
I get this error:
Server: Msg 1813, Level 16, State 2, Line 1
Could not open new...