Solved

how to interpret the server name switch

Posted on 2013-11-07
3
219 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get Client IP on RDS - VB.NET 15 45
RLDC Reporting in Visual studio 11 15
Call Controller Action Method from ASPX 2 14
Convert datetime to time string 10 21
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

770 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