Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error E101, System.UnauthorizedAccessException

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support
View previous topic :: View next topic  
Author Message
sheitman



Joined: 27 Apr 2010
Posts: 98

PostPosted: Thu Sep 09, 2010 11:55 am    Post subject: Error E101, System.UnauthorizedAccessException Reply with quote

Hi

I got an Error 101 in the output window of globalizer when I scan my solution.

Quote:
** FEHLER E101: Ein Fehler trat während dem Durchsuchen des Ziels ... auf. Dieses Ziel wird nicht durchsucht. Fehler: System.UnauthorizedAccessException Beschreibung: Der Zugriff auf den Pfad "..." wurde verweigert.


The project is a WPF project. The file is read only and on a local drive. I can open it with notepad without any errors so it is accessable and readable.

It's not an important project for me however I just wanted to let you know about this.

If you need further details let me know.
I also noticed there are a lot bak files of my project are they created by Globalizer?

Regrads
Sven
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Sep 09, 2010 12:33 pm    Post subject: Reply with quote

What is the full trace from the output window when this error occurs? What target is being scanned?

The .bak files are created by Globalizer.NET when scanning and converting WPF XAML to use the ResxExtension. If you don't want the backup files created then you can turn this off in the WPF Options from the Scan dialog.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
sheitman



Joined: 27 Apr 2010
Posts: 98

PostPosted: Thu Sep 09, 2010 2:12 pm    Post subject: Reply with quote

Oh I missed something.
What I posted was the second line.
The first is
Quote:
Schreibe Änderungen in ...


Please note ... is a placeholder for the full path of the project file.
The project file is readonly so I guess this is where the error comes from.

Can you explain me why and what Globalizer is want to change the csproj file?
It is write protected because its checked in to TFS (see my other post for TFS issues Wink)
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Sep 10, 2010 12:09 am    Post subject: Reply with quote

Yes if the Project file is readonly that would cause the problem.

When you translate WPF projects Globalizer.NET converts the XAML to use the ResxExtension (see this Code Project Article for more detail) and puts the localized resources in resx files. These resx files must be added to the project as embedded resources.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
sheitman



Joined: 27 Apr 2010
Posts: 98

PostPosted: Fri Sep 10, 2010 9:13 am    Post subject: Reply with quote

Thanks for the link. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group