Unable to acess network shares when running application from the IDE

I recently switched to XE5 and Windows 8 at the same time.  I have my application running fine outside the IDE. When I run from inside the IDE and I need to access an INI file on a network share, I get a file not found as if there is a permissions error.

Example - try to read   

                                    \sharename\myfile.ini                          works from inside IDE and running application standalone

                                     \\server\sharename\myfile.ini             only works standalone


Any suggestions?
0
Steven
1/13/2014 7:10:52 PM
embarcadero.delphi.ide 3925 articles. 0 followers. Follow

1 Replies
448 Views

Similar Articles

[PageSpeed] 33
Get it on Google Play
Get it on Apple App Store

Maybe you are loading IDE with admin privileges or on another account which doesn't have that network share (and shares are per user/session)?
By default, child process inherits rights from parent process.

Open in IDE file dialog and see if you can access that network share.

Edited by: Krystian Bigaj on Jan 13, 2014 9:39 PM
0
Krystian
1/13/2014 8:40:07 PM
Reply:

Similar Artilces:

d2009
Hello, After installation I build a simple "hello world" VCL project which calls ShowMessage() when one clicks a button. I hit F9, il compiles but I receive this messagebox : --------------------------- Notification d'erreur du débogueur --------------------------- Echec du projet G:\_\Develop\Delphi2009\Project1.exe avec le message : 'access violation at 0x7c95ba98: write of address 0x0fdff3ac'. Processus stoppé. Utilisez Pas-à-pas ou Exécuter pour continuer. --------------------------- OK --------------------------- and sometimes t...

Application runs 10 times faster when Delphi IDE is open
My D2007 application runs 10 times faster when I run the Delphi IDE at the same time. In detail: * I start my application, it runs slow * With my application still running, I start Delphi. My application miraculously switches to some turbo-mode, and runs 10 times faster * with my application still running, I shutdown Delphi. My application switches back to its original slow state. Extra weird: When I run Xananews i.s.o. the Delphi IDE, I get the same results. Profiling with AQTime shows the delay is in a line with "ClientDataSet.Open". I made a small test-client w...

VS ide / delphi ide key map
I'm quit lost in VS ide, F9 run, F8 / F7 Ctrl+Alt+P for tool pallet and the fast find when you type component name F11 to switch to code view / object inspector, the ability to navigate in the object inspector with tab and writing property name. Will someone make a Delphi to VS guide? -- Henning Swiboda wrote: > I'm quit lost in VS ide, F9 run, F8 / F7 > Ctrl+Alt+P for tool pallet and the fast find when you type component > name > F11 to switch to code view / object inspector, the ability to navigate > in the object inspector with tab and writing propert...

decide if application runs from the IDE
Hi, I'm sure there is a possibility to decide if the application runs in debug mode or as a compiled app but I'm unable to find out how. Thanks for a hint. Chris Werner Chris My recollection is that the Handle() function is used to determine this. I don't have the details available right now. Cheers -- Andrew Giulinn Senior Analyst/Programmer Integrated Aviation Software Pty Ltd "Chris Werner" <cw{please_no_spam}ATf-s.de> wrote in message news:4333c635@forums-1-dub... > Hi, > > I'm sure there is a possibility to dec...

Unable to start Delphi IDE
Hi all, All of a sudden I'm no longer to start Delphi 2010 if have started it once before Upon starting the second time (after closing the first time) I get this error Cannot create file "C:\Users\[USERNAME]\AppData\Local\Temp\EditorLineEnds.ttr". The process cannot access the file because it is being used by another process. The file is definitely not being used by another process. At this point only restarting Windows allows re-starting Delphi 2010. Any idea what may be causing this? Thanks in advance, Gerrit Beuze ModelMaker Tools > > maybe this ...

Comparison between Visual Studio 2008 IDE and Delphi 2010 IDE?
Hi, I wonder which is more programmer friendly. Especially for syntax highlighting and fast code writting, viewing.. Thanks.. Mehmet Fide wrote: > Hi, > > I wonder which is more programmer friendly. Especially for syntax > highlighting and fast code writting, viewing.. > > > Thanks.. See "RAD Studio 2010 vs. Visual Studio 2010" in non-technical group. -- Warm Regards, Lee ...

Detect if application running from PB IDE...
Is there a way to programmatically determine if an application is running from within PB as opposed to the application's executable? -- Thanks, Daryl L. Avery Development Technologies Consultant Software Spectrum, Inc. Phone: 972.864.5114 Fax: 972.864.7811 Email: Daryl.Avery@SoftwareSpectrum.com Web Site: SoftwareSpectrum.com Take a look at the Handle() function and also the Mutex. --- PowerObject! ----------------------------------------- http://Groups.Yahoo.com/group/PowerObject PowerBuilder / PFC Developers' Group IF Handle (GetApplication()) = 0 TH...

Delphi IDE running on Linux / WINE
Hi, I have recently retested the Delphi IDE on WINE and was surprised that it actually worked (there are issues however). Since I'd really like to use Delphi outside a VM on my Linux system, I decided to invest some time into this and have now become the official maintainer of Delphi in the WINE appdb: https://appdb.winehq.org/objectManager.php?sClass=application&iId=42 Any other test results are welcome, I'm going to test all the Delphi versions I have access to in the near future. So far I know that Delphi XE3 and Delphi XE7 work. The installation is not straigh...

Delphi 2010 Minimize IDE on Run
I've been a Delphi person for many years, but have just leapt from Delphi 7 to Delphi 2010. Still in the "it's hopefully here somewhere" phase, so forgive the newbie question. How do I set so that the IDE minimizes when I run the project? > {quote:title=Lodge Consultancy Proprietor wrote:}{quote} > I've been a Delphi person for many years, but have just leapt from Delphi 7 to Delphi 2010. Still in the "it's hopefully here somewhere" phase, so forgive the newbie question. How do I set so that the IDE minimizes when I run the project? Tools &...

IDE crashes when running shared object
PB 11.5 -- I'm experiencing a lot of IDE crashes since I started working with shared objects. It seems to happen randomly but only after the app has been run from the IDE. I'm using SharedObjectRegister, SharedObjectGet and SharedObjectUnregister and I even tried destoying the instance nv shared object in the closequery even of the window. The debugger doesn't show any "objects in memory" but it seems like the IDE is in a bad state after the app runs. I believe I figured it out. The shared object was posting to a function of the "callback" object, whi...

problems running application on a shared network..
I have a .net windows application that is written in vb.net.    The program is designed to run in a network and access resources from 2 separate servers (one being a sql connection) located in the intranet. upon completion of the project, I deploy the project to a mapped drive s:\project\project.exe if I log on to the server it is located on and jump into dos and type "f:\project\project.exe" the program will run as it is supposed to. when I try to run it using "s:\project\project.exe" the program blows up with a sql security error ... I have tes...

Delphi XE
I have seen other questions with this same problem, but still no answer. I'm hoping someone can help. I run my application from with the XE IDE and I get an EOleSysError - 'The system cannot find the path specified'. I can run it in debug or non debug mode. But, I can go out to explorer to the same directory and run that same app outside the IDE and it runs fine. No errors. All of my assemblies are located in the build directory of the application, so I'm not relying on GAC or anything, just directory the executable is in. Is this a known bug with XE and Windows 7 x...

Delphi XE
Hi, with Delphi XE every time i run a program in the IDE (with oder without Debugger) the executable is locked for a few minutes. In this time i can't recompile my project. I get the error F2039 - cannot open outputfile. The installation is on the same machine as my Delphi 2010 - here it works without any problem (Win 7 Ultimate). No VirusScanner is active and every service who can lock the file is stopped. Has Somebody the same problem or an idea? Thanks Robert I have this on D2010. Each time I run a program I have to build or compile twice because it always f...

Running Delphi IDE inside virtual container?
Hello! Does anybody have experience running the Delphi IDE in ThinApp or Cameyo? (Please note: This is not the same as VM) http://www.vmware.com/products/thinapp http://www.cameyo.com/ ...

Web resources about - Unable to acess network shares when running application from the IDE - embarcadero.delphi.ide

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Pre-Christmas job application rush hits Australian public service
Speed required for pre-Christmas job window opening for public servants. Check out who is hiring.

Cloud application adoption increases 71 percent in 2015
The adoption of cloud applications is soaring, up by 71 percent in the last year according to the results of a new survey. The latest Cloud ...

Tashfeen Malik's visa application under scrutiny - Business Insider Deutschland
The US government has released the visa application for Tashfeen Malik, who along with her husband killed 14 people in an attack in San Bernardino, ...

MBA: Mortgage Applications Decrease in Latest MBA Weekly Survey, Purchase Applications up 34% YoY
From the MBA: Mortgage Applications Decrease in Latest MBA Weekly Survey Mortgage applications decreased 1.1 percent from one week earlier, ...

German-Based Spirea Promotes Decentralized PV Applications In Uruguay
... Its technical operations specialist, Laurie Lawrence, pointed out that Uruguay [&hellip German-Based Spirea Promotes Decentralized PV Applications ...

Visa application of San Bernardino shooter released
CNN Visa application of San Bernardino shooter released CNN (CNN) The visa application of one of the San Bernardino shooters was released ...

SMIC and M31 introduce differentiated IP solutions for storage controller applications
China-based IC foundry Semiconductor Manufacturing International (SMIC) has announced the company will expand its IP portfolio with M31 Technology's ...

Pre-K Applications Begin Jan 25, a Month Earlier Than Last Year, City Says
The DOE has moved the process up to Jan. 25 on the heels of a similar schedule shift for kindergarten. MANHATTAN — The application period for ...

NASA accepting applications for the position of 'astronaut'
Wanted ads aren't usually newsworthy, unless the company is NASA and the job is "going to space." The US space agency has started recruiting ...

Resources last updated: 12/23/2015 11:14:39 AM