473,386 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Final installation debugging

maylortaylor
72 64KB
Hey guys, i'm so close to finishing i can already taste the victory beverage. However, when i install my finished product it runs fine...until the very last action is done (a button that 'saves' the job). The program pops this error up.

"Unhandled exception has occurred in your application. If you click continue, the app will ignor this error and attempt to continue. If you click quit, the app will close.

Could not find a part of the path "C:\Program Files(x86)\ATR\Save A

"


sadly, the error message ends right there. I can send the rest of the 'details' in the error if that will help...but it's a lot of jargon.

So any clues?
Dec 4 '12 #1
2 1732
maylortaylor
72 64KB
Ok i found the culprit.

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\ATR\Save A Job\obj\Release\42\ATR\BackupProgram\Backup.xml'.

For some reason, the program is looking for the backup.xml file in the wrong place. (and seemingly added folders)

The way i'm calling the backup.xml file in the program is by "(System.Environment.SpecialFolder.ProgramFile sX86 & "\ATR\Save A Job\Backup.xml")"

which, could be the wrong way, but it makes sense to me. But i would assume that the full path to the file location would be as follows:

"C:\Program Files (x86)\ATR\Save A Job\backup.xml"

however, it is looking for it in the wrong place (obvious from the error)


Any help?
Dec 4 '12 #2
maylortaylor
72 64KB
Got it fixed guys. It was the permissions to the installation folder. It was set to "read/write only"...once i switched it to Full Control, everything worked fine
Dec 5 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bihari Srinivasan | last post by:
I am using two PCs, say PC-1 and PC-2 in a networked environment (TCP/IP). Both of these run Windows 2000. PC-1 is a development platform and PC-2 is a remote debug platform. I have a very...
2
by: Joseph S. | last post by:
(I am posting from a web interface- google groups, yet the message is not appearing on the group, so am posting again, if you get two of the same kindly ignore one) 1)I get startup error...
3
by: Joseph S. | last post by:
1)I get startup error messages: "Unable to load dynamic library c:\php\php_curl.dll - the specified file cannot be found" although the file is very much there at exactly that location Not only...
5
by: Don Hans | last post by:
Gents, Have .Net2003 Enterprise architect installed on a Win2k Server with IIS. Even logged in as administrator, I cannot run any ASP.NET app with debugging. I always get the error "Unable to...
1
by: Zanna | last post by:
Hi all! I hope someone can help me. I have in my lan a PC with IIS installed and this works as web server. On another PC I have VS.net 2003 installed. I'd like to debug asp/aspx pages on...
0
by: Tomek | last post by:
During installation VS2k3 Enterprose Architect Edition the following message is shown: Error 5000.HrVSAnalyzerCAH(): Error is Visual Analyzer Setup failed: Visula Studio Analyzer user creation not...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
1
by: Ken Allen | last post by:
I have encountered a problem with remote debugging under VS 2005 and ..Net 2.0 -- it seems that the framework installation does not include the "Microsoft .Net Framework 2.0 Configuration" tool! ...
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.