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
-
0
votes1
answer25
viewsCompare if dates are in the period
I need to know from the user’s birth date, if he was born in the period of the military dictatorship. The military period in Brazil began on 04/01/1964 and ended on 03/15/1985, and all who were born…
-
0
votes0
answers35
viewsAspx image attributes are lost after changes via Javascript
Insert an image with scr value and Descriptionurl defined in Aspx and I am changing the value of source(scr) and Descriptionurl (longdesc) via Javascript; It turns out that after page_load the…
-
0
votes1
answer164
viewsError passing value in variable Where clause in SQL in ASP
Follow the code below Even if the id items exist ... swipe through and only show the value of the variable3 What am I doing wrong ? <% variavel1 = LCase(Request.ServerVariables("URL")) variavel2…
-
0
votes1
answer499
viewsHow to recover the URL from previous ASP page
Everybody, good afternoon, everybody. I wonder if anyone has any tips for me to get the URL of the previous page in the following scenario: A MVC page has a link to an ASP page Click on the link…
-
0
votes0
answers25
viewsDecrypt password field of an ASP application that saves to an MSSQL BD
I need help to figure out how to decrypt or just read this password from my database, it turns out I need to use this user table for another application, however I have no idea what kind of…
-
0
votes0
answers688
viewsError in Discriminator Column EF code first
I am doing a project in Asp.net, I am using classes in C# to make the connection with the bank, however, every time I try to insert a user in the bank, generates the following error: invalid…
-
0
votes0
answers75
viewsCurrency on Asp Net MVC website
I created my site in standard Asp net MVC and I realized that when I run the site on my machine with Windows-PTBR appears the currency of the site (which is an e-commerce) as Real R$. While hosting…
-
0
votes0
answers85
viewsE-mail with Sendgrid and ASP 3
How do I send email with Sendgrid using ASP 3? Use the component Persits.Mailsender Asp 3 to send emails. Localhost works normally, but when I put the sendgrid smtp does not go, it gives error:…
-
0
votes0
answers420
viewsTrust Level error when publishing MVC application
I need to publish an ASP.NET MVC application on a Locaweb server. But when publishing, the server displays the following message: I tried to tag <securityPolicy> <trustLevel name="Medium"…
-
0
votes1
answer486
viewsASP - Remove line break from text end
With removing several <br /> end of text in ASP 3.0 only? Texto <br /> texto texto texto <br /><br /><br /><br />
-
0
votes0
answers734
viewsProblems enabling ASP and ASP.NET on IIS
Good morning! I’m trying to enable ASP and ASP.NET on IIS and I’m not getting it. I mark the options below: And the message that appears is that it was completed, asking to restart. Only when I…
aspasked 6 years, 6 months ago Carla Porto 1 -
0
votes1
answer27
viewserror in running c#Asp.net Entity application
Good morning, My project started from nothing to present this mistake. Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of…
-
0
votes1
answer54
viewsCascade Dropdownlist fill and pick up two fields
Friends good afternoon!!! first I have a file (Repository) ASP that stores my selects for some dropdowns, in this have the function below listing my UF’s: public function ListarUF() dim sql dim cmd…
-
0
votes1
answer254
viewsActive class in the menu using include in Asp
On my Asp pages I use a include to call a file that contains my menu: <!--#include file ="cabecalho.asp"--> Menu file: <!DOCTYPE HTML> <html lang="pt-br"> <head> <meta…
-
0
votes4
answers921
viewsInsert fixed text in Textarea
I am making a form on an ASP3 page that has to bring a fixed text in Textarea. This text cannot be changed and the user type below it has to save in the database without this fixed text. Someone’s…
aspasked 6 years, 4 months ago Carmona007 51 -
0
votes1
answer92
viewsCint formatting in ASP Classic
Good Afternoon to you... Guys, I have a question in formatting... in my table, I have a column with nchar data(4) (before was nvarchar(4), but gave anyway), in the form users choose in a select to…
-
0
votes1
answer245
viewsSend two parameters in a hred using classic Asp
I would like the code below to send two parameters to the page request name DetalheComercio.asp. The parameters would be: Neighborhood and Category (the link below only sends a category parameter).…
-
0
votes2
answers629
viewsResponse write inside Response write
I have a website in a database (records the page code inside the table), example: <html> ... This above code I saved in a field within the table, and to display, I do normally and everything…
aspasked 8 years, 3 months ago Ronaldo Bueno 91 -
0
votes1
answer345
viewsPublish Visual Studio does not connect to remote computer (Web Deploy)
When trying to publish my application via Visual Studio (Publish...), have as return an error message stating that it was not possible to connect to the remote computer. The Web Deploy the server is…
-
0
votes1
answer310
viewsSaving Base64 Image with ADODB.Stream and Classic ASP
I’m using Classic ASP and Javascript to upload and crop the images to the site. I use a script that converts the images to Base64 sends by post and is processed on the server. I followed step by…
-
0
votes1
answer91
viewsAngularjs - Object counter does not work within the directive
I have a directive that adds text field on the screen through a templateurl. I need each field created to generate an ID of these fields based on the count of existing objects in a div('#xmain'). I…
-
0
votes1
answer683
viewsBetter understanding max_user_connections count in Mysql
If on a page I have connection and query to more than one database will count as two connections And if it is the same database but has multiple queries (select) it will count as several active…
-
0
votes0
answers81
viewsUsing Store Procedure for User Authentication
I have the following Store Procedure in my Mysql database, SP_Autentica: BEGIN SET @id = (SELECT ID FROM userdata WHERE Username = user AND Password = pass); END In the ASP code, conn.asp:…
-
0
votes1
answer51
viewsWrite to oracle without repeating name
I have this block inside a record label that records a representative, which comes from a screen in ASP Classic. v_qtd_rep := ts_obtem_dados_no_xml(v_no_completo,'QTD_REP'); for i in 1..v_qtd_rep…
-
0
votes1
answer70
viewsReceive parameter and depending on the value run a specific process
I have a system in Classic Asp, and I need to run a specific SQL Server process, according to a parameter that the system receives from a form. I tried to do so: if tipoagenda = 1 then ssql1 = "exec…
-
0
votes0
answers21
viewsPaging in SQL
I have a SELECT that needs to turn into a PROC with paging to be consumed by an ASP (classic) page. Could you help me? Below is the SELECT: SELECT A.NOMUSU, A.NOMMAE, C.ATIVID, B.DSCEND, B.NUMEND,…
-
0
votes0
answers43
viewsHTML form does not work in Data Change
The "Insert" and "delete" forms are interacting with the Mysql database table data. Except The record-manager form that has the function of "Change" record: <%@LANGUAGE="VBSCRIPT"…
-
0
votes2
answers98
viewsAccess Restriction with Classic ASP
I am placing a restriction of access clause. I created a table with people who can access, my intention is that those who can access are directed to the page and those who cannot be directed to…
-
0
votes1
answer405
viewsTransform string (date and time)
It’s an xml sitemap (google news) and I have to get it out like this: <news:publication_date>2019-02-19T18:57:26-03:00</news:publication_date> My fields are in the following format, both…
-
0
votes0
answers14
viewsHow to store and retrieve date in this format?
What is the best way to store and retrieve date in this format, in MYSQL? <news:publication_date>2019-02-19T18:57:26-03:00</news:publication_date>
-
0
votes0
answers17
viewsUpdate images saved in cache
I have a client who is with a protelam on their site ads, because when replacing an image it is not updated due to the cache saved in the browsers. The site was made in ASP. And I’ve used some…
-
0
votes2
answers35
viewsSending e-mail by Cdosysmail
I have a shipping code for e-mail, I picked up the sender via request form. and put into a variable like this: Dim nome, emailremetente nome = trim(request.form("name")) emailremetente =…
-
0
votes1
answer468
viewsWhat causes the "Unknown Renderer type" error in Google Charts?
Hello, I’m making a program to generate graphics and started to appear this error in some, but the strange thing is, the graphics are generated from some selected checkbox, so when you select a…
-
0
votes2
answers248
viewsClose PHP and ASP connection or not?
Making my applications in ASP I make a include at the end of all pages by disconnecting the bank. In PHP you need to disconnect too? another question: How to close this PHP connection? $conexao =…
-
0
votes1
answer246
viewsLoop with For Next in classic ASP
I need to make a loop where I have the current year 2019, but I want to show the next 10 years from this date using a loop, with this result ex: 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028…
-
0
votes1
answer582
viewsASP Classico: How to replace the character "DASH" with "DASH"?
I have a problem - when using a PDF component - I ended up having a "Out of Range" error when generating the PDF document. by error and line I found out where the problem was - and identified that…
-
0
votes1
answer47
viewsbecause it shows this message in inspecting elements when I’m making the connection with the database and Asp
Microsoft OLE DB Provider for SQL Server error '80040e14' The name "[email protected]" is not permitted in this context. Valid Expressions are constants, Constant Expressions, and (in some contexts)…
-
0
votes1
answer48
viewsUpdate: ASP + Access
I am trying to update an ACCESS table on my website, only it displays this error: Microsoft Access Database Engine error '80040e14' Syntax error (missing operator) in query expression '[nome] ='.…
-
0
votes1
answer203
viewsREGEX ASP Classic Replace
How can I take a large text full of ulrs and upload them to links in ASP CLASSIC 3 using REGEX? I wanted to add this code. Get in the replace down there I have no idea... This Regex there, houses…
-
0
votes1
answer211
viewsHow to import the Chart.js library into an ASP file?
I am trying to insert a chart with Chart.js into an ASP page (not ASP.NET). I saw some tutorials from Chart.js itself and found the following statement: You can download the Latest version of…
-
0
votes0
answers52
viewstraffic simultaneo in the classic Asp
Good afternoon, everyone, I’m having a problem in the company recently we need to migrate an application from one server to another to save time we made an image of the server and climbed the new,…
-
0
votes0
answers125
viewsField Date register date
I have a table that one of the fields is date type. On my page insert.Asp when I type the date for example so 10/07/2017 or 2017-07-12 not saved in Mysql database. The error that is shown is this:…
-
0
votes1
answer198
viewsNuget Visualstudio Problem
I have a problem. Until yesterday it was not, everything was normal. Today when I went to activate a Migration, add or update, is giving this error in the console. Enable-Migrations : It is not…
-
0
votes1
answer2544
viewsHow to call an Ajax controller method using MVC5 in visual studio?
Hello, I’m new in development, and I’m developing a data entry where by zip code the user type the system search in the Mail Api and the address related to the zip code, but I’ve seen in many…
-
0
votes1
answer215
viewsReturn Query result to a variable - Classic Asp
It is possible to return the result of a query to a variable in the classic Asp? example: <% dim retorno as string set minha_conexao = dao.open() set rs = minha_conexao.execute("Select max(data)…
-
0
votes0
answers8
viewsChange in ASP.net Deploy project without the original project
I have a project done in Asp.net, and in production has only its Deploy running, and the solution generated by the project’s Visual Studio is corrupted, and I need to change a database configuration…
-
0
votes1
answer17
viewsSelectpdf Error C#
I am using the or Selectpdf to convert an HTML string into local pdf works perfectly, but the empirical error shows the following error. I’m using an IIS server. All production . ddl’s are on the…
-
0
votes0
answers312
viewsASP Classico commands do not run and return as html text
I am using windows 10 and I am having problems to configure my ASP, when running a script on an HTM page I get the script in writing. <% dim x x = "teste" Response.Write(x) %> My IIS is…
-
0
votes0
answers319
viewsAccentuation with Multipart/form-data form and sql server using ajax
Hello. I have a problem that’s keeping me up at night. I am working on legacy code in classic Asp and need to register a form that contains pdf file and data (such as name, surname) and other…
-
0
votes0
answers6
viewsField select generate sql query and fill input field
Hello. Good afternoon. I have a form where there is a select field that brings dynamic values from a mysql database to select users. I would like when an item is selected in this field, through an…