|
-
Nov 19th, 2010, 06:31 AM
#1
[RESOLVED] Files locked even when application is not running
Why is visual studio locking my files even when application is not running?
The files are not under any source control or readonly either.
Before this it didn't allow me to edit the aspx.vb while debugging, though I can do that in other projects. So I think something is seriously bad in this project.
Any ideas?
-
Nov 19th, 2010, 06:46 AM
#2
Re: Files locked even when application is not running
Hey Pradeep,
I can't say that I have seen this behaviour in Visual Studio.
The only thing that springs to mind is that you are editing the project from a non trusted location, perhaps a network share somewhere. Is this the case?
Gary
-
Nov 19th, 2010, 04:35 PM
#3
Re: Files locked even when application is not running
No. It is on my local machine and in the same folder where I keep all my other projects.
I think something is corrupt in this project, or maybe some setting is doing this.
-
Nov 19th, 2010, 04:53 PM
#4
Re: Files locked even when application is not running
Hmm, strange. I am not aware of a setting that would do this, but that isn't to say that there isn't one.
Do you have a back up of the project that you could store to test it?
Gary
-
Nov 19th, 2010, 07:06 PM
#5
Re: Files locked even when application is not running
Some test,other than this i also can't think of something.
If you are using IIS then try to run it without it.
Also if you are creating the a new web project try to create it as a new website.
I am not mentioning win7 because from the design i see you are on XP.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Nov 20th, 2010, 08:26 AM
#6
Re: Files locked even when application is not running
Hey,
Not sure if this is related or not, but it turned up as the result of a quick google:
http://bphillips76.spaces.live.com/b...6166!365.entry
Gary
-
Nov 20th, 2010, 01:37 PM
#7
Re: Files locked even when application is not running
I ended up creating a new blank solution. Then adding new projects to it with same type and same name as my original ones. And then adding files from old projects to new one.
It is working now. So my problem is resolved. Though I still don't know why it happened or which file exactly was corrupt. Nor I'm sure whether the problem will come back again in this new project or not.
But for now it is resolved.
-
Nov 20th, 2010, 02:08 PM
#8
Re: Files locked even when application is not running
Very weird!!!
-
Nov 20th, 2010, 11:00 PM
#9
Re: Files locked even when application is not running
I just wanna add here that today i had a problem with the page not firing the load event.
No mater what i tried the load wouldn't fire.So i created a new web site , copy-pasted and magically it worked(?). This in Vs2008 latest service pack.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Nov 23rd, 2010, 03:04 AM
#10
Re: Files locked even when application is not running
I'll mark this thread resolved since I'm no longer facing the problem with new solution.
I couldn't get the time to investigate into it due to project deadlines; though if find something I'll post it here.
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
|