Smart Client Deployment

G

Guest

I am trying to deploy my Smart Client (it accesses a Web Service) on to a server.It works fine in my machine and also works when others access it from my machine
But when deployed to another server
1)Locally on the server just double clicking the exe it runs fin
2)But when accessed on the server via browser it fail
3)It fails when accessed via other machines using the browse
In this case it fails with "An exception System.NullReferenceException has occured in IEExec.exe
I tried with Full trust yet it does not work.Please help me out
 
R

Rob Windsor [MVP]

Does your program use an application configuration file? If so it will read
the settings from the config file fine when run locally but those setting
will not be there using smart client deployment as the config file is not
downloaded with the app.

If that's not your problem it appears that there is some other bug. The fact
that you're not receiving a security exception indicates that the deployment
is working fine but there is some other bug that is causing you app to fail.

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada


Vishwanathan Raman said:
I am trying to deploy my Smart Client (it accesses a Web Service) on to a
server.It works fine in my machine and also works when others access it from
my machine.
But when deployed to another server.
1)Locally on the server just double clicking the exe it runs fine
2)But when accessed on the server via browser it fails
3)It fails when accessed via other machines using the browser
In this case it fails with "An exception
System.NullReferenceException has occured in IEExec.exe"
 
G

Guest

Yes it uses an application config file.If thats the case then I should have got the sam
issue in development as other people were testing the application on my machine using the browser
Can you help me understand why its not the same case while in deployment
How can I overcome this?I am using a web service and the config file contains the path t
the web service.I did not want to hard code in the application.Is my approach correct or can
do it some other way.
 

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