I'm using an SqlDataAdapter to get data from a db. I open a connection, query out data using the adapter, then dispose of the adapter, then try to query out more data using another adapter and i get the following error...
There is already an open DataReader associated with this Connection...
I have a web app that I want to access active directory and give me the actual name of the person who is logged into the PC based on their username. I am using impersonation thru the web.config file.
Any idea on how I could go about looking at the active directory details of a person based on...
I've found a really cool way to have the column headings of a datagrid to be offset from the grid in a way to simulate fixing the column headings in an excel spreadsheet.
The problem I'm having is if the grid is not the first object on the page, say for instance there is a chart on the page...
I have created an almost carbon copy of an application that I had originally written for asp.net 1.1 to v2.0 using VS 2005. On virtually identical configurations, the impersonation for the app on v2.0 doesn't seem to work.
It is on an intranet and I am getting prompted with a login dialog...
I am working with Caching data. Everything is fine up until 1 point in my application in which I want to cache a dataset. Prior to caching it, I have already cached numerous other things including other datasets. Without entering in the code to cache this particular thing, everything is fine...
I have an application that many people are accessing at various times. My problem is when 2 people are accessing the same portion of the application at the same exact time, one of the people will load the page successfully while the other will get an error such as "cannot find table 0". I'm...
I have a c# app that hits a mysql database. Basically multiple users at any time can make a wide range of selections on a front end page, then based on the selections a query in a session variable is created. After selections are finished, they click go, and the query that was built based on...
I am querying a table that has over 35,000,000 records. Even if i'm looking for 1 thing, it takes forever. Aside from journaling because process is being worked on right now, for a temporary fix, how could I use a "splash" screen sort of to let the user know that their data is being retrieved...
We have an as/400 that i need to export information from, or import (insert) into a sql server 2000 database. Has anyone done this via an import or extraction using sql server 2000? Could someone point in the direction to take when making the attempt to do this? Thanks in advance!
Scot
In office, when a user gets a message with an attachment, they try to double click the attachment to open it. They get a prompt to decide whether they want to open it or save it.
There is a check box stating to always ask when trying to open this type of file. When they uncheck it, and open...
We have a few PC's on our network in which Internet Explorer randomly errors out and quits. They are completely updated with Windows updates and are using the latest version of IE. Anyone have any thoughts on what else might be causing this?
here is my snippet of code:
Dim oStore
Dim user
Dim password
Set oStore = Server.CreateObject("ANPOP.MSGSTORE")
Set user = "*******"
Set password = "********"
If oMsg.ImpersonateUser( user, password, "" ) = 0 Then 'logon this user
Response.Write "Impersonate user succeeded"
Else...
here is the snippet. if i don't have sub and end sub commmented out, it skips right over it...
'Sub main(args)
Dim user
Dim domain
Dim password
'' set these in your environment, or here in the script
'' If you're running as a service, you will need to set these
''...
I have a script at login that I want to delete files from the root of C but permission is denied. Can someone throw me a bone on how to impersonate administrator or the like so the script can run, then turn off the impersonation after the files delete? Thanks in advance...here is the snippet...
word in ms office xp crashed out on me while i was in the middle of a document. when i started it back up, it didn't give me the document recovery task pane like normal on the left hand side to select the latest temp file. where can i find the place to bring that task pane for document...
Anyone know of a fix to this:
When I play a movie in windows media player, after i close media player, explorer keeps utilizing nearly all of my cpu time and an incredible amount of memory. anyone know of the cause and/or solution to this. Thanks in advance.
Scot
I have a pc on my network using windows xp pro and in the task manager under the processes tab, Wuser32.exe is taking all of the cpu time and causing the pc to be virtually unusable. This is the first time that i've seen this happen. any suggestions? Thanks in advance!
-Scot
I have a listbox populated with list items that are not in alphabetical order. When the listbox has the focus on a particular list item, if the user hits for instance "T", the focus on that list item will move to the focus of the first item in the list that begins with "T"...
My boss killed our server that has SMS on it. When he rebuilt it, he renamed the site database. Now all of the previous clients are pointing to a database that doesn't exist. For some reason, the network discovery is not seeing our subnet that contains all of our workstations. How do I get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.