Re: WCF type init DiagnosticUtility failed

Re: WCF type init DiagnosticUtility failed

am 31.03.2008 19:36:59 von unknown

"herbert" wrote in message
news:5640FE9C-A94D-4260-9B37-7F86379FD1F9@microsoft.com...
> What is the reason for the WCF error message
> "Der Typeninitialisierer für System.ServiceModel.DiagnosticUtility hat
> eine
> Ausnahme verursacht."
> (WCF type init DiagnosticUtility failed) ?
>
> created by the line
> myServiceHost = New ServiceHost(GetType(CalculatorService))

You will have to post the remainder of the exception. Please, always post
the complete exception, including any InnerException.

Please also include English translations, as ich spreche kein Deutsch. ;-)
--
------------------------------------------------------------ --------------------
John Saunders | MVP – Windows Server System – Connected System Developer

Re: WCF type init DiagnosticUtility failed

am 01.04.2008 01:43:51 von herbert

I wrote instead of which caused
the Type init error message. The service type is OK.

Is there a wizard to create the WCF host-side app.config by reflecting
through contracts and services of a solution?

Thank you very much, Herbert

Re: WCF type init DiagnosticUtility failed

am 01.04.2008 22:05:02 von MR. Arnold

"herbert" wrote in message
news:AC308311-945B-468A-B354-1ED0FCAA07F0@microsoft.com...
>I wrote instead of which caused
> the Type init error message. The service type is OK.
>
> Is there a wizard to create the WCF host-side app.config by reflecting
> through contracts and services of a solution?
>
> Thank you very much, Herbert
>

When you write it, you should publish it. I am working on a logical N-tier
desktop solution that is using WCF, which I just encountered about two weeks
ago as a consultant. This thing is unbelievable. Maybe, because 17
consultants developed this application, that this thing is the most
a$$tacular and $hittacular thing I have ever seen as a developer, and I have
been a professional software developer since 1980 and started working MS
solutions in 1996. They are still trying to get the thing implemented at
this company, after a year of development.

I mean WCF doesn't look that complicated based on the book I am reading, I
see the concepts that they were trying to implement in the project, but it
is obvious that they missed the concepts of using WCF to some extent.

Re: WCF type init DiagnosticUtility failed

am 02.04.2008 11:18:01 von herbert

Dear Mr. Arnold,

I am programming network stuff for 35 years now, and WCF is clearly the best
thing that happened to me. It simply allows all kind of comm patterns with a
single metaphor.

First, I recommend to everybody to read two books:
Michelle L. Bustamente (contains both C# and VB.NET !)
J. Löwy (at a higher level, C# only, plenty of useful
tools)

For German speaking readers, access the blog of Mr. Christian Weyer (of
Thinktecture).

Yes, there are some unfinished surfaces: most WCF tools float around not
integrated in VS.2008, and there is no guidance/wizard about which
combination of parameters create a working/nonworking configuration.

The only thing I really miss is a configurable authentication/authorization
security subsystem (role providers) that allows speedy rollout of intranet
apps.

And yes, you need a clear design upfront, as WCF leads to multithreading the
host.
I redesiged my server apps in favor of WCF.

Memory transactions are high on my wishlist for VS.next

I hope Microsoft can improve this with a VS.2008 service pack.

best regards, herbert