in Education by
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 9 years ago. Our application is a hybrid Win32 unmanaged application and a .NET 2.0 managed application. The Win32 part is the main executable, which at some point loads and hosts the .NET 2.0 runtime and loads some managed modules to open new winforms windows. We've had our share of CASPOL-type problems, but today we have a very odd problem and I'm hoping someone can give me some pointers or ideas, or basically just anything really, that would trigger a spark of something that would help us resolve this. On a server, accessed through citrix, if the application files are located in a directory located on the desktop of the currently logged on user, which is a server/domain administrator, the program runs fine. The .NET windows open as expected. However, if we move the directory to the root of the same disk, which is a physical disk in the server (so no SAN mapping or anything that would trigger a CASPOL command to my knowledge) and keep everything else the same, same user, same configuration, etc., the application silently crashes when we try to invoke the .NET windows. It crashes by way of just disappearing, which suggests it might be something like a stack overflow. We're looking into adding logging to some parts of the app to perhaps be able to figure out what happens, and where, but I'm posting this question here as well. So far we've verified that there are no oddities in the CASPOL access list, nothing odd in the NGEN cache (I was thinking perhaps there was corrupted images from before, if the server owner had played with it), and no oddities in the GAC (we don't use GAC for the assemblies). Summarized: If the program is run from U:\Documents and Settings\USERNAME\Desktop\directory, it works If it is run from U:\directory, it doesn't U: is a physical disk in the server No apparent oddities in NGEN or GAC caches The right .NET runtime is installed, the right files for our application has been installed (and indeed work fine if run from the desktop location) Anyone with anything that might help? Edit: Problem re-asked here with different/other information, and "solved". JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I had precisely such a problem some time back. After much hair pulling I found the problem. Be very carefull when you use Process.Start() or any such calls, because depending on how you start it it can use a variety of folders as the working environment (current path, system environment, and so on.

Related questions

0 votes
    I have a virtual machine (VMware) with Mercury Quick Test Professional 9.2 installed. I have a script ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
0 votes
    This is a question I asked on another forum which received some decent answers, but I wanted to see ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 24, 2022 in Education by JackTerrance
0 votes
    What is debugging an application which runs on another java virtual machine on another machine? (a) virtual ... Servlet of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which actions can you perform with Microsoft Azure Active Directory Connect but not with Microsoft Azure Active Directory ... . (4)Connect to multiple on-premises forests....
asked Sep 23, 2021 in Technology by JackTerrance
0 votes
    I have an access table that has in one column a list of groups and then another column that has a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
0 votes
    I have an access table that has in one column a list of groups and then another column that has a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 10, 2022 in Education by JackTerrance
0 votes
    The ___________ operation, denoted by −, allows us to find tuples that are in one relation but are not ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    #include void display(int *q,int,int); int main(){ int a[3][4]={ 2,3,4,5, 5,7,6,8, 9,0,1,6 }; display(a,3,4); return 0; } void display(int *q,int row,int col){ int i,j; for(i=0;i...
asked Jun 14, 2022 in Education by JackTerrance
0 votes
    #include void display(int *q,int,int); int main(){ int a[3][4]={ 2,3,4,5, 5,7,6,8, 9,0,1,6 }; display(a,3,4); return 0; } void display(int *q,int row,int col){ int i,j; for(i=0;i...
asked Jun 8, 2022 in Education by JackTerrance
0 votes
    The main directory of a disk is called the ………… directory. (A) root (B) sub (C) folder (D) network (E) None of these Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    Write on the disk “is same as” Record” on the disk 1 point True False Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Write on the disk “is same as” Record” on the disk 1 point True False Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    Is it possible to make API call from one website to API - both located on same server. When I ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 15, 2022 in Education by JackTerrance
0 votes
    Is it possible to make API call from one website to API - both located on same server. When I ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 11, 2022 in Education by JackTerrance
...