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. 1.0 and 2.0 .net framework installed on target machine. 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. 1.0 and 2.0 .net framework installed on target machine. Thanks in advance Kourvoisier
It looks as though the directory it is attempting to install into doesn't exist.
Deja View - the feeling that you've seen this post before.
-
It looks as though the directory it is attempting to install into doesn't exist.
Deja View - the feeling that you've seen this post before.
anyone have any ideas of what to do next. I am pretty much at a stand still at this point!!!
-
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. 1.0 and 2.0 .net framework installed on target machine. Thanks in advance Kourvoisier
Between steps 3 and 4 do you drag setup.exe to the target machine? Or are you just clicking on it out of the file server? If no: Perhaps your file server doesn't have .NET installed on it. It will not be able to locate the .NET CLR on the target machine. Brent
Brent
-
Between steps 3 and 4 do you drag setup.exe to the target machine? Or are you just clicking on it out of the file server? If no: Perhaps your file server doesn't have .NET installed on it. It will not be able to locate the .NET CLR on the target machine. Brent
Brent
I do not drag the setup.exe to the target machine. I simply click it str8 from the file server. The .net framework is not installed on the file server. Do you think this may be the problem? 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
-
I do not drag the setup.exe to the target machine. I simply click it str8 from the file server. The .net framework is not installed on the file server. Do you think this may be the problem? 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
-
I also get errors trying to run a .NET app from a file server. But I have always been able to drag the same executable to the desktop, double click it and it runs just fine. I would recommend you add this to your process.
Brent
Brent, I drag the setup.exe to the desktop along with the other files that it needs double click on the target computer and the same exact error happens.