473,399 Members | 4,177 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,399 software developers and data experts.

Sending username and pagename to ConnectionString

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
connectionstring so that my 10+ hours debug per problem can be reduced to
minutes?

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

"Guru" <Gu**@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.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
connectionstring 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**@discussions.microsoft.com> wrote in message
news:0E**********************************@microsof t.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
connectionstring 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
by: Eduardo Rosa | last post by:
Somebody knows how I queue email using .Net? thanks a lot
3
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...
3
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...
1
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...
15
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...
1
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...
0
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...
0
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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,...
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...
0
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...

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.