Hi,
I am using VS2008 to debug my strategy and outputting the compiled DLL/strategy to the fidelity\WLP folder. While WLP is running and i build DLL/strategy i get following access denied error:
Error 1 Unable to copy file "obj\Debug\MyWLUtilities.dll" to "..\..\..\..\..\..\..\..\Program Files (x86)\Fidelity Investments\Wealth-Lab Pro 5\MyWLUtilities.dll". The process cannot access the file '..\..\..\..\..\..\..\..\Program Files (x86)\Fidelity Investments\Wealth-Lab Pro 5\MyWLUtilities.dll' because it is being used by another process. MyWLUtilities
The WLP is running with a default blank workspace, i.e. no strategy is running.
I have vista home premium 64 bits.
I am logged in as admin.
I run VS2008 as Admin.
I changed the ..\Program Files (x86)\.. folder permission so that i have FULL access!
Strange thing is it was working a few days before. Now it does NOT.
Has anybody had similar problem? Any help will be appreciated.
Size:
Color:
This should be obvious, but you must shut down WLP. It is using your assembly and no other process can overwrite it. Set VS2008 to auto start WLP on build event.
Size:
Color:
Eugene,
Thxs for ur reply. I cant even manually copy a strategy build by VS to the WLP folder..access denied..dont have permission. I have to shut down WLP to do it. A few days ago i was developing/debugging strategy in VS with WLP running all the time. On every buid VS was able to overwrite a new compiled version while WLP was running.
"...This should be obvious, but you must shut down WLP. It is using your assembly and no other process can overwrite it. Set VS2008 to auto start WLP on build event."
I am afraid i am not an IT professional..i am confused..can u please explain what is going on?
I have WLP running with a blank screen...there isnt any strategy running. Does WLP lock the whole ..\Wealth-Lab Pro 5\ directory? How is it using my assembly? The myWLutility is a class library not a strategy.
Size:
Color:
WLP does not lock the whole main folder, as well as it doesn't lock all DLLs. Most likely, you are not running VS2008 with admin privileges. Double check that you're actually doing it.
Size:
Color:
Eugene,
Thxs for quick response.
I looked in the Task Manager and it displays MS VS2008 as being run as "Administrator".
Sorry to keep bothering u on non WLP related issues, but as i had mentioned in one of my earlier thread "WLP takes long time to load/shut down". It is really annoying to shut WLP and Restart..takes more than minute+.. everytime i make changes and recompile. Thxs.
Size:
Color:
Then, it's being used by WLP and you can't overwrite that DLL unless it's unloaded by the process that locked it.
QUOTE:
Sorry to keep bothering u on non WLP related issues,
Please re-use the
original thread, although I probably have already went through all the options that I could think of. I've just replied there.
Size:
Color:
Eugene,
I think i wasnt clear in my post. U did help me all u can on original thread, i did not want to revisit that thread. I was just showing my frustration with VS2008 problem and keep closing/openning the WLP.
Cheers!.
Size:
Color: