PDA

View Full Version : سوال: چرا در هر بار آپلود بايد aspnet_regsql را اجرا کنم ؟



b581102
چهارشنبه 08 آبان 1387, 16:00 عصر
سلام . من در سايت هام از framework 3.5 و .Net Authentication استفاده می کنم . (Sql Membership Provider ( معمولا وقتی وبسايت رو برای اولين بار آپلود می کنم يه پيغام خطا می ده به شرح زير :


The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.



که بعد از اينکه از پشتيبانی هاست می خوام دستور aspnet_regsql رو برای ديتابيس من اجرا کنن بر طرف می شه . آيا اشکال کار من هست ؟ چطور می شه از اين مشکل جلوگيری کرد ؟