473,387 Members | 1,485 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Application run correctly in a server with Visual Studio but not run in web server


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 ***
Mar 5 '06 #1
0 972

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Hemant | last post by:
Why i am getting this error. Server Error in '/' Application Runtime error Please help me out. Thank you
2
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
5
by: Dafna | last post by:
while trying to open an Asp .Net application ' I get the following message (the IIS on my computer is running) "Visual Studio .Net has detected that the specified web server is not running ASP...
6
by: Frank Wilson | last post by:
Tom, It sounds to me like ASP, not ASP.NET is handling the request for WebForm1.aspx. This is most likely an IIS config issue that may have been caused by order of installation or...
10
by: John Sedlak | last post by:
Hello, I have installed VS.NET Enterprise, ASP.NET, IIS w/ Windows XP, all Updates from Microsoft's Windows Update and still I get this error when I try to create an ASP.NET Application on my...
0
by: Vagif Abilov | last post by:
I am experiencing problems with building ASP.NET application from a command line. The problem is caused by the fact the Web application is hosted in different virtual directories on different...
5
by: benliu | last post by:
i have a visual studio website that i am integrating with community server, a third party software for creating communities. To paraphrase, i am trying to have users that log in to my site...
1
by: Cramer | last post by:
I'm running XP Pro/SP2 + patches and updates, with Visual Studio Professional 2008 (and no prior installation of Visual Studio ever installed). When attempting to open an ASP.NET Web application...
6
by: Author | last post by:
I have VS 2005 professional. Here is the version info: Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP .050727-7600) &copy; 2005 Microsoft Corporation. All rights reserved. When I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.