473,796 Members | 2,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1637
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="RemoteOnl y" /> (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 ='MachineToAppl ication' 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
2322
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 statements? I am using currentconnection before calling the the execute statement and users are using Access built-in login to the SQL Server backend using Windows NT authentication.
0
3521
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 data from the transport connection.". I'm posting the code, so if somebody can help I'll be very grateful. private void DoListen() {
1
4202
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 none of my code and the following is the call stack:
6
4500
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 that sql server just fine and run queries. I rebooted the web server and made aspnet member of the admin group. I don't know why the error mentions open connections if I can open several query anaylzer windows using the same sql server...
7
11252
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 the the reports "integrated security" from TRUE to FALSE via the "Set Location" dialog in the report designer with no success. It is not intuitive (at least not to me.) I get the following error:
2
8447
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 CreateObject works ok, the object gets initialized...
0
2417
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 this method again , it have problem with error message following: Unable to read data from the transport connection. at System.Net.ConnectStream.BeginRead(Byte buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at...
0
1588
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 launched because the username and/or password supplied in the processModel section of the config file are invalid". i checked the line in the machine.config in ..\framework\v2.0.50727\CONFIG and the processModel line didnt have a username/password....
3
5271
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 (works fine) and then sets the password (fails). Here is the pertinent information: Ex.InnerException.Message: Logon failure: unknown user name or bad password. Ex.Message: Exception has been thrown by the target of an invocation.
0
9684
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10236
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10017
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.