Most voted "asp" questions
ASP (from Active Server Pages), also known as ASP Classic nowadays, is a basic library structure (not a language) for server-side scripting language processing for dynamic content generation on the Web.
Learn more…308 questions
Sort by count of
-
2
votes1
answer204
viewsMake a SQL Server process by receiving a special character string and getting only the numbers
Hello, I have a system developed in ASP Classic, in which I select up to 5 times on a screen. These times are sent to the other page via querystring, but the format that comes is followed by an…
-
2
votes1
answer217
viewsNamespace does not work correctly / BC30002: Type 'Prod' is not set
I was invited to solve a problem in a client’s system in Asp.net (Language in which I do not dominate). Without further ado... My.aspx product file has the following directive <%@ Import…
-
2
votes1
answer282
viewsAsp classico with Asp . net
I have an Asp net project and I would like to take advantage of a page of another project, however it is classic Sp, I did some research and saw that I could do this "merge", but no one said exactly…
-
2
votes2
answers1232
viewsHow to implement google reCAPTCHA using classic Asp
Hello, I can’t do the implantation of recaptcha using the ASP classic. The tips of the google site are confusing me and I can not implement. Could someone pass me a "be the bá" with the steps? The…
-
2
votes1
answer419
viewsTooltip does not work dynamic
Notice that line: response.write "<span data-toggle='tooltip' data-original-title='" & TitleBadge & "' style='margin-right:3px;'>" This line is inside a file that is called via ajax.…
-
2
votes1
answer95
viewsHow to put a "show more" on gridview
How to do this: Turn this around: The only thing I can imagine is putting a treeview inside the gridview, even so, I don’t even know if that’s possible. The doubt is only about the functional part…
-
2
votes1
answer12576
viewsChange the image src
I have a field called img, in it I save the image name, for example: 001.jpg, where "1" corresponds to the record ID. I have a routine that changes the image and is working, the change is made by…
-
2
votes1
answer1185
viewsDisable date in Datepicker from SQL Server table
I have a system in Classic ASP, in which I have a scheduling calendar. I need to disable the dates that are in the table of holidays and compensations (id_holiday and date). I don’t know how to…
-
2
votes2
answers238
viewsWhat alternative to replace ASP codes with Javascript?
I have this code in asp and javascript. <%if trim(ind_tipo_proposta_pj) = "S" then%> var onum_seq_proposta_pj_ts = eval(txt_chamada + txt_prefixo + '<%Response.Write…
-
2
votes2
answers323
viewsHow to get source of request in Asp?
I need to do a certain action with a page that is in classic Asp. What I need is get the origin of the request which is made on that page and depending on what the origin, I do something related to…
-
2
votes1
answer348
viewsMake replace case insensitive in Classic ASP (Vbscript)
I have the string below: texto = "Meu texto" I would like to replace the word "My" and return it in bold. The result would look like this: Man text However, replace is case sensitive, that is, if I…
-
2
votes1
answer3703
viewsError: Process or Function has Too Many Arguments specified
Criei uma procedure para popular uma grid view: create procedure [dbo].[spc_listaafiliadosadmin] ( @nome varchar(100), @login varchar(100), @cpf varchar(100) ) as begin if(@nome is not null) begin…
-
2
votes2
answers564
viewsCall in function jQuery does not find file
I made a function jQuery and in the URL passage he is not finding the file. I found it strange he does not find, because the file exists. Every call I have within the site, is always the same, be it…
-
2
votes3
answers754
views<form action = ". /"> where will you go?
I am passing an ASP page to PHP and found a form where the action attribute had the following value: <form action="./">. This action value works as a <form action="#">? That is, directs…
-
2
votes1
answer776
viewsCalculations in mysql SELECT vs. calculation in script
Let’s say I want to calculate the percentages of records in a mysql table for certain information, such as users up to 20 years old, from 21 to 30 years old, and over 30 years old, and this table…
-
2
votes1
answer715
viewsAccent problem on IIS 10 (Windows 10) using classic ASP
I did several searches 2 days ago and tried everything but I could not solve the problem, which is the following: I enabled IIS in Windows 10 64 bit home to use local pages in classic ASP. Until…
-
2
votes1
answer1172
viewsHow to use Automapper 6.2.2 in Asp MVC5?
Hello, how to use Automapper 6.2.2 on Asp MVC5 to map my view models to the domain model. Example: in MVC I use Usuarioviewmodel and in the User domain.
-
2
votes1
answer616
viewsAsp Classic - Save page with MSXML2.ServerXMLHTTP.6.0
Good afternoon, I am trying to create a cache system for my site and for this I am using the object MSXML2.ServerXMLHTTP.6.0 in this way: Set objHTTP =…
-
2
votes2
answers367
viewsASP - Printing JSON without last comma and double quotation marks
I need to make a query in the database, and returns a JSON. I tried using JSON for ASP from Google, but there were some errors, so I decided to do it manually: <!--#include…
-
2
votes2
answers368
viewsEF core called the Procedure
I’m trying to use the Entity-framework-core and I have a problem, I need to call a procedure: var status = _context.Set<Usuario>().FromSql("exec LoginUsuario @chave='ROBr',…
-
2
votes0
answers113
viewsUsing Paypal REST with Classic ASP
I am trying to make a simple call to the Paypal API with the following code: On error resume next Set objHTTP = CreateObject("Microsoft.XMLHTTP") objHTTP.open "POST",…
-
2
votes2
answers219
viewsRelative path to txt in ASP
Good afternoon, I am generating a file with Asp net the function saved in the hard drive if I put the path, however this file will be saved in a server and I’m having difficulty to put the relative…
-
2
votes2
answers935
viewsHow to Debug Classic ASP in Visual Code
Like debugging classic ASP in Visual Code, some specific extension may be suggested or another form of configuration so it is possible to debug.…
-
2
votes1
answer382
viewsError c# and Mysql: Authentication with old password no longer supported, use 4.1 style passwords
Context: We have an application built a few years ago in ASP 6 that accesses a Mysql database, there on Localweb. To make the connection, the application uses the Mysql ODBC 5.1 driver. and works…
-
2
votes3
answers930
viewsEmail Submission Form - Classic Asp
I need help with e-mailing from a form on html. The form is already ready and I had a code PHP that made this upload, however the client’s server is not accepting the code PHP and I need to change…
-
2
votes3
answers291
viewsAsp:Textbox type="date" is not completed
I am creating a form in Asp where a asp:Textbox should load the expiry date of a product, which should be filled in page_load() with the database data, and be free to change if necessary The problem…
-
1
votes2
answers326
viewsDrivers for bank connection via ASP Classic
Good afternoon. In the Connection string of our web application, we always use the Driver {SQL Server}. We have other options like {SQL Server Native Client 11.0}. What are the decision-making…
-
1
votes1
answer380
viewsWrite file in . ASP with JAVASCRIPT conditions
How do I write a file. ASP if a condition in JAVASCRIPT? NOTE: I can already write files in . ASP quiet. Below the font piece as example: <script> if(1 == 2) { // ISSO É FALSO, PORTANTE ELE…
-
1
votes1
answer1240
viewsMounting array with checkbox
I would like to mature the idea below to send a variable in Javascript to Asp and with the choices in array, I’m only managing to send a choice at the moment: <!DOCTYPE html> <html>…
-
1
votes0
answers411
viewsmdaccess b - Microsoft JET Database Engine error '80004005'
Overnight (after a windows update) my MDB files no longer open via IIS - ASP) with the message: Microsoft JET Database Engine error '80004005' - non-specific error. Connection stopped working for…
-
1
votes1
answer65
viewsResize Multidimensional/Associative Array from a Resultset
I’m trying to feed a array multidimensional and associative from a Resultset, but accuses the following error: Microsoft VBScript compilation error '800a0401' Expected end of statement…
-
1
votes0
answers81
viewsGeneric Handler - Parser Error, Could not create type
Next guys, I made a simple Generic Handler, just to give me back one person, just for the record, the code is this way public void ProcessRequest(HttpContext context) {…
-
1
votes3
answers144
viewsHow to check if the user is currently online?
The thing is, I made a system where the administrator can see the online users at the moment and move them. So far so good, I created a variable in the table user in mysql that becomes TRUE when the…
-
1
votes0
answers401
viewsThe MSDAORA Provider is returning "?" instead of special characters
I’m going through a problem trying to configure my computer to run the application the same way it runs on the server, the characters that are returned from the Oracle database, appear with a ? in…
-
1
votes1
answer112
viewsPrint request.form values
I have the following code below, and by clicking on the record button run the first two Replays. But they are printing empty fields. What’s wrong with my code? CODE: <% Dim year_, lista(), cList,…
-
1
votes0
answers162
viewsMemory consumption IIS 8
I went up my application and found that it was very slow, and in IIS Worker Process the memory consumption does not decrease, for example: I did some tests and the consumption went up to 1 GB, this…
-
1
votes2
answers1489
viewsAsp Classic - Keep option select apos post on page
Guys, I need some help. I have the following select HTML Techo <select id="lstTransacao" name="lstTransacao"> <option value="null">Todos</option> <option…
-
1
votes2
answers5074
viewsEncoding ASP Classic
I have an application in .asp and was having problems with special characters, they were printed on canvas in a totally unnatural way. To solve the problem, I applied: Response.CharSet =…
-
1
votes1
answer404
viewsproblem with Response.redirect
Response.redirect is causing my msg javascript to be undone, as I do to run redirect and make the message appear ? if request("action2") = "alteracliente" then sql3 = "update clientes set…
-
1
votes1
answer145
viewsJavascript code is giving error
I posted a thread here which dealt with how to replace an ASP code with cleaner Javascript. Well, I had a lot of help, from Maicon and Tobymosque. Well, I made the appropriate changes, to my mind…
-
1
votes0
answers63
viewsupdate mysql error
I’m getting this error when I try to update with mysql in Asp. Microsoft VBScript compilation error '800a03ee' Expected ')' /postos/reg.asp, line 525 set ins_regenf1 = conn.Execute("UPDATE reg SET…
-
1
votes1
answer229
viewsProblem with Mappath Classic ASP
You are giving the following message when I click on the "send email": 006~ASP 0173~Invalid Path Character~An invalid Character was specified in the Path Parameter for the Mappath method. How do I…
-
1
votes1
answer193
viewsProblem with HTML link with classic ASP
The following piece of code is giving me trouble: While not rsQuery.EOF If vStrCurso <> rsQuery("SIGLA") Then ind = ind & "<p></p>" ind = ind & "<span><b><a…
-
1
votes1
answer307
viewsProblem with CSS and ASP Button
I’m trying to put a button ASP with a certain class CSS but I’m not getting the button ASP operating in accordance with CSS. If the button is HTML goes without a problem. CSS code: .images_1_of_5…
-
1
votes1
answer125
viewsLabel refresh auto
I wonder how I could automatically refresh a LABEL who is in a Master Page. That one Label shows the sum of the quantity of the products, and whenever I add a product to the cart Label does not…
-
1
votes1
answer54
viewsSend newsletter
I’m trying to send a newsletter to all users who have enabled the newsletter and I’m not getting. My code to send one email normal is: try { SmtpClient smtp = new SmtpClient();…
-
1
votes3
answers2411
viewsHow to record content in a classic Asp Session and move to a mvc page?
How to record the checkbox in a session to be able to use it on another page ? It is possible ?
-
1
votes2
answers769
viewsDouble quotes in the URL
I’m using the remote <button class="button button1" value="janeiro" onclick="location.href=…
-
1
votes1
answer1280
viewsHow to Post a method by clicking a button type=button
I’m making an application where when I click a button I have to send an email. I got my page one input type=Text and a button type="button" that with css got like this ->. I need that when I…
-
1
votes0
answers50
viewsHow to use paging in Asp:datalist?
Hello, I found some codes on several websites, only I did not find a method to make pagination on Asp:datalist . I would like to have the numbers below, option of last page, first page. Follow the…