[Mono-list] Mono.WebServer2 Problems

willisterman craig.willis at myknowledgemap.com
Wed May 13 05:09:06 EDT 2009




willisterman wrote:
> 
> 
> 
> Robert Jordan wrote:
>> 
>> willisterman wrote:
>>> Are there any configuration options I am missing to get this to work?  
>> 
>> Does it work with Mono? Your stacktrace looks like one generated
>> by MS.NET.
>> 
>> 
> 
> I cant actually test the exact cercumstances, as I'm using pre-compiled
> websites, which I think may be the problem.  I tested un-compiled sites,
> to get it working in mono, and it did work.  I then tried the un-compiled
> sites in ASP.NET, and that worked also. 
> 
> I think it looks like a virtual path issue, from when the sites were
> compiled, I'll have to look into that.
> 
> 

I've looked into this further, and I can't really say that its a
Mono.WebServer2 problem, so I dont know if asking here for help is really
the best place.   I've r-compiled the site using the specific virtual dir,
but its made no difference, so I've grabbed filemon to see if I can find any
differences. 

The two sites are exactly the same, just one is compiled with the / vdir,
and the other with the /compiled vdir:

The main difference happens here:

Root Site:

OPEN	C:\projects\AppServer\dev\bin\Debug\sites\root\	SUCCESS	Options: Open
Directory  Access: 00100001
DIRECTORY	C:\projects\AppServer\dev\bin\Debug\sites\root\	NO SUCH FILE
FileBothDirectoryInformation: App_LocalResources
CLOSE	C:\projects\AppServer\dev\bin\Debug\sites\root\	SUCCESS	
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\root\bin\login.aspx.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION	C:\projects\AppServer\dev\bin\Debug\sites\root\login.aspx
SUCCESS	Attributes: A
QUERY INFORMATION	C:\projects\AppServer\dev\bin\Debug\sites\root\login.aspx
SUCCESS	Attributes: A
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\root\public.master	SUCCESS
Attributes: A
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\root\public.master	SUCCESS
Attributes: A
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
SUCCESS	Attributes: A
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
SUCCESS	Attributes: A
OPEN	C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
SUCCESS	Options: Open  Access: Read
OPEN	C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
SUCCESS	Options: Open Sequential  Access: Read
READ 
C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
SUCCESS	Offset: 0 Length: 16384
READ	C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
END OF FILE	Offset: 9728 Length: 16384
CLOSE
C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
SUCCESS	
CLOSE
C:\projects\AppServer\dev\bin\Debug\sites\root\bin\App_Web_bu3t_0uq.dll
SUCCESS	

But on the /compiled site:

OPEN	C:\projects\AppServer\dev\bin\Debug\sites\compiled\	SUCCESS	Options:
Open Directory  Access: 00100001
DIRECTORY	C:\projects\AppServer\dev\bin\Debug\sites\compiled\	NO SUCH FILE
FileBothDirectoryInformation: App_LocalResources
CLOSE	C:\projects\AppServer\dev\bin\Debug\sites\compiled\	SUCCESS	
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\login.aspx.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\login.aspx	SUCCESS
Attributes: A
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\login.aspx.cdcab7d2.compiled
NOT FOUND	Attributes: Error
OPEN	C:\projects\AppServer\dev\bin\Debug\sites\compiled\	SUCCESS	Options:
Open Directory  Access: 00100001
DIRECTORY	C:\projects\AppServer\dev\bin\Debug\sites\compiled\	SUCCESS
FileBothDirectoryInformation: *
DIRECTORY	C:\projects\AppServer\dev\bin\Debug\sites\compiled\	SUCCESS
FileBothDirectoryInformation
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\blank.gif.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\default.aspx.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\iepngfix.htc.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\inner.master.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\login.aspx.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\logout.ashx.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\precompiledapp.config.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\public.master.cdcab7d2.compiled
NOT FOUND	Attributes: Error
UERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\recoverpassword.aspx.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\site.master.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\web.config.cdcab7d2.compiled
NOT FOUND	Attributes: Error
QUERY INFORMATION
C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\web.config.live.cdcab7d2.compiled
NOT FOUND	Attributes: Error
DIRECTORY	C:\projects\AppServer\dev\bin\Debug\sites\compiled\	NO MORE FILES
FileBothDirectoryInformation

After finding the login.aspx file, it then begins to search the bin folder
for compiled versions of all files in the website root, for example:

C:\projects\AppServer\dev\bin\Debug\sites\compiled\bin\blank.gif.cdcab7d2.compiled

When it cant find them, it seems to never display them.

Anyone have any ideas how to procede from here?
-- 
View this message in context: http://www.nabble.com/Mono.WebServer2-Problems-tp23503460p23518162.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list