visual studio 2010 - MVC3 Sample Project Database Error -
i running visual studio 2010 , created default mvc3 sample project. project starts fine , home page.
but when go register new user error,
error occurred during execution of sql file 'installcommon.sql'. sql error number 5177 , sqlexception message is: unexpected error occurred while checking sector size file 'd:\work\visual studio projects\visual studio 2010\mvc3\mvc3\app_data\aspnetdb_tmp.mdf'. move file local ntfs volume, sector size can retrieved. check sql server error log more information. create database failed. file names listed not created. check related errors. creating aspnetdb_af8cb88b53744229b5d3dca30395b572 database...
i have sqlserver 2008 r2 installed.
does know why happening?
thanks
i had same problem. trying create database 'd:\work\visual studio projects\visual studio 2010\mvc3\mvc3\app_data\aspnetdb_tmp.mdf' , failing create it. firstly check if file exists , manually delete if so. me, because creating drive using windows command:-
subst x: "e:\my work"
and solution on x:, reason app did not like. can try creating database 'd:\work\visual studio projects\visual studio 2010\mvc3\mvc3\app_data\aspnetdb_tmp.mdf' manually in visual studio , see if same error.
if can't create it, @ drive/folder settings such make sure ntfs drive , check rights etc.
Comments
Post a Comment