Red Gate forums :: View topic - can't find the path Reflexil.window\index.dat
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
.Net Reflector 6.x and .NET Reflector 6.x Pro
.Net Reflector 6.x and .NET Reflector 6.x Pro forum

can't find the path Reflexil.window\index.dat

Search in .Net Reflector 6.x and .NET Reflector 6.x Pro forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
flourishing



Joined: 28 Jan 2010
Posts: 2

PostPosted: Thu Jan 28, 2010 8:23 am    Post subject: can't find the path Reflexil.window\index.dat Reply with quote

I use the newest beta reflector pro,
and i download the plugin reflexil 1.0 version.
where i try to use replace all with code
reflector pop up a messagebox,said.

can't find the path c:\users\xx\appdata\local\temp\reflexil.window\index.dat
then crashed. i have tryed the stable version, and change the reflexil version to 0.9,the same question.

i run on windows7, so i changes to windows xp too. the same problem appeared.
wear?
thank you for any help.
Back to top
View user's profile Send private message
Clive Tong



Joined: 04 Dec 2008
Posts: 283

PostPosted: Thu Jan 28, 2010 10:51 am    Post subject: Reply with quote

I managed to reproduce the problem here, but it doesn't appear to be connected with any Reflector code.

The error when I run as administrator is

System.IO.DirectoryNotFoundException
Could not find a part of the path 'C:\Users\Administrator\AppData\Local\Temp\Reflexil.Window\index.dat'.

The stacktrace for the error is
System.IO.__Error
WinIOError(Int32 errorCode, String maybeFullPath)
System.IO.FileStream
Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
System.IO.FileStream.
ctor(String path, FileMode mode, FileAccess access)
ICSharpCode.SharpDevelop.Dom.DomPersistence
SaveCacheIndex(Dictionary`2 cacheIndex)
ICSharpCode.SharpDevelop.Dom.DomPersistence
AddFileNameToCacheIndex(String cacheFile, ReflectionProjectContent pc)
ICSharpCode.SharpDevelop.Dom.DomPersistence
SaveProjectContent(ReflectionProjectContent pc)
ICSharpCode.SharpDevelop.Dom.ProjectContentRegistry
get_Mscorlib()
Reflexil.Forms.IntellisenseForm
ParserThread()
System.Threading.ThreadHelper
ThreadStart_Context(Object state)

so it looks like the problem is just that the code in the assembly ICSharpCode.SharpDevelop.Dom.dll expects the directory to exist. Hence the workaround is probably to create the directory, though the longer term solution is probably to get the add-in author to use an API to create the necessary directory.
Back to top
View user's profile Send private message
reflexil



Joined: 03 Dec 2010
Posts: 10

PostPosted: Fri Dec 03, 2010 5:37 pm    Post subject: Reply with quote

This is fixed with Reflexil 1.2 (coming in January 2011)

Regards
Back to top
View user's profile Send private message
Neil



Joined: 01 Jan 2011
Posts: 1

PostPosted: Tue Jan 04, 2011 1:58 am    Post subject: reflexil does not work Reply with quote

if your Windows language is not english, when you use reflexil to replace the method code, an exception will thrown, and the reflector will crash.
the exception message may be like:
Could not find a part of the path 'C:\Users\xxxxxx\AppData\Local\Temp\Reflexil.Window\index.dat'.

i think this is a bug of reflexil. the solution is: you can create a folder of 'Reflexil.Window' in '...AppData\Local\Temp\'

then restart reflector, reflexil works now.
Back to top
View user's profile Send private message Send e-mail
reflexil



Joined: 03 Dec 2010
Posts: 10

PostPosted: Mon Feb 07, 2011 12:06 pm    Post subject: Reply with quote

Was related to the cache system used by the completion engine. It's fixed in the SVN (and will be available in v1.2)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
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