# Disabled (read-only) files in Editor

**URL:** <https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957>\
**Category:** Toad for Oracle & DevOps Toolkit\
**Created:** [October 20, 2010, 3:30pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957 "2010-10-20T15:30:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![shilnik\_500](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@shilnik\_500](https://forums.toadworld.com/u/shilnik_500)\
**Post date:** [October 20, 2010, 3:30pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/1 "2010-10-20T15:30:58Z")

</div>

Hi,

TOAD ver 10.6.0.42.

When I open a file in Editor, I can see its status as “Uncontrolled”.  
As soon as I type or copy "CREATE OR REPLACE PROCEDURE " OR “Load in Editor” the existing procedure code OR compiling, the file status changes to “Disabled” and it becomes read-only. I found the only way to continue - drop procedure :).

Is there some TOAD option which is responsible for this behavior?

Thanks,  
Andrew

---

<div class="post-metadata">

**Author:** ![troy34](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/troy34/32/117_2.png) [@troy34](https://forums.toadworld.com/u/troy34)\
**Post date:** [October 27, 2010, 3:04pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/2 "2010-10-27T15:04:00Z")

</div>

I have a guy on my team where that happens as well. After compiling a proc, the editor tab switches to read only. We have team coding enabled in this dev database however haven’t ever really figured out how best to utilize it - wondering if that has something to do with the editor flipping to read only.

Anyone have any ideas?

---

<div class="post-metadata">

**Author:** ![jbowman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jbowman/32/22_2.png) [@jbowman](https://forums.toadworld.com/u/jbowman)\
**Post date:** [October 27, 2010, 3:26pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/3 "2010-10-27T15:26:17Z")

</div>

[Attachment(s) from John Bowman included below]

Hi Troy,

It’s quite possible this is the cause of your issue. If the procedure  
you’re compiling is controlled by a Code Control Group, or the Team Coding  
setup is tied to a version control provider with the “Automatic  
Check-in” option turned on, it may be locking the code after it has been  
checked-in.

There are a couple of things you can check to help solve this. First, check your  
Team Coding status window by clicking on the button on the Team Coding toolbar  
or selecting Utilities à Team Coding à Team Coding Status. The status window  
will look like this:

This will tell you if Team Coding is installed in the database and whether a VCS  
Provider is enabled and connected. It will also show your permissions as to what  
Team Coding settings you’re able to change on the bottom.

Next, check the Source Control page of your Toad Options window, through View à  
Toad Options à Source Control. Check to see if “Automatic Check-In”  
is selected. If it is, you can de-select it. You’ll need to manually check  
the procedure in after you compile it, but it may keep the issue you’re  
experiencing from happening:

Finally, see if this procedure is defined within one, or more Code Control  
Groups, by clicking on the Code Control Groups button on the Team Coding  
toolbar, or selecting Utilities à Team Coding à Code Control Groups:

If the procedure is defined in more than one Code Control Group, you may want to  
adjust your group definitions so that it belongs to only one group. Otherwise,  
you may confuse Team Coding, as it won’t know which VCS project to attach  
this procedure to.

If you have some confusion as to how to utilize Team Coding within Toad, I would  
suggest the following resources:

Attachment(s) from John Bowman

1 of 1 File(s)

Subversion Integration with TOAD.doc  
 ![image006.jpeg](https://global.discourse-cdn.com/quest/original/2X/8/86d086bc958ff13705cfaba26d9d70910d56a96f.jpeg)

---

<div class="post-metadata">

**Author:** ![jbowman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jbowman/32/22_2.png) [@jbowman](https://forums.toadworld.com/u/jbowman)\
**Post date:** [October 27, 2010, 3:26pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/4 "2010-10-27T15:26:17Z")

</div>

[Attachment(s) from John Bowman included below]

Hi Troy,

It’s quite possible this is the cause of your issue. If the procedure  
you’re compiling is controlled by a Code Control Group, or the Team Coding  
setup is tied to a version control provider with the “Automatic  
Check-in” option turned on, it may be locking the code after it has been  
checked-in.

There are a couple of things you can check to help solve this. First, check your  
Team Coding status window by clicking on the button on the Team Coding toolbar  
or selecting Utilities à Team Coding à Team Coding Status. The status window  
will look like this:

This will tell you if Team Coding is installed in the database and whether a VCS  
Provider is enabled and connected. It will also show your permissions as to what  
Team Coding settings you’re able to change on the bottom.

Next, check the Source Control page of your Toad Options window, through View à  
Toad Options à Source Control. Check to see if “Automatic Check-In”  
is selected. If it is, you can de-select it. You’ll need to manually check  
the procedure in after you compile it, but it may keep the issue you’re  
experiencing from happening:

Finally, see if this procedure is defined within one, or more Code Control  
Groups, by clicking on the Code Control Groups button on the Team Coding  
toolbar, or selecting Utilities à Team Coding à Code Control Groups:

If the procedure is defined in more than one Code Control Group, you may want to  
adjust your group definitions so that it belongs to only one group. Otherwise,  
you may confuse Team Coding, as it won’t know which VCS project to attach  
this procedure to.

If you have some confusion as to how to utilize Team Coding within Toad, I would  
suggest the following resources:

Attachment(s) from John Bowman

1 of 1 File(s)

Subversion Integration with TOAD.doc

 ![image005.jpeg](https://global.discourse-cdn.com/quest/original/2X/2/26de1efff33a2c260530d68ccb88d2b14f0ae340.jpeg)

---

<div class="post-metadata">

**Author:** ![jbowman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jbowman/32/22_2.png) [@jbowman](https://forums.toadworld.com/u/jbowman)\
**Post date:** [October 27, 2010, 3:26pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/5 "2010-10-27T15:26:17Z")

</div>

[Attachment(s) from John Bowman included below]

Hi Troy,

It’s quite possible this is the cause of your issue. If the procedure  
you’re compiling is controlled by a Code Control Group, or the Team Coding  
setup is tied to a version control provider with the “Automatic  
Check-in” option turned on, it may be locking the code after it has been  
checked-in.

There are a couple of things you can check to help solve this. First, check your  
Team Coding status window by clicking on the button on the Team Coding toolbar  
or selecting Utilities à Team Coding à Team Coding Status. The status window  
will look like this:

This will tell you if Team Coding is installed in the database and whether a VCS  
Provider is enabled and connected. It will also show your permissions as to what  
Team Coding settings you’re able to change on the bottom.

Next, check the Source Control page of your Toad Options window, through View à  
Toad Options à Source Control. Check to see if “Automatic Check-In”  
is selected. If it is, you can de-select it. You’ll need to manually check  
the procedure in after you compile it, but it may keep the issue you’re  
experiencing from happening:

Finally, see if this procedure is defined within one, or more Code Control  
Groups, by clicking on the Code Control Groups button on the Team Coding  
toolbar, or selecting Utilities à Team Coding à Code Control Groups:

If the procedure is defined in more than one Code Control Group, you may want to  
adjust your group definitions so that it belongs to only one group. Otherwise,  
you may confuse Team Coding, as it won’t know which VCS project to attach  
this procedure to.

If you have some confusion as to how to utilize Team Coding within Toad, I would  
suggest the following resources:

Attachment(s) from John Bowman

1 of 1 File(s)

Subversion Integration with TOAD.doc  
 ![image004.jpeg](https://global.discourse-cdn.com/quest/original/2X/7/74f68cc387b41d8abda423b46fdfc76b7f6d6211.jpeg)

---

<div class="post-metadata">

**Author:** ![jbowman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jbowman/32/22_2.png) [@jbowman](https://forums.toadworld.com/u/jbowman)\
**Post date:** [October 27, 2010, 3:32pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/6 "2010-10-27T15:32:08Z")

</div>

Weird!! Sorry Andrew, your original post never got to my inbox, so I thought  
Troy initiated this issue.

Andrew, some of the information included below may apply to you when loading  
objects into the editor from the database. If, however, you’re loading a  
script file off your hard drive, it’s possible the editor is noticing this  
file is marked as read-only on the hard drive and making it read-only from that.  
Or, you may have a Code Control Group that manages script files in that  
directory, as shown in one of the pictures in the below e-mail. This might also  
cause that behavior for your environment.

Can you give an example of where this is happening??

-John

 ![image005.jpeg](https://global.discourse-cdn.com/quest/original/2X/2/26de1efff33a2c260530d68ccb88d2b14f0ae340.jpeg)

---

<div class="post-metadata">

**Author:** ![jbowman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jbowman/32/22_2.png) [@jbowman](https://forums.toadworld.com/u/jbowman)\
**Post date:** [October 27, 2010, 3:32pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/7 "2010-10-27T15:32:08Z")

</div>

Weird!! Sorry Andrew, your original post never got to my inbox, so I thought  
Troy initiated this issue.

Andrew, some of the information included below may apply to you when loading  
objects into the editor from the database. If, however, you’re loading a  
script file off your hard drive, it’s possible the editor is noticing this  
file is marked as read-only on the hard drive and making it read-only from that.  
Or, you may have a Code Control Group that manages script files in that  
directory, as shown in one of the pictures in the below e-mail. This might also  
cause that behavior for your environment.

Can you give an example of where this is happening??

-John  
 ![image004.jpeg](https://global.discourse-cdn.com/quest/original/2X/7/74f68cc387b41d8abda423b46fdfc76b7f6d6211.jpeg)

---

<div class="post-metadata">

**Author:** ![jbowman](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/jbowman/32/22_2.png) [@jbowman](https://forums.toadworld.com/u/jbowman)\
**Post date:** [October 27, 2010, 3:32pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/8 "2010-10-27T15:32:08Z")

</div>

Weird!! Sorry Andrew, your original post never got to my inbox, so I thought  
Troy initiated this issue.

Andrew, some of the information included below may apply to you when loading  
objects into the editor from the database. If, however, you’re loading a  
script file off your hard drive, it’s possible the editor is noticing this  
file is marked as read-only on the hard drive and making it read-only from that.  
Or, you may have a Code Control Group that manages script files in that  
directory, as shown in one of the pictures in the below e-mail. This might also  
cause that behavior for your environment.

Can you give an example of where this is happening??

-John  
 ![image006.jpeg](https://global.discourse-cdn.com/quest/original/2X/8/86d086bc958ff13705cfaba26d9d70910d56a96f.jpeg)

---

<div class="post-metadata">

**Author:** ![shilnik\_500](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@shilnik\_500](https://forums.toadworld.com/u/shilnik_500)\
**Post date:** [November 3, 2010, 9:37am UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/9 "2010-11-03T09:37:26Z")

</div>

Thank you John!  
It is VSS issue for sure. Most likely Groups…  
I’m currently working with Quest support team and our DB/VSS admins.  
I’ll let you know.

Andrew

---

<div class="post-metadata">

**Author:** ![shilnik\_500](https://avatars.discourse-cdn.com/v4/letter/s/ecae2f/32.png) [@shilnik\_500](https://forums.toadworld.com/u/shilnik_500)\
**Post date:** [November 3, 2010, 2:54pm UTC](https://forums.toadworld.com/t/disabled-read-only-files-in-editor/9957/10 "2010-11-03T14:54:22Z")

</div>

We had old SQL Navigator Team Coding Objects installed on the server.  
TOAD used them and looks like it caused the problems.  
Our DB admin reinstalled them. TOAD works now.

Thanks,  
Andrew
