Blogengine and Webmatrix

Discussion in 'Third-party applications' started by GygerPeter, Jul 21, 2013.

  1. Hi

    I like to use Webmatrix 3 to install Blogengine.

    Has someone written a tutorial to use Webmatrix with Winhost?

    How i have to configure the E-Mail ("Contact") etc.?

    Thanks for every Information

    Greetings
    Peter
     
    Last edited by a moderator: Oct 14, 2015
  2. ComputerMan

    ComputerMan Winhost Staff

    We have the following knowledge base article on how to web deploy in Webmatrix here: http://support.Winhost.com/KB/a915/how-to-deploy-with-webmatrix-using-web-deploy.aspx

    We also have the following knowledge base article on how to deploy in Webmatrix using FTP here: http://support.Winhost.com/KB/a916/how-to-deploy-with-webmatrix-using-ftp.aspx

    Are you asking what SMTP service you should use when sending an email message from your web application? If this is the case you should us our SMTP service on our mail server.

    SMTP host is: mail.HostingAccountDomain.com
    The User you should use is your full email address.
    The password is the password for the email user you created on SmarterMail.

    Also, make sure that you use SMTP authentication when sending out the email message from your web application.
     
    Last edited by a moderator: Oct 14, 2015
    Michael likes this.
  3. Hi
    Thank you for the tipps and sorry for the late Answer.

    Webmatrix: i test it asap and write back
    E-Mail: i'm not sure that i understand correct.
    In BE - Settings - E-Mail i have to define the E-mail Adresse, when People like to answer on the contact form.
    The Fields are:
    - E-Mail Adress
    - SMTP Server
    - Port number
    - Username
    - Password

    For Example when i like to use a e-mail Adress like joe.miller@outlook.com what are the correct values?

    Greetings
    Peter
     
  4. Hi

    No Idea? No Solutions?
    No Answer?

    Greetings
    Peter
     
  5. You would have to get those values from outlook.com.
     
  6. Hi Hank

    Thanks for your Post.

    One way to has E-Mail Function in mein Blogengine, is to create a user in the Winhost Controlcenter.
    Is there a other way? Or not?

    Greetings
    Peter
     
  7. Hi Michael

    Thank you for the link.

    To use this E-Mail Feature is a Service from the hoster.
    I worked with my old Hoster "Genotec" in Switzerland.

    But I don't know how it works with Winhost.
    What is the use from a blog im the reader can't connect the Writer?

    Greetings
    Peter
     
    Last edited by a moderator: Oct 14, 2015
  8. ComputerMan

    ComputerMan Winhost Staff

    Okay from my understanding you're trying to set up Blog Engine to send out email messages using our SMTP service on our mail server, correct?

    If this is the case then you will need to use the following settings:

    SMTP host is: mail.HostingAccountDomain.com
    The User you should use is your full email address.
    The password is the password for the email user you created on SmarterMail.

    Also, make sure that you use SMTP authentication when sending out the email message from your web application.

    To learn how to create an email user on our mail server please note the following instructions:

    You will need to login to the SmarterMail system with the postmaster email account first in order to create the email user. To do this please login to your control panel on Winhost.

    Once you have logged in to your Winhost control panel. Click on the "Sites" tab at the top. Or simply click here: https://cp.Winhost.com/sites/

    Then click on "Manage" next to the site you wish to manage.

    Click on the "Email" box under site tools. Or simply click here: https://cp.Winhost.com/sites/email.aspx

    Then click on the link "SmarterMail Manager"

    The link will automatically log you into the SmarterMail email system.

    Once you are in the SmarterMail email system. Click on the "Settings" button. (Looks like a gear icon)

    Then expand the "Domain Settings" folder if it is not already expanded.

    Click on "Users"

    Then you may start adding your email users.

    Then use that user that you created to authenticate against our SMTP Service.

    Also, don't use SSL in your email settings in Blog Engine since this will not work with our mail server.

    -----

    If you want to use outlook.com's SMTP service for the email address (joe.miller@outlook.com) then you need to ask them for the correct settings.
     
    Last edited by a moderator: Oct 14, 2015
    Michael likes this.
  9. Hi

    Thanks for the Answer.

    I follow your Instruction.
    Unfortunately there is a error:
    Error: Error sending email in SendMailMessage: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    ****************
    Fields and Values:
    E-mail address: blog@petergyger.net
    STMP Server: mail.petergyger.net
    Port number: 587
    Username: blog@petergyger.net
    Password: ............................
    Subject Prefix: Weblog
    Other Settings: not enable SSL
    send Command E-Mail

    ***************

    Look in the Screenshot belong this article.

    The Password is correct. I can log in with this user to the webmail.

    Please Help

    Thanks
    Peter
     

    Attached Files:

    Last edited by a moderator: Oct 14, 2015
  10. ComputerMan

    ComputerMan Winhost Staff

    Last edited by a moderator: Oct 14, 2015
  11. Hi

    With the Hoster Genotec it was not necessary to chance something.

    Winhost offer a "out of the Box" Solution for BlogEngine.
    And this Solution don't work. A Blog without a MailSolution is useless - I my Opinion.

    I have a blog and I'm not a programmer. You mean, if someone use the Blogengine Application with Winhost, he has to learn to develop with ASP.NET? Not really a good Service.

    Greetings
    Peter
     
    Last edited by a moderator: Oct 14, 2015
  12. ComputerMan

    ComputerMan Winhost Staff

    I understand where your coming from. I been in your shoes before so I totally understand your situation. I put in a request with our App Installer team to set the application trust level to full on our next update for BlogEngine.

    Until then if you want to manually change it by follow my instructions below:

    Connect to your site via FTP. You can use an FTP client like FileZilla. FileZilla can be downloaded here: https://filezilla-project.org/

    To learn how to connect to your site using FileZilla please read our knowledge base article on how to connect to your site using FileZilla.

    Once connected navigate to your BlogEngine directory. If the install was in the root directory than you don't need to navigate to any other directory. You need to find the "web.config" file in the BlogEngine directory. This is the file that you need to download locally onto your computer.

    Once you download the web.config file onto your computer. Make a copy of it so you can keep it as a backup. That way you can always revert back to it if something goes wrong.

    Then open the web.config file in notepad or any text editor you wish to use.

    Look for the line

    Code:
    <configuration>
      <system.web> 
    You want to place the following code after the lines above:

    Code:
    <trust level="Full" /> 
    So it should look like this:


    Code:
    <configuration>
      <system.web>
        <trust level="Full" /> 
    Leave the other stuff in the web.config file alone and don't change anything else. Now save the file and upload the edited web.config file back into the BlogEngine directory.

    That's all you really need to do to enable full trust.
     
    Last edited by a moderator: Oct 14, 2015
    Michael likes this.
  13. Hi

    Thank you for your Answer.

    There are 2 Points:
    1. Technical
    I can Chance a config file with a ftp Client like Mozilla.
    Now it is Change to full trust. But no effect.
    When i click on Tontact (petergyger.net/blogengine) and i send the form, then i receive a error Message:
    "This form does not work at the moment. Sorry for the inconvenience."

    2. Admin
    Winhost offer the Application "BlogEngine".
    Absolut essential for a Blog is the possibility for the Reader wo write back.
    Winhost is not able to give instructions how.
    This Workaround with Full Trust is not neccesary for other Hosters.
    For Example the Firm Gentec in Switzerland.

    In my Opinion: i have 2 Possibilitys:
    Invest more Time and install my own IIS or i find a ASP.NET Hoster they unterstand how ist works and i habe a simple instructions to do.

    I lost many time for my Wish to blog with These nice BlogEngine. I Looks like that i has to go with Wordpress like all the others on this world.

    Greetings
    Peter
     
    Last edited by a moderator: Oct 14, 2015
  14. Hi
    Problem is solved

    Reason:
    Web.Config has only a Line with "Trust" about "Custom Error".
    I has to write a new Line in the Section "System":

    <system.web>
    <trust level="Full" />
    <webServices>

    You was a big help and thank you for you kind Patience.
    Your Step by Step Guide was absolut clear.

    But...
    Winhost is proude to be big and cheap.
    I like to spend Little bit more Money for a quicker and better Knowledge with BE.
    That means simple and clear instruction, how can use the Feature with BE.
    I accept, that Wishes like to use with a E-Mail adress with a other Firm like Microsoft can be tricky.
    Then i have to choose what i wand: take and Forget OR try and learn.
    But you can offer a simple instructions to do elementary things.
    I'm frustrated...

    In the last 12 Month i spend so many time for trivial Things like this.
    It is nice to learn and to have a better knowledge about BE, but i have no time.

    Today i have time to think, how i like to blog for the next 12 Month.

    Greetings
    Peter
     
    Last edited by a moderator: Oct 14, 2015
  15. Hi GygerPeter. It's difficult for us to offer expertise in every third party application that people like to use. For some things that are more popular, and that more of us here at Winhost use, we can offer more specific advice. But I'm afraid that we just don't have that kind of expertise with BlogEngine.NET.

    Having said that, the forums here are helpful, in that if you can work out the issue you're having, we can direct people to your solution in the future. So don't give up yet!
     
    Last edited: Oct 14, 2015

Share This Page