Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - app.config file problem

 
 
Old 10-04-2006   #1 (permalink)
gzou.com@gmail.com


 
 

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 SpecsSystem Spec
Old 10-05-2006   #2 (permalink)
Vadym Stetsyak


 
 

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 SpecsSystem Spec
Old 10-05-2006   #3 (permalink)
Arkady Frenkel


 
 

Re: app.config file problem

That's why we always need to check what CTP example written for , up to
release
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 SpecsSystem Spec
Old 10-05-2006   #4 (permalink)
gzou.com@gmail.com


 
 

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 SpecsSystem Spec
Old 10-20-2006   #5 (permalink)
Steve B.


 
 

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 SpecsSystem Spec
Old 12-12-2006   #6 (permalink)
Sara Wong - MSFT


 
 

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 SpecsSystem Spec
Old 01-04-2007   #7 (permalink)
gzou.com@gmail.com


 
 

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 SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
config file problems PowerShell
Read config file PowerShell
what is the web.config file? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46