Hi
I have an application where the front end is in ASP and the dll which supports it is written in C#.I am using 'regasm' command to register it for com inter-operatibility.
C# dll methods are working fine for string type parameters, but not for LONG and INT type parameters. It throws an error saying:__________________________________________________________________________Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'GetReportsData' __________________________________________________________________________
I am passing the LONG parameter from ASP. Example: _________________________Method in C#public string takeint(long param) { //code }________Call from ASP
var1=object.takeint(Clng("100"))_________________________
This operation throws above mentioned error.What are the compatible datatypes for LONG and INT of ASP in C# as I can't change the ASP call, but I can change the C# code?
Thanks.
--------------------------------From: saurav goel