Can't load file HttpContextFactory.cs

Aug 9, 2009 at 3:05 PM
Edited Aug 9, 2009 at 3:13 PM

hi, 

I am refreshing browser several times and on 7 or 13 refresh it raising with exception:

Can't load file HttpContextFactory.cs under C:\projects\c#\libs\webserver\tags\v1.0\HttpServer.

Check the file permission and the existence of that file.

 

System.ArgumentException: Folder name C:\projects\c#\libs\webserver\tags\v1.0\HttpServer not allowed. 

   в System.IO.FileSystemWatcher.set_Path(String value)

   в ICSharpCode.SharpDevelop.FileChangeWatcher.SetWatcher()

   в ICSharpCode.SharpDevelop.FileChangeWatcher..ctor(OpenedFile file)

   в ICSharpCode.SharpDevelop.FileServiceOpenedFile..ctor(String fileName)

   в ICSharpCode.SharpDevelop.FileService.GetOrCreateOpenedFile(String fileName)

   в ICSharpCode.SharpDevelop.FileService.LoadFileWrapper.Invoke(String fileName)

   в ICSharpCode.Core.FileUtility.<>c__DisplayClass1.<ObservedLoad>b__0()

   в ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, String fileName, String message, FileErrorPolicy policy)

Please help :)

P.S. I'm using HttpServer_v1.0_release.zip

 

Aug 9, 2009 at 3:06 PM
Edited Aug 9, 2009 at 3:10 PM

using code from this http://webserver.codeplex.com/SourceControl/changeset/view/17998#203569 tutorial

Coordinator
Aug 10, 2009 at 9:01 AM

Looks like a SharpDevelop error if u look at the stack trace.