i can login when i'm using in visualstudio but after publish the site it simple dont login , dont says wrong credentials, nothings simple dont do nothing no error but cant login
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="Data Source=my-PC;Initial Catalog=my_db;Persist Security Info=True;User ID=myuser;Password=mypass" providerName="System.Data.SqlClient" />
<add name="my_db_cs" connectionString="Data Source=my-pc;Initial Catalog=my_db;Persist Security Info=True;User ID=myuser;Password=mypass" providerName="System.Data.SqlClient" />
</connectionStrings>
i have to have to because of membership and other for sql datasources because if i take localsqlserver it cant login conect to membership , but it works on localhost not in webdeploy why?
troika
Member
14 Points
191 Posts
cant login when publish site...
Feb 24, 2013 04:33 PM|LINK
<remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Data Source=my-PC;Initial Catalog=my_db;Persist Security Info=True;User ID=myuser;Password=mypass" providerName="System.Data.SqlClient" /> <add name="my_db_cs" connectionString="Data Source=my-pc;Initial Catalog=my_db;Persist Security Info=True;User ID=myuser;Password=mypass" providerName="System.Data.SqlClient" /> </connectionStrings> i have to have to because of membership and other for sql datasources because if i take localsqlserver it cant login conect to membership , but it works on localhost not in webdeploy why?deniztuzun
Member
48 Points
9 Posts
Re: cant login when publish site...
Feb 24, 2013 09:07 PM|LINK
Data Source value may be case sensetive. (my-PC)
troika
Member
14 Points
191 Posts
Re: cant login when publish site...
Feb 24, 2013 09:20 PM|LINK
still not working, just works when debugging, its strange becausewhen debugging i can login without problems
troika
Member
14 Points
191 Posts
Re: cant login when publish site...
Feb 24, 2013 11:40 PM|LINK
if i create an account then i can even login normally with the other user cant figure out what is going on here
- going to site directly- no login error nothing just dont login
- create an account and go again to default page can login with the other user or with the new one
troika
Member
14 Points
191 Posts
Re: cant login when publish site...
Feb 25, 2013 05:50 PM|LINK
any help?