Hi,
I had several data connectors, that were created with option "Copy file to project".
Due to modifications is test project I removed old connectors and created new connecters with other names.
I used "Manage Data Resources" to perform modifications above.
Now I have problem that project can't build, because it is looking for old connecters:
Error 3656: Could not copy the file "...\Ranorex\RanorexStudio Projects\RanorexTests\MyProject\Test_1.xlsx" because it was not found. (MSB3030)
I looked in all project files for text "Test_1.xlsx" and found it only at "MyProject.csproj" file.
I removed blocks with old connectors from "MyProject.csproj" file.
After that project built successfully.
But after some time these blocks appear in file again.
Thanks,
Vadim
How to clean information about "removed" data connectors?
Re: How to clean information about "removed" data connectors?
Hi,
Just to add.
Looks like problem is seen after file replacing for Data Connector.
E.g.
I had connector with name "MyConnector" that referred to file "Test_1.xlsx".
Than I deiced to use file "TestFile_1.xlsx" for "MyConnector".
I opened connected and selected new file.
I deleted also old file "Test_1.xlsx".
After that I got such error.
Cheers,
Vadim
Just to add.
Looks like problem is seen after file replacing for Data Connector.
E.g.
I had connector with name "MyConnector" that referred to file "Test_1.xlsx".
Than I deiced to use file "TestFile_1.xlsx" for "MyConnector".
I opened connected and selected new file.
I deleted also old file "Test_1.xlsx".
After that I got such error.
Cheers,
Vadim
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to clean information about "removed" data connectors?
Hi Vadim,
May I ask you which Ranorex version you are using?
Thanks,
Markus
May I ask you which Ranorex version you are using?
Thanks,
Markus
Re: How to clean information about "removed" data connectors?
Hi Markus,
Ranorex version is 4.0.2.21666.
Cheers,
Vadim
Ranorex version is 4.0.2.21666.
Cheers,
Vadim
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to clean information about "removed" data connectors?
Hello,
The Test Suite is still linked with your old data source 'Test_1.xlsx'.
Ranorex tries to copy this file to your 'bin\debug' folder but the file is deleted.
Could you please expand your Test Suite file (e.g. MyProject.rxtst) in Ranorex Studio in the Projects view and delete the entry for this old data source?
Regards,
Markus (T)
The Test Suite is still linked with your old data source 'Test_1.xlsx'.
Ranorex tries to copy this file to your 'bin\debug' folder but the file is deleted.
Could you please expand your Test Suite file (e.g. MyProject.rxtst) in Ranorex Studio in the Projects view and delete the entry for this old data source?
Regards,
Markus (T)
Re: How to clean information about "removed" data connectors?
Hi, Markus.
Thanks.
No, at this moment there is no information at Test Suite file about deleted connecter.
If I see this error again, I will check it.
Cheers,
Vadim
Thanks.
No, at this moment there is no information at Test Suite file about deleted connecter.
If I see this error again, I will check it.
Cheers,
Vadim
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to clean information about "removed" data connectors?
Hello,
You are welcome
Regards,
Markus (T)
You are welcome

Regards,
Markus (T)