VB.NET Project Deployment

D

DNag

Env. : Win 2000, Visual Source Safe, VS.NET Ent. Arch.
Lang. : VB.NET
App Type : Windows Applications

I am trying to deploy my windows application on to a target machine
using a Visual Studio Setup Project. I am able to completely install
my application on my target machine along .NET framework. But my
application on the target m/c is not able to access the
"app.exe.config file" located in the /myapp directory. Is there
anything i need to do with
-the .NET framework or
-with the Project setup or
-with the .NET framework on the target system?

Any guidance will be of great help

Regards
Deepak
 
2

2

Have you made sure the app config file is included in the install? And that
it gets copied ok to correct location on the client?

If you get this far then maybe a permissions problem...? What exactly is the
error message?

Cheers
 
D

Deepak N

Well I made sure the Config file is present in the same directory as the
application file.
The applications does not recognize the config file at all. Its just
throws up a exception which i catch in my source code if the config file
is not present.

I have a hunch. My developement was on .NET Framework 1.03 and currently
loaded .NET framework 1.1 on my target machine would that create a
problem

thanks
 
D

David Guyer [MS]

It really shouldn't create a problem, not one that I'm familiar with.

I'm assuming that the install completes succesfully. Are you using a path
or something to try to load the config file? Or, are you using
AppSettingsReader class?
 

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