sql server - Trying to deploy Asp.Net Memebership database to SQL Azure -


i've been trying asp.net member ship proveider work rest of databse hosted in sql azure. i've run appropriate sql azure specific scripts against database set up. scripts available microsoft here: http://archive.msdn.microsoft.com/kb2006191

however, everytime run site in debug mode using visual studio 10, following error:

an error occurred during execution of sql file 'installcommon.sql'. sql error number 5123 , sqlexception message is: create file encountered operating system error 5(failed retrieve text error. reason: 15105) while attempting open or create physical file 'c:\users\roberto\documents\visual studio 2010\projects\flyingshakestore\mvcmusicstore\app_data\aspnetdb_tmp.mdf'. create database failed. file names listed not created. check related errors. creating aspnetdb_74b63e50f61642dc8316048e24c7e499 database...

all other access database works perfectly. not connection string.

i think when membership provider first called, asp.net trys attach new memberhship database sqlazure (which can't anyway) because thinks 1 not exist. i've no idea how turn behavior off.

anyone know can do?

thanks.

roberto

it looks still referencing local file app_data/aspnetdb_tmp.mdf instead of sql azure instance - suspect while connectionstring main data correct, have connectionstring left lying around local database too? check in membership providers within web.config


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -