Re: No-Touch Deployment app.config problem
From: John Vottero (John_at_mvpsi.com)
Date: 03/02/04
- Next message: Russell Smallwood: "Need help with custom events.... please help"
- Previous message: Ted Theodoropoulos: "Janus vs Infragistics"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Mar 2004 22:31:59 -0500
"John N" <nickersonj@connellhatch.com> wrote in message
news:ec4715d2.0402261502.6ec79363@posting.google.com...
> I'm having a very frustrating problem with a no-touch-deployed
> application and its app.config file. When it loads from a remote
> server, it cannot get any settings from the app.config file. In trying
> to locate the problem, I have tested the following things:
>
> 1. The application works flawlessly when deployed via XCopy.
> 2. The application works flawlessly when accessed on my own machine
> via http://localhost.
> 3. The app.config file is accessible. I can browse to it manually and
> download it.
> 4. The app.config file is being downloaded by the application and
> stored in the IE browser cache, but is still not accessible to the
> application.
> 5. Another application - a simple one for testing this situation -
> exhibits exactly the same behaviour.
>
> I have already removed the *.config mapping from IIS for the relevant
> directory, and, just like before, the app.config is still accessible.
> I have enabled anonymous access. Just like before, the app.config is
> still accessible.
>
> I have thus concluded that the problem is not with my server
> configuration.
>
> Is anyone able to offer any insight into the situation? Anyone else
> encountered this problem?
>
You didn't tell us what problem you're seeing. Is an exception being
thrown? Are you getting null values back? What's going wrong? What do you
mean by "not accessible to the application"?
When you say "app.config", you really mean "appname.exe.config", right?
If you're trying to configure remoting via a config file, it won't work.
I do have no-touch deployment working an retrieving values from a config
file so, it is possible.
John V
- Next message: Russell Smallwood: "Need help with custom events.... please help"
- Previous message: Ted Theodoropoulos: "Janus vs Infragistics"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|