473,396 Members | 1,755 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,396 software developers and data experts.

ASP .Net Web Application "Connection Failure"

Hello,

I have an ASP .Net Web Application running fine on 1 Web server. I
cannot seem to get a copy of it to run on a 2nd Web server. I receive
the error "Connection Failure" when I try to run the copy on the 2nd
Web server with no additional information. I can get a "hello world"
page (test.aspx) to run fine on both Web Servers.

Are there steps that I need to take beyond simply copying all of the
VS.Net2003 Project/Application files over to the 2nd Web Server
(*.aspx, *.aspx.cs, *.dll, + VS.Net2003 project files)?
My Network Configuration:

Web Server 1 (+Web Server 2 is the same)
============
-W2K ADV SVR + Latest SP
-.Net Framework 1.1 + SP1
-IIS 5.0 + Application Settings are properly configured
-SQL Server 7.0

Thanks For Any Help,

-Nate

Nov 19 '05 #1
3 1615
Maybe no responses because this group is super-busy?

I have tried using the VS.net2003 menu 'Copy Project' with 'Just the
files needed to run the Web Application' to the local (development)
server, and then copy and paste these files from the local server to
the second server, but the Web Application on the second server still
gives the generic 'Connection Failure' message.

Any suggesstions?

Thanks,

Nate

Nov 19 '05 #2
O.K. I found the problem (24 hours later)! There were two things going
on here...
SOLUTION...

1) To view detailed error messages, set your error debug tag in your
Web.Config file to <customErrors mode="RemoteOnly" /> (it should
default already be set to this) and run the Web Application from a
local ip adress (i.e. 192.168.1.100).

2) Create a new virtual directory in IIS 5.0 Internet Service Manager
and set the Application Settings on the Home Directory tab to enable
ASP .Net Web Applications (click Create and make sure the file
extensions are listed). Copy your ASP .NET Web Application files into
this directory. NOTE - Copying the Web Application files over to the
Web Server is NOT enough to allow execution of an ASP .NET Application.
ALSO - you will NOT be able to get your ASP .Net Web Application to run
by right-clicking the copied folder in the IIS Internet Services
Manager to create new Application Settings. The only way it will work
is by creating a new virtual directory!

P.S. The detailed error message that I received after performing step
#1 above was 'It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level'.

-Nate

Nov 19 '05 #3
Another solution to the above problem (or put another way...another
quirk about Microsoft...ASP.NET) is that you can not save old copies of
*.dll files in your bin directory because the ASP.NET compiler will
error out (it tries to compile everything in \bin).

-N

Nov 19 '05 #4

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

Similar topics

1
by: lauren quantrell | last post by:
Admitedly a very open-ended question but here goes ... Why so may "Connection failure" error messages when my Access 2K users are executing stored procedures that contain UPDATE or INSERT...
0
by: Galore | last post by:
Hello, I'm trying to make a simple socket application, something like a chat application, but when I run it, it shows the following error when the client connects to the server: "Unable to read...
1
by: Muscha | last post by:
Hello, Every now and then my application throw this exception: "Unable to read data from the transport connection" And when I break into the Visual Studio, the thread where it failed has...
6
by: karim | last post by:
I have an asp.net page that stopped running properly giving the error below. The app uses a SQL Server 2000 on another server. Enterprise Manager and Query analyzer on the web server can connect to...
7
by: Henry | last post by:
I am writing a Windows forms VB.Net/MS SQL application via VS 2003 that utilizes Crystal Reports. I want to be able to dynamically set the report data source at run time. I'm trying to change...
2
by: jdanoz | last post by:
Hello, i have a vb.net project with a reference to an ActiveX object (ocx). If i try to use the ocx from vb6 project (adding the reference) it works ok (using CreateObject). In vb.net, the...
0
by: quocvuong2005 | last post by:
Hi all ! I have a webservice that contains a Helloworld() method (This return a string type ) and a asp.net application . I call Helloworld method from webservice , it works fine . but when i call...
0
by: George | last post by:
my web service works fine on my laptop but when i moved it to the server i get "Server Application Unavailable." i checked the event application log and it shows "aspnet_wp.exe could not be...
3
by: =?Utf-8?B?Sm9l?= | last post by:
I know that I have posted this question before, but it is still unresolved and I don't know where to turn to next. I have code that is creating a user (works fine), then sets the account flags...
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: 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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.