Share via

couldn't connect with my sql server.

Raghavendra A 6 Reputation points
Nov 27, 2021, 1:57 PM

I created a sql server and DB in AZURE. using ADF LINKED SERVICE while im trying to connect with sql server, i couldn't??153051-screenshot-156.png

Azure SQL Database
{count} votes

4 answers

Sort by: Most helpful
  1. Clint Grove 76 Reputation points Microsoft Employee
    Nov 27, 2021, 2:50 PM

    I'm pretty sure your sql server name is wrong. In most cases your sever on azure would be named dpeastus-sv.database.windows.net . I think your first port of call would be showing us your SQL server overview page so that we can see your server details.

    In all my years I have never seen a SQL server with the domain name of "datafactory.azure.com"

    0 comments No comments

  2. Clint Grove 76 Reputation points Microsoft Employee
    Nov 27, 2021, 5:36 PM

    I can't actually see your screenshots. Usually when creating a linked service you can browse to the sql server using the drop down menu's. It will ask first which Azure subscription the SQL server is in, then it will ask which server you want to connect to. Have you tried that?

    I can see one screenshot in your reply which seems to be a knowledge article with a similar sql server name that you have, but I find it very odd. Rather use the in built navigation that the linked service windows offers to navigate to your sql server


  3. Erland Sommarskog 120.2K Reputation points MVP
    Nov 27, 2021, 5:47 PM

    I see the images in my notification email, but when I try to access them through the browser, I get message 403. I don't know why. May the forum software wants a moderator to review them.

    In any case, the issue does not seem to be with the database name itself.

    In the Troubleshooting guide, it says that if you get 404, the client is usually OK, and the issue is in the ADF service itself, and in that case you should file a support ticket with the activity id. And you do indeed get 404 on that name.

    Possibly you think that is what you have done, but this is not a support forum in that sense. This is peer-to-peer forum for questions and answers to problems. And the answer in this case is that you should file a support ticket.

    Open the taskbar to the left in the Portal, and you find Help and Support at the bottom.


  4. HimanshuSinha-msft 19,476 Reputation points Microsoft Employee
    Dec 3, 2021, 10:51 PM

    Hello @Raghavendra A ,
    As rightly pointed out by others , the server name is not correct .

    From the error message it's clear that your server which you added in linked service is "dpeastus.svc.datafactory.azure.com" , when i went ahead with the intend to create a server with the same/similar name , portal stops me from creating the server with the below message .

    "Your server name can contain only lowercase letters, numbers, and '-', but can't start or end with '-' or have more than 63 characters."

    154885-image.png

    So the server name whcih i provided cannot have the "." in the name .

    if you created a Azure sql server , the name should be some like XXXXX.database.windows.net

    154886-image.png

    Please do let me know how it goes .
    Thanks
    Himanshu

    -------------------------------------------------------------------------------------------------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.