|
-
Aug 27th, 2006, 07:01 PM
#1
Thread Starter
Hyperactive Member
[2005] Operation could not be completed (remote storage problem)
I'm working on a project where I need file IO. I'm using streamreaders and streamwriters to access the files. All the operations I need to do work perfectly fine when I have the file stored locally (ie on the computer I'm using). However, when the project is stored on the network drive (a requirement for backups etc), I get security exceptions.
So the solution I explored was the clickonce security settings (Project properties -> security tab), and I made the application partial trust. I left most of the settings unchanged, only changing "FileIOPermission" to "Include". Now, occasionally when I compile it generates this error:
The operation could not be completed
After this, any further compiling efforts result in this error:
Visual Studio could not copy a support file to this location:
'[network drive]\[program directory path]\bin\debug\PurlinDesigner.vshost.exe'. Please verify the path exists and is writeable.
I know that I could make a local copy of the project, and this would completely circumvent the error, but I would strongly prefer to have an alternate solution, as I need to keep the project on the network drive throughout the development (for backups etc).
At this point, every time I get the error, I shut down and restart visual studio and it continues fine, but this is painful and slow (read: painfully slow).
Has anyone encountered this problem before, and can anyone offer any advice on solutions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|