Advertisement

08.26.2008 at 09:09PM PDT, ID: 23680890
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.4

Service Unavailable Error

Asked by cyberwebservice in Programming for ASP.NET

I have a asp.net vbscript web application,
When two users click on the same link, the server goes down.
The page load code works fine for single user. But not working for multi users.
What is causing this problem. Will table locking solve this problem? If so, how to do that?
I tried adding transaction locking, but it does not work. I might be doing something wrong.
I have attached the code

Thanks in advance.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
Imports System.Data.OleDb
Imports System.Web.Security
 
Public Class Testdata
    Inherits System.Web.UI.Page
    Dim k As Integer
    Dim con As New OleDbConnection("Provider = Microsoft.JET.OLEDB.4.0; Data Source =" & Server.MapPath("AZODB.mdb"))
 
#Region " Web Form Designer Generated Code "
 
    'This call is required by the Web Form Designer.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
 
    End Sub
    Protected WithEvents dattxt As System.Web.UI.WebControls.TextBox
    Protected WithEvents mark3txt As System.Web.UI.WebControls.TextBox
    Protected WithEvents mark4txt As System.Web.UI.WebControls.TextBox
    Protected WithEvents mainlink As System.Web.UI.WebControls.LinkButton
    Protected WithEvents logoutlink As System.Web.UI.WebControls.LinkButton
    Protected WithEvents header2 As System.Web.UI.WebControls.Label
    Protected WithEvents submitbtn As System.Web.UI.WebControls.ImageButton
    Protected WithEvents errlbl As System.Web.UI.WebControls.Label
    Protected WithEvents DataGrid1 As System.Web.UI.WebControls.DataGrid
    Protected WithEvents DataGrid2 As System.Web.UI.WebControls.DataGrid
    Protected WithEvents scalendar As System.Web.UI.WebControls.Calendar
    Protected WithEvents ImageButton1 As System.Web.UI.WebControls.ImageButton
    Protected WithEvents billddl As System.Web.UI.WebControls.DropDownList
    Protected WithEvents tdlink As System.Web.UI.WebControls.LinkButton
    Protected WithEvents temptxt As System.Web.UI.WebControls.TextBox
    Protected WithEvents printbtn As System.Web.UI.WebControls.ImageButton
    Protected WithEvents usertxt As System.Web.UI.WebControls.TextBox
    Protected WithEvents RegularExpressionValidator1 As System.Web.UI.WebControls.RegularExpressionValidator
 
    'NOTE: The following placeholder declaration is required by the Web Form Designer.
    'Do not delete or move it.
    Private designerPlaceholderDeclaration As System.Object
 
    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        'CODEGEN: This method call is required by the Web Form Designer
        'Do not modify it using the code editor.
        InitializeComponent()
    End Sub
 
#End Region
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If User.Identity.IsAuthenticated = False Then
            Response.Redirect("LoginPage.aspx", False)
        End If
 
        Try
            If Not IsPostBack Then
                dattxt.Text = Format(Date.Now, "dd-MM-yyyy")
                Dim bill As String
                Dim cmd As New OleDbCommand("Select billno1 from WCbilltbl where billno1 not in (select billno from Memomastertbl) Order by Billno1 Desc", con)
                Dim dr As OleDbDataReader
                con.Open()
                dr = cmd.ExecuteReader
                While dr.Read()
                    bill = dr("Billno1")
                    billddl.Items.Add(bill)
                End While
                con.Close()
                printbtn.Attributes.Add("onclick", "newpage();")
            End If
        Catch ex As Exception
            Response.Write(ex.Message)
        End Try
    End Sub
[+][-]08.26.2008 at 09:36PM PDT, ID: 22321885

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 09:43PM PDT, ID: 22321915

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 09:44PM PDT, ID: 22321919

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 09:45PM PDT, ID: 22321922

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 09:46PM PDT, ID: 22321926

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 09:49PM PDT, ID: 22321940

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 09:51PM PDT, ID: 22321945

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 10:11PM PDT, ID: 22322012

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.26.2008 at 10:53PM PDT, ID: 22322158

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.27.2008 at 01:13AM PDT, ID: 22322671

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.31.2008 at 11:08PM PDT, ID: 22357778

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Sign Up Now!
Solution Provided By: cyberwebservice
Participating Experts: 2
Solution Grade: A
 
 
[+][-]09.01.2008 at 03:15PM PDT, ID: 22363106

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 12:12AM PDT, ID: 22364740

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_EXPERT_20070906