Click here to Skip to main content
15,910,083 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: EventValidation between v1.1 and 2.0 Pin
Orcun Iyigun26-May-11 7:11
Orcun Iyigun26-May-11 7:11 
QuestionCan i ristrict a perticular page to not to resize in a website. Pin
saxenaabhi625-May-11 14:37
saxenaabhi625-May-11 14:37 
AnswerRe: Can i ristrict a perticular page to not to resize in a website. Pin
Not Active25-May-11 15:38
mentorNot Active25-May-11 15:38 
GeneralRe: Can i ristrict a perticular page to not to resize in a website. Pin
saxenaabhi625-May-11 15:46
saxenaabhi625-May-11 15:46 
QuestionHow do I get a hidden input value to refer to a text box? Pin
Dave Clark QED25-May-11 12:05
Dave Clark QED25-May-11 12:05 
AnswerRe: How do I get a hidden input value to refer to a text box? Pin
Not Active25-May-11 15:36
mentorNot Active25-May-11 15:36 
GeneralRe: How do I get a hidden input value to refer to a text box? Pin
saxenaabhi625-May-11 15:44
saxenaabhi625-May-11 15:44 
QuestionLogin Control doesnt work Pin
Dmitry Makovetskiy25-May-11 9:00
Dmitry Makovetskiy25-May-11 9:00 
The control doesnt work, i dont know why, i cant login, even when i retrieve the password.


<?xml version="1.0"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>

  <system.net>
    <mailSettings>
      <smtp from="makovetskiyd@yahoo.co.uk">
        <network host="smtp.gmail.com"  enableSsl="true" defaultCredentials="false" port="587" userName="yourguru27@gmail.com" password="luckyd55"/>
      </smtp>
    </mailSettings>
  </system.net>
  <connectionStrings>
    <add name="YourGuruDB" connectionString="Data Source=DIMA-00AA1DA557;Initial Catalog=model;Integrated Security=True"/>
    <add name="modelConnectionString" connectionString="Data Source=DIMA-00AA1DA557;Initial Catalog=model;Integrated Security=True" providerName="System.Data.SqlClient"/>
    <add name="LocalSqlServer2" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename='D:\Documents and Settings\Dima\My Documents\Visual Studio 2010\WebSites\WebSite10\App_Data\ASPNETDB.MDF';Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>


  
  </connectionStrings>
  <system.web>


    
    <membership defaultProvider="MyMembershipProvider">
      <providers>
        <clear/>
        <add
          name="MyMembershipProvider"
          type="System.Web.Security.SqlMembershipProvider"
          connectionStringName="LocalSqlServer"
          minRequiredPasswordLength="2"
         
          minRequiredNonalphanumericCharacters="0"
          maxInvalidPasswordAttempts="1000"
          passwordAttemptWindow="1000"
          applicationName="/WebSite10"
    
          />
      </providers>
    </membership>
    
    <roleManager enabled="true" />

    <authentication mode="Forms">
        <forms name="MyAppCookie"
             loginUrl="~/Registration.aspx"
             protection="All"   
            timeout="43200"
            requireSSL="false"
            slidingExpiration="true"
            cookieless="UseCookies"
            enableCrossAppRedirects="false"
               path="/" />
    </authentication>


    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      </assemblies>
    </compilation>
  </system.web>
</configuration>



The above is web.config. i have no idea what to correct. Some said that i need to pass the connection string to the membership provider config. I tried it and it made no
difference. Yesterday, it worked, but today it stopped working, no idea why Frown | :( .
Other things that i checked:
I havent locked myself out...
AnswerRe: Login Control doesnt work Pin
Not Active25-May-11 9:28
mentorNot Active25-May-11 9:28 
GeneralRe: Login Control doesnt work Pin
Dmitry Makovetskiy25-May-11 9:35
Dmitry Makovetskiy25-May-11 9:35 
GeneralRe: Login Control doesnt work Pin
Not Active25-May-11 10:08
mentorNot Active25-May-11 10:08 
QuestionI need replace a selected word in the text of textBox not all text I can´t use SelectedText or SelectionLength like windows Form in asp.net Pin
Ricardo Vela25-May-11 7:54
Ricardo Vela25-May-11 7:54 
AnswerRe: I need replace a selected word in the text of textBox not all text I can´t use SelectedText or SelectionLength like windows Form in asp.net Pin
Not Active25-May-11 8:09
mentorNot Active25-May-11 8:09 
AnswerRe: I need replace a selected word in the text of textBox not all text I can´t use SelectedText or SelectionLength like windows Form in asp.net Pin
Prasanta_Prince25-May-11 18:25
Prasanta_Prince25-May-11 18:25 
GeneralRe: I need replace a selected word in the text of textBox not all text I can´t use SelectedText or SelectionLength like windows Form in asp.net Pin
Ricardo Vela25-May-11 21:23
Ricardo Vela25-May-11 21:23 
QuestionCreating a Cookie and Setting it Pin
Vimalsoft(Pty) Ltd25-May-11 7:02
professionalVimalsoft(Pty) Ltd25-May-11 7:02 
AnswerRe: Creating a Cookie and Setting it Pin
Not Active25-May-11 8:04
mentorNot Active25-May-11 8:04 
QuestionExport Excel file with multiple worksheets Pin
Samarjeet Singh@india25-May-11 2:34
Samarjeet Singh@india25-May-11 2:34 
AnswerRe: Export Excel file with multiple worksheets Pin
thatraja25-May-11 5:01
professionalthatraja25-May-11 5:01 
GeneralRe: Export Excel file with multiple worksheets Pin
Samarjeet Singh@india26-May-11 0:24
Samarjeet Singh@india26-May-11 0:24 
Questioncoping dataset to table(DB) Pin
Ramkumar_S24-May-11 22:53
Ramkumar_S24-May-11 22:53 
AnswerRe: coping dataset to table(DB) Pin
Eddy Vluggen25-May-11 0:10
professionalEddy Vluggen25-May-11 0:10 
AnswerRe: coping dataset to table(DB) Pin
Prasanta_Prince25-May-11 0:14
Prasanta_Prince25-May-11 0:14 
QuestionMeaning of %~dp0 value Pin
indian14324-May-11 13:37
indian14324-May-11 13:37 
AnswerRe: Meaning of %~dp0 value Pin
Eddy Vluggen25-May-11 0:07
professionalEddy Vluggen25-May-11 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.