User Profile

Collapse

Profile Sidebar

Collapse
Bluenose
Bluenose
Last Activity: Jun 10 '19, 09:53 AM
Joined: Apr 26 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Bluenose
    replied to Enable SSL in Web.config?
    Sorry for the delay in replying.

    Basically, users register, and a link is sent to their email for email confirmation. The user's details are stored in a SQL database and their password hashed.

    The site will allow for students to upload their work to their university lecturer. No money at all is involved.

    So, if my understanding is correct, I should opt for 'enabled'?

    Thanks again
    See more | Go to post

    Leave a comment:


  • Bluenose
    replied to Enable SSL in Web.config?
    Many thanks for your reply, Luuk.

    The project is part of Microsoft's Membership Identity and will need to take https and not http, but no important personal details, such as bank details, are required in any form transactions.

    I will see how it goes then!

    Thanks
    See more | Go to post

    Leave a comment:


  • Bluenose
    started a topic Enable SSL in Web.config?

    Enable SSL in Web.config?

    Hello

    I have changed my ASP.NET from version 4.0 to 4.6.1 in Visual Studio 2017. Also in Visual Studio 2017, I have enabled SSL through my project's Properties panel.

    I have noticed, however, that in my project's Web.config file, it says:

    Code:
    <security requireSsl="false"
    Should I now change this to "true"?

    Thank you.
    See more | Go to post

  • Bluenose
    started a topic Database with Identity in VS 2017

    Database with Identity in VS 2017

    Hello

    Can ASP.NET Identity be configured using only a SQL Server database to store user names, passwords, etc, and not a MS Access database?

    Thanks
    See more | Go to post

  • What's wrong with this authenticate user code, please?

    I have the following code but get a 'log on denied' error even though I know the user and password are correct.

    Code:
     Private hashed As String
    
     Protected Sub LogonBtn_Click(sender As Object, e As EventArgs)
    
            'Dim hashedPassword As String = Crypto.HashPassword(hashed)
    
            Dim hashedPassword As String = Crypto.HashPassword(passwordTextBox.Text)
    
            'Authenticate user
    ...
    See more | Go to post

  • Errors in Visual Studio register.aspx file

    Hello

    I am getting the following compilation error in my register.aspx file:

    C30456: 'GetOwinContext ' is not a member of 'System.Web.Htt pContext'.

    This is my code:

    Code:
     Protected Sub CreateUser_Click(sender As Object, e As EventArgs)
            Dim userName As String = Email.Text
            Dim manager = Context.GetOwinContext().GetUserManager(Of ApplicationUserManager)()
    ...
    See more | Go to post

  • Bluenose
    started a topic Role of DotnetOpenAuth.Core file?

    Role of DotnetOpenAuth.Core file?

    Hello

    Can I ask, please, what the DotnetOpenAuth. Core, etc files do (Bin folder and Packages), and how would I know if my site depended on them?

    Thanks
    See more | Go to post

  • Error trying to install NuGet package in VS 2017

    Hello

    I am trying to install Install-Package WebHelpers and Install-Package System.Web.Help ers.Crypto via NuGet in Visual Studio 2017 but get the following errors respectively:

    Install-Package : Project 'Default' is not found.
    At line:1 char:1
    + Install-Package WebHelpers -Version 4.0.2
    + ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Default:String )...
    See more | Go to post

  • Many thanks for that zmbd!
    See more | Go to post

    Leave a comment:


  • What would I declare hashedPassword, please?

    In the following, please, what would I declare 'hashedPassword ' as?

    Code:
    cmd.Parameters.AddWithValue("@username", username)
                cmd.Parameters.AddWithValue("@strEmail", email)
                Dim hashedPassword = Crypto.HashPassword(password)
                cmd.Parameters.AddWithValue("@hashed", hashedPassword)
                connection.Open()
                cmd.ExecuteNonQuer
    ...
    See more | Go to post

  • Many thanks for that Rabbit!
    See more | Go to post

    Leave a comment:


  • Error: attribute name must be followed by an equals (=) sign and a value

    Hello

    I am getting a green underline error in VS2017 with this line of code:

    Code:
    <a data-scroll class="btn btn-start animated fadeInUpBig" href="#services">Start now</a>
    The underline is under 'data-scroll' with the following error: 'This attribute name must be followed by an equals (=) sign and a value. If the value is in quotation marks, the quotation marks must match'....
    See more | Go to post

  • Parameter @uniqueCode has no default value

    Hello

    How would I determine, please, if this line is returning a Nothing value as I am getting the following server error: 'Parameter @uniqueCode has no default value'

    Code:
    cmd.Parameters.AddWithValue("@uniqueCode", Convert.ToString(Request.QueryString("uniqueCode")))
    Thank you.
    See more | Go to post

  • Bluenose
    started a topic How to join these 2 lines

    How to join these 2 lines

    Hello

    How would I join these 2 lines of code, please?

    Code:
    cmd.Parameters.AddWithValue("@uniqueCode", Convert.ToString(Request.QueryString("uniqueCode")))
    
    cmd.Parameters.AddWithValue("@strEmail", Convert.ToString(Request.QueryString("strEmail")))
    Thank you.
    See more | Go to post

  • Bluenose
    started a topic How to personalise 'thank you' message?

    How to personalise 'thank you' message?

    Hello

    I have the following as part of my Contact.aspx.vb file:

    Code:
    Protected Sub SendEmail_Click(sender As Object, e As System.EventArgs)
    in Visual Studio (2013):

    Code:
      pnlFormFields.Visible = False
            pnlThankYouMessage.Visible = True
    
        End Sub
    When the user completes the form fields in my Contact.aspx page which has this:

    Code:
    <asp:Panel
    ...
    See more | Go to post

  • Bluenose
    started a topic myMessage.body question

    myMessage.body question

    Hello

    In the following SMTP code, have I coded myMessage.Body correctly, please?

    Code:
    myMessage.From = New MailAddress("info@mysite.net") 'Webmaster's email
    myMessage.To.Add(New MailAddress(strEmailValue)) 'user's email
    myMessage.Subject = ("Password Reset Request")
                
    'myMessage.Body = "Please click on the following link to reset your password: <br/>Link<br/><br/>Thank
    ...
    See more | Go to post

  • Bluenose
    replied to Error in email code
    Thanks, Luuk

    I didn't know that.

    Sorry for the delay in replying - I was disconnected.

    Regards
    See more | Go to post

    Leave a comment:


  • Bluenose
    started a topic Authentication is required for relay

    Authentication is required for relay

    Hello

    I am getting the following error on a forgotten.aspx page:

    http://www.dimadayoub.net/forgot.aspx

    Mailbox unavailable. The server response was: Authentication is required for relay

    This is the code I have:

    Code:
    myMessage.From = New MailAddress("info@mysite.net")
    myMessage.To.Add(New MailAddress(strEmailValue)) 'user's email
    myMessage.Subject
    ...
    See more | Go to post

  • Bluenose
    started a topic Error in email code

    Error in email code

    Hello

    When I debug my SMTP code, which is not sending a form, I get the following:

    Troubleshooting Exceptions: System.Net.Mail .SmtpException

    - The exception that is thrown when the SmtpClient is not able to send a Send

    System.Net.Mail .SmtpException was caught
    HResult=-2146233088
    Message=Error in processing. The server response was: Greylisted, please try again in 180 seconds...
    See more | Go to post

  • Correct path to image in Solution Explorer (VS 2013)?

    What is the correct path please to reference an image that is held in my Images folder in VS 2013? This does not work:

    Code:
    <img src="Images/image-slider-2.jpg" width="450" height="450" alt="" />
    or this:

    Code:
    <img src="/Images/image-slider-1.jpg" width="450" height="450" alt="" />
    or this:

    Code:
    <img src="~/Images/image-slider-1.jpg"
    ...
    See more | Go to post
No activity results to display
Show More
Working...