Object required global.asa error: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 30: Line 30:
Now things work differently, so we need to adjust the troubleshooting steps.
Now things work differently, so we need to adjust the troubleshooting steps.


====Is there a problem?====
First thing you should look for is any issues in the Problem Resolution Panel. '' verify the context menu to see that "Filter Warnings" is not checked ''  
First thing you should look for is any issues in the Problem Resolution Panel. '' verify the context menu to see that "Filter Warnings" is not checked ''  
If there are complaints in the panel fix them and try compiling afterwards.
If there are complaints in the panel fix them and try compiling afterwards.


====Start out fresh====
What if you still have this problem? Well it could be something else.
What if you still have this problem? Well it could be something else.
Let's make it easier for the parser and -instead of having it merge its results into an existing global.asa- feed it with an empty one.
Let's make it easier for the parser and -instead of having it merge its results into an existing global.asa- feed it with an empty one.
Line 38: Line 40:
Try compiling again to see it is fixed. (It probably is)
Try compiling again to see it is fixed. (It probably is)


====Multiple WBOs in one file====
Still the same problem?  
Still the same problem?  
Hmm.. you are not having multiple WebBusinessProcess objects in one file?
Hmm.. you are not having multiple WebBusinessProcess objects in one file?
Check your subclass settings if you are using these under Tools > Configure Workspace.
If that's the case isolate them and move each WBO to its own file.
Also make sure to check that your subclass settings are properly set (only if you are using these of course) under Tools > Configure Workspace.
 
====Class definitions in WBO====
Check your code to see if you have a class declaration within your WBO, The Studio's parser reports an error when it sees this construction and the Global ASA generator does not try to find the name of the WBO in this case which is why it is being set to "".
 
The answer is that if you take the class declaration outside of the WBO it will work.


====note====
====note====