Problem with publishing - <filename>.exe.config.deploy file?

G

Guest

I am trying to deploy a Dot Net 2.0 Winforms app using ClickOnce. (Run only,
not install). I am rather new to this technology.

When I install a simple test app I have no problem. But when I try to
deploy my current application which consists of 2 projects within one
solution (and some fairly extensive references) this happens: The app does
not work unless I go into the deployment directory on the server and manually
copy the file app.config.deploy to <Project Name>.exe.config.deploy.

After that, everything works fine.

Anyone else have this problem?
 
R

RobinS

We're not having this problem. Check the properties on your application
files.

Robin S.
 
G

Guest

Sorry. Could you be more specific? Are you referring to the settings in the
Publish tab of the Project properties?
 
R

RobinS

Yes, especially in terms of how the files are included.

If you actually deploy it to be installed rather than run off of the
server, does it work?

Robin S.
---------------------------
 
G

Guest

To the best of my recollection, the problem is the same, whichever way it is
deployed. (I intend to retest this ASAP but for the moment, I seem to be cut
off from the server.)
 
G

Guest

I've managed to get back on the test server and the problem appears identical
whether the app is setup for install or run online only, the missing
exe.config.deploy file.

The error is as follows:
Downloading http://<server name>/<app name>/<app name>_1_0_0_14/<app
name>.exe.config.deploy did not succeed.
+ The remote server returned an error: (404) Not Found.
 
R

RobinS

How are you pushing the deployment? Are you using http, ftp, or publishing
it to a file?

Robin S.
----------------------
 
G

Guest

I do not remember any such setting. Probably whatever the default is. (I
would assume http since I am putting a pile of files on a web server
directory.)

Unfortunately I am away from work this week so I will check on this and get
back to you, hopefully next Monday.

Thanks.
 
G

Guest

I'm afraid I may have made an obvious mistake. I was pushing code to the
server that was compiled in debug mode. Once I compiled the entire solution
as a release, the problem appeared to go away, at least for now.
 
R

RobinS

That's cool. I've deployed debug versions, but our application is installed
on the desktop, not run from the server. Maybe that makes a difference.
Glad you figured it out!

Robin S.
--------------------------------------
 
S

Sada Shimizu

I have a problem with publishing c# solution: 'XXXX.exe.config.deploy did not succeed. + Could not find file'. I tried to find this file in my PC that I coding, but there is no such file. I've checked property>Publish>Application Files..> and there's exe.config file on the list.
I built this solution as 'Release'.
Where should I check? I'm using VS2005.
Thank you.
 
S

Sada Shimizu

I solved this by myself. Sorry for bother you. I found .exe.config file and rename it to .exe.config.deploy then copy to server folder. It works fine.

Thank you.
 
W

Warren Caulton

I fixed a similar error. First I did a clean build of the solution, then a rebuild of the solution, then publish. The exe.config.deploy showed up in the folder.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top