开发者

SSAS 2008 R2 - Datasource with an DNS Alias not working

开发者 https://www.devze.com 2023-04-12 14:20 出处:网络
I have an SQL Server with SQL Server Engine and SQL Server Analysis Services (2008 R2). The physical name of the server is SQ21. For beeing flexible we created a dns alias (Host A) which points to thi

I have an SQL Server with SQL Server Engine and SQL Server Analysis Services (2008 R2). The physical name of the server is SQ21. For beeing flexible we created a dns alias (Host A) which points to this server (respectively the IP Adress of the Server). This works fine in nearly all scenarios

  • Sql server management studio
  • Deplyoing of SAAs Projects (Deployment Server)

We have one problem. If we want process the saas database i get an error: "Error in relational Module. With the Datasource with ID could not be established a connecton"(attention, this is a tranlsation made by me from german, so the exact term could be slightly different)

As soon as I change the Datasource-开发者_JAVA技巧Server Property back to the physical server it works.

What could be the problem? Kerberos? Or could it be that the both servers (sql server engine and saas) are on the same server?


I had this same issue and was able to find a fix. You have to disable strict name checking on the server and add an entry to the BackConnectionHostNames list in the registry that matches the alias you want to use. See workaround method #1 of this article for details on doing both (don't worry that the article is for SharePoint; the procedure applies to any app that uses loopback checking for authentication, which includes SSAS 2005/2008). You may also need an SPN that matches your alias, so if it doesn't work after making the registry changes (and rebooting), try adding the SPN also.


Does the machine have more than one IP address? If so, it could be that MSSQL is not listening on the address to which the DNS host name resolves.

It could also be that the DNS entry has not propagated yet, or for some other reason your server is not resolving the host name to the correct IP address. From a command prompt on the SQL Server machine, type

nslookup host.domain.com.

(use the DNS host name in place of host.domain.com, of course, and the "." at the end is important). You should get something like this:

Server:  resolver.for.yourserver.com
Address:  12.34.56.78

Non-authoritative answer:
Name:    host.domain.com
Address:  98.76.54.32

If that last address is not bound to the SQL Server or you don't get an answer, that's the issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号