HighTechTalks DotNet Forums  

WCF: Unrecognized attribute 'ServiceHosting'

Dotnet Framework (Webservices) microsoft.public.dotnet.framework.webservices


Discuss WCF: Unrecognized attribute 'ServiceHosting' in the Dotnet Framework (Webservices) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
HMMyhre
 
Posts: n/a

Default WCF: Unrecognized attribute 'ServiceHosting' - 12-11-2007 , 05:59 AM






ERROR:
ServiceHosting is not a valid attribute of element 'ServiceHost' AND
Parser Error Message: The unrecognized attribute 'ServiceHosting' is
specified.

CODE:
<%@ ServiceHost Language="C#"
Service="System.Web.ApplicationServices.Authentica tionService"
ServiceHosting="System.Web.ApplicationServices.App licationServicesHostFactory" %>

MSDN-PAGE:
http://msdn2.microsoft.com/en-us/lib...90(VS.90).aspx

SOLUTION?

Reply With Quote
  #2  
Old   
Tiago Halm
 
Posts: n/a

Default Re: Unrecognized attribute 'ServiceHosting' - 12-11-2007 , 06:57 PM






I would expect "ServiceHosting" to be named "Factory". Try it, maybe MSDN
documentation is wrong.

Tiago Halm

"HMMyhre" <HMMyhre (AT) discussions (DOT) microsoft.com> wrote

Quote:
ERROR:
ServiceHosting is not a valid attribute of element 'ServiceHost' AND
Parser Error Message: The unrecognized attribute 'ServiceHosting' is
specified.

CODE:
%@ ServiceHost Language="C#"
Service="System.Web.ApplicationServices.Authentica tionService"
ServiceHosting="System.Web.ApplicationServices.App licationServicesHostFactory"
%

MSDN-PAGE:
http://msdn2.microsoft.com/en-us/lib...90(VS.90).aspx

SOLUTION?



Reply With Quote
  #3  
Old   
HMMyhre
 
Posts: n/a

Default Re: Unrecognized attribute 'ServiceHosting' - 12-12-2007 , 06:38 AM



It works! Neither shows in the intellisense, but Factory works!

Thank you!

BR HMMyhre

"Tiago Halm" wrote:

Quote:
I would expect "ServiceHosting" to be named "Factory". Try it, maybe MSDN
documentation is wrong.

Tiago Halm

"HMMyhre" <HMMyhre (AT) discussions (DOT) microsoft.com> wrote in message
news:EAEAE922-1D11-4681-9D80-494FDAD09378 (AT) microsoft (DOT) com...
ERROR:
ServiceHosting is not a valid attribute of element 'ServiceHost' AND
Parser Error Message: The unrecognized attribute 'ServiceHosting' is
specified.

CODE:
%@ ServiceHost Language="C#"
Service="System.Web.ApplicationServices.Authentica tionService"
ServiceHosting="System.Web.ApplicationServices.App licationServicesHostFactory"
%

MSDN-PAGE:
http://msdn2.microsoft.com/en-us/lib...90(VS.90).aspx

SOLUTION?




Reply With Quote
  #4  
Old   
tiago.halm@gmail.com
 
Posts: n/a

Default Re: Unrecognized attribute 'ServiceHosting' - 12-12-2007 , 07:09 AM



If you want intellisense in configuration files for WCF
(system.serviceModel) in VS 2005, follow this link:
http://blogs.msdn.com/govindr/archiv...ion-files.aspx

Tiago Halm

Reply With Quote
  #5  
Old   
tiago.halm@gmail.com
 
Posts: n/a

Default Re: Unrecognized attribute 'ServiceHosting' - 12-12-2007 , 07:11 AM



Do remember that .svc files are not affected by intellisense. (at
least I could not make it so)

Tiago Halm

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.