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
-
35
votes8
answers45010
viewsWhat is the difference between C# and ASP.NET?
What’s the big difference about ASP.Net and C#? I program in C# for desktop, but I can’t understand. C# para desktop (Windows Forms Application) is identical to the C# used in web programming? And…
-
14
votes1
answer11725
viewsCLSID component COM class factory recovery failure
I have developed an application on my pc that does the following: from an upload of a word document, it generates a new document with some basic information. To generate this information, it opens…
-
7
votes3
answers438
viewsHow to make a standalone script using Global.asa
I’m looking to run a script that records information into the database every 24 hours. I’m not the server administrator, so I don’t have access to Scheduled Tasks, I read in some articles that I can…
-
6
votes3
answers1115
viewsClassic ASP out of IIS? Windows x64
Does anyone know any program/server capable of running classic Asp (Vbscript, Jscript) and other than IIS ?
-
6
votes1
answer623
viewsIs there any way to do an PSA unit test?
I am in need of a help to do ASP unit testing for a software quality project. It is possible to do this? Remembering that it is classic ASP.
-
6
votes1
answer185
viewsHow to concatenate conditions into multiple lines?
I am working with a legacy system and it has some IF’s with many conditions, with the intention of improving the readability of the code tried to break these conditions in several lines.. If rs(0) =…
aspasked 7 years, 3 months ago Caique Romero 7,039 -
6
votes1
answer1287
viewsClassic Asp Debug with Visual Studio 2017
I don’t know anything about Classic SP and a demand has appeared where I have to debugging an application in Classic SP, because one of the filters is not working. And Response.write/Notepad++ won’t…
-
5
votes2
answers785
viewsE-mail UTF-8 via ASP with CDONT
I am trying to send a form to an email using CDONT, but the charset is coming incorrectly and is not showing the accented characters correctly. <% Response.ContentType = "text/html"…
-
5
votes1
answer1497
viewsjquery function is not being recognized on the page
My situation is like this: I have a page in ASP that mounts a table. And I have another one, also in ASP that has functions, which do the following. Provides an html to popular table. I put a jquery…
-
5
votes2
answers926
viewsSaving Base64 Image with ADODB.Stream
After converting an image to Base64 using Html5 and canvas, send the string to ASP Classic and there I must save this image in a certain directory. I’m using the following code: base64String =…
-
5
votes0
answers76
viewsMethod to protect IIS from hotlinking
There is some efficient method against hotlinking pro IIS. I tried two but they did not work. <!--Método 1--> <rewrite> <rules> <rule name="Blacklist block"…
-
5
votes1
answer923
viewsTips to improve the performance of an ASP.NET MVC site
I attended Devday 2015 and had the opportunity to participate in the Roberta Arcoverde about the architecture of Stackoverflow. I found her approach on the issue of performance interesting,…
-
5
votes1
answer227
viewsFreeaspupload ASP Classic stopped working
At the company where I am working all the systems were built in ASP Classic, and we used Freeaspupload to download files sent through form, but this morning this class stopped working from nothing.…
-
5
votes1
answer1555
viewsHelp with Instagram API
I’m trying to consume to API of Instagram and I observed here in stackoverflow community on the library so-called Instafeed.JS, with this I followed the official documentation of the same in your…
-
5
votes2
answers235
viewsHow can you clone cards on my website?
what is occurring is the following. I am currently trying to solve a big problem, two of the company’s online stores that I serve are having a problem with card cloning. I don’t have much experience…
-
4
votes1
answer263
viewsASP Classic in Windows Azure
I have a web application in ASP Classic that uses a DLL. NET registered by regasm, an upload component (upload) and CDOSYS to send emails. This application is accessed by multiple clients and has…
-
4
votes1
answer38900
viewsGet the value of the selected item in a Classic Sp Combobox
I have two combobox, I need to get the id of one to load the other from the item that was selected in the combobox1,how could I do this through a javascript function. <select id="cb_catinsumo"…
-
4
votes1
answer543
viewsConnection provider not working in Vbscript
I have the following connection string: conn = "Provider=SQLNCLI; Server=" & conn_server &"; Database="& conn_database &"; UID="& conn_uid &"; PWD="& conn_pwd And the…
-
4
votes1
answer238
viewsData Source - Best way to organize methods/classes pertaining to the entire table?
In my company we work with models based on the "Active Record" standard, that is, the model methods are always related to the operations of a unique database record, for example: Class User { int…
-
4
votes2
answers680
viewsDisable css and image caching in the browser
Recently, I developed a project that had some drastic changes in its design, mainly by the side of css and images. In this, accessing it on some machines, I verified that to visualize its new design…
-
4
votes1
answer623
viewsRedirect to error page when entering catch
I have a question as to a possible improvement in the method when an error occurs in a Action and redirect to an error page. At the moment, I do so on Action: public ActionResult Index() { try {…
asp.net-mvc asp.net asp.net-mvc-5 asp asp.net-mvc-4asked 8 years, 6 months ago Leomar de Souza 1,074 -
4
votes1
answer107
viewsCondition to check null variables does not work
I’m developing a page ASP (Classic) and on that page I have this: <%if(textocontrato) = "NULL" Then%> <td >Texto Contrato</td> <td ><input type="text" name="textocontrato"…
-
4
votes1
answer1116
viewsWhat is a "Postback"?
It may seem like a silly question, but I can’t understand how a postback works, if anyone can explain to me thank you!
-
4
votes1
answer199
viewsHow to read an XML that is inside the project?
I’m creating a web application with .NET Core Razor and I need to get my code to read a file XML. I can already get him to read this XML, but with another path, which is out of my project. That is,…
-
3
votes2
answers7683
viewsHow to upload images to a folder using ASP Classic?
Is there any script for Classic ASP so I can upload an image to a folder. Ex: I click a button, upload the image, click to upload and go to a folder for example: C:\ASP\sistema\imagens.…
-
3
votes1
answer505
viewsDoes jqgrid support line break formatting?
I’m developing an application where I use Jquery(1.11) with Jqgrid(4.54). This application has already been developed in ASP, where in its contents there is a login data totalizer along with the…
-
3
votes1
answer1757
viewsTo assign the value of a variable that is in a Javascript function, for an SQL query.
I have a javascript function that gets the value of the selected item in a combobox, and would like to pass this value as parameter to an SQL query to bring the data that is related to the value…
-
3
votes1
answer1146
viewsHow to catch the next month and the year in classic ASP?
For example: we are in March 2015. I can catch the next month of the current year using month()+1 concatenating with year(), that is, the month of April 2015. However, let’s say we were in December…
-
3
votes1
answer66
viewsTransfer value from C# to jQuery
Well, I have a job in ASP.NET here where I can upload music to a folder on the computer and already have a function on C# to search the address of the archive. Anyway, I wanted to use this path in a…
-
3
votes2
answers784
viewsVisual Studio 2015 Hangs and not back when accessing cshtml page and inserted "<"
Guys this very strange. In any project when I insert in a cshtml file a "<" visual studio 2015 crashes and restarts, this occurs in any WEB project, already reinstalled it 3 times and always…
-
3
votes2
answers611
viewsSend email using ASP.NET
I would like to know how to send an email using ASP.NET. The idea will be to click on a button called send and send a support mail Thank you.
-
3
votes0
answers410
viewsAutocomplete with dynamic fields
I have a table with the fields (product, Qtde, pUnit and ptotal) the product field is autocomplete. When you enter the page, there is already a line, so the autocomplete works perfect. I’ve been…
-
3
votes1
answer980
viewsmeaning of Redim in classical Asp
What does that mean? redim preserve VetRede(iCont) Vetrede is a variable declared in Asp(I put this, otherwise the body of the question is outside the standards, few words), eheheheh!…
-
3
votes3
answers1633
viewsHow to get the total and individual percentage per field in ASP Classico
I have the following scenario: My DB (in Mysql) has 1 million users, and this are divided into 3 categories of registration: Male, Female and Transgender. The goal is to categorize as follows.…
-
3
votes2
answers111
viewsConvert function for next ASP to PHP
I have this function in ASP and need to convert to PHP DICE: cod = "01A" ou cod = "01B" ou cod = "01C" titulo = "Novidade" FUNCTION: letra = right(cod,1) str = array("A","B","C") for i = lBound(str)…
-
3
votes1
answer1732
viewsreplace with regular expression (regex) ignoring accents
I recently changed the friendly url, because the querystryng used for searches was filtered to without accents. Regarding the queries to the database regardless of whether the word has accent or is…
-
3
votes1
answer132
viewsDate in odd fractional format 0.00xxxxxxx
I get that date from the comic book: 0.002976190476190476 I would like to move to this format: dd/mm/yyyy, using javascript pure or jquery. How I do? Here is the ASP that assembles the select:…
-
3
votes2
answers603
viewsASP Classic runs on ASP.NET server?
I have a site all made in ASP Classic and hosted in a provider. My client - who is a multinational - wants to put their website inside the company’s global server and the guideline that came out…
-
3
votes2
answers1106
viewsBlock direct access to a URL via webconfig
I have an old system in classic ASP and need to do some implementations. I have a file web.config for this application and would like to know if it is possible to block direct access to a video URL.…
-
3
votes1
answer183
viewsDifficulty in picking up a certain type of return in c#
I have a return that I send via Ajax that it returns in the URL as follows:…
-
3
votes1
answer180
viewsJquery - Display comment data
I’m trying to return in Jquery comment data and end a form to add more comments. <!DOCTYPE html> <html> <head> <script…
-
3
votes0
answers59
viewsASP.NETX conditional onkeydown event
I have an ASP form with 2 Divs with some fields to fill in, but there is a flag in the user’s profile that can or cannot hide one of them protected void Page_Load(object sender, EventArgs e) {…
-
2
votes1
answer240
viewsASP does not save data in Session
I have a page that logs in from the customer. That page goes up to the Session account id and name like this: session("user_id") = rec_user("chave") session("user_name") = rec_user("nome) I have…
-
2
votes3
answers359
viewsMonetary unit with JSON
I’m getting from the JSON a currency format as follows "Preco" : "2299.0000" It appears in my form (ASP Classic / HTML): R$ 22.990.000,00 How to do this treatment? You have to use JS? The correct…
-
2
votes1
answer3034
viewsIIS - Access denied directory
I am using windows server 2008 and IIS 6.1, I have a service that needs to access files in a certain directory, but I do not have access. What I need to configure to get access? After adding…
-
2
votes1
answer469
viewsWhich version of Visual Studio supports Classic Asp?
<HTML> <HEAD> <TITLE>Seu título aqui</TITLE> </HEAD> <BODY BGCOLOR="FFFFFF"> <% response.write("Hello world") %> </BODY> </HTML>…
-
2
votes1
answer2159
viewsHow to display an Alert and clear fields with classic Asp?
How do I display an Alert and clear the textbox fields in classical Sp ? I’m starting to mess with classical Asp right now, I’m lost, I just know Asp.net. I can use something from Asp.net ?
-
2
votes0
answers35
viewsASP Classic in Xmlhttprquest for the same site
Hello. I’m trying to do a post of http://java/app/form.Asp for http://java/app/notification.Asp but is giving timeout with the following code: caminho = "http://java/app/notificacao.asp" Set objHTTP…
-
2
votes0
answers78
viewsHow to see what is the application pool of an iis 6 website?
I don’t know you. How do I know what is the application pool for a website in iis 6 ? The website is in ASP Classico, has some standard ?
-
2
votes2
answers133
viewsServer changes no effect
I have an application running c# with . net 4.5 on IIS 8. I’m editing a Controller (which is a .Cs file). However, I edited some things in this Controller and saw that these changes were not…