Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • glukos 1 post 71 karma points
    Sep 15, 2016 @ 22:23
    glukos
    0

    Could not connect to database umbraco customize install

    hi guys i'm newbie in umbraco and at the beginning i have an issue. I try to set my ms sql server databae in custom configure during installation, but after fill every text box and click continue only get message: "Could not connect to database".

    I was created my database in my umbraco project in folder App_Data. I was also add to the DB credential with this querry:

        CREATE CREDENTIAL AlterEgo WITH IDENTITY = 'myUserName',   
        SECRET = '<MyPassword>';  
        GO 
    

    To find my server name i use querry:

    SELECT @@SERVERNAME
    

    and as a database name i wrote mydatabaseFileName.mdf.

    Could you help me to solve this issue ?

  • Michaël Vanbrabandt 863 posts 3348 karma points c-trib
    Sep 16, 2016 @ 06:42
    Michaël Vanbrabandt
    0

    Hi glukos,

    If I understand it you manually created a mdf file? You do not have to do this. If you select SQL CE during installation in the customize step then Umbraco will automatically create a mdf file for you.

    If you select Microsoft SQL Server during install; then you can use SQL Management Server to create a new database and then you need to fill in the required fields to connect to your database like server, database, credentails.

    Hope this helps!

    /Michaël

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies