And then use their second example the clientcap.htm and clientcap.asp section. Then fire up clientcap.asp and watch the Microsoft Internet Explorer browsers crash.
I use plain old asp to code my pages with. Is there anything that would make the entire server freeze up? There's about 500 pages of which maybe 150 call a database for serving up the pages or updating an access database.
There's approximately 150 people accessing the pages at the same time. Not all the database pages but using the intranet at the same time.
Would an Access database have trouble handling 100,000 entries. Would it crash if many people were searching it, or would a MySQl db be better? Can you query a MySql with ASp?
i have a very basic ASP form that sends information into a database
i had made a javascript that validates but when i hit submit if their is info missing the javascript window pops up, tell me there missing information then crashes into:
Microsoft JET Database Engine error '80040e21'
Field 'Research.topic' cannot be a zero-length string
i though the javascript error would prevent the form from being submitted. how can i fix this any ideas or if it comes down to it and i can live with people being able to submit the form with blanks what changes do i make to the submit procedure
I am writting code for uploading in asp.when i put the code and test it in OS Windows server 2003, it works well, but when i put and test it in OS windows XP(another computer), it doesnt work and it crashes down the IIS. OH..
when i put and test it in WindowsNT, it says"permission denied" though i have tried to make every related directory to full access in IIS manager.
I'm running an ASP application that takes information from an Access Database then writes the contents of a set of tables to a directory. The problem is if the application tries to write to the directory it freezes.
Well, not freezes but just sits there doing nothing with the status bar slowly increasing until it times out. After this happens, IIS needs to be restarted to serve web pages again. I am at my wits end, as the code was working on another computer. I have set the permissions for the guest internet account to full, as well as on the DB.
This problem occurs in classic ASP on a simple asp page I am writing.I am trying to output a random number using VBScript's Rnd() function.Whenever I refresh my browser, the same number appears(0.7055475).This happens in both Internet Explorer and Firefox. This is all I'm doing:
<%Response.Write(Rnd)%>
I have pressed F5 to refresh, cleared both browser caches,and even restarted IIS.I was under the impression that a psuedo-random number would at least change values when I refreshed my browser.Does anyone know what the deal is with Rnd() not producing different numbers?
I'm coding a shopping cart in asp. I store all info about ordered items, customer's coordonates, etc. into cookies. When the order is complete I use "CDONTS.NewMail" to send an order confirmation's email, where all items and details are listed for the customer. As to retreive all these info a code reads all info stored in the cookies. If a run my code under Firefox and Konqeror , all works well and the sent email contains all info.
So, I wrote a code to read all cookies on the page before opening the page that generates the email to the customer, then when tested, all the cookies and session variables can be read. Under i.e.,if the same code is run in the page generating the email, it returns empty session variables and some cookies are missing or are now empty or can't be read!If it is tested under Firefox and Konqeror all cookies and session variable are stil there.
The Gecko based browsers change this URL to read "Validation BookingNo=1234567" and of course they get a 404 Error as a result. The above code works on every other browser without fault. So why do Gecko based browsers have a problem. Is Gecko just nother work for this software.
we are using internet explorer 6, reading information from w2k iis asp. users are opening two browsers so they can keep two sessions open with different information. It is rare, but sometimes the the non-active browser will use the session varibles from the active one. We have deleted local content and cookies with no affect. any thoughts?
I use the following code which simulates the browsers' back button. window.history.back(), but whenever i use this , i get a "404 page not found error . is this related to browser settings?
<A HREF = http://MyServer/MyDoc.doc> Click here to see the document</A>
When I click on the link How Internet Explorer understand that it's a Word Document and It's necessary open it with Microsoft Word ? Is The extension to give the necessary information to Internet Explorer ? Where does IE look for the application to use to open the file on the server ? On the local registry ?
I have tried to rename Mydoc.doc in MyDoc.pdf and I have called
http://MyServer/MyDoc.pdf and the browser has opened Acrobat Reader but the binary format is for Microsoft Word.
Does the Browser User an Http_Header sended automatically ? (for example HTTP_FILE_NAME....IF IT EXISTS)
2)Now I have the following link:
http://MyServer/ReturnMyDoc.asp
It returns the binary data of MyDoc.doc file. Now I want to say to the browser that the file is called MyDoc.doc (I don't want to use Content Type = ms-application/msword) : is there a header to say this to Internet Explorer ?
I am trying to peform a multiple deletion of records from a single table "Stockist"
I i keep getting the following Error and can't see where i am going wrong. Can anyone help?
Microsoft OLE DB Provider for ODBC Driverserror '80040e10' [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2. /RetailerStockProductRemove.asp, line 22
I am urgently finding a set of codes to write data into a form and the data will go to my database. However i have tried a lot of form but couldn't successfully process. Below is one of my problem...
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x9a8 Thread 0xa08 DBC 0x3041e1c Jet'.
I have this insert statement where instruction field in the DB is a memo field.
SQL="INSERT INTO int ([instruction]) VALUES " & _ "('"&Request.Form("myTextarea")&"')"
objConn.Execute(SQL)
Its giving me error: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
I've been searching everywhere online to find an alternative method besides using Microsoft.XMLHTTP (as it freezes the server up alot!!) but with no luck at all.
I am using server side ASP, and some said to use Microsoft.ServerXMLHTTP instead. However I have tried that as well and it still freezes up the whole thing (i.e. the site just keeps loading forever).
I tried to do a "on error resume next" clause to catch the error but still doesn't stop the page being freezing up.. :(
I saw someone here said don't use XMLHTTP in ASP as it is not thread safe (is that why it is freezing up??), and suggest to use MSXML2.ServerXMLHTTP.3.0.
so do anyone know if MSXML2.ServerXMLHTTP.3.0 will help? i.e. not freezing up the page?
I keep getting this error Error Type: Microsoft OLE DB Provider for SQL Server (0x80040E07) Syntax error converting datetime from character string. for the following
Code: inserting="insert into rental (cust_num, item_sku,rental_date,return_date) VALUES ('"&session("cust_num")&"', '"&rs.fields("item_sku")&"','"&now()&"','"&now()+3&"') " How can I solve it??
I installed the Microsoft Script Debugger and set the "Enable Script Debug" flag on in IIS. Also, I made sure that the "Disable Script Debug" flag was off in Internet Explorer. Everything ran fine for about two months; the Debugger was getting control. Then, all of a sudden, it has stopped getting control.
I checked the settings above and they still OK. Anybody can tell me why the Debugger is not getting control? Should I report this to Microsoft as a problem?
Can someone please tell why I am getting this error? I have the primary key field as text field, and allow zero length=yes, and when I try to submit the form, I get the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e2f'
[Microsoft][ODBC Microsoft Access Driver] Index or primary key cannot contain a Null value.
Is it because the ODBC connection is not set properly? or the problem is in the database?
We 'd used ASP with Windows 2000 server, IIS 5 and MySQL database. Everything was perfect. But we migrated the server to Windows 2003 with IIS 6. Now it's not accepting the ODBC Connectivity. It's saying
Microsoft OLE DB Provider for ODBC Drivers Error '80004005'
in database open statement. (Using ADODB Connectivity)
The strange thing is, While running from the server maching it's accepting the line and running fine. While running from the client machine, we are getting the above error.
I recently installed Microsoft.Net Framework SDK on my W2000 server because I wanted to run some ASP.NET Application, now I can run aspx pages from my IIS5.0 but classic ASP pages doesn't run anymore and most of my WEB- sides are created on ASP. What can I Do to get both Classic ASP and .NET applications to work on the same Server?
In the latest issue of The Register (my favourite online newsletter), there's a story (see URL below) about Microsoft using Linux temporarily, for their microsoft.com website because of DDoS attacks and security vuln's.
I know this is OT, and I apologise, I just find it rather amusing. (considering Microsoft is one of the head's of the TCPA (Trusted Computer Protection Agency, aka TCG (Trusted Computing Group), amongst others), who's goals are to basically, get rid of Open Source etc etc).