Guest User

Untitled

a guest
Sep 9th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. web.config error
  2. <?xml version="1.0"?>
  3. <configuration>
  4. <connectionStrings>
  5. <add name="ConnectionString"
  6. connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|ASPNETDB.MDF;Integrated Security=True;User Instance=True"
  7. providerName="System.Data.SqlClient"/>
  8. </connectionStrings>
  9. <system.web>
  10. <customErrors mode="Off"/>
  11. <compilation debug="true"/>
  12. </system.web>
  13. <pages>
  14. <namespaces>
  15. <clear/>
  16. <add namespace="System"/>
  17. <add namespace="System.Collections"/>
  18. <add namespace="System.Collections.Specialized"/>
  19. <add namespace="System.Configuration"/>
  20. <add namespace="System.Text"/>
  21. <add namespace="System.Text.RegularExpressions"/>
  22. <add namespace="System.Web"/>
  23. <add namespace="System.Web.Caching"/>
  24. <add namespace="System.Web.SessionState"/>
  25. <add namespace="System.Web.Security"/>
  26. <add namespace="System.Web.Profile"/>
  27. <add namespace="System.Web.UI"/>
  28. <add namespace="System.Web.UI.WebControls"/>
  29. <add namespace="System.Web.UI.WebControls.WebParts"/>
  30. <add namespace="System.Web.UI.HtmlControls"/>
  31. </namespaces>
  32. </pages>
  33. <membership>
  34. <providers>
  35. <clear/>
  36. <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
  37. </providers>
  38. </membership>
  39. <profile>
  40. <providers>
  41. <clear/>
  42. <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="LocalSqlServer" applicationName="/"/>
  43. </providers>
  44. </profile>
  45. <authentication mode="Forms">
  46. <forms loginUrl="login.aspx" defaultUrl="Default.aspx"/>
  47. </authentication>
  48. <authorization>
  49. <allow users="*"/>
  50. </authorization>
  51. <location path="PhotoAdmin">
  52. <system.web>
  53. <authorization>
  54. <deny users="?"/>
  55. </authorization>
  56. </system.web>
  57. </location>
  58. <system.net>
  59. <mailSettings>
  60. <smtp from="some@example.com">
  61. <network host="relay-hosting.example.net" password="" userName=""/>
  62. </smtp>
  63. </mailSettings>
  64. </system.net>
  65. </configuration>
  66.  
  67. <compilation debug="true" targetFramework="4.0" />
Add Comment
Please, Sign In to add comment