Possible to load local files?

Jul 25, 2009 at 1:58 AM

seems to reject all my attemps at loading a local file with a cast error:

System.Exception: Unable to cast object of type 'System.Net.FileWebRequest' to type 'System.Net.HttpWebRequest'. ---> System.InvalidCastException: Unable to cast object of type 'System.Net.FileWebRequest' to type 'System.Net.HttpWebRequest'.
   at Beattie.Modules.Core.Net.WebResponse.GetWebResponse(String URIString) in D:\CODES\Anomalist Design\AuctionStations\Spiders\Beattie\Beattie2\BeattieDOS\Core Modules\WebLibrary\WebLibrary.cs:line 107
   --- End of inner exception stack trace ---

 

Ive tried:

c:\my\local\path\myhtmlfile.html

c:\\my\local\path\myhtmlfile.html

file//:c:\my\local\path\myhtmlfile.html

 

among many others.  is there a way to sneek local files into the testbed?

 

tnx, dave

 

 

Coordinator
Sep 2, 2009 at 2:26 AM

sorry Dave, the version currently don't support local files, and sorry if it throwed an error.

anyway, there's a way, open the htm/html file in any editor (e.g. Notepad++)

open HTMLLive, if it asked for New Project, Cancel it and press OK then paste the entire html code from the editor in Preview pane and click Reload HTML.

Sep 7, 2010 at 7:23 PM

I save the file into C:\Inetpub\wwwroot, then access it via http://localhost/blah.html