Hi,
It will pop up "Microsoft .Net Framework" which is presentation of "Unhandle exception has occured in your application……Value cannot be null,parameter name:value" occured When i record the .Net Application.After i select run a application and click Start button on the Record Settings ,the preceding error dialog pop up immediately. I don't know how to solve. the ranorex version is 4.0.3
Unhandle exception occured when running the .Net Application
Unhandle exception occured when running the .Net Application
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unhandle exception occured when running the .Net Application
Hello,
Thank you for the project and the snapshot files.
Unfortunately I am not able to reproduce the issue because I do not have your Application under test.
It seems to be an unhandled exception, which is thrown in your application.
Which version of the .NET Framework are you using?
Could you please check which message is shown if you open the details in the exception dialog.
Additionally could you please ask the responsible developer in your company if this is an exception in your application.
Thank you!
Regards,
Bernhard
Thank you for the project and the snapshot files.
Unfortunately I am not able to reproduce the issue because I do not have your Application under test.
It seems to be an unhandled exception, which is thrown in your application.
Which version of the .NET Framework are you using?
Could you please check which message is shown if you open the details in the exception dialog.
Additionally could you please ask the responsible developer in your company if this is an exception in your application.
Thank you!
Regards,
Bernhard
Re: Unhandle exception occured when running the .Net Application
Hi Bernhard,
Thanks for your reply.The version of .Net Framework is 4.0.This issue isn't related to my Application under test because i directly open my Application under test that will not produce the issue.But I try it by two methods that will produce the issue in Ranorex Studio. One method is setting the work directory of my AUT in Recoder Settings.Another method is writing code in UserCode eg.Host.Local.RunApplication(@"D://ERP//ERP-1.10test//HKMain.exe");
Regards
Linna
Thanks for your reply.The version of .Net Framework is 4.0.This issue isn't related to my Application under test because i directly open my Application under test that will not produce the issue.But I try it by two methods that will produce the issue in Ranorex Studio. One method is setting the work directory of my AUT in Recoder Settings.Another method is writing code in UserCode eg.Host.Local.RunApplication(@"D://ERP//ERP-1.10test//HKMain.exe");
Regards
Linna
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unhandle exception occured when running the .Net Application
Hi Linna,
Could you check if it would work if you set the working directory and the arguments (if needed) to the application specific values?
Regards,
Markus
Could you check if it would work if you set the working directory and the arguments (if needed) to the application specific values?
Host.Local.RunApplication("D:\\ERP\\ERP-1.10test\\HKMain.exe", "arguments", "workingDirectory", false);Please use the following methode: RunApplication Method (fileName, arguments, workingDirectory, maximized).
Regards,
Markus
Re: Unhandle exception occured when running the .Net Application
Hi Markus,
Thank you, I use the code as you recommended but there is still this issue.Due to my file is too big,I will send E-mail to [email protected] .
Regards
Linna
Thank you, I use the code as you recommended but there is still this issue.Due to my file is too big,I will send E-mail to [email protected] .
Regards
Linna