Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

app.config file problem

 
 
Thread Tools Display Modes
Old 10-04-2006   #1 (permalink)
gzou.com@gmail.com
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

 
Old 10-05-2006   #2 (permalink)
Vadym Stetsyak
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
 
Old 10-05-2006   #3 (permalink)
Arkady Frenkel
Guest
 
Posts: n/a

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



 
Old 10-05-2006   #4 (permalink)
gzou.com@gmail.com
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


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



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

>
>

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








Vistax64.com 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 2005-2008

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 47 48 49