I have already considered the script time out, but what I feel is that on posting a large file, even the page is not located, as I said, it give the message page can not be displayed/can not find server. Even I tried to empty all logic for saving the file, just a blank asp page, but still same problem. This means the page is not called. And this happens on some machines while on others it works, although I checked they are of same configuration on same network Adnan
Its Adnan
Posts
-
Facing problem with file upload -
Facing problem with file uploadprobabaly my question is not directly related to ASP.NET but to ASP, and IIS 5.0. I have developed code for file uploading, and its working fine. But the problem , I am facing is, on some maching (let say A) when I place the code, other terminals on the same network fail to uplaod file size greater than 100K (after they press upload button they get a blank page (in case if page opened as dialog window)...or they got message Can find server/ Page can not be displayed) while at the same time if the same page is accessed from host machine (A), one can upload any larger file I tested upto 10MB. Now, if the same code is shifted to some else machine (let say B) on the same network with same configuration, now every one could uplaod file of any size. What the problem with previous machine? My problem is that I can not simple move the code on any other machine as there are many other depended objects on machine A. Can anybody tell me, what coudl be the problem with the ISS on machine A. Adnan
-
GUI TestingFor both of your concerns you need WebLoad 5.0 or higher. This tools is for professional level stress/load testing. Very easy to use....you can create scenario visually and then configure it how many concurrent min/max requests to be be send and so on.... It will fillup the form itself and sends request(s) and give you the results
-
Problem while inserting record in Access DB using ASP.NETI have written follwing code for inserting a record: ----------------------------------------------------- Dim MyConnection As OleDbConnection Dim MyCommand As OleDbCommand Dim InsertCmd As String = "INSERT INTO tblEmployees(EmailName, FirstName, HomePhone, LastName, MiddleName) " & _ "VALUES ('test@test.com', 'Test', 'Test', '123456', '-')" MyConnection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;data source=C:\Inetpub\wwwroot\TestHTTPDBSyncWeb" & _ "Srv\DB\dbTest.mdb") MyCommand = New OleDbCommand(InsertCmd, MyConnection) MyCommand.Connection.Open() Try MyCommand.ExecuteNonQuery() strStatus = "Record Added:" & InsertCmd.ToString() Catch Exp As Exception strStatus = "ERROR: " & Exp.Message & vbCr & Exp.StackTrace End Try MyCommand.Connection.Close() -------------------------------------------------- and resulkts in following exception --------------------------------------------------- ERROR: Operation must use an updateable query. at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at TestHTTPDBSyncWebSrv.SyncDBSrv.addJunkRecordDirect() in c:\inetpub\wwwroot\TestHTTPDBSyncWebSrv\SyncDBSrv.asmx.vb:line 249 -------------------------------------------------------------- The same code run fine if executed from VB application, and fails if used in ASP.NET or ASP.NET webservice. What might be the problem :)