Ask a Question related to ASP.NET Web Services, Design and Development.
-
Josef Wainz #1
dynamic url from a component
i've searched this newsgroup as well as the aspnet newsgroup without
an answer to this question.
i call a web service from a component. i specify dynamic url, but
there isn't an app.config or web.config file for the component. so
there isn't a place for the appsettings entry to be made. is it
possible to use a dynamic url web service from a component. if so,
how?
Josef Wainz Guest
-
dynamic id for component?
I'm using a repeater to create several textInputs on the stage. I'd like to assign each textInput a unique ID but I keep getting an error msg with... -
dynamic component positioning in Panel
Ok, here is the problem description which I have been trying to solve out for couple of weeks. I have a static ViewStack component in Flex... -
Dynamic Component
Hi, I need to instance component (Ex: cpn = new ComponentFromInternet()) and use it, but i don't how can i do this, only but ActionScript, i... -
Dynamic XML Schema and DataSet Component
Hello, I am trying to use a DataSet Component to hold data loaded from a SQL table. The design of my application requires that all components be... -
Dynamic Sound with a Media Component
Hello I'm having a little problem here. I am using Flash MX 2004 - Proffesional. I have a dynamic sound ("GavSound")loading in at the beginning... -
Dino Chiesa [Microsoft] #2
Re: dynamic url from a component
if the component is running within ASP.NET, then it gets its config info
from web.config.
If the component is running in some other container (eg, it is used within a
Winforms EXE), then it gets its config from Exename.exe.config
where exename is replaced by the root name of the exe.
If it is running in COM+, then it gets it from dllhost.exe.config.
etc.
Also see this useful article:
[url]http://staff.develop.com/candera/weblog/stories/2003/02/20/theLastConfigurationSectionHandlerIllEverNeed.html[/url]
This can be useful for both ASP.NET and non-ASP.NET (eg Winforms) apps.
-D
"Josef Wainz" <josef@wainz.net> wrote in message
news:7484d809.0311190633.452737d0@posting.google.c om...> i've searched this newsgroup as well as the aspnet newsgroup without
> an answer to this question.
>
> i call a web service from a component. i specify dynamic url, but
> there isn't an app.config or web.config file for the component. so
> there isn't a place for the appsettings entry to be made. is it
> possible to use a dynamic url web service from a component. if so,
> how?
Dino Chiesa [Microsoft] Guest
-
Josef Wainz #3
Re: dynamic url from a component
thanks dino,
i added <add key="FocusHOPE.MissionStatement.ExcelHelper"
value="http://CAT/ExcelHelper/ExcelHelper.asmx"/> to my web.config
file and it works.
the hard part was getting the right syntax. what i read stated that
changing the URL Behaviour property to Dynamic would automatically
create this entry in the .config file. it didn't because the web
reference was in a component. once you indicated that the component
will get it's config info from it's container, i created a simple
asp.net project, set the web reference, changed the url behaviour to
dynamic, copied it from the web.config file into my real web.config
file.
"Dino Chiesa [Microsoft]" <dinoch@online.microsoft.com> wrote in message news:<evfYxQrrDHA.2304@TK2MSFTNGP12.phx.gbl>...> if the component is running within ASP.NET, then it gets its config info
> from web.config.
>
> If the component is running in some other container (eg, it is used within a
> Winforms EXE), then it gets its config from Exename.exe.config
> where exename is replaced by the root name of the exe.
>
> If it is running in COM+, then it gets it from dllhost.exe.config.
>
> etc.
>
> Also see this useful article:
> [url]http://staff.develop.com/candera/weblog/stories/2003/02/20/theLastConfigurationSectionHandlerIllEverNeed.html[/url]
>
> This can be useful for both ASP.NET and non-ASP.NET (eg Winforms) apps.
>
> -D
>
>
> "Josef Wainz" <josef@wainz.net> wrote in message
> news:7484d809.0311190633.452737d0@posting.google.c om...> > i've searched this newsgroup as well as the aspnet newsgroup without
> > an answer to this question.
> >
> > i call a web service from a component. i specify dynamic url, but
> > there isn't an app.config or web.config file for the component. so
> > there isn't a place for the appsettings entry to be made. is it
> > possible to use a dynamic url web service from a component. if so,
> > how?Josef Wainz Guest



Reply With Quote

