asp.net - Can't modify data on SQL Server table (Cannot drop database error) -



asp.net - Can't modify data on SQL Server table (Cannot drop database error) -

i'm using sql server , visual studio 2013 specific project. have database (.mdf) file, has lot of data.

the problem is, when modify data, beingness both via visual studio "show table data" alternative or via sql console on visual studio, next error when using linq code:

cannot drop database "myproject_78c66be067bf45d1b143082737bed23a" because in use.

is there way solve problem?

i have several files within app_data folder:

aspnet-myproject-20131223105750.mdf aspnet-myproject-20131223105750_log.ldf errorlog.txt myproject.mdf myproject_log.ldf

thank you. need solve this.

in sql server management studio, go tools->designers->table , database designers.

uncheck prevent saving changes require table re-creation option.

note: if disable option, not warned when save table changes made have changed metadata construction of table. in case, info loss may occur when save table.

microsoft has confirmed bug in microsoft products listed in "applies to" section.

for more info, go link: http://support.microsoft.com/kb/956176

asp.net sql visual-studio-2013 sql-server-express

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -