Can't insert hyperlink: unhandled exception

This forum is for all Flare issues not related to any of the other categories.
Post Reply
mafaulkner
Propeller Head
Posts: 46
Joined: Tue Jul 03, 2012 5:42 pm

Can't insert hyperlink: unhandled exception

Post by mafaulkner »

(I'm a new user to Flare.) I'm trying to insert a hyperlink in a paragraph by using the ribbon command. In the Insert Hyperlink dialog box, when I double-click the file I want to link to, I get an unhandled exception message. Clicking Continue does nothing.

The message says that access to the path (to RecentLinks.xml) is denied.
Also I'm apparently having no success embedding the image, so I'll try to attach it!
You do not have the required permissions to view the files attached to this post.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Can't insert hyperlink: unhandled exception

Post by NorthEast »

I'm guessing from the path in that message that the project is kept in TFS (source control).

I think the error is appearing because Flare is trying to modify the RecentLinks.xml file, but the file is locked as it isn't checked-out in TFS.

However, I'm fairly sure that everything inside the Project\Users folder, including the RecentLinks.xml file, should not be in TFS.
If you bind a project to TFS using Flare's interface (Project Properties), then Flare will not include the contents of the Users folder. In my projects, that folder is empty in TFS (and SourceSafe).

So, I'm guessing your project wasn't added to TFS using Flare, and may include some folders and files in TFS that it shouldn't.
mafaulkner
Propeller Head
Posts: 46
Joined: Tue Jul 03, 2012 5:42 pm

Re: Can't insert hyperlink: unhandled exception

Post by mafaulkner »

Thank you! You're right, we added everything to TFS before we knew that we could use Flare's interface to do that. I'll correct this and try again.
mafaulkner
Propeller Head
Posts: 46
Joined: Tue Jul 03, 2012 5:42 pm

Re: Can't insert hyperlink: unhandled exception

Post by mafaulkner »

Dang it (or words to that effect), that didn't work at all. I deleted the original project from TFS and used the Flare interface to bind a new version of the project to TFS. As you said, Dave Lee, the Users folder was not added to TFS.

But I still can't add a hyperlink! I get the same error as before. The Users folder is on my hard drive, although it doesn't appear in the Project Organizer in Flare. Should it?
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Can't insert hyperlink: unhandled exception

Post by NorthEast »

It
mafaulkner wrote:Dang it (or words to that effect), that didn't work at all. I deleted the original project from TFS and used the Flare interface to bind a new version of the project to TFS. As you said, Dave Lee, the Users folder was not added to TFS.

But I still can't add a hyperlink! I get the same error as before. The Users folder is on my hard drive, although it doesn't appear in the Project Organizer in Flare. Should it?
It should not appear in Project Organizer.

It's likely the problem is because although you've deleted the project in TFS, the files on your drive are still read-only, so Flare can't change them.

You need to remove the Read only attribute from these folders and all their contents:
- Analyzer
- Project\Users
- Output
- FileSync
mafaulkner
Propeller Head
Posts: 46
Joined: Tue Jul 03, 2012 5:42 pm

Re: Can't insert hyperlink: unhandled exception

Post by mafaulkner »

Thank you again, David. That seemed to fix the problem.

For some reason, every time I refresh my hard drive folders, they revert to read-only. I guess I can work around that!

Melinda
dmcmillion
Jr. Propeller Head
Posts: 8
Joined: Mon Jan 27, 2014 10:30 am

Re: Can't insert hyperlink: unhandled exception

Post by dmcmillion »

Thank you--I recently received this error and this post helped me to fix it.
tomlowe
Jr. Propeller Head
Posts: 9
Joined: Thu Feb 20, 2014 4:14 am

Re: Can't insert hyperlink: unhandled exception

Post by tomlowe »

Another thank you, this has resolved my issue with RecentLinks.xml error
MSladeMpls
Jr. Propeller Head
Posts: 2
Joined: Wed Feb 25, 2015 10:57 am

Re: Can't insert hyperlink: unhandled exception

Post by MSladeMpls »

I'll pile on here and add my thanks as well! This solved my same issue.
Post Reply