|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Redistributable Nightmare (x-posted)on my test machine using the MSDE Deployment Toolkit and everything installs fine (expect attaching the db). The newly installed app will not run, it crashes before it does anything. I can run the same file on my dev machine just fine. I can access the test machine across the wire and access the app and it loads fine. I've used the .NET Configuration tool to set the security to full control for the .exe and the .dll's. Anybody have a suggestion as to what I should try next? I've been fighting this problem for a few days now and need help bad. Thanks in advance. Tim Hi Tim,
do you have any external dependencies like COM binaries or thrid-party dll's? Did you compiled the code for a specific runtime/net version? Does your Application need Administrator rights and/or does it depend on special rights to execute properly? Does your application try to wirte into system objects like registry or system event log? As you can see, there can be a lot of reasons. Check against this criterions... Best regards Kerem Gümrükcü Show quote "Infinite" <t**@dsdtech.ca> schrieb im Newsbeitrag news:1150526704.812651.86030@g10g2000cwb.googlegroups.com... >I create a windows app which works fine on my dev machine. I deploy it > > on my test machine using the MSDE Deployment Toolkit and everything > installs fine (expect attaching the db). The newly installed app will > not run, it crashes before it does anything. I can run the same file > on my dev machine just fine. I can access the test machine across the > wire and access the app and it loads fine. I've used the .NET > Configuration tool to set the security to full control for the .exe and > > the .dll's. > > Anybody have a suggestion as to what I should try next? I've been > fighting this problem for a few days now and need help bad. > > > Thanks in advance. > > > Tim > Hi Kerem,
Thanks for the response. The only external dependancies are a dll that I created seperate from the project and added reference to. I also am using Crystal Reports for the first time and have them embedded in the app, so I don't know if they get compiled with everything of if I need to copy them over as well. Also the rpt file were created in VS and not in CR. Other than that it requires nothing special. I made a test app with a button/textbox and puts the txtbx value in a msgbx. I put it on the test machine and works fine. The app in question however, on start up just say that there was an unhandled exception but the app entry point is empty and any method of trying to catch the exception doesn't seem to work. Hope this help a bit. ~T Kerem Gümrükcü wrote: Show quote > Hi Tim, > > do you have any external dependencies like COM binaries or thrid-party > dll's? > Did you compiled the code for a specific runtime/net version? Does your > Application > need Administrator rights and/or does it depend on special rights to execute > properly? > Does your application try to wirte into system objects like registry or > system event log? > As you can see, there can be a lot of reasons. Check against this > criterions... > > > Best regards > > Kerem Gümrükcü > > > > "Infinite" <t**@dsdtech.ca> schrieb im Newsbeitrag > news:1150526704.812651.86030@g10g2000cwb.googlegroups.com... > >I create a windows app which works fine on my dev machine. I deploy it > > > > on my test machine using the MSDE Deployment Toolkit and everything > > installs fine (expect attaching the db). The newly installed app will > > not run, it crashes before it does anything. I can run the same file > > on my dev machine just fine. I can access the test machine across the > > wire and access the app and it loads fine. I've used the .NET > > Configuration tool to set the security to full control for the .exe and > > > > the .dll's. > > > > Anybody have a suggestion as to what I should try next? I've been > > fighting this problem for a few days now and need help bad. > > > > > > Thanks in advance. > > > > > > Tim > > Hi Tim,
well let me see... >Hi Kerem, N.P>Thanks for the response. The only external dependancies are a dll that >I created seperate from the project and added reference to. You should know that you must also copy the dll to the target machinein order to make it accessible to your application. If it is a .NET Assembly you should install it to the GAC (Global Assembly Cache) so that all your applications can access and use it. If it is only for your single application, then you can place it in your applications directory with a config file for it, so that your application can allocate and use it. This is a must (i mean the dll must be on the target machine)! >I also am I cant tell you for sure what dependencies CR has and what runtimes>using Crystal Reports for the first time and have them embedded in the >app, so I don't know if they get compiled with everything of if I need >to copy them over as well. Also the rpt file were created in VS and >not in CR. the target machine must have. You should take a closer look at the CR ducumentation for more information. Bu i am 100% sure, that there are dependencies that must be satisfied/resolved! >Other than that it requires nothing special. I made a test The sample application is to simple and has no special dependencies. Thats>app with a button/textbox and puts the txtbx value in a msgbx. I put >it on the test machine and works fine. The app in question however, on >start up just say that there was an unhandled exception but the app >entry point is empty and any method of trying to catch the exception >doesn't seem to work. why it works without any problems. The exception is thrown even before your application can enter the main method, so thats why you get the "low-level" fatal app exception. Can you send me a screenshot of the exception and if you want the executable/and or code. I would prefer the executable (exe and dll) to see if there are any dependencies. kareem***@hotmail.com Best regards Kerem Gümrükcü |
|||||||||||||||||||||||