hmm... based on your question, I attempted to move the namespace of the project I was working in, and it seemed to clear up the problem. Is there a reason this is the case?
Was one "Sync" being defined as "Sync.*" while the other was being defined as "IFWebsite.Sync.*" and the IDE saw those as...
I'm having a problem compiling a visual studio 2005 Web Application project due to some namespace issues, and have no idea where to go with this...
I am working with code that was written by someone else, and runs fine "standalone" as a web app, but I am working to put the code into a solution...
Thanks to everyone who responded. It sounds like they are the same thing, but it would be safer to go with the longer option for different reasons.
I just want to respond to what my problem was and how I solved it...
I was still getting literally dozens of connections that were open, and...
Is there a difference between:
Dim myCommand As SqlCommand = New SqlCommand("myStoredProc", myConnection)
Dim myCommand As New SqlCommand("myStoredProc", myConnection)
Is there anything wrong with this code:
Dim dbc As New dbConnect
Function doSomething(var As String) As String...
Well, I noticed there were a GOOD handful (maybe 20) of the connections under both Process Info, and Locks/Object. They went away when I closed my browser as well. Now, is there a setting on that database that would only allow so many connections to this database? I suppose there would be...
I'm not exactly sure how I would do that... I won't be in work again until Friday, but I'll be able to look at that then and see if I can figure it out. Thanks for replying.
-Dave
After looking at some more of the errors I have been receiving, I have some more code to post that could possibly result in the errors I'm getting. I notice that a handful of times the procedures that are calling DisconnectIt() are using: SqlCommand.ExecuteReader(CommandBehavior.CloseConnection)...
Here is the disconnectIt procedure:
Public Shared Sub DisconnectIt()
If myConnection.State = ConnectionState.Open Then
myConnection.Close()
End If
myConnection.Dispose()
End Sub
I will change the isUser() to use ExecuteNonQuery and see if that helps anything. Thanks for the...
Hey,
I feel that I will need a little explanation before I dive into details of my problem. I am currently interning at a company where I have been asked to build an ASP.NET application to track employees who will not be in the office for the day. The application uses your windows login...
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.