Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Soapbox
  4. Visual Studio I don't like you GRRRR

Visual Studio I don't like you GRRRR

Scheduled Pinned Locked Moved The Soapbox
databasevisual-studiocsharptestingbeta-testing
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Clark Kent123
    wrote on last edited by
    #1

    I have been battling some random crashes from VS2010 whenever I built my application. If I were to reopen the VS and click run it works just fine and my application would work as expected. Not sure where this crashing was coming from. My first thought was that my references were not probably established. After re-referencing all my dlls started this slippery slope. VS started asking me to do things I didn't need to do before. For instance, it now required that my application have a Strong Name (Click Once the culprit maybe?). Fine, I fixed everything it asked of me. Built successfully and once I ran it I received an out of memory exception. Huh? Yup, my program all of sudden needs 4gb of ram. As soon it receives then it lets it all go and stays content at 20mb. This never happened before. And this is were things get better (sarcastic). The next wonderful error I receive is for database by saying "Data source name is not found and no default driver specified." I thought ok this is not that bad something went wrong somewhere. Checked the drivers and they are... there? Ok ran separate app that I have been testing that use these same drivers. Works flawlessly! Next line of thinking is my DB Library that I built must have something incorrect in it. So I reopened this test DB app to test this library out by referencing it and guess what it works flawlessly. No problems. So at this point I thought why not just copy and paste all my files into a newly created project and see if that works. Once all the references were established. My app works fine no problems. No code changes what so ever. Oh and my app runs a bit faster because it doesn't need 4gb of ram all of a sudden. I am so beyond frustrated. This makes no sense to me. :mad: Sorry really needed to vent this. Thinking about taking a long lunch break to cool down.

    OriginalGriffO 1 Reply Last reply
    0
    • C Clark Kent123

      I have been battling some random crashes from VS2010 whenever I built my application. If I were to reopen the VS and click run it works just fine and my application would work as expected. Not sure where this crashing was coming from. My first thought was that my references were not probably established. After re-referencing all my dlls started this slippery slope. VS started asking me to do things I didn't need to do before. For instance, it now required that my application have a Strong Name (Click Once the culprit maybe?). Fine, I fixed everything it asked of me. Built successfully and once I ran it I received an out of memory exception. Huh? Yup, my program all of sudden needs 4gb of ram. As soon it receives then it lets it all go and stays content at 20mb. This never happened before. And this is were things get better (sarcastic). The next wonderful error I receive is for database by saying "Data source name is not found and no default driver specified." I thought ok this is not that bad something went wrong somewhere. Checked the drivers and they are... there? Ok ran separate app that I have been testing that use these same drivers. Works flawlessly! Next line of thinking is my DB Library that I built must have something incorrect in it. So I reopened this test DB app to test this library out by referencing it and guess what it works flawlessly. No problems. So at this point I thought why not just copy and paste all my files into a newly created project and see if that works. Once all the references were established. My app works fine no problems. No code changes what so ever. Oh and my app runs a bit faster because it doesn't need 4gb of ram all of a sudden. I am so beyond frustrated. This makes no sense to me. :mad: Sorry really needed to vent this. Thinking about taking a long lunch break to cool down.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      Clark Kent123 wrote:

      This makes no sense to me

      You expected MS to make sense? :omg: Don't panic, I have similar problems from time to time - VS suddenly refuses to admit I have any controls on a form, but doesn't actually complain when you compile, or suddenly decides that it can't display a UserControl at all until I remove all the using statements, recompile and then paste them back in. Odd, but seriously annoying as well. Generally, a close-and-restart gets it back to normal for a while! :laugh:

      Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups