How Long Will Classic ASP Be Supported By Microsoft?

X-No-Archive

How long will Classic ASP be supported by Microsoft?

Should I start learning ASP.NET? Is it hard if you already know ASP?

View Replies


ADVERTISEMENT

'AS' Keyword Supported

Is the keyword 'as' supported in ASP? I'm reasonably sure it's valid VBScript (code examples I've downloaded use it) but when I try to use it in ASP I get an error. Is it perhaps a version issue?

View Replies View Related

Expression Not Supported

I have a SQL statement here that im trying to troubleshoot, it is coming up with 'join expression not supported'. I have tried the statement in the access database (in msaccess) and it works fine without any errors. The statement is as follows:

Code:

strSQL = "SELECT 'tbl Item.Art_No', 'tbl Item.Description', 'tbl Item.BA', 'tbl Item.Retail Sales Price Incl GST', 'tbl Item Bin SOH.Location', 'tbl Item Bin SOH.Blocked', 'tbl Item Bin SOH.Stock on Hand' FROM 'tbl Item' INNER JOIN 'tbl Item Bin SOH' ON 'tbl Item.Art_No' = 'tbl Item Bin SOH.Art_No'"

View Replies View Related

[ASP] Recordset.Update Not Supported By Provider?

I'm attempting to use a very simple RS.Update, but it tells me that this is not permitted . I've specified the LockType as adLockOptimistic, and RS.Supports(adUpdate) returns a value of true.

Am I missing something, or does my provider not support Updates? I'm running IIS on Windows XP Pro, and all the permissions are set to read/write/execute, which should be sufficient. Does anyone have any suggestions?

View Replies View Related

Object Doesn't Support :: Property Or Method Is Not Supported?

I got this code from a reputable ASP web site:

fs=Server.CreateObject("Scripting.FileSystemObject")

If (fs.FileExists("c:winntcursors3dgarro.cur"))=true Then
Response.Write("File c:winntcursors3dgarro.cur exists.")
Else
Response.Write("File c:winntcursors3dgarro.cur does not exist.")
End If

set fs=nothing

Except everytime I run it, I get an error saying the property or method is not supported?

View Replies View Related

[Microsoft][ODBC Microsoft Access Driver] Cannot Update. Database Or Object Is Read-o

[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.

I keep getting this error message when im adding a new record to my database.

Here is my code: ....

View Replies View Related

[Microsoft][ODBC Microsoft Access Driver] System Resource Exceeded.

i m trying to coneect to a access database Using DSN , but when i try to connect i get an error

Microsoft OLE DB Provider for ODBC Drivers error '8007000e'

[Microsoft][ODBC Microsoft Access Driver] System resource exceeded.

View Replies View Related

Error:[Microsoft][ODBC Microsoft Access Driver] Too Few Parameters. Expected 2.

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

The code i have used is as follows:

View Replies View Related

Error :: [Microsoft][ODBC Microsoft Access Driver] Not A Valid Bookmark.

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Not a valid bookmark.

has anybody seen such types of errors?

View Replies View Related

Error :: [Microsoft][ODBC Microsoft Access Driver] Missing Semicolon ( ; )

this small bit of SQL:

SQL_EditNews = "INSERT INTO tblNews (newsBody) VALUES ('" & editedNews & "') WHERE newsID=63"


Is there something wrong with this statement? When i try to execute it, i get the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Missing semicolon ( ; ) at end of SQL statement.

/edit_news_03.asp, line 19

View Replies View Related

[Microsoft][ODBC Microsoft Access Driver]General Error Unable To Open Registry

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'.

View Replies View Related

Error :: [Microsoft][ODBC Microsoft Access Driver] Syntax Error In INSERT INTO Statement

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.

View Replies View Related

Too Long To Insert

I want to insert a new row in my db but it says that the "identifier is too long"...

ORA-00972: identifier is too long

to be more precised... I googled it but I can't seem to pinpoint how to work around this

View Replies View Related

Long Emails

When sending long emails a mysterious space-character is added after a
certain number of characters. Any idea why that happens?
I am using a Dundas Mailer control (if that matters) called from an asp
script.

View Replies View Related

Long Posts

I have a database-driven site and it is possible for users to leave comments, which get written to the database. How do I make it so large comments can be added?I am getting this error message:

Microsoft JET Database Engine error'80040e21'

The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.

/wall2.asp, line 37

I have set the default field type in the database to be 'memo'and set the default text field size to 255 (the maximum allowed)

View Replies View Related

Long Numbers

How do i make this number shorter?like 65.3846153846154%.how to make it like.let's say 65.39?

View Replies View Related

Long URLs

Is anyone aware of any sort of asp coding to deal with long URLs? I have a few asp that pull URLs from fields within a MS db, which then display on a width-limited table. Is there any way to wrap these long URLs such that my table doesn't get widened? e.g. wrapping at "/" or something similar?

View Replies View Related

Too Long Mailto: Link?

ok I have a page that displays all of the 3000+ records of people, phone numbers, and email addresses. on this page I have added a link that combines all of the e-mail addresses into one mailto: link so that we can mass notify these people of upcoming projects. the problem is that i think the link is too big for the browser to handle. the view source shows that everything is there but i cannot click the link. i have tried both IE and FireFox to no avail. The code is below just in case i have a typo or something...

sql = "Select * from people WHERE (IsNull(m_idstatus) OR m_idstatus <> 'id2') AND (m_email Like '%@%')"
...

y = 0
do while not rs.eof
If (rs("m_email") = "" OR IsNull(rs("m_email"))) Then
e_email = e_email
Else
e_email = e_email & rs("m_first_name") & "&nbsp;" & rs("m_last_name") & "(" & rs("m_email") & "); "
y = y + 1
End If
rs.movenext
loop
...

<a href="mailto:?bcc=<%= e_email %>">E-MAIL ALL</a>&nbsp;&nbsp;|&nbsp;&nbsp;

I have also tried changing the format of the link by adding test@test.com before the ?bcc= but get the same results on both browsers. Like I said in the beginning I assume that the link is just too big for the browser; does anyone have any ideas besides making a mail form in the page? I would prefer to stick with a mailto link so that we can keep internal Outlook features.

View Replies View Related

Command Text Too Long?

I'm currently working on an ASP site that connects to a MySQL database I've built a form that allows users to insert press releases. They add the date and title and then the text of the release.

The problem that I'm having is that every so often when the user submits the form they get an error message saying "Command text too long" The record isn't added to the database after this

I use a longtext field for holding the main text of the press release Code:

View Replies View Related

ServerXMLHTTP Uses 100% CPU For A Long Time

I'm trying to use ServerXMLHTTP on an ASP (not ASP.NET) page to retrieve
large binary data from a remote server. When the request is large (more than
a few megabytes), the ServerXMLHTTP page jumps to nearly 100% CPU utilization
for an unusually long time. The remote server needs a few seconds to prepare
the request, during which time the CPU seems OK. It seems that as soon as
the data is ready to retrieve, the CPU usage jumps and remains that way until
the data has all been copied to the requesting server. That takes way too
long - about 35 seconds when requesting a 12 MB file over a gigabit Ethernet.

I use ServerXMLHTTP hundreds of thousands of times daily on this same system
on the same network, with absolutely no problem - but for smaller requests.
There's something about the size of the request that makes it blow up.

I saw some reports of older systems with this problem (Windows 2000), but
I'm running IIS 6 on Windows Server 2003, SP1.

View Replies View Related

Long Response Times

I am trying to simply print to screen all the data in a colum from a .mdb file. Later I will do more advanced things but for now this would be good.

What I have WORKS, but takes a LONG time to retrieve the first record, if I tell it to retrieve more than one row it will time out. I was hoping to connect to the file directly and not have to create an ODBC connection. The code seems simple enough and the server is no dud (p4 2.4ghz) so do I need to setup a DSN and connect to it that way? Code:

View Replies View Related

Message For Long Queries

give me a sample code to display a "please wait"
message while retrieving results from the database in ASP.

View Replies View Related

Long Select Statement

I have a sql statement that contains many fields. I am having problems with the way I am writing the sql statement. Here is an example:Code:

filePath = server.MapPath("directory/dbName.mdb")
Set conn = Sever.CreateObject("ADPDB./Connection")
conn.Provider = "Microsoft.Jet.OLEDB.4.0"
conn.Open filePath

mysql = "SELECT field1,
field2,
field3,

I get an error at the comma on the line "SELECT field1,
What is the proper syntax for line continuation?

View Replies View Related

My Query Is To Long To Fit On One Line

I am trying to return a recordset of data. The problem is my SQL query does not fit on 1 row. What do I need to do to start a new row. I tested the asp when I trimmed my query down to 1 row and it worked.

View Replies View Related

Long Running Process

I'm developing an intranet application using W2k server and IE5.5 - 6.x
clients. I've got one particular function that calls a stored procedure to
update a number of records, depending on user input. The problem we have
run into is that this procedure can take a few minutes to complete in
certain circumstances, and of course IIS times out.

I've been doing some searching for a solution, but most of the answers I've
found relate to showing a 'Please wait' message while processing the page,
which doesn't help in this situation. The others I've found relate to using
MSMQ, which would probably help, but leads to a load of testing issues that
I'm not prepared to deal with at the moment.

Are there any other 'common' ways to handle this at the ASP level?

View Replies View Related

Long Text In Variable

I am using some code like the one below to work with a text file, modifying
its lines one by one:

Set objFS = Server.CreateObject("Scripting.FileSystemObject")

Set objF = objFS.OpenTextFile("MyText.txt", 1)

Do While objF.Line <= 26 ' --- I am reading only certain lines

'--- get entire line
strTemp = objF.ReadLine
'--- do some other stuff here

Code:

View Replies View Related

Splitting A VERY Long String

I have a very long string statement that needs spltting down into smaller sections and segments. I know how to use the split() function, and it splits the string down into smaller sections, however when I try and split one of these smaller sections into segments it throws an error out. Firstly is it possible to keep splitting the same string again and again to break it down? If not does anybody know how I would go about breaking down the string?

View Replies View Related

Divide Long Web Page

I want to divide long HTML page (paging) into smaller pages.I know how to do it if I use recordset but in my project, I dont need to read from a Database, I'm reading a file system wich is a folder and list all files insid it.

View Replies View Related

Long Text Insert

I was performing some testing on my forms and in the comments section of the form, I copied and pasted a large amount of text. All of the text appeared on my confirmation page that I have that shows all of the submitted information. Once I hit submit on the confirm page so that the INSERT will occur, only about 1/4 of the text that was entered shows up on my "Submission Confirmation" page.

The text insert appears in the database, but only the 1/4 of the text that was entered. I'm using the "text" datatype and the length is set to 16. Can anyone think of why only a portion of my text is being displayed and then inserted into the table?

View Replies View Related

Long Hyperlink Into Database

I'm trying to put a long hyperlink into my database table which works fine. I used longtext as the field type. My records insert just fine. But when I try to retrieve the records on the asp page all the other data shows up but the hyperlink data. Here's an example of my link.

INSERT INTO products
(manufaturer, prod_category, prod_link)
VALUES ('Xtra','Irons','<a href="http://www.kqzyfj.com/click-1692223-10304326?url=http%3A%2F%2Fwww.golfsmith.com%2Fppage.php%3Fstynum%3DCL1480%26tcode%3Dcj" target="_top" >CG1 Irons w/ Steel - 3-PW Iron Set<br>$799.99</a><img src="http://www.afcyhf.com/image-1692223-10304326" height="1" width="1" border="0">');

What am I doing wrong.

View Replies View Related

Cutting Long Numbers

anyone got an idea on how to cut the output of a number? coz i made a computation and the output was this

81.5740740740741

and i want to make it 81.57

anyone got an idea?

View Replies View Related

Partitioning Long Numbers

I'd like to get a number, and every third character from the right add a comma (aka 10000 becomes 10,000). How can this be done in ASP please?

View Replies View Related

Displaying Long Raw Field

I have an Oracle database which has a field LONG RAW type to store text files. I'm trying to display the output of this field in ASP but I'm having problems. I've gone through many different approaches but they either do nothing or do the following;

I've tried doing response.binarywrite(rs("data_object")) and I get
somethinglike below ....

View Replies View Related







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