Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNhandled Method
Message
De
20/02/2005 10:14:08
 
 
À
19/02/2005 12:22:14
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00988597
Message ID:
00988680
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform