Developer forum

Forum » Development » Access to the path 'C:\MySite\Files\System\Items\ItemType_MyItem.xml' is denied.

Access to the path 'C:\MySite\Files\System\Items\ItemType_MyItem.xml' is denied.

Lars Larsen
Reply

Hi,

I have an itemtype (MyItem) which I have created using the Model-First approch (created from within the Management-Center). The xml file for the itemtype is part of my Visual Studio project which is in TFS. This means that the xml file for the itemtype is read-only whenever I have the file checked-in in TFS. But when it's checked-in Dynamicweb can't run because of this error:

Access to the path 'C:\MySite\Files\System\Items\ItemType_MyItem.xml' is denied.

Why does Dynamicweb want write-access to the file? It seems like Dynamicweb doesn't write to the file anyway, only if I make changes to the file using the Model-First approch.


Replies

 
Kim SĂžjborg Pedersen
Reply

Hi, Lars 

Did you ever get a response on this question?

 
Lars Larsen
Reply

Hi Kim

No I never got an answer. But with some help from a collegue we figured out that the problem properbly was that I was using a TFS server workspace. Now I am using a local workspace and therefore the xml documents does not get its read only attributte set. So now I don't have the problem anymore :-)

 

You must be logged in to post in the forum