Can't get this to work. I'm creating a workaround for the absence of aspJPEG on my server. I'm using aspUpload but my server only uses aspThumb. After aspThumb optimizes the original pic the file size changes and I need to reflect that change. When using aspUpload I can reference it's built in File object references but they only refer to the "original" file. There's an easy solution when using aspJPEG but not with aspThumb so I'm trying to get the "new" picture size using a scripting object with this script but I'm getting this error.
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'objPictureSize.Size'
/admin/media_upload_picture_process.asp, line 107 ....
I have almost completed tweaking vbscript to run on mysql rather than the Access database it was designed for. Trial and error, luck and a bit of detective work have got me this far, however I am getting the following error when tryinf to update existing records in the database.
Microsoft VBScript runtime error '800a01b6' Object doesn't support this property or method: 'RS.Find' /faq/admin/edit2.asp, line 7
The .Find text is black whereas all other "methods"(?) like the .Open are pink. Is it that the .Find method works with access and not mysql and if so waht is the equivalent or am I barking up the wrong tree?
I wanted to add this method to my .asp page in order to dynamically choose a page based upon some selection criteria. It's in my .asp book and in the online reference. Yet when I use this object, the following error returns in the browser:
Error Type: Microsoft VBScript runtime (0x800A01B6) Object doesn't support this property or method: 'Response.Redirect' /testwebs/choose.asp, line 22
What is missing from my IIS libraries in order to use have this method supported?
I'm reading 'ASP in a nutshell' and i'm trying out the error trapping features. The book says that from ASP 3.0 on there is a server object method called GetLastError. It also advocates this beiing the best way of analyzing errors.I do not have this method on my IIS installation. (All the other ASP code I run according to the book is ok). I have Windows NT 4.00.1381 and IIS 4.0 (Is my IIS version to old?) If this is the case what is the best approach in trapping errors?
I'm trying to write a Generic Form to Database Parser, basically this script should take the values of Form fields and write them into a Database Table with correspondingly named fields.
EG: The value contained in <input type="text" name="Email" > would be written to the database field "Email"
I ran into difficulty when I tried to differntiate between Numeric and Non-Numeric Data as non-numeric data values must appear in quotes in a SQL Statment whereas Numeric Data should not be placed in Quotes. So I'm testing my form values to see if they are numeric, so I can build my SQL Statement Accordingly. Code:
I have an application I am working on that uses "compiled" asp pages. Once the asp pages are done, they are moved into a VB6 dll to be Response.Written from there. This work great, and results in keeping our code safe at client sites. Currently this works great here and at most client sites. I have one client who is having intermittent problems with this setup Code:
I am trying to upload files to a remote server with ASP. I tried many scripts including the ShadowUploader which at first seemed to work for me (instead of the usual error, it told me that the image I was trying to download was too big) but at the end gave me the usual "Server.CreateObject Failed" error. The problem is always the line
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
I developed a site in ASP on my IIS server in a test location which we accessed via HTTP. After finishing the application, I created a new site in IIS and moved my scripts over to the new site which is access via HTTPS. I am now getting the following error and the code has not been changed.
I am working in html/asp within VisInterDev 6.0. Everything was working fine until I moved a text box from one page to another. I took it from within a form on one page to a form on another (and made the necessary changes in the two pages).
However I am using syntactically indentical code on other pages that work fine so I know the problem is not with that line.
It appears that it is not able to find the "distance" text box, but I have been over and over the html and can't find an issue. If I take that line out (keeping the <body> of course) it doesn't generate an error but my submit button doesn't work.
I'm trying to display a page in another window but I need to run a query against a database with one value to get the other value that will tell my code where to redirect the page. Every time I hit the "Select" button I get an error telling me that "Object REquired: 'Server' but I have code similiar to what is listed below working on my select boxes. Why would an input box be any different? Code:
<script Language="VBScript"> sub NewPage() Set objRec = Server.CreateObject ("ADODB.Recordset") strSQL= "select id from oppprimary2 where stcc='1111111'" objRec.Open strSQL, strconnect, adOpenDynamic, adLockReadOnly, adCmdText Window.Open "OppTrackEdit.asp?id=1522", Edit objRec.Close Set objRec = nothing
I have a CFMX page calling an ASP page accessing a SQL Server2000. After updating & saving data in the ASP page, I get a message that the data is saved successfully, which is true after checking the tables.
however, a window pops up with an [objec error] message. I'd like to find more about this message and what is causing this error to trigger.
I am getting the following error when using CDONTS to send an email.
Server object error 'ASP 0177 : 800401f3'
/submitauth.asp, line 42
We have recently moved the application from a windows 2000 server to a windows 2003 server with DOT net framework installed. Everything else works but I am not able to send emails. Does anyone knows why this happens?