473,322 Members | 1,719 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,322 software developers and data experts.

WCF sample works in C# but not VB

I'm able to walkthrough a C# sample for Windows Communication Foundation and
all works fine.

But when I do it in VB.NET exactly the same way (but with different syntax,
of course), I get the following when I try to go to the IIS service:

The type 'FRC.COW.Feedyard.Service.Calculator', provided as the Service
attribute value in the ServiceHost directive could not be found.

Any thoughts?

Thanks,
Ron
Mar 17 '07 #1
6 4955

"Ronald S. Cook" <rc***@westinis.comwrote in message
news:ef*************@TK2MSFTNGP06.phx.gbl...
I'm able to walkthrough a C# sample for Windows Communication Foundation
and all works fine.

But when I do it in VB.NET exactly the same way (but with different
syntax, of course), I get the following when I try to go to the IIS
service:

The type 'FRC.COW.Feedyard.Service.Calculator', provided as the Service
attribute value in the ServiceHost directive could not be found.

Any thoughts?

Thanks,
Ron

You might want to post that to the MSDN forum for WCF. Since WCF is in CTP,
they will probably appreciate anything like this that you report, and
somebody else might have already found it and figured out a workaround.

http://forums.microsoft.com/MSDN/Sho...D=118&SiteID=1

I found a problem assigning a RoutedEventHandler to a UIElement in WPF --
it works in C#, but you have to do a workaround to get it to work in VB --
turned out it's a bug. I reported it through Connections after talking to
someone on the WPF team.

https://connect.microsoft.com/availableconnections.aspx

Robin S.
Mar 17 '07 #2
WCF is in CTP? No way.. its part of .NET Framework 3.0 and is fully
released, right?
"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:To******************************@comcast.com. ..
>
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:ef*************@TK2MSFTNGP06.phx.gbl...
>I'm able to walkthrough a C# sample for Windows Communication Foundation
and all works fine.

But when I do it in VB.NET exactly the same way (but with different
syntax, of course), I get the following when I try to go to the IIS
service:

The type 'FRC.COW.Feedyard.Service.Calculator', provided as the Service
attribute value in the ServiceHost directive could not be found.

Any thoughts?

Thanks,
Ron


You might want to post that to the MSDN forum for WCF. Since WCF is in
CTP, they will probably appreciate anything like this that you report, and
somebody else might have already found it and figured out a workaround.

http://forums.microsoft.com/MSDN/Sho...D=118&SiteID=1

I found a problem assigning a RoutedEventHandler to a UIElement in WPF --
it works in C#, but you have to do a workaround to get it to work in VB --
turned out it's a bug. I reported it through Connections after talking to
someone on the WPF team.

https://connect.microsoft.com/availableconnections.aspx

Robin S.

Mar 19 '07 #3
On Mar 19, 7:12 am, "Ronald S. Cook" <r...@westinis.comwrote:
WCF is in CTP? No way.. its part of .NET Framework 3.0 and is fully
released, right?
That was my understanding as well. Is this not so?

Chris

Mar 19 '07 #4
Well, it *says* CTP on the website where you download the WCF and WPF
extensions. Maybe it's just the Visual Studio parts that are CTP?

http://www.microsoft.com/downloads/d...displaylang=en

Here's the .Net 3.0 framework, and it doesn't say CTP. Of course, you can't
develop anything in it without the VS Extensions.

http://www.microsoft.com/downloads/d...displaylang=en

So I guess it's all in how you interpret it. To me, if the compiler is CTP
....

Robin S.
------------------------------------

"Ronald S. Cook" <rc***@westinis.comwrote in message
news:ej**************@TK2MSFTNGP02.phx.gbl...
WCF is in CTP? No way.. its part of .NET Framework 3.0 and is fully
released, right?
"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:To******************************@comcast.com. ..
>>
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:ef*************@TK2MSFTNGP06.phx.gbl...
>>I'm able to walkthrough a C# sample for Windows Communication
Foundation and all works fine.

But when I do it in VB.NET exactly the same way (but with different
syntax, of course), I get the following when I try to go to the IIS
service:

The type 'FRC.COW.Feedyard.Service.Calculator', provided as the Service
attribute value in the ServiceHost directive could not be found.

Any thoughts?

Thanks,
Ron


You might want to post that to the MSDN forum for WCF. Since WCF is in
CTP, they will probably appreciate anything like this that you report,
and somebody else might have already found it and figured out a
workaround.

http://forums.microsoft.com/MSDN/Sho...D=118&SiteID=1

I found a problem assigning a RoutedEventHandler to a UIElement in
WPF -- it works in C#, but you have to do a workaround to get it to
work in VB -- turned out it's a bug. I reported it through Connections
after talking to someone on the WPF team.

https://connect.microsoft.com/availableconnections.aspx

Robin S.


Mar 19 '07 #5
On Mar 19, 10:24 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
Well, it *says* CTP on the website where you download the WCF and WPF
extensions. Maybe it's just the Visual Studio parts that are CTP?

http://www.microsoft.com/downloads/d...d=F54F5537-CC8...

Here's the .Net 3.0 framework, and it doesn't say CTP. Of course, you can't
develop anything in it without the VS Extensions.
Sure you can! (If you like .Xaml) :)
Mar 19 '07 #6

"Chris Dunaway" <du******@gmail.comwrote in message
news:11*********************@e1g2000hsg.googlegrou ps.com...
On Mar 19, 10:24 am, "RobinS" <Rob...@NoSpam.yah.nonewrote:
>Well, it *says* CTP on the website where you download the WCF and WPF
extensions. Maybe it's just the Visual Studio parts that are CTP?

http://www.microsoft.com/downloads/d...d=F54F5537-CC8...

Here's the .Net 3.0 framework, and it doesn't say CTP. Of course, you
can't
develop anything in it without the VS Extensions.

Sure you can! (If you like .Xaml) :)

Good point. I recently learned that XAML isn't just a WPF thing; it's also
used for Windows WorkFlow (WF). Interesting.

Robin S.
Mar 20 '07 #7

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

Similar topics

0
by: zbcong | last post by:
hello i use vs.net2003 generate the install files,it works well. but in order to integrate the dotnet installing and my app installing,i download bootstrapper sample executable from microsoft...
0
by: Adar Wesley | last post by:
Hi all. I am looking into the MultiCast capabilities in DotNet. VS.Net 7.1 Framework 1.1 I found the class System.Net.Sockets.MulticastOption. The documentation of the class contains...
5
by: Ale | last post by:
Ciao a tutti. Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore: nella finestra con scritto SQL1005N c'è...
0
by: Megan | last post by:
Data Comparison: Sample Versus Rest of Population. I have a population of data, and I want to take a sample of that population and compare it against the entire population. I have a database...
6
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something...
4
by: Joey | last post by:
Does anyone know how to center this sample webpage in Firefox? If so, will you provide the example as it applies to this sample webpage? I have read numerous posts and articles on how to center...
3
by: ErwinMars | last post by:
I've used DB2 LUW V7 a long time ago. Now i'm back and installed DB2 V8.2.2 PE and CONNPE. The DB2 stuff like CC works fine. I can access the sample db and also select records. Than i've defined...
5
by: =?Utf-8?B?anVsaW8=?= | last post by:
Hi, I write a program to unzip a Tar file generated on a Unix environment file using SharpZipLib, but returns a error "Header checksum is invalid" when execute the program. This error appears...
6
by: WT | last post by:
Hello, Using url rewritting and ajax.net, I tried to circumvent some potential problems with postback url using a code from a sample given by Scott. The idea is to use a control Adapter on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.