IIS Hangs When Certain SQL Submitted

Does anyone have a suggestion how I could debug this
problem:

1. Data is collected from database and displayed in a form.
2. User updates data and submits it.
3. Submitted data is compared with old data.
4. SQL is generated for changes and put into an array.
5. SQL in the array is executed line by line.

I've copied the code which does the update from a working
page that does something similar. And tested it with a
basic update to be sure. But for some reason when I
submit this sql:

update table set currency = 'USD' where currency = 'GBP'
and company = 'LQ' and supplier_id = 'BCX0926' and
invoice_no = '654664432'

IIS hangs and the browser displays a blank white page. At
this point the whole site becomes unusable until I restart
the IIS Admin service.

I've pasted the sql into Toad and tested it there and it
works fine. Could anyone suggest what the problem is, or
how I could go about debugging it. Normally when I get
errors thet are written to the screen. But in this case,
I dont get anything back at all. Code:

View Replies


ADVERTISEMENT

Asp Submitted

I have an user.asp page(has html display) which displays
the controls; After client-side validations, I do a
document.form.submit() to a process asp page(no html, only
server side processing and then redirects to the user.asp).
This process asp calls some dll functions which might take
a couple of hours if number of records to process is huge.
Now, the dll opens a pop-up window which shows the status
of the results(number of records processed and failed).
After exactly 1 hour, the user.asp page says page cannot
be found. Is it due to some timeout or something? What
could be the reason?

View Replies View Related

From Submitted

I have a form that I need to have the information sent to a fax machine when somebody submits it. Can I do this from my website and if so, how?

View Replies View Related

Submitted Form

Is there any way to check when a form is submitted?Sample code is welcomed.

View Replies View Related

Run Submitted Code

What I want to do is create some code in a variable, then execute the variable, sorta like this code:Code:

<%

Code:
code = "response.write ('bla')"execute(code)%>

Except I want something that works (that code is conceptual)anyone have any idea's ?

View Replies View Related

Using RTE But Nothing Is Submitted In The Form?

I added the RTE to enable text editing in a textbox. The editing box displays fine, but nothing is submited to the action url in the form object?

View Replies View Related

Value Submitted On Form

I have form around a table. The form contains checkboxes for whihc elements are selected, and hidden fields listing the current value of the elements, and the line identifier for every line so I can tell precisely which subset of the table was visible to that person at that time.

I need to determine if a line that is not selected was prior to this submission. Something pseudocode-wise similar to:

If (Len(Request("DueDate-" & TheItem)) <> 0 ) AND (Request("DueDate").Contains(TheItem)) then

Where Request("DueDate-" & TheItem) contains the current value of the line (not blank since the entry has a length). The second part is what I have a problem with. Without manually looping through Request("DueDate") to do a search, I have no way to tell if Request("DueDate") (which contains a list of selected items) contains the line I am examining.

View Replies View Related

Adding Values From A Submitted Form

I am trying to total the value of some form fields I am referecing the form
field with an inner loop, I am having a little trouble because the amount of
fields returned is always different, how can I roll-up the total of the form
fields (request.form("subtotal_"& i)) to get one final figure? Code:

View Replies View Related

Triggering Email When Form Is Submitted

I know I've seen a tutorial on this, but can't locate it. I have a form that I've written that submits into a SQL database. I'd like it to fire off a notification email as well when an entry is submitted. Can someone point me to a tutorial that explains how I can do this?

View Replies View Related

Form Gets Submitted Onchange Event

I have a form with textboxes,and a select option(country)..onchange of select
element,i reload the form because i hit database to get cities of country selected..
whatever info user has entered is being stored in session variables.

my problem..as the form gets submitted onchange event of select user is able to write in textboxes but this info does not get stored in session varibles(but info written in textboxes before select is used does get stored and i am able display again onload of the form). how can i tackle thisproblem.

View Replies View Related

How Can I Check That A Submitted E-mail Adress Is Valid?

Say I retrieve and e-mail adress from a form like this, then I know how to check that it's not empty, contain numbers etc. but I don't know how to check that the e-mail complies with some kind of regular expression or the like.

Therefore I wonder if you have any good e-mail form validation code that can be used on the server side (comparable to Java Script reg.exp on the client side).

<%

Dim mail
mail = request.form("email")

IF mail = "" or mail does not complain with some kind of reg. exp THEN

some code....

End IF

View Replies View Related

Find And Return Data From A Just Submitted Record.

I have a page where a user can submit a record for a new "applicant". After the user clicks Submit, I would like to send the user to a new page containg the "Applicant Number" which the user will need.

The applicant number is simply the autonumbering of the record in the table which is in a SQL Server db. How do I capture the record number(primary key) of the newly entered record in the table and send it to my new page?

View Replies View Related

Submitted Time Spent On A Page To A Log File

I am looking for the best way to capture the time spent on a page and then write that to a txt file sitting on a server when the form is submitted. Right now I capture the time spent using javascript... I know i cannot write to a file using this. I am not looking to learn any in-depth ASP stuff... just looking for a simple solution if at all possible.

View Replies View Related

Trying To Insert Multiple Records Into Database When Form Is Submitted

I'm trying to insert mutiple records into my database when the form is submitted.. My form has 4 textfields; serial1, price1, serial2 and price2.

I would like to insert serial1 and price1 as one record, then serial2 and price2 as the second record. I know some sort of loop has to be used to achieve this but i'm new to this and I don't know what to do...

I tried to do it with dreamweaver but it does not seem possible and the dreamweaver code seems really complicated I've only been able to insert only the first row(serial1,price1).. since I only have 2 fixed rows I guess what I need to do is to get dreamweaver to do it twice in a loop. Code:

View Replies View Related

Hangs?

please some one help me Sometimes ASP hangs, and ASP pages aren't served anymore. I have to reboot. Is there some workaround so I don't have to reboot every time this happens?

View Replies View Related

IIS Hangs

I have a number of clients running an ASP applcation on iis6.0 and windows server 2003 web edition. Occasionally IIS seems to hang and has to be restarted. I have seen in other messages mention of a known Jet engine bug in ws2003. What is this, What does it do and how can I clearit?

View Replies View Related

IIS Hangs Itself

We have an application which uses Crystal Reports, FireBird and dynamic
views to display reports. When in a short period of time a lot of reports
are displayed IIS hangs. Stopping and starting IIS does not help. The only
solution to get IIS working again is a reboot. One time I got a message that
there are to many users. But only once. All the other times it just hangs.

The to many users I do not understand, because at the moment I am the only
one using (testing) the application. Anyone an idea what could be the
problem and how to solve it?

View Replies View Related

IE Hangs

I am using JSRS
I have 3 select boxes(on an ASP page)..country,city and zipcode.When user selects a country,city select box is filled for chosen country using JSRS.but I am facing a problem..for some countries after select the browser hangs like Australia.for which there r 11,000+ cities..but same thing works in Netscape

View Replies View Related

IIS Hangs

I'm struggleing for months with one problem. I have created one COM (dll) object. When I call it inside IIS (ASP/VB) it works fine for a while and then IIS hangs. Then I have to restart my PC (Win 2000 Server) using (hardware) tower button, because Windows can't turn off IIS either.

As much as I could, I insured there were no uncought exceptions thrown and dialogs displayed by my COM object. How can I find out what causes IIS to hangs? I'm totally beginner with IIS. Is there some ATL/IIS guide which explains what ATL settings (threading model...) should be used when deploying COM object to the IIS?

View Replies View Related

IIS Hangs

I'v Windows 2000 , IIS4 and SP3 as WebServer.I use ASP 3
there. In an interval of 4-5 days the system stpos
working, just request for a page and it doesnt work. I
just terminate the process of dllhost.exe and it starts to
work file but upto 4-5 days only.

For information I use
COM written in VB6, that opens the connection for me and i
close it once my i get data. And only asp page stops, a
simple htm page still works in that situation. I would
have liked to send the IIS logs of the day when it hanged
but i think i cant do that.

View Replies View Related

IIS Hangs With ASP

My site was working well but when I restarted the computer after having a automated virus update, My IIS stopped working with ASP, I've restarted, re-linked with other directories, changed the IP address, and I've tried all the other usual methods.

What I've found out so far is that with HTML it is working perfectly, but when I hook on asp, I have problems. First It gave me the error message: 500.2
now the browser is just hanging.

View Replies View Related

IIS Hangs ASP - Tried IISState

I've a server which hosts couple of hundreds sites. From time to time I can't access some of the websites, all of them are ASP. HTML ones are fine.

I've tried to use iisstate, but I can't seen any errors in the log, not even a warning. Also, there is nothing in the Event Viewer. The server is 2003 standard.

If I will restart IIS service, all is back to normal. I know this doesn't say much, but do you have any ideas where should I go from here?

View Replies View Related

Redirect Hangs

I have an ASP script that is called from a PDF form to process form data.On the last line of the script I have a Response.Redirect "webpage.asp" that leads to another target page with actual HTML. However when I start this process (by submitting form data) even when I comment out the processing code, the address bar shows the desired page, but the page never appears and the flag keeps spinning indefinitely and doesn't stop even after 15 minutes.When I finally press Escape to stop it and then I press Refresh
the page appears immediately.

I've found that if I remove all the HTML code that has links to other files images, javascript,stylesheets that the target page loads promptly from the same Redirect method.

Does anyone know what could be causing this?It seems IE or IIS gets lost looking those other files.

View Replies View Related

Browser Hangs

I am having the form elemetns for "FILE upload" 4 nos. and 4 "textarea" elements. I am keying the UTF-8 text in the textarea. The storing mechanism for the "images" and "text" are done in a separate file. The problem is here:

While submiting the form to the storing page, the browser (IE)gets hang & closed. But the data stored properly in the database.

View Replies View Related

Page Hangs

When calling an ASP from within a Perl script to perform a query against a web-enabled database (don't ask how we arrived at this architecture), the first query almost always times out with an Timer_EntityBody error.

Our timeout is currently set at 300 seconds. We can see that the worker thread
(we only have one for compatibility purposes) gets kicked off when the query arrives. Successive queries do not time out. Has anyone had any experience with this type of issue? What did you do to troubleshoot it? Did applying SP 1 help?

View Replies View Related

Textobject Hangs IIS Server

This code works fine local with PWS on win98 and also on the Internet:
Set emailLog = Server.CreateObject("Scripting.FileSystemObject")
But on a local XP computer, the IIS hangs. The message is that too many are
trying to access the page.

View Replies View Related

Database Access Hangs

I'm using IIS on W2k, using ODBC access to the database (which is on the
same server as IIS).

The system is designed to generate reports from users after they have walked
thru a few pages, supplying report parameters. The actual creation of the
report is done on another server, accomplished via a COM object that the web
server creates. This all works wonderfully.

However, after going thru this process, it seems the database connection
from the web server 'hangs', meaning any subsequent page requested from the
web server that has anything to do with the database will never complete,
and at this point never timeout either. My only solution is to reset the
IIS service.

At the point that the hanging occurs, I am still able to access the database
from other programs. I am able to access static pages on the web server. I
have looked at a number of performance counters under the ASP, IIS Globals,
and Web Service objects, but all show zero activity. Even the lowly Task
Manager shows nothing going on in the web server at all.

Is there anything I can check to see what is going on, what is being held
up?

View Replies View Related

Form Submission Hangs

When I submit my form to the same page its on, the browser hangs up with lengthy strings in my "textarea field."
It won't take anything over about 200 - 250 chars.
Right now I have Request.Querystring for each element of the form. I've tried just Request and it does the same thing. I also tried Request.Form and it doesn't capture the values.However, as far as the database field, i have a VARCHAR(8000), the max the datatype can hold, so that I can post, if necessary, giant news articles.

View Replies View Related

Application Process Hangs

The asp script uses the WSHSHELL run method to launch a local application on the web server but The application process hangs each time when this is called from the web.
If the application is manually run from the command line or through a bat script (by double clicking on it), the application process launches and executes the batch file successfully.

If either of these actions are called from the .asp script, the application process.exe is seen running in the task manager and hangs.

View Replies View Related

AdLockOptimistic Hangs Up MySQL

This line:

rstUpdate.open "SELECT * FROM Events WHERE EventID=2", db, adOpenKeyset, adLockOptimistic, adCmdText

in my page give me an error that says:

ADODB.Recordset.1 error '80020009'

Unsupported Lock Type.

Can anyone offer a suggested cause?

View Replies View Related

IFRAME Hangs On Web Service Call

We are facing a situation here related to rendering of IFrames in Internet Explorer. The situation is as follows:

We have an ASP that contains some data along with three IFrames in it. The 'sources' for each of these IFrames are set after the ASP page is loaded in the browser using a Javascript function. Basically, this JavaScript function checks if the rest of the page has finished loading and then sets the "<IFrame>.src" attributes for the three IFrames one after another.

Now, each of these IFrames contains separate ASPs. These ASPs call one Web-Service each to get some data and then render it in the IFrames. The problem arises when one of the Web Services in any one of the ASPs fail to respond and hangs up without returning any error message. We are expecting that if one web-service fails for a ASP, then the other two ASPs should execute and get rendered in the corresponding IFrames in the browser. But it does not happen. All the three IFrames hang up together.

Could you please suggest us anything to solve this ?
We want to get the corresponding data loaded in the three IFrames asynchronously, so that even if one fails, the others are not affected. Can IFrames load asynchrounously when called from the browser through a Javascript function ?

View Replies View Related

Windows 2000 SP 4; Browser Hangs

I installed SP4 for Windows 2000.

Prior to the upgrade my system was at SP3 and I was able to run ASP
scripts from my browser just fine. For exmaple: Code:

View Replies View Related

Server.Execute Hangs Browser

I have a content management system with a html editor embedded in a page (uses a text area tag) within the tag I use Server.Execute(pageToExecute), it works for some pages but others it hangs the browser.

If I remove the ServerExecute line the page loads fine. Theres no error messages nothing and the page it is executing is simple html in an asp file. Any reasons why this would happen? Im using Windows Server 2003. All browsers.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved