Search results for query: *

  1. tradnbillies

    Namespace being Shadowed?

    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...
  2. tradnbillies

    Namespace being Shadowed?

    Yes, the namespace is "IFWebsite". What are you thinking?
  3. tradnbillies

    Namespace being Shadowed?

    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...
  4. tradnbillies

    does my code work efficiently? & Q about New()?

    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...
  5. tradnbillies

    does my code work efficiently? & Q about New()?

    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...
  6. tradnbillies

    sql timeout error rollercoaster

    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...
  7. tradnbillies

    sql timeout error rollercoaster

    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
  8. tradnbillies

    sql timeout error rollercoaster

    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)...
  9. tradnbillies

    sql timeout error rollercoaster

    Paszt, or anyone else for that matter... Any thoughts once I posted the DisconnectIt() method. -Dave
  10. tradnbillies

    sql timeout error rollercoaster

    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...
  11. tradnbillies

    sql timeout error rollercoaster

    Does anyone have any thoughts at all...?
  12. tradnbillies

    sql timeout error rollercoaster

    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...
Back
Top