![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | app.config file problem Trying to play with labs of WCF. Here is the second time I have problem with app.config. Here it is: ---------------------------- ?xml version="1.0" encoding="utf-8" ?> <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <system.serviceModel> <services> <service type="Fabrikam.TradingSystem,TradingService"> <endpoint address="http://localhost:8000/TradingService" binding="wsHttpBinding" contract="Fabrikam.ITradingService,TradingService"/> </service> </services> </system.serviceModel> </configuration> ---------------------------- When start instance, it always get following error: ---------------------------- Unrecognized attribute 'type'. Note that attribute names are case-sensitive ---------------------------- I follow the exact steps and put down exact code from instruction. Any help is appreciated! George |
My System Specs![]() |
| | #2 (permalink) |
| | Re: app.config file problem Hello, gzou.com@gmail.com! I think the problem is that service element doesn't contain 'type' attribute. Now it is called 'name' :8-). ( http://windowssdk.msdn.microsoft.com.../ms731303.aspx ) gc> Trying to play with labs of WCF. Here is the second time I have gc> problem gc> with app.config. gc> Here it is: gc> ---------------------------- gc> ?xml version="1.0" encoding="utf-8" ?> gc> <configuration gc> xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> gc> <system.serviceModel> gc> <services> gc> <service type="Fabrikam.TradingSystem,TradingService"> gc> <endpoint gc> address="http://localhost:8000/TradingService" gc> binding="wsHttpBinding" gc> contract="Fabrikam.ITradingService,TradingService"/> gc> </service> gc> </services> gc> </system.serviceModel> gc> </configuration> gc> ---------------------------- gc> When start instance, it always get following error: gc> ---------------------------- gc> Unrecognized attribute 'type'. Note that attribute names are gc> case-sensitive gc> ---------------------------- gc> I follow the exact steps and put down exact code from instruction. gc> Any help is appreciated! gc> George -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com |
My System Specs![]() |
| | #3 (permalink) |
| | Re: app.config file problem That's why we always need to check what CTP example written for , up torelease Arkady "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message news:exXSfiF6GHA.1736@TK2MSFTNGP04.phx.gbl... > Hello, gzou.com@gmail.com! > > I think the problem is that service element doesn't contain 'type' > attribute. > Now it is called 'name' :8-). > ( http://windowssdk.msdn.microsoft.com.../ms731303.aspx ) > > gc> Trying to play with labs of WCF. Here is the second time I have > gc> problem > gc> with app.config. > gc> Here it is: > gc> ---------------------------- > gc> ?xml version="1.0" encoding="utf-8" ?> > gc> <configuration > gc> xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> > gc> <system.serviceModel> > gc> <services> > gc> <service type="Fabrikam.TradingSystem,TradingService"> > gc> <endpoint > gc> address="http://localhost:8000/TradingService" > gc> binding="wsHttpBinding" > gc> contract="Fabrikam.ITradingService,TradingService"/> > gc> </service> > gc> </services> > gc> </system.serviceModel> > gc> </configuration> > gc> ---------------------------- > gc> When start instance, it always get following error: > gc> ---------------------------- > gc> Unrecognized attribute 'type'. Note that attribute names are > gc> case-sensitive > gc> ---------------------------- > > gc> I follow the exact steps and put down exact code from instruction. > > gc> Any help is appreciated! > > gc> George > > > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot.com |
My System Specs![]() |
| | #4 (permalink) |
| | Re: app.config file problem Thanks Vadym, hope microsoft can do a better job. G. Vadym Stetsyak wrote: > Hello, gzou.com@gmail.com! > > I think the problem is that service element doesn't contain 'type' attribute. > Now it is called 'name' :8-). > ( http://windowssdk.msdn.microsoft.com.../ms731303.aspx ) > > gc> Trying to play with labs of WCF. Here is the second time I have > gc> problem > gc> with app.config. > gc> Here it is: > gc> ---------------------------- > gc> ?xml version="1.0" encoding="utf-8" ?> > gc> <configuration > gc> xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> > gc> <system.serviceModel> > gc> <services> > gc> <service type="Fabrikam.TradingSystem,TradingService"> > gc> <endpoint > gc> address="http://localhost:8000/TradingService" > gc> binding="wsHttpBinding" > gc> contract="Fabrikam.ITradingService,TradingService"/> > gc> </service> > gc> </services> > gc> </system.serviceModel> > gc> </configuration> > gc> ---------------------------- > gc> When start instance, it always get following error: > gc> ---------------------------- > gc> Unrecognized attribute 'type'. Note that attribute names are > gc> case-sensitive > gc> ---------------------------- > > gc> I follow the exact steps and put down exact code from instruction. > > gc> Any help is appreciated! > > gc> George > > > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot.com |
My System Specs![]() |
| | #5 (permalink) |
| | Re: app.config file problem Simply change type by name... Steve <gzou.com@gmail.com> a écrit dans le message de news: 1159994278.855985.277690@m7g2000cwm.googlegroups.com... > Trying to play with labs of WCF. Here is the second time I have problem > with app.config. > Here it is: > ---------------------------- > ?xml version="1.0" encoding="utf-8" ?> > <configuration > xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> > <system.serviceModel> > <services> > <service type="Fabrikam.TradingSystem,TradingService"> > <endpoint > address="http://localhost:8000/TradingService" > binding="wsHttpBinding" > contract="Fabrikam.ITradingService,TradingService"/> > </service> > </services> > </system.serviceModel> > </configuration> > ---------------------------- > When start instance, it always get following error: > ---------------------------- > Unrecognized attribute 'type'. Note that attribute names are > case-sensitive > ---------------------------- > > I follow the exact steps and put down exact code from instruction. > > Any help is appreciated! > > George > |
My System Specs![]() |
| | #6 (permalink) |
| | Re: app.config file problem Sorry about the inconvenience. Have you tried using SvcConfigEditor.exe for your app.config editing?http://msdn2.microsoft.com/en-us/library/ms732009.aspx That should help to avoid similar issues in the future, and make the authoring experiences easier and better. Thanks, Sara "gzou.com@gmail.com" wrote: > Thanks Vadym, hope microsoft can do a better job. > G. > > > Vadym Stetsyak wrote: > > Hello, gzou.com@gmail.com! > > > > I think the problem is that service element doesn't contain 'type' attribute. > > Now it is called 'name' :8-). > > ( http://windowssdk.msdn.microsoft.com.../ms731303.aspx ) > > > > gc> Trying to play with labs of WCF. Here is the second time I have > > gc> problem > > gc> with app.config. > > gc> Here it is: > > gc> ---------------------------- > > gc> ?xml version="1.0" encoding="utf-8" ?> > > gc> <configuration > > gc> xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> > > gc> <system.serviceModel> > > gc> <services> > > gc> <service type="Fabrikam.TradingSystem,TradingService"> > > gc> <endpoint > > gc> address="http://localhost:8000/TradingService" > > gc> binding="wsHttpBinding" > > gc> contract="Fabrikam.ITradingService,TradingService"/> > > gc> </service> > > gc> </services> > > gc> </system.serviceModel> > > gc> </configuration> > > gc> ---------------------------- > > gc> When start instance, it always get following error: > > gc> ---------------------------- > > gc> Unrecognized attribute 'type'. Note that attribute names are > > gc> case-sensitive > > gc> ---------------------------- > > > > gc> I follow the exact steps and put down exact code from instruction. > > > > gc> Any help is appreciated! > > > > gc> George > > > > > > -- > > Regards, Vadym Stetsyak > > www: http://vadmyst.blogspot.com > > |
My System Specs![]() |
| | #7 (permalink) |
| | Re: app.config file problem Good to know, thanks Sara. Sara Wong - MSFT wrote: > Sorry about the inconvenience. Have you tried using SvcConfigEditor.exe for > your app.config > editing?http://msdn2.microsoft.com/en-us/library/ms732009.aspx > > That should help to avoid similar issues in the future, and make the > authoring experiences easier and better. > > Thanks, > Sara > > > "gzou.com@gmail.com" wrote: > > > Thanks Vadym, hope microsoft can do a better job. > > G. > > > > > > Vadym Stetsyak wrote: > > > Hello, gzou.com@gmail.com! > > > > > > I think the problem is that service element doesn't contain 'type' attribute. > > > Now it is called 'name' :8-). > > > ( http://windowssdk.msdn.microsoft.com.../ms731303.aspx ) > > > > > > gc> Trying to play with labs of WCF. Here is the second time I have > > > gc> problem > > > gc> with app.config. > > > gc> Here it is: > > > gc> ---------------------------- > > > gc> ?xml version="1.0" encoding="utf-8" ?> > > > gc> <configuration > > > gc> xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> > > > gc> <system.serviceModel> > > > gc> <services> > > > gc> <service type="Fabrikam.TradingSystem,TradingService"> > > > gc> <endpoint > > > gc> address="http://localhost:8000/TradingService" > > > gc> binding="wsHttpBinding" > > > gc> contract="Fabrikam.ITradingService,TradingService"/> > > > gc> </service> > > > gc> </services> > > > gc> </system.serviceModel> > > > gc> </configuration> > > > gc> ---------------------------- > > > gc> When start instance, it always get following error: > > > gc> ---------------------------- > > > gc> Unrecognized attribute 'type'. Note that attribute names are > > > gc> case-sensitive > > > gc> ---------------------------- > > > > > > gc> I follow the exact steps and put down exact code from instruction. > > > > > > gc> Any help is appreciated! > > > > > > gc> George > > > > > > > > > -- > > > Regards, Vadym Stetsyak > > > www: http://vadmyst.blogspot.com > > > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| config file problems | PowerShell | |||
| Read config file | PowerShell | |||
| what is the web.config file? | Vista General | |||