Hi,
I developed a web application that run complete (all the functions) in a
server with Visual Studio .NET 2003, but not run complete in a web
server with .NET framework (both versions) and without Visual Studio.
The web application call a "first" dll build that call a "second"
interop dll and only execute the first steps.
Here is the code of the web application in C#:
#region 1
Apx.aApx ox = new Apx.aApx();
bool res1 = ox.Init();
bool res2 = ox.Port();
short res3 = ox.Login();
#endregion
The application execute correctly the first 3 instructions, but execute
only part of the fourth instruction.
Here is the code of Login() in VB.NET:
Public Function Login() As Short
Dim lEstado As Boolean
Dim aux_body As String
Dim Body As String
Dim count1 As DateTime
Dim count2 As DateTime
Dim delta As Integer
Dim APP As New Interop.APPLib.Aplication
Login = 0
With APP.Session()
.Host = "192.170.10.12"
.Port = "1020"
count1 = System.DateTime.Now
lStatus = .Log(0) '<-----------HERE
count2 = System.DateTime.Now
delta = DateDiff("s", count1, count2)
End Function
The application run until line marked with "HERE" and never return to
the initial call. The "Interop.APPLib.dll" is the other application.
I tried a lot of things in both servers but I couldn't detect the
problem. Somebody have any idea of the solution ??
Thanks.
Kurtz
*** Sent via Developersdex
http://www.developersdex.com ***