Solved

how to interpret the server name switch

Posted on 2013-11-07
3
216 Views
Last Modified: 2013-11-17
The WCF service that I created works fine when tested locally but does only randomly when deployed on the company's test server.

I have some questions on what I see.

Given the deployment location of the application, I am able to browse to the svc file as below.

http://srvdev/BU/Appname/Appname.svc

But the page (the default page for svc) shows a slightly different address, something like this.

http://abcdef802w.domain.root.org/BU/Appname/Appname.svc?singleWsdl

Meaning the server name that I used to deploy is replaced with a new server name. Sometimes it is abcdef801w.domain.root.org. What are those names? the actual servers that balance load for "srvdev"?

Until sometime when I click on the link http://abcdef802w.domain.root.org/BU/Appname/Appname.svc?singleWsdl
it was not working but now it seems to work and my test client also works. Does it take a little while for a WCF service to actually "start"?

Now when I add a service reference should I use the http://abcdef802w.domain.root.org/BU/Appname/Appname.svc or the actual server name on which I deployed as http://srvdev/BU/Appname/Appname.svc?

How do I interpret the server name switch here? I don't know much about IIS configuration and this switching of server names seems to be an effect of how IIS is configured for load balancing, perhaps?
0
Comment
Question by:olmuser
  • 2
3 Comments
 
LVL 42

Expert Comment

by:Rob Jurd, EE MVE
ID: 39634631
Sounds like a DNS issue. SRVDEV it's an internal name while the other names are the FQDN of the server you are working with.
0
 
LVL 1

Author Comment

by:olmuser
ID: 39653292
Thanks for the reply @tagit. If its a DNS issue, then I would have trouble using the server, accessing it right? I don't have any issues that way. So it sounds legit. But some technology behind it that I don't understand.
0
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 39655098
Not exactly... what I meant was it sounds like is the SRVDEV is being resolved to its FQDN name and by the look of it there is more than one entry for it.  As you said, could be the load balancing but hard to know.  Worth asking your network admins why it is resolving like this.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now