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
larbo204
Posts
-
asp.net stops working on win 2003 -
asp.net stops working on win 2003Ok. 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!
-
asp.net stops working on win 2003Aspx 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?
-
asp:button in datalist doesn't fire event with VSI tried all different command names. I'm not declaring any button using "new" so I guess it's all in runtime.I tried to add the button in the design mode in VS and manually in the html code. No matter how I do it's just linkbutton that works. When I do it in design mode I tried the edittemplate tool and assigning commandname and onitemcommand etc via property window. When I use a linkbutton and place the cursor over the linkbutton I can read "javascript:_doPostBack......." in the IE status bar but not with a button. If I place a button outside the datalist the it works fine. Remember, none of these problems occur if I code in a texteditor instead of VS. Another bugg is that if I compile the project and I'm not in the desing window at that time then I can't open the property window without restarting VS. Can anyone help me?
-
asp:button in datalist doesn't fire event with VSIf I have an asp:Button in an asp:datalist it won't fire an event. But if I use asp:LinkButton it works fine. If I use an asp:Button outside the datalist then it fires. This is if I use Visual Studio. If I write the code in a text editor, both kind of buttons fire events. So I guess it's a bug in VS. But how do I fix it. I can't manuallay add an event handler to the button cause it's in the datalist.
-
File.Copy problem in Windows 2003Ok. But what more can I do than to give NETWORK SERVICE all rights it should need? I tried to give it to ASPNET but that works for Windows XP, not Windows 2003. I checked the file in the map that was given the rigths and it's all there. Is there somewhere else I can give these rights? Or must I reinstall Windows 2003?
-
File.Copy problem in Windows 2003I simplified the code before. It should more be like this: String strFile = @"C:\Documents and Settings\Administrator\Application Data\aFolder\anotherFolder\readFrom file.xxx"; String txtFile = @"C:\Inetpub\wwwroot\theWebFolder\textfiles\textFile.txt"; File.Delete(txtFile); File.Copy(strFile, txtFile); The folder 'textfiles' still has all rights it needs. I deleted it, created a new one, gave it all rights but it didn't help. So I tried to add in the web.config file and then it worked!!! BUT I have to log in via a Windows log in form. So I changed to but then I got "Server Error in '/traderamail' Application........ This tag should then have its "mode" attribute set to "Off"."... though I have set . Still I wonder why it work on XP and not on Windows 2003.
-
File.Copy problem in Windows 2003..... String fromStr = @"Mymapp\origin.txt"; String txtFile = @"C:\Inetpub\wwwroot\newFile.txt"; File.Delete(txtFile); File.Copy(fromStr, txtFile); ...... This works fine on Windows XP. It WORKED fine on Windows 2003 some days ago, but suddenly it stopped working on Windows 2003. I get something like (in swedish) "Access to the path C:\Inetpub\wwwroot\newFile.txt denied" I have given all rights to 'NETWORK SERVICE' but it doesn't help. It removes 'txtFile' which it should do, but it doesn't create a new one. Any ideas?
-
page cannot be displayed - at sql insertionWhen I run a script that reads from a file and insert into a SqlServer I get "The page cannot be displyed" after approx. 5 minutes. It is 20.000 rows to insert and the script continues to run in the background so the script works and all the rows are inserted. But it's very annoying to get that "The page cannot be displyed"-message 'cause it seems like it would fail. I used Windows 2003 server with IE6, also tried it on Win XP. Any ideas? /larbo
-
Read from .dbx-fileI want get info from the Outlook Express inbox folder which is an .dbx-file. The problem is that some characters seem to be randomly converted to strange characters. Is it binary, unicode or what? How do I convert the .dbx file to plain text, like an .txt file. /larbo204 www.nymax.nu