|
Hi.
When i use SQL server and run dotnetage on hosting we get very slow performance. But at localhost it run very fast. i thing the problem in config membership provider. Hosting run fast when use server compact too. I found some thing on google and i think it relate to my problem https://elgg.leeds.ac.uk/webteam/weblog/15385.html My connection string is: 1: <add name="DefaultConnection" connectionstring="MultipleActiveResultSets=true;Data Source=xxx.com;Initial Catalog=qjipwnzm_webengine;User ID=qjipwnzm_webengine;Password=****" providername="System.Data.SqlClient"> membership config: 1:
2: <membership defaultprovider="DefaultMembershipProvider"> 3: <providers> 4: <clear> 5: <add name="DefaultMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionstringname="DefaultConnection" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="false" requiresuniqueemail="false" maxinvalidpasswordattempts="5" minrequiredpasswordlength="6" minrequirednonalphanumericcharacters="0" passwordattemptwindow="10" applicationname="/"> 6: add>clear>providers> 7: membership> 8: <profile defaultprovider="DefaultProfileProvider" inherits="DNA.Mvc.UserProfile"> 9: <providers> 10: <clear> 11: <add name="DefaultProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionstringname="DefaultConnection" applicationname="/"> 12: add>clear>providers>.... 13: <rolemanager enabled="true" cacherolesincookie="true" cookiename=".MVCROLES" defaultprovider="DefaultRoleProvider"> 14: <providers> 15: <clear> 16: <add name="DefaultRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionstringname="DefaultConnection" applicationname="/"> 17: <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" applicationname="/"> 18: add>add>clear>providers> 19: rolemanager>... Please help. Thanks you. |