This project is read-only.

Can't load file HttpContextFactory.cs

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


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


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

using code from this tutorial

Aug 10, 2009 at 10:01 AM

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