Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

PowerBuilder does not recognize existence of window during webform deployment

$
0
0

12.5.1 Build 4953

 

Greetings All,

 

I have a webform that was working fine. The application object opened w_login and after logging in w_main would open with a report in it. Worked fine.

 

So I saved w_main as w_report_test and w_report_test2. I created a new window and saved over the old w_main. I added a menu as m_main to call w_report_test and w_report_test2. I got deployment errors where the deployment process could not find a definition for w_report_test.

 

So I did another test. I deleted the menu and on w_main I have a simple button with one command as 'open(w_report_test)'.

 

I did a full rebuild and then tried to deploy. I still get the same goofy error as shown below. I have tried opitimizing the PBL and regenerating all of the objects. But every time I try to deploy I get the same error.

 

Does anyone have an idea as to what could be going wrong?

 

Thank you!!

 

Paul

 

 

---------- Error messages:    (1:23:12 PM)

Error when compiling generated C# code:

w_main.cb_1.clicked(1,102): error CS1061: 'c__tms_u002d_reporting' does not contain a definition for 'w_report_test' and no extension method 'w_report_test' accepting a first argument of type 'c__tms_u002d_reporting' could be found (are you missing a using directive or an assembly reference?)

w_main.cb_1.clicked(1,4): error CS1502: The best overloaded method match for 'Sybase.PowerBuilder.Web.PBSystemFunctions.Open<T0>(ref T0)' has some invalid arguments

w_main.cb_1.clicked(1,102): error CS1503: Argument 1: cannot convert from 'ref c__tms_u002d_reporting.w_report_test' to 'ref T0'

---------- Finished    (1:23:12 PM)


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>