[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.drawing

PrivateFontCollection asp.net Timeout

igkins

12/7/2004 8:53:00 PM

Hello,

I have an ASP.net project that gets posted to by a flash object. For the
past month everything had been working fine, but in the past day, the page
refuses to load. I basically through response.write("here") to figure out
where it was hanging and it comes doesn to this:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'.. some code
LoadFonts()
'... more code


Private Function LoadFonts()
Dim path As String

'Load stencil and tempus
oPFC = New PrivateFontCollection

path = Server.MapPath("./fonts")
oPFC.AddFontFile(path & "\stencil.ttf")
oPFC.AddFontFile(path & "\tempus.ttf")
End Function

It basically hangs on teh oPFC = new PrivateFontCollection. Why would it
ever hang trying to create this object?

andrew

1 Answer

Martin

12/14/2004 2:16:00 PM

0

I am experiencing the same problem as you are. The code worked
fine for about a month, but now hangs every time. Sometimes, after
the worker process has been killed, the code will run a few times,
but after that it will hang for eternity.

Have you been able to resolve your issue yet?

Martin
--
POST BY: http://www... - Need .NET? Just ask, Please dotNET.us