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. General Programming
  3. C#
  4. Common Languge Runtime Debugging Services

Common Languge Runtime Debugging Services

Scheduled Pinned Locked Moved C#
csharpannouncementdebugginghelpquestion
3 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.
  • A Offline
    A Offline
    adonisv
    wrote on last edited by
    #1

    After creating an application in C# that runs fine on my computer and another developer's computer, we included it in an InstallShield project. When we try to run it we see the message box saying: X| Common Languge Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xb3c(2876), Thread=0xb40(2880) Click OK to terminate the application. Click CANCEL to debug the application. I've created a Release version but that didn't seem to matter. We have another program that's written in .NET that works fine. I've seen many postings on this error on the net but no solutions. Any ideas? :doh:

    N 1 Reply Last reply
    0
    • A adonisv

      After creating an application in C# that runs fine on my computer and another developer's computer, we included it in an InstallShield project. When we try to run it we see the message box saying: X| Common Languge Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xb3c(2876), Thread=0xb40(2880) Click OK to terminate the application. Click CANCEL to debug the application. I've created a Release version but that didn't seem to matter. We have another program that's written in .NET that works fine. I've seen many postings on this error on the net but no solutions. Any ideas? :doh:

      N Offline
      N Offline
      nemopeti
      wrote on last edited by
      #2

      The most common thik of an error msg like this listed below (as I know): - framework not installed - some require component not installed/registered So if you use a dll or ocx you must register it, in the other machine too. eg.: from command line: regsvr32 mycomponent.ocx or regsvr32 mycomponent.dll

      A 1 Reply Last reply
      0
      • N nemopeti

        The most common thik of an error msg like this listed below (as I know): - framework not installed - some require component not installed/registered So if you use a dll or ocx you must register it, in the other machine too. eg.: from command line: regsvr32 mycomponent.ocx or regsvr32 mycomponent.dll

        A Offline
        A Offline
        adonisv
        wrote on last edited by
        #3

        Actually you are close, we figured it out. My program is using an Access database via a datasource connection. When the program begins to load, it attempts to connect to the datasource. Unfortunately the connection path is hardcoded and the installation computer did not have the same directory structure. So when the program started it could not find it's datasource. We changed the path and moved the database to the right directory and it worked. Ahhhh engineering! :-D Normality is a weakness...

        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