473,396 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

PLS HELP: Trying to run WCF examples - getting errors.

Hi,

I'm trying to run Windows Communication Foundation examples included
with .NET 3 SDK and I'm getting error:

The requested service,
"http://localhost/servicemodelsamples/service.svc" couldn't be activated.

I did try almost every example and get this error - i haven't succeded
in running any WCF service so far. I suspect i'm missing something?

Any help woul dbe highly appreciated!

Thank you,
Andrey
Nov 16 '06 #1
3 2004
Hello MuZzy,

As for the WCF sample issue, based on the error message and the activation
url, it is likely specific to http binding service that hosted in IIS. You
can try some custom hosted sample to see whether it works. Fro example ,
the following self host sample use console application for service host:

Under the following path:

C:\Program Files\Microsoft
SDKs\Windows\v6.0\Samples\WCFSamples\TechnologySam ples\Basic\Service\Hosting
\SelfHost\CS

You can try it to see whether it works. If works, the problem should be
related to the IIS hosted service's setup.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 17 '06 #2
Steven Cheng[MSFT] wrote:
Hello MuZzy,

As for the WCF sample issue, based on the error message and the activation
url, it is likely specific to http binding service that hosted in IIS. You
can try some custom hosted sample to see whether it works. Fro example ,
the following self host sample use console application for service host:

Under the following path:

C:\Program Files\Microsoft
SDKs\Windows\v6.0\Samples\WCFSamples\TechnologySam ples\Basic\Service\Hosting
\SelfHost\CS

You can try it to see whether it works. If works, the problem should be
related to the IIS hosted service's setup.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks Steven,

Actually the problem was that i didn't make that IIS virtual folder an
application. Once i made it an app, it all worked.
Nov 18 '06 #3
Thanks for your reply,

Glad that you've made it working.

Have a nice day!

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Nov 20 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jason | last post by:
hello, i am new to PHP, so go easy. I am using the examples in the book: PHP: Your Visual Blueprint For Creating Open Source, Server Side Content In the section where they talk about...
7
by: dam_fool_2003 | last post by:
friends, I wanted to learn the various ways of inserting a single list. so: Method 1: #include<stdlib.h> #include<stdio.h> struct node { unsigned int data; struct node *next;
7
by: Advocated | last post by:
Hey all, thanks for taking the time to read this in the first place. Anyway, ill try and keep it simple. In my program, if i type $ man something it should read in the 2 words, man and something...
4
by: Scott at Cedar Creek | last post by:
I've got a situation where I have live data coming in from multiple sources. I'm able to get it into two tables in RAM. I have one table called "Providers" and it has a ProviderID and some other...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
47
by: Jo | last post by:
Hi there, I'm Jo and it's the first time I've posted here. I'm in process of creating a database at work and have come a little unstuck.....I'm a bit of a novice and wondered if anyone could...
7
by: Protected | last post by:
Hello. I'm a complete newbie trying to learn Python. I decided to try some Tkinter examples, including the one from the library reference, but they don't seem to do anything! Shouldn't there be,...
4
by: Jonathan Wood | last post by:
Greetings, I have a GridView control. For a couple of reasons, I ended up with a TemplateField to contain my Edit and Delete links, something like this: <asp:TemplateField ShowHeader="False">...
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.