Strange Error

Can anyone help me with this error?

code start ____________________________________________
Microsoft VBScript compilation error '800a03ee'
Expected ')'
/example.asp, line 142
Private Function FuncDiff(ByVal DateOne As DateTime, ByVal DateTwo As
DateTime)
------------------------------------------^
code end ____________________________________________

View Replies


ADVERTISEMENT

Strange ASP Error

I keep getting an error in coding. I am using Dreamweaver MX 2004 and once I
preview it in IE it works then once I press F5 to 'refresh' it fails again.
The IE error returns this link
http://support.microsoft.com/defaul...Q241271&sd=tech
It regards the following : IIS 5.0 Continues to Return 500;100 Error Page
with Response.Buffer Set to False
Does anyone know what this means and how to fix it?
P.S The previous thing I was doing before the problem was setting up 'data
bindings' in DWMX - to be fair this was somewhat a trial and error approach
and I'm not sure if I've damaged IIS or DWMX in someway.

View Replies View Related

Strange Error Message

I just re-uploaded my .asp site to a new host.
But one of my pages now bugs, I get this error message in a Windows alert box:
Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.
All other pages work fine.

View Replies View Related

RS Causing Strange Error

For some reason,, the following recordset rs("w2itd1") will run fine when I'm looping it out on a page, but when I have it inside a sql statement, I get errors.

for example:

sql = " Insert into table (title) values ('"& rs("w2itd1") &"') "

This will give me an error. The contents of this rs is a book title. Oddly enough, however, if I enter any other of the rs("fieldnames") that I have, in exactly the same fashion, I have no problem. There just seems to be an issue with the text coming thorugh. Can someone
indicate what the problem could be?

View Replies View Related

Strange : Type Mismatch Error

I am trying to run the following query:

strSQL ="select * from fn_select_loads_carrier('"& strCarrierEmail &"', DEFAULT, DEFAULT)"

from an asp page. When i run it on the SQLl server it results me a result set. And also in the asp page all the results are getting displayed properly. This is how i am running the query: Code:

View Replies View Related

Strange : Type Mismatch Error

I am trying to run the following query:

strSQL ="select * from fn_select_loads_carrier('"& strCarrierEmail &"', DEFAULT, DEFAULT)"

from an asp page. When i run it on the SQLl server it results me a result set. And also in the asp page all the results are getting displayed properly. This is how i am running the query:

Create_Recordset()
obj_RS.CursorLocation = adUseClient
obj_RS.Open strSQL, obj_Conn ,adOpenStatic, adCmdTable
If strSort = "none" Then
obj_RS.Sort = "LoadID, TMSName"
Else
obj_RS.Sort = "" &strSort &""
End If

If Err.Number <> 0 Then
strRedirect = "Error.asp"
response.write "Erro number" &Err.Number
End If


I am getting the Err.Number as 13 and it doesnt display at which line the following error is occuring. But all the results which the database is returning are getting displayed on the webpage.

I have no idea from where this err.number 13 is occuring at. I crossed checked all my procedures and script.

View Replies View Related

Exception Occurred Strange Error

Im writing a script that has a lot of "nested" IF statements - it breaks a complicated situation down through a sort of logic system, and when it reaches the end of the tree it performs a certain task - in this case, it writes a row of data into a table.

Its very annoying that the IF statements work exactly as I want/expect them to...but when it gets to the end of the tree of IF's I get the following error: Code:

View Replies View Related

Strange Type Mismatch Error

I apply a function to a set of Strings basically as follows formatText(str_title), etc.
I use this same method across multiple pages, and across all of them this works fine, APART from on ONE page.

It is basically extracting the EXACT same variable (with the exact same value) on BOTH pages, and applying the EXACT same function to this variable, yet on one page it is displaying the following error :

Type mismatch: 'reFormatText' .

View Replies View Related

Strange Error "Internal Server Error"

i am using a ASP application with following things

Server : Intel Xeon (TM) CPU 2GHz, 2GB RAM, 136GB HDD
OS : Windows 2000 Advanced server. IIS5.0
Database: Oracle (Using ADODB to connect to the Database)
App server running on the same machine (COM+)

after using the application for 2/3 hours i get an error message

"Internal Server Error"

once i restart the server it works absolutely fine for some hours.

After encountering the error i opened COM+ and clicked on the "Computers" node .
Then got the following error

"Error Code 80010108 the object invoked has disconnected from its clients."

View Replies View Related

Strange .dll

I have compiled an activeX dll and pass variables using asp into functions within the dll.

When I test this running the code with Visual Studio the data is output correctly to the browser, however when I compile the code and run the same code the data is different! This is confusing me as to why this is happening....

I always re-start the web service after registering the dll...

Any ideas?

View Replies View Related

Strange Bug With CDONTS

I have a page that lets the users make contact groups and send an email to
them. I have a form that lets the user enter the details of his message
including his full name and his email address. Once this form is submitted,
I do the following to get a string for .From property of the CDONTS mail
object:

Sender = userFullName & "<" & userEmailAddress & ">"

Now I stumbled upon a bug where if the user adds a title to his name (i.e.:
"John Smith, MD"), the address for the recipient gets truncated where the
comma is and the recipents can't reply as the address is now invalid. Is
there a way to encode any special character in the string so that it will be
mailer friendly?

View Replies View Related

ASP Strange Behavior

I'm running ASP under IIS 6 with Tomcat. During the process, Tomcat will
forward to an ASP page with some data and those data will be written to MS
SQL and display some information in that particular ASP page. The Servlet
has no unsafe code. The strange thing is that all the data is written
correctly in the MS SQL with correct user and related information but the
data might become blank or send to different users in that ASP page.

Does anyone know what might cause this strange behavior ?

View Replies View Related

An Unique Strange ASP Session

I have developed a site for my client,

eg., www.abc.com

I have registered the domain with godaddy and mapped the dnc to my server (Windows 2000)

When i browse that site using that www.abc.com, in one of the pages i found that the session value is lost. This happens only in some machines not same with all. Most of the machines works that site properly. But not the same in some machines. All machines has configured same.

The exact part is
eg.,

customerdata.asp

session("custdata") = request("name")
response.redirect checkout.asp

in checkout.asp

if i give response.write for that session("custdata"), In some machines i m not getting the value.

View Replies View Related

Strange Connection Problem ?

**MySQL is accessible via ODBC manager and MySQL -Front. I am able to modify the databse. I can not access database from the ASP page that I did not modiy after the last successful interaction with database**

MySQL 4.1/IIS

Everything was working fine until last night PC shutdown to give it a break, was running for a few days. Today, after reboot, the ASP page, and my entire site for that matter, stopped working.

Here is the connection string that was working:
dbPath = "SERVER=localhost;DATABASE=molsonbubba;UID=xxxx;PWD=xxxx;OPTION=35"
useDSN = False
If useDSN Then
cString = dbPath
Else
cString = "DRIVER={MySQL ODBC 3.51 Driver};" & Server.MapPath(dbPath)
End If

Here is the code that throws the custom error (Database is not found) and stops. If I remove the code I am able to get the site up but no db operations work as I get a "HTTP 404 - Page not found error" ? Code:

View Replies View Related

Strange ASPEmail Problem

Not sure if anybody has run into this problem. I'm using ASPEmail from Persits to generate an email and send it. The problem is that when I check the email that the asp code sent using Outlook Express or Outlook the email gets cut off 3/4 of the way. If I check the email on hotmail, yahoo mail, any other email program....the email comes in full. Any ideas why this might be?

View Replies View Related

Strange OS Related Asp Problem

When adding i am checking if that name already exists in the DB and if so i am poping up the message that name already existing.

It is working perfectly in my win2000prof and i have tested in both in my localhost and ftp servers and in both places it is working as i ahve expected.

But when the same application is opened in winxp i have a strange problem coming. When i add a new list , then it checks for the name and what happens is every time i add a new one and even if there is no matching record or matching name avialable for that record, javascript popups saying "Favourite List Name Already Exists" and the strangest part is the insert part also working. That is both if and else part are working together. I am getting this problem only in XP. Code:

View Replies View Related

Strange Form Question

A bit of a strange request this, but I do have a reason When using request.form to access a forms elements data, is it possible to btain the elements type.

For instance whether the field (element) its being passed from was a hidden field, a text box etc etc! I've hunted everywhere, and tried lots of variates but I couldnt find anything..

View Replies View Related

Strange Viewing .asp Files

This problem occured just the other day. Whenever I try to access an .asp file on my server with an exact url, I get an error: The system cannot find the file specified.
BUT, if I type in an url to a folder containing a default file (in my case, index.asp) the file is shown correctly .....

View Replies View Related

Strange Text Input

Have an ASP page on internet, where I let the user write his email address. Today I see that this text input field has got a yellow background instead of the normal white as the other input fields. The code is quite normal. Using IE 6.0.2900. It has not appeared before. Then I rebooted the computer,but got the same result.When I try another computer, also with XP pro and the same IE, the text input is white as it should.

View Replies View Related

Strange Value Returned From Recordcount

why a ADO recordset.recordcount would return a -1? I have confirmed that it has records in it by writing some values to the screen. Why can't I count the number of records returned though?

View Replies View Related

Strange Form Problem

I have the simple form as below. When I click it is not getting the form
action from the line inside the loop but from somewhere else in the page.
The page has multiple forms but depending on what the status is various
elements are dsiplayed or hidden. For examples even If I change the
viewpo.asp to nopage.asp it still is displaying the page and going to
viewpo.asp page with the PONumber query string set. Code:

View Replies View Related

Submit Button Not Working (strange)

I have a Website at work which we use for logs. You must login to access anything. I didn't change any code on one of the 9 pages I have and all of a sudden, the Submit button won't work. I'm totally stumped as to why. All the other Submit buttons work fine on all the othere pages.

View Replies View Related

Database - Strange Behaviour Of One Field

I have an access database with lots of fields including a memo field called
'priecinfo'.

Everything works well, lots of data is written, but in one particular
situation, I can't get the field 'priceinfo' to write out:

1) the code below works properly except that the field 'priceinfo' doesn't
get written - replace it with any other field and it works. Code:

View Replies View Related

Strange Frame/New Window Problem

On the same client with different IIS servers I got a different behaviour of the same code. In one environment it opens in the frame and in the other it opens a new window.

Action Codeline: <Form action="show.asp" target="show" method = post></Form>

Show Codeline: <Frameset><frame src="show.htm" name="show" scrolling="yes"></frameset>

View Replies View Related

Fixed! Form Values Being Cut Off - Strange!

i'm getting an instance of a form field value being cut off when input into a MS SQL db. i can't figure out where it's doing it. the field datatype is set to VARCHAR with a size of 100. the data is being cut at 30 characters. here is the form field: Code:

View Replies View Related

Page 2 - Submit Button Not Working (strange)

Anyone have any thoughts regarding the output document?

View Replies View Related

Strange HTML Parsing Problem - White Space

I am using a xml parser to retrieve and scan through some HTML from a website so that I can use VBScript operations (Left, Right, Mid, Len etc) to pick out the data that I require from the responsetext.

The code works very well and I am attempting to validate the data that the code finds by comparing it to data in a database. Below is a section of code that extracts race locations from a website. Code:

View Replies View Related

I Have A Error Called Microsoft VBScript Runtime Error- Error '800a000d'

I got an error saying

Microsoft VBScript runtime error- Error '800a000d'

Type mismatch

/briansforums/default.asp, line 923

also another error called Code:

View Replies View Related

Error: HTTP 500.100 - Internal Server Error - ASP Error

# Error Type:

Server object, ASP 0177 (0x800401F3)

Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
/CoxAxis/adminEditPage.asp, line 6

My code:

<%
dim self, pid, i, c
self = Request.ServerVariables("URL")
pid = Request.Querystring("pid")
set Session("pageContent") = Server.CreateObject("Scripting.Dictionary")
Set custObj = Server.CreateObject("NFIFunctions.ValidateField") Line 6
set psi = Session("pageContent")
set errDict = Server.CreateObject("Scripting.Dictionary")
i = 1

View Replies View Related

Error :: Provider Error '80004005' Unspecified Error

i'm getting

Provider error '80004005' Unspecified error

admin/dbconnection.inc, line 4

what this is, it only started happening after i did a recent upload of my database!, i 've tryed uploading it again but the error still appears.

View Replies View Related

AspSmartMail.SendMail : Error 28 Error '8004001a', 504 Invalid Username Or Password

Let me start by saying I'm fairly new to Asp coding. That said...

My ISP only uses AspSmartMail. I've created an online form that uses fill out, which is then e-mailed to the collector of the information and CC-ed to the person who submitted the information.

The error I'm receiving is this:
aspSmartMail.SendMail : Error 28 error '8004001a'
504 Invalid Username or Password

In my script, I've Dimensioned several items, as you'll see below, passing the authenticating username/password to the smtp server, but it's not working. I tried not passing the information by entering in the actual info without it being passed by the diminsioned items. This didn't work either. I of course verified that the username/password I'm usine is correct.

Can someone plase tell me why I can't authenicate? I would really appreciate any help that might be out there.

Relavant Asp code below:
-----------------------------------------
Dim smtpserver,youremail,yourpassword,yourusername,rem oteemail

'Edit these 3 values accordingly
smtpserver = "mail.smtp_server.org"
youremail = "yourname@smtp_server.org"
yourpassword = "password"
yourusername = "yourusername"
remoteemail = "email_address_to_send_to"


Dim ObjSendMail
Set ObjSendMail = Server.CreateObject("AspSmartMail.SmartMail")

'Config remote SMTP server info.

ObjSendMail.Server = smtpserver
ObjSendMail.ServerTimeOut = 35
ObjSendMail.SenderAddress = youremail
ObjSendMail.Password = yourpassword
ObjSendMail.Username = yourusername

'End remote SMTP server config.

'Config E-mail.
ObjSendMail.Recipients.Add remoteemail
ObjSendMail.CCs.Add Request.Form("Confirm_Email")
ObjSendMail.Subject = "Email Subject"
ObjSendMail.SenderAddress = "Confirmation-NoReply@smtp_server.org"
ObjSendMail.SenderName = "SenderName"

ObjSendMail.ContentType = "text/html"
ObjSendMail.Body = strBody
'Note - strBody is Dimensioned elsewhere in my script to build the HTML message body.

'End Config E-mail.

'ObjSendMail.Send
ObjSendMail.SendMail

if err.number <> 0 then

response.write("Error n° " & err.number - vbobjecterror & " = " & err.description & "<br>")

else

Response.Write "aspSmartMail has sent your message with this file as attachment : <br>"
'Response.Write ObjSendMail.Attachments.Item(1).FilePathName

end if

Set ObjSendMail = Nothing

---------------------------------------
End code

View Replies View Related

Error :: Compiler Error Message: BC30002: Type 'ODBCConnection' Is Not Defined

i m getting this following error:

Compiler Error Message: BC30002: Type 'ODBCConnection' is not defined.

Following is my code: ...

View Replies View Related

Update Statment & Error :: Microsoft JET Database Engine Error '80040e14'

I keep getting an error when I try to run this update statment: [CODE]

INSERT INTO MYPosts ( IEname, country, server_name, LANIPAddy, license_ver, wrkstn1, wrkstn2, wrkstn3, wrkstn4, wrkstn5, notes, status, rdse, esc, eso, parent, , timezone, ) VALUES ( '" & lcIEname & "', '" & lcCountry & "', '" & lcServerName & "', '" & lcLicenseVer & "', '" & lcwrkstn1 & "', '" & lcwrkstn2 & "', '" & lcwrkstn3 & "', '" & lcwrkstn4 & "', '" & lcwrkstn5 & "', '" & lcNotes & "', " & lcStatus & ", " & lnRDSE & ", " & lcESC & ", " & lcESO & ", " & lcParent & ", " & lcTimeZone & ")"


I get the following error:

Microsoft JET Database Engine error '80040e14'

Syntax error (missing operator) in query expression

View Replies View Related







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