asp.net mvc - ASPNET authenticate fail with IIS -



asp.net mvc - ASPNET authenticate fail with IIS -

i have develop mvc web application utilize asp.net authenticate implement login form problem cannot deploy server. in first utilize aspnetdb.mdf file store in appdata forlder after alter store aspnetdb database in sqlserver , update connectionstring new database in development environment both of them work when deploy iis, cannot login, show me next error : "failed generate user instance of sql server due failure in retrieving user's local application info path. please create sure user has local user profile on computer. connection closed." here connection string:

<connectionstrings> <add name="applicationservices" connectionstring="data source=.\phdatabase; initial catalog=aspnetdb;user id=sa;password=****" /> </connectionstrings>

i seek google lot until now, there no result please help me solve problem regard

try replacing machine name instead of "."

data source=machinename\phdatabase; initial catalog=aspnetdb;user id=sa;password=****

the other possibility if using wizards linq2sql etc., might maintain connection string within code. check them well..

asp.net-mvc iis authentication

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -