I just thought I would ask about this error, since I have found no
references to it on the web elsewhere.
I have a COM object from regular ASP, written for an older app that my
business needs to use, that I need to use in ASP.NET. The error
occurs here:
object obj = "test";
String testVal = (String)obj;
OldASPClass pickup = new OldDLL_dotnetproxy.OldASPClass();
pickup.MyFunc(testVal, testVal, testVal);
Somehow I ended up in a situation where it seems everything I do is
for the first time. So just as an FYI, I am an ASP.NET newbee. Does
anyone know what is going on here?On Jul 4, 4:25 pm, Dave <onlinef...@.gmail.com> wrote:
> I just thought I would ask about this error, since I have found no
> references to it on the web elsewhere.
> I have a COM object from regular ASP, written for an older app that my
> business needs to use, that I need to use in ASP.NET. The error
> occurs here:
> object obj = "test";
> String testVal = (String)obj;
> OldASPClass pickup = new OldDLL_dotnetproxy.OldASPClass();
> pickup.MyFunc(testVal, testVal, testVal);
> Somehow I ended up in a situation where it seems everything I do is
> for the first time. So just as an FYI, I am an ASP.NET newbee. Does
> anyone know what is going on here?
I forgot to mention that the data types in this proxy function look
like this:
object OldASPClass.MyFunc(object x, object y, object z)
I'm just trying to pass the correct data types to this function to get
this to work.
On Jul 4, 4:46 pm, Dave <onlinef...@.gmail.com> wrote:
> On Jul 4, 4:25 pm, Dave <onlinef...@.gmail.com> wrote:
>
>
>
>
> I forgot to mention that the data types in this proxy function look
> like this:
> object OldASPClass.MyFunc(object x, object y, object z)
> I'm just trying to pass the correct data types to this function to get
> this to work.
FYI, I figured it out. It was an error specific to the function
inside the DLL having to do with my input strings being formatted in a
way it didn't like.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment