The WCF service runs in my IDE but does not run on my webserver after publishing

I wrote a Little test program. A Website with a button.
The button calls a method of my wcf Service. This Returns a string.
The string is displayed in a TextBox.

Everything is fine when i press F5 to start debugging in the IDE of Visual Studio 2013.

Now i publish my application, call the Website. The button is Display but when I click on it...nothing happens.
 On the Webserver I have IIS 7 and Windows Server 2008 DataCenter

Is there any component missing on my webserver...How can I detect whats missing. Do I have to Register the wcf Service in IIS ?

Thanx for your help
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kaufmed 👽Commented:
Are you catching exceptions in your code? If so, are there any exceptions?
sb67proAuthor Commented:
its only a little testpgm
At the Moment I do not catch any exception

Should I do this ?
kaufmed 👽Commented:
If your WCF is throwing any exceptions, then how would you know if you don't catch them? There could be an exception that is being generated, causing your code not to function as expected.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sb67proAuthor Commented:
Hi kaufmed,

now I have more detailled information about myproblem...
The event is fired when click in my button. The control gets back

        public void svc_GetDataCompletedWelcome(object sender, ServiceReference1.GetWelcomeCompletedEventArgs e)
            string mytext;

                MessageBox.Show("Welcome is back 1....");
                textbox1.Text = "Testtext";
                MessageBox.Show("Welcome is back 2....");
                mytext = e.Result;       /// Here I get the exception
                MessageBox.Show("Welcome is back 3....");
                textbox1.Text = mytext;
                MessageBox.Show("Welcome is back 4....");
                MessageBox.Show("Welcome aborted.");
            MessageBox.Show("Welcome successfull.");

The Exception is thrown when in the line mytext = e.Result
why this ?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.