Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UNhandled Method
Message
From
20/02/2005 10:14:08
 
 
To
19/02/2005 12:22:14
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00988597
Message ID:
00988680
Views:
22
>When I run (call the page from an link on my first page) a page with an extension sig (.SIG for SIGProcess.prg setup by Console.exe ) it tells me Error Unhandled Method. I am 100% sure the function is in the SIGProcess.prg file and it is defined in web site properties then Home Directory tab and the Configuration button and WC.dll is in the right directory.
>
>What is unhandled method?

Possibilities:
1. Your method does not match the URL document name. IOW, if the URL is to "MyPage.SIG", you must have a method named "MyPage".

2. You added your "method" outside the DEFINE CLASS/ENDDEFINE boundaries (common mistake), thus turning it into a UDF instead of a method of the class.

3. You're running an EXE which does not include the new method (need to rebuild/recompile).

>Related question, what is the best way to work on two West Wind projects on the same dev machine? Obviously I do not want both in the same C:\wconnect directory.

Yes, you want separate development folders, separate web script maps/virtuals (or separate web sites entirely) with a separate copy of wc.dll, and also separate temp file location. I believe the Console program has a New Project wizard for this, although it's been years since I looked at that. You can do it manually also, but it's a bunch of steps.

-- Randy
Previous
Reply
Map
View

Click here to load this message in the networking platform