Deploying Visual C# express application Fails on target cpu
-
Application has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. Thanks in advance Kourvoisier
-
Application has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. Thanks in advance Kourvoisier
Try reinstalling the .NET framework on the target machine.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Try reinstalling the .NET framework on the target machine.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
This cant be the problem. I have tryed to deploy on multiple cpu's with .net framework installed still run into same problem.
-
Application has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. Thanks in advance Kourvoisier
kourvoisier wrote:
Event Type: clr20r3 Mscorlib system.io.directorynotfound
This error makes me suspect that you've got hard coded paths in your installer somewhere and that the configuration on your devbox is different than on the target machines.
-- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
-
kourvoisier wrote:
Event Type: clr20r3 Mscorlib system.io.directorynotfound
This error makes me suspect that you've got hard coded paths in your installer somewhere and that the configuration on your devbox is different than on the target machines.
-- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
I have actually published the files directly to the target machine by passing the file server and received the same error. I have published other .net applications to this server and installed on multiple target cpu's without any issue. I do have a app.config file with a hardcoded file path. Do you think this could be the issue? although i dont think may be the issue either. below is my app.config