Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Overload resolution failed.. error message
Salama

From: Portland, OR USA
Posts: 21
Member Since: 05/01/00
posted January 21, 2005 12:38 AM

I am getting the error below with vb.net demo in the line : Http1.Post(Data, , Result)
when I try to compile the app

L:\Program Files\PowerTCP\Web Tool\Samples\Web\VB.NET\PostDemo\Main.vb(348): Overload resolution failed because no accessible 'Post' accepts this number of arguments.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted January 21, 2005 8:43 AM

It appears you have applied the latest service pack for the .NET framework. One of the changes Microsoft implemented had to do with the way default parameters are used in the wrapper they generate. The new wrapper does not allow for the method that you posted. You will have to change the code to specify a parameter now.

There is some other stuff that Microsoft broke in regards to wrapper generation. If you have not applied the hotfix yet you should. Here is info on that:

For Framework 1.0 (All OS):

http://www.dart.com/downloads/mshotfixes/NDP1.0sp3-KB887813-X86-Enu.exe

For Framework 1.1 (All OS except Server 2003):

http://www.dart.com/downloads/mshotfixes/NDP1.1sp1-KB886802-X86.exe

For Framework 1.1 (Server 2003 only):

http://www.dart.com/downloads/mshotfixes/WindowsServer2003-KB886802-x86-enu.exe

Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX