.net - Error consuming Web Service from Winform App - "Cannot execute a program..." -


i have winform app calls web service check updates. works in dev , works everywhere else i've tried it, not on installed copy on machine (which happens same in dev).

the error is:

cannot execute program. command being executed "c:\windows\microsoft.net\framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"c:\documents , settings\giovanni.double-afssz043\local settings\temp\squ8oock.cmdline".

the firewall disabled , i've looked "c:\documents , settings\giovanni.double-afssz043\local settings\temp\squ8oock.cmdline" , not there. note every time try use web service ".cmdline" file different, example second time ran it "dae8rgen.cmdline." no matter name has, can never find file.

any suggestions?

the ".cmdline" file autogenerated file produced .net framework. application attempting real-time compile xml serializer used parse data web service.

have verified can execute "csc.exe" command-line window? typing "c:\windows\microsoft.net\framework\v2.0.50727\csc.exe /?" should list of compiler options (or should give error if don't have permissions execute it).

what user account running under, , have permissions execute .exe files in windows directory? similarly, know said happens installed copy on machine, possible it's executing off network share , receiving limited code access security permissions prevent running local executables?

for reference, here kb article showing similar error can occur in asp.net when user account doesn't have enough permissions. http://support.microsoft.com/kb/315904


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -