|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Migrating from ASP Classic to ASP.NET
Found a good checklist on migraing ASP Pages and making them<br>backwards compatible.<br><br>http://www.aspalliance.com/anjum/ASPMigration.aspx<br><br>Ran into this problem however, I have a custom .dll that passes an array.<br><br>Looks like this.<br><br>(Removed the word set so it will work with ASP.NET and ASPcompat=true)<br><br>objDB = Server.CreateObject("prjOaaDb.clsOaaDb")<br>intFacID = objDb.RunSPReturnInteger("sptbl__GetID", Array("@id", 3, 4, intID))<br><br>Error message is:<br>BC30684: 'Array' is a type and cannot be used as an expression.<br><br>Works great in Classic ASP but dies with above error message in ASP.NET. Array<br>used in this way must not be supported?<br><br>Dave B.
|
|
#2
|
|||
|
|||
|
Do you know if the array is strongly typed in the .dll (e.g. MyArray() as String)? If it's taking in a Variant array type and not a strongly typed array, you could have problems since the Variant data type is no longer supported.<p> </p><p><hr size="1" width="50%" align="left" />dotNetBB Forum Developer<br><b><i>Building A Better Community, One Post At A Time</i></b><br><a href="http://www.dotnetbb.com" target="_blank">www.dotnetbb.com</a></p>
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Migrating from ASP Classic to ASP.NET |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|