Jump to content

.net Doubt


Recommended Posts

Posted

admin crednetials ichhi try cheste...mundu ochhe excpetion kooda ravatledhu..

let me try this

 

Posted

didn't work.

seems like your exe is trying to open a window on server even command prompt if its a console app 

 

 p.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;

 p.StartInfo.UseShellExecute = True;

 

give a try 

 

Posted
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at iMacros.WinUI.Common.Nagging.ShowNagScreen(Int32 countDown, Int32 daysUp, String text, Control owner, Remote remote)
   at #=qQz5CW55OZHcf_GVVtI_sXA5w4TgkwmMhMmfI5lgODjA=.#=qWnnDKc_MLS3na54NNoXkDA==()
   at #=qQz5CW55OZHcf_GVVtI_sXA5w4TgkwmMhMmfI5lgODjA=.#=q4bDQnIDMlBWcXwpZAXleYvV5Vw9V9NVMct9I8JEtrBo=()
   at #=qQz5CW55OZHcf_GVVtI_sXA5w4TgkwmMhMmfI5lgODjA=..ctor()
   at #=qa_ID73Khuhu_kNY5l2pAY5pthIMxsNJiYntBzO0I9C0=.#=qXZ2K_ohMyUs_CrmXFiT7NA==()

write some alert box or debug=false ani pettey web.config lo atleast stacktrace vastadi you can see what exactly happening.

 

System.Windows.MessageBox.Show() try chey.. work avvakapovachu..

 

Posted

didn't work.

aa exe enti..  is it a console app or winforms app

Posted

its a browser (imacro)

aa exe enti..  is it a console app or winforms app

 

Posted

 

System.Diagnostics.Process p = new System.Diagnostics.Process();

        p.StartInfo.FileName = ExePath;
        p.StartInfo.Arguments = FilePath + Filename;
        p.Start();
        p.WaitForExit();
 
 
idi im trying to invoke an exe file from the website(not windows)..
 
debug mode lo working kani IIS lo not working...
 
suggestions pls

 

bhayya first check if the path is right..

like if there is any text file in the same location trying reading the text remotly from your machine.

i mean from the code.

 

secondly I dont think you can invoke a remote process directly..

look at these links, might help you. 

 

http://stackoverflow.com/questions/2343677/how-to-execute-process-on-remote-machine-in-c-sharp

 

http://stackoverflow.com/questions/25782308/execute-exe-on-remote-machine

 

Also once you solve it please post here your solution

Posted

ento ee coding joblu .. itha kastamaina ela chesthaaro ..

 

mari nuvvu??

Posted

mari nuvvu??

admin better man .. thakkuva pani and easy to do ..

×
×
  • Create New...