473,840 Members | 1,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending username and pagename to ConnectionStrin g

I have a web application where people have to login to use the system.
I have my own login system and a database which stores login details.
ASP.NET pages are written with VB as code behind.
I am using ADO as it is a lot easier than ADO.NET.
(Note: I have an ADO class that I can call on any webpage and get the result
with one line of code...could not get anything to work in a similar manner in
ADO.NET)

Now here is my question,
I run profiler to trace issues on the page. There is no way of telling who
is running which query and which page is calling that offending query (500+
page site). Is there a way to add username and pagename to the
connectionstrin g so that my 10+ hours debug per problem can be reduced to
minutes?

Jun 22 '06 #1
2 1285
Is your query causing exceptions thrown in application?

"Guru" <Gu**@discussio ns.microsoft.co m> wrote in message
news:0E******** *************** ***********@mic rosoft.com...
I have a web application where people have to login to use the system.
I have my own login system and a database which stores login details.
ASP.NET pages are written with VB as code behind.
I am using ADO as it is a lot easier than ADO.NET.
(Note: I have an ADO class that I can call on any webpage and get the
result
with one line of code...could not get anything to work in a similar manner
in
ADO.NET)

Now here is my question,
I run profiler to trace issues on the page. There is no way of telling who
is running which query and which page is calling that offending query
(500+
page site). Is there a way to add username and pagename to the
connectionstrin g so that my 10+ hours debug per problem can be reduced to
minutes?

Jun 22 '06 #2
other than adding you own tracing info, the workstation id is the handiest.
if you set, you will limit pooling.

-- bruce (sqlwork.com)

"Guru" <Gu**@discussio ns.microsoft.co m> wrote in message
news:0E******** *************** ***********@mic rosoft.com...
I have a web application where people have to login to use the system.
I have my own login system and a database which stores login details.
ASP.NET pages are written with VB as code behind.
I am using ADO as it is a lot easier than ADO.NET.
(Note: I have an ADO class that I can call on any webpage and get the
result
with one line of code...could not get anything to work in a similar manner
in
ADO.NET)

Now here is my question,
I run profiler to trace issues on the page. There is no way of telling who
is running which query and which page is calling that offending query
(500+
page site). Is there a way to add username and pagename to the
connectionstrin g so that my 10+ hours debug per problem can be reduced to
minutes?

Jun 22 '06 #3

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

Similar topics

6
2426
by: Eduardo Rosa | last post by:
Somebody knows how I queue email using .Net? thanks a lot
3
57683
by: HoustonComputerGuy | last post by:
I am working on getting my web applications moved to .Net 2.0 and am having some problems with System.Net.Mail. I get the following error when sending the mail: System.Net.Mail.SmtpException was unhandled by user code Message="Failure sending mail." Source="System" StackTrace: at System.Net.Mail.SmtpClient.Send(MailMessage message) at System.Net.Mail.SmtpClient.Send(String from, String
3
7734
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce value for the UserName token. Is it possilbe at all to do this from VBScript (or jscript?)? I know I will be limited with what I can do with the SOAP message. Eg/ can't sign/encrypt it etc. Thanks,
1
8189
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to the members of my organization. I think my problem is incorrectly setting the settings on my server or an authentication problem. Here is the code I have written to send a test message: -----Code Begins: Sensitive Information Replaced by -----...
15
9753
by: Eugene Anthony | last post by:
Is this method of validation for password and username considered to be secured. In my previous post I was given a solution that uses command object and the values are parsed by parameters. But the solution only worked well for insert and delete, but not select. <% if Request.QueryString("Action") = 1 then username = Trim(request.form("username")) password = Trim(request.form("password")) if username <> "" and password <> "" then
1
1165
by: Luqman | last post by:
I want to use Sql Server Roles, Sql Server Logins/Passwords with ASP.Net 2.0, instead of saving One username/password in Connectionstring of Web.Config, is it possible ? I don't want to save the Username/Password in Connectionstring of Web.config. Further, I need forms Authentication as my users are on Internet and not on my Local Windows Domain.
0
1243
by: Christie | last post by:
I am having a hard time sending meeting updates to attendees. I can get the updated meeting to save to the organizer's calendar, but then when I send it the meeting is sent to the attendee as a new meeting instead of an update (It seems that Exchange assigns a new UID when the Save method is called, so the attendees' calendar can't link it with the original UID?!). If I try to send without saving first, the old meeting is sent...
0
8339
by: roamnet | last post by:
hi i created database file with .mdf extention ,sql server as a source and use grid view to display data there're no problem in data retrieve and display,but i want to edit it or insert new records there is an error "Incorrect syntax near '-'. Must declare the scalar variable "@UserName". I worked out in design view,code is automatically generated.Iam not able fix the error. Iam working with Visual Web Developer-2005 Express Edition
0
1785
by: damimkader | last post by:
Hi, I'm trying to send emails using a Macro based on an Excel Sheet and the Email Client I'm using is Lotus Notes. OS used - Windows Xp. Language - VB Below is the Code I'm using for doing the same. Dim Maildb As Object
0
9860
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
10922
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10603
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...
0
9440
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...
0
7023
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5685
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4498
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
3
3138
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.