Hello Johannes,
After talking with my team we decided our solution contains too much sensitive information. We discussed sending it with the information removed but that may alter the solution enough to not be useful for your troubleshooting. What are your thoughts?
Thank you
Search found 16 matches
- Fri Jun 24, 2016 6:26 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
- Thu Jun 16, 2016 1:58 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
There was no Debug folder in the <Project>\bin folder, so that config file does not exist. There is one in the project directory.
Thank you.
Thank you.
- Wed Jun 08, 2016 3:35 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
The InnerException pointed out a section of the app.config file that wasn't correct. I removed the section and Visual Studio is working again. Ranorex is still seeing the null value error, and I agree that this is an app.config problem still. I've been looking for where the path to locate the app.co...
- Tue Jun 07, 2016 6:57 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
The problem is I can't do any debugging involving MailLogger because if it is referenced it crashes. I turned off Debug Just My Code, set a breakpoint and tried again but it still crashed. Now I will try the other Core.dll
Edit: Changing out the dll did nothing.
Edit: Changing out the dll did nothing.
- Tue Jun 07, 2016 4:46 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
The app file is in the project and the values are not null. I recently deleted everything on my machine and got a fresh copy of latest in an effort to solve this problem. My next step will be replacing the Ranorex.Core.dll with a coworker's who isn't having problems. If that doesn't do it I will rei...
- Tue Jun 07, 2016 4:28 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
I had a coworker go through the debugger step by step while I watched the MailLogger hit the proper constructor with no errors. My machine is the only one with problems. When I comment out all references to MailLogger the code works in Ranorex but in VS the system.TypeInitializationException still h...
- Tue Jun 07, 2016 3:03 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
I have tried a clean install and reboot, didn't make a difference. This code hasn't been touched in over 200 days and never had any errors before, which is why I think the problem is something else. The error happens before the first line of code is reached in VS, naturally it would occur in Main. u...
- Tue Jun 07, 2016 2:39 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
I have tried release and debug mode in both VS and Ranorex. The error doesn't change, although in Ranorex the report doesn't say TypeInitialzationError:
I'm thinking of replacing the Ranorex.Core.dll file on my machine with a coworker's copy to see if that makes a difference.- Tue Jun 07, 2016 2:19 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Re: Ranorex fails to run, system.TypeInitializationException
Thank you for replying so quickly. I went to the options but the "Pause on handled Exceptions" was already off. I tried it turned on, nothing changed. Just to be clear, I am seeing this not just while debugging, it happens no matter how I try to run the code. Is there any more information I could gi...
- Tue Jun 07, 2016 1:26 pm
- Forum: Bug Reports
- Topic: Ranorex fails to run, system.TypeInitializationException
- Replies: 22
- Views: 4916
Ranorex fails to run, system.TypeInitializationException
Hello, I recently started having a problem with the Ranorex.Core.dll. Whenever a test case is run, a runtime error occurs immediately. systemInitializationError.PNG When run with the debugger it is clear the code does not run any lines, it crashes as soon as it starts. I have tried reinstalling Rano...
- Wed Mar 16, 2016 2:10 pm
- Forum: How To …
- Topic: Trouble with references while reading from Excel
- Replies: 2
- Views: 4625
Re: Trouble with references while reading from Excel
I found a fix. Before I tried like this, which did not work. if(reportSheet.Cells[i,j].Value2 != null) { Console.WriteLine(range.Cells[i,j].Value2.ToString()); } Separating the range assignment and the value2 assignment did the trick. Edit: after doing a bit more work, I found a few more problems an...
- Tue Mar 08, 2016 5:01 pm
- Forum: How To …
- Topic: Trouble with references while reading from Excel
- Replies: 2
- Views: 4625
Trouble with references while reading from Excel
Not sure if this is the correct place to put this. In Ranorex Ranorex Version: 5.4.4.26486 .NET Version: 4.0.30319.42000 Visual Studio .NET Version: 4.6.00081 I am working on reading from an Excel sheet that is already open. try { xl.Application excelApp = (xl.Application)System.Runtime.InteropServi...
- Tue Mar 01, 2016 2:48 pm
- Forum: Automation Tools
- Topic: Repository won't save properly
- Replies: 3
- Views: 1674
Re: Repository won't save properly
I am using TFS 2015 and I generally edit with the entire solution loaded. Turns out restarting Ranorex wasn't enough but restarting my computer fixed the issue.
- Mon Feb 29, 2016 4:50 pm
- Forum: Automation Tools
- Topic: Repository won't save properly
- Replies: 3
- Views: 1674
Repository won't save properly
When I add items to the repository and then try to save it doesn't save on the same file, rather it acts as though I chose 'Save as...' and opens a windows explorer to determine a new save location. What might be causing this? How do I force the original repository to retain the changes?
Thank you.
Thank you.
- Tue Sep 29, 2015 2:29 pm
- Forum: Automation Tools
- Topic: Validating multiple items from repository at once
- Replies: 2
- Views: 2920
Re: Validating multiple items from repository at once
Yes, that gave me some ideas to try out. Thank you!