![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| 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 |
| | #2 (permalink) |
| Guest
Posts: n/a
| 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 |
| | #3 (permalink) |
| Guest
Posts: n/a
| 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 |
| | #4 (permalink) |
| Guest
Posts: n/a
| 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 |
| | #5 (permalink) |
| Guest
Posts: n/a
| 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 > |
| | #6 (permalink) |
| Guest
Posts: n/a
| 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 > > |
| | #7 (permalink) |
| Guest
Posts: n/a
| 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 > > > > |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| config file problems | Neil Chambers | PowerShell | 6 | 2 Weeks Ago 04:37 PM |
| Read config file | sylan | PowerShell | 3 | 07-10-2008 07:09 AM |
| what is the web.config file? | geotso | Vista General | 6 | 11-04-2006 04:42 AM |