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

Making application live HELP!

Sorry to repost, but I am fairly desparate to get this issue resolved!

Please see below, when it hangs if I leave it long enough I get a 'General
Network Error', or something similar. Could this be down to the web servers
being on the DMZ, or perhaps some configuration value in the web.config
file?

Any help would really be appreciated as I am due to put the system live
ASAP.

Many thanks, Carl Howarth
Hi,

We have developed a system using VS.NET 2003 in ASP.NET (vb). The system
runs absolutely fine on my own and my colleague's machine. We are running
Win XP Pro. We have 2 web servers, each of which have been upgraded to .net
1.1, and have all the latest updates from windows update.

When we deploy the application to either web server the performance is
ridiculous (the servers run asp3 systems fine). Sometimes the system will
work like a dream, moving from page to page in an instant, others it will
just hang when a link is selected (even to pages that are not accessing our
database). It's nothing to do with connections being left open and it's
bizarre how the issues are completely unpredictable. The systems are
transferred simply by copying the contents of the web site folder on our
machines to the web site folder on the server(s).

Has anybody come across this kind of situation and if so, please please let
me know how to get around it!

Thanks very much,

Carl Howarth
ca**********@m-s-solutions.co.uk
Nov 17 '05 #1
2 1406
Hi Gregory,

Thanks for coming back to me. I am at a loss with this but will run some
checks as you have suggested. The network issue really is confusing,
certainly since the 'classic' asp applications that we are running do not
experience this problem at all.

Whilst testing, I have noticed that if I log into the system and jump
between pages at frequent intervals it seems to work perfectly. It seems
that if I leave a page displayed for any length of time then choose another
lin k that is when the system freezes up - I don't know if that gives you
any further clues. I have altered the web.config file to say debug="false",
which has made no difference and have checked the code and I certainly
believe that all objects used are being destroyed after use.

Another clue that may help is that part of the system is 'upgraded' classic
asp, ie we have simply converted the existing asp pages and got rid of the
'set' commands, used isdbnull instead of isnull, and have set aspcompat
accordingly (only on converted pages), I cannot see this as being an issue
due to the fact that these all work wonderfully on my machine.

If you have any other ideas (or not!) in relation to this please let me
know.

Many thanks again, Carl
"Cowboy (Gregory A. Beamer)" <No************@comcast.netRemuvThis> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
I don't believe in unpredictable in computers, so it is predictable, but
unknown.

I would suggest profiling both the machine and the application. Tracing can help some, but you are going to have to examine what the machine is doing
when the app is running (along with what other apps are running and what
they are doing).

The topology of the network can also be a major influence. If you web server has to talk to the database via a firewall, it is at a disavantage from your XP dev box. So, the DMZ can affect your app. You need to know what it is
doing when it has a problem (down to the line of code possibly, which is
easiest done with logging (which slows down the app while it is
instituted)).

I wish I had an easy answer, but there are a lot of variables here.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

************************************************** ************************** ****
Think Outside the Box!
************************************************** ************************** ****
"Carl Howarth" <ca**********@m-s-solutions.co.uk> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
Sorry to repost, but I am fairly desparate to get this issue resolved!

Please see below, when it hangs if I leave it long enough I get a 'General Network Error', or something similar. Could this be down to the web

servers
being on the DMZ, or perhaps some configuration value in the web.config
file?

Any help would really be appreciated as I am due to put the system live
ASAP.

Many thanks, Carl Howarth
Hi,

We have developed a system using VS.NET 2003 in ASP.NET (vb). The system
runs absolutely fine on my own and my colleague's machine. We are running Win XP Pro. We have 2 web servers, each of which have been upgraded to

.net
1.1, and have all the latest updates from windows update.

When we deploy the application to either web server the performance is
ridiculous (the servers run asp3 systems fine). Sometimes the system will work like a dream, moving from page to page in an instant, others it will just hang when a link is selected (even to pages that are not accessing

our
database). It's nothing to do with connections being left open and it's
bizarre how the issues are completely unpredictable. The systems are
transferred simply by copying the contents of the web site folder on our
machines to the web site folder on the server(s).

Has anybody come across this kind of situation and if so, please please

let
me know how to get around it!

Thanks very much,

Carl Howarth
ca**********@m-s-solutions.co.uk


Nov 17 '05 #2
Eric,

The connections in the current activity show as 'sleeping', which suggests
to me that the connections have been closed.

I am using a component to access the database, based on the following:
Public ReadOnly Property ConnectionString()

Get

ConnectionString = "Data Source=10.200.20.2; Initial Catalog=ClientCAS;User
ID=sa;Password=password; Network Library=dbmssocn;"

End Get

End Property
Public Function GetReader(ByVal strSQL As String) As SqlDataReader

Dim tmpConn As New SqlConnection(Me.ConnectionString)

Dim objCmd As New SqlCommand(strSQL, tmpConn)

objCmd.Connection.Open()

objCmd.CommandTimeout = 300

GetReader = objCmd.ExecuteReader(CommandBehavior.CloseConnecti on)

objCmd = Nothing

End Function
And then within my pages' back end code I would do something along these
lines to fill, say, a datagrid:

dim obj as new cpData
dim dr as sqldatareader = obj.GetReader("spStoredProc " & id)
dg.datasource = dr
dg.databind
dr.close
dr = nothing
obj = nothing

Does this all look acceptable to you? It certainly works fine on the
development machine!

Many thanks, Carl
<Eric> wrote in message news:%2****************@tk2msftngp13.phx.gbl...


You sure there's not a connection left open to the database?
Use enterprisemanager to view SQL's current activity.

"no connections being left open"
Only thing I can think of is a deadlock.

Doe er je voordeel mee :P


"Carl Howarth" <ca**********@m-s-solutions.co.uk> wrote:
Sorry to repost, but I am fairly desparate to get this issue resolved!

Please see below, when it hangs if I leave it long enough I get a 'GeneralNetwork Error', or something similar. Could this be down to the web serversbeing on the DMZ, or perhaps some configuration value in the web.config
file?

Any help would really be appreciated as I am due to put the system live
ASAP.

Many thanks, Carl Howarth
Hi,

We have developed a system using VS.NET 2003 in ASP.NET (vb). The system
runs absolutely fine on my own and my colleague's machine. We are runningWin XP Pro. We have 2 web servers, each of which have been upgraded to ..net1.1, and have all the latest updates from windows update.

When we deploy the application to either web server the performance is
ridiculous (the servers run asp3 systems fine). Sometimes the system willwork like a dream, moving from page to page in an instant, others it will
just hang when a link is selected (even to pages that are not accessing ourdatabase). It's nothing to do with connections being left open and it's
bizarre how the issues are completely unpredictable. The systems are
transferred simply by copying the contents of the web site folder on our
machines to the web site folder on the server(s).

Has anybody come across this kind of situation and if so, please please letme know how to get around it!

Thanks very much,

Carl Howarth
ca**********@m-s-solutions.co.uk

Nov 17 '05 #3

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

Similar topics

1
by: Erwin S. Andreasen | last post by:
I have a Python application server that manages several different data sets, permits various reports to be run on them and the data to be downloaded as tab-delimetered files, all via a web...
4
by: MG | last post by:
A Newbie question perhaps, but here goes: Is it possible to seaprate the presentatieon layer, i.e., the html, from the application itself. For example, our developer has told us that we cannot...
5
by: Paul Mason | last post by:
Hi folks, We have two servers running ASP.NET systems. One is live and one is development. I have recently adopted an ASP system from a colleague to nurse it back to health. On the...
3
by: Asim Qazi | last post by:
Hi all, I am trying to do some work like the All antivirus software do. -i-e LIVE UPDATE. for my software, wot is the starting point or any guidelines to start this thing ... I always did the...
2
by: parkchan | last post by:
Hi all, I've got an weird problem with Application variables in Global.asax.vb. I have three Application variables set up in Session_OnStart event and I'm displaying the values of those...
7
by: Sheikko | last post by:
Hi all, i have an application and i wan to call another program into it, like notepad, so when i minimize the notepad, or maximize, it must rest in my application. thank you
1
by: hardikpatelmca | last post by:
Hi everybody, I want to create web application using C# and live communication server. User can set his presence information, view other presence information and send instant messages. How can I...
0
by: coopdog | last post by:
This is a new issue as of an install to sp1 on vb express 2005. When I publish the application to my drive then I try to install it is wants to be installed from the same location as it was...
0
by: onegative | last post by:
G'day Y'all, I was hoping to get some expert feedback on a proposal I am considering regarding a new internal application to help fill some gaps in our IT department. I have some configuration...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.