<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>3 Apr 2015 12:13:00 Z</lastBuildDate><pubDate>2 Apr 2015 15:15:00 Z</pubDate><description>Peter H,&#13;
&#13;
When I create a new query in the project and want to test this via "Test The Query F9", then I get an error:&#13;
&#13;
Error at line 14 of Initializing DA_ADM (server) process.&#13;
The 'WDApplication' element does not belong to the 'Site' configuration currently run. It cannot be used.&#13;
&#13;
----- Technical Information -----&#13;
&#13;
Project : DA_ADM&#13;
&#13;
WL call:&#13;
Process of 'Initializing DA_ADM (server)', line 14, thread 0&#13;
&#13;
What happened?&#13;
The 'WDApplication' element does not belong to the 'Site' configuration currently run. It cannot be used.&#13;
&#13;
Error code: 1126&#13;
Level: fatal error (EL_FATAL)&#13;
&#13;
Dump of the error of 'wd190vm.dll' module (19.0.176.4).&#13;
Identifier of detailed information (.err): 1126&#13;
Debugging information:&#13;
IS_ERREUR_ELEMENT_HORS_CONFIG_64&#13;
Additional Information:&#13;
EIT_PILEWL :&#13;
Initializing DA_ADM (server) (), line 14&#13;
EIT_DATEHEURE : 02/04/2015&#13;
&#13;
When Test is run for a query, I think this query is run via en EXE from PCSoft.&#13;
&#13;
This is my startup code (Image)&#13;
[attachment 1436 ProjectCode.png]&#13;
&#13;
In normal project test/full run, the Webdev Code Block is active and runs OK.&#13;
But when testing a query (have not single tested other things yet), it seems that the Windows Code Block is executed. But those classes are not included in the project.&#13;
[attachment 1437 tree.png]&#13;
&#13;
I cannot include those classes because they do not compile, there are for a different platform (Mobile, Windows). I am currently on Web.&#13;
&#13;
For now I have a work around with this code in the 32/64Bit Windows Code Block&#13;
&#13;
//Instanciate correct platform (Windows) IF InTestMode() THEN MyApp = new WBApplication MyCtx = new WBContext ELSE MyApp = new WDApplication MyCtx = new WDContext END&#13;
But this is not a good or final solution for compiling this multi platform !&#13;
&#13;
Any Idea on how to fix a situation like this. I would like to use the Test (F9) button todo testing of single queries, pages, reports,.... ;)&#13;
&#13;
Thanks !&#13;
Danny</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework/read.awp</link><title>[WB19] Test query gives error (WX Framework)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework-51336/read.awp</comments><pubDate>3 Apr 2015 12:13:00 Z</pubDate><description>Hi,&#13;
&#13;
Posted it to PCSoft Support, and they where very quick in there anwser :)&#13;
&#13;
It seems if you are in Project Test Mode wit…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework-51336/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework-51336/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework/read.awp">[WB19] Test query gives error (WX Framework)</source><title>Re: [WB19] Test query gives error (WX Framework)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework-51331/read.awp</comments><pubDate>2 Apr 2015 19:25:00 Z</pubDate><description>Hi Danny,&#13;
&#13;
Interesting...&#13;
Indeed, it looks like the WX IDE is running a query from the query editor in test mode as a Windows…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework-51331/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework-51331/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51325-wb19-test-query-gives-error-framework/read.awp">[WB19] Test query gives error (WX Framework)</source><title>Re: [WB19] Test query gives error (WX Framework)</title></item></channel></rss>
