Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2007

Tip: Looking for answers? Try searching our database.

WCF: Unrecognized attribute 'ServiceHosting'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
HMMyhre - 11 Dec 2007 10:59 GMT
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.AuthenticationService"
ServiceHosting="System.Web.ApplicationServices.ApplicationServicesHostFactory" %>

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

SOLUTION?
Tiago Halm - 11 Dec 2007 23:57 GMT
I would expect "ServiceHosting" to be named "Factory". Try it, maybe MSDN
documentation is wrong.

Tiago Halm

> ERROR:
> ServiceHosting is not a valid attribute of element 'ServiceHost' AND
[quoted text clipped - 11 lines]
>
> SOLUTION?
HMMyhre - 12 Dec 2007 11:38 GMT
It works! Neither shows in the intellisense, but Factory works!

Thank you!

BR HMMyhre

> I would expect "ServiceHosting" to be named "Factory". Try it, maybe MSDN
> documentation is wrong.
[quoted text clipped - 16 lines]
> >
> > SOLUTION?
tiago.halm@gmail.com - 12 Dec 2007 12:09 GMT
If you want intellisense in configuration files for WCF
(system.serviceModel) in VS 2005, follow this link:
http://blogs.msdn.com/govindr/archive/2007/03/06/using-visual-studio-intellisens
e-to-edit-wcf-configuration-files.aspx


Tiago Halm
tiago.halm@gmail.com - 12 Dec 2007 12:11 GMT
Do remember that .svc files are not affected by intellisense. (at
least I could not make it so)

Tiago Halm

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.