asp.net stops working on win 2003
-
Aspx files stop working on my Windows 2003. I have to reboot the computer to make the files work again. This happens like once a day. Other files like htm/html,asp,php work fine all the time. I tried to restart the maps in IIS but that doesn't help. Is this something common?
-
Aspx files stop working on my Windows 2003. I have to reboot the computer to make the files work again. This happens like once a day. Other files like htm/html,asp,php work fine all the time. I tried to restart the maps in IIS but that doesn't help. Is this something common?
-
Hi r u using lot of class? It may be due to memory over load. try use Garbage collection in ur program i think this will be the probs. bye timcyspet
Ok. I thought that G.C was started automatically. I don't use any GDI object. Mostly I get info from an sql server and present it on internet. Not to many classes. If it was due to memory over load wouldn't the computer be slow then? I know when other programs read from file into a database and there were like 20000 rows then the computer got VERY slow after that, probably because I didn't use G.C. But in this case it's not close to those amounts. But I give it a try and add G.C. Thanks for answering!
-
Ok. I thought that G.C was started automatically. I don't use any GDI object. Mostly I get info from an sql server and present it on internet. Not to many classes. If it was due to memory over load wouldn't the computer be slow then? I know when other programs read from file into a database and there were like 20000 rows then the computer got VERY slow after that, probably because I didn't use G.C. But in this case it's not close to those amounts. But I give it a try and add G.C. Thanks for answering!
-
Hi R u using SqlDatareader? if u r using pls check the sqlconnction getting closed bye timcyspet
-
Aspx files stop working on my Windows 2003. I have to reboot the computer to make the files work again. This happens like once a day. Other files like htm/html,asp,php work fine all the time. I tried to restart the maps in IIS but that doesn't help. Is this something common?
No, I have no idea what's going on. Try to find some clues... maybe look into Event Log. Or is Aspnet_wp.exe process running? etc. I don't think this is a common problem, you'll have to do some diagnostic :( David Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy -
Yes, I close all sqlconnections but I don't close the datareaders. But could that really cause all dot.net programs to stop running? regards larbo
First Sorry to just jump inside the thread without invitation. Just reading and just could not help it. YES, you need to make sure you clode your datareaders, otherwise the SQL connections will remaind close and the connection pool will be the cause why your ASP.NET application dies. MAke sure in your program you are displaying the Debug errors on the page Then the error should be something about the SQL or Access database instead of ASP.NET Cheers Al