Configure Error Reporting
Reading te article about sql injections and sanitizing I found that one of great recommendations is to "Configure error reporting" to do not allow public to read the entire sql statement. How can I do this? Can I do this if I keep my websites on hosting company server?
View Replies
ADVERTISEMENT
is there a way to turn on error messages from the server without having access to the server? When I get an error on my webserver all I get is a page that says "HTTP 500 - Internal Server Error" without giving me any details about the snafu.
View Replies
View Related
I am trying to setup an error reporting system for our Intranet. We have a
Windows 2000 Server with SQL Server and we have an Exchange Server 5.5. I
need to set it up so I can use CDO mail. I have used CDO before, but have
never set it up to work. I built a small little page with some CDO code on
it, but I get an error when I try to run it. How can I set this up to send
mail from the webserver to people in our facility?
View Replies
View Related
I have a problem with running multiple sql statements using asp.
Basically if there is an error with any of the statements inside the
query a rollback is done. the sql and rollback work fine, But on the
actual asp page no error is detected unless it occurs in the first
statement in the query. heres an example
<%
Sql= " BEGIN TRAN INSERT INTO Users VALUES ('BLAH', 'BLAH') INSERT INTO
TESTING VALUES ('SOMETHING','SOMETHING') IF @@error <> 0 ROLLBACK TRAN
ELSE COMMIT TRAN "
If Err <> 0 Then
Response.Write "error"
Else
Response.Write "<p>Data has been added!<p>"
End If
%>
in that example if theres an error inserting into Testing the page will
display 'Data has been added' even though it hasnt.
View Replies
View Related
I invoke Java Objects through COM inside an ASP page, but i don't find where
to configure the MS JVM. Is it possible to configure it like Sun JVM
(threads, memory min & max, ...) ?
View Replies
View Related
I always get an error message "must use an updatable query" each time I try to delete from or update or even insert into an access database on IIS6 (Win xp), what do I do to change this?
View Replies
View Related
How I can enable or configure https on a certain page(file).
View Replies
View Related
I am learning ASP.NET , I want to send mail from my application so I need to configure IIS.I have written code for it but my mail is in Queue or Droped. I think I have not configured IIS properly.Can anyone tell me in detail how to configure it.
View Replies
View Related
this isnt really an ASP question but is related: i'm using CDO to send emails from sites but we have a proper mail server and want to send emails through that. is there a way to get the CDO system to use an external SMTP server by default as opposed to the one on the local machine? or do i have to go through all the sites and rewrite them? (not a simple task, we have lots of sites!)
View Replies
View Related
I need to set a session time out for this website that was created by someone else using ePower. How can I configure the global.asa page to set a time out session for the users or do I have to set this in IIS? Code:
View Replies
View Related
I have a pa'gina (view.asp) that he shows the photo that is cited in the data base. The problem that happens is that if I sending the photo well great it appears in view great. I would like to make the following one, to program so that the photo alone appears in a size small e when the user to clicar in top of it, I open one popu with it of the real size that it is. As I can make this I do not know to make. They see my code view.asp that it shows the photo. Code:
View Replies
View Related
I have recently developed a web application across my clients intranet. We used ASP with Interdev 6.0 and SQL server as the backend.
They have now come to me asking me to develop some reports that can be accessed via a drill down within the app. They don't have Crystal Reports so this is not an option. Can anyone suggest an alternative to using crystal reports to publish dynamic reports via the web and ASP?
View Replies
View Related
What is the best option for report in classical asp.
View Replies
View Related
I need suggestions to allow my users the ability to print reports from my ASP application that will be quick and easy setup. I need them to choose an option such as
Print all checks for the current week
and receive an output of 1 page per employee . Currently I have the page so someone can view 1 employee on the screen and manually print. But I am looking for some web based report delivery method that will be quick to implement so the user can preview the batch of reports and then print. Similiar to if you were running a report in access.
View Replies
View Related
I have a need to develop a reporting application that has static and
parameterized reports that I want my users to be able to access and retrieve
through a web interface.
I'm trying to find out the standard/preferred way of displaying reports. My
original thought process pointed me towards generating xml files for the
static reports and having standard xsl files to display them.
How should I build the form-submitted report requests using asp? Should I
generate xml from asp and have standard xsls for displaying them? Or should
I iterate through the result recordsets and just build html with
response.write?
Essentially I'm just looking for a high level summary of how ASP reporting
applications should be developed, and I feel confident that I could go from
there.
View Replies
View Related
i want to use crystal reports in asp application
how to do it
and can anybody tell me resources on this
View Replies
View Related
Can i make us of the sql reporting services in asp? If so then how do i make
a call since what i know is that sql reporting services are available as web
services?
View Replies
View Related
I am looking for a way to create reports using ASP pages or some third party component. I am taking a look at crystal enterprise 8, but I am not sure about the licencing etc. I have used this to create a web report, but the 5 user licence seems to restrict you for just having 5 explorer windows open.
I.e. it doesn't seem to be 5 concurrent users and to have more would get very expensive. Has anyone done any reporting with ASP pages? Ideally, using barcharts, pie charts etc.etc.
View Replies
View Related
Has anyone constructed a SOAP request with Classic ASP and sent it to SQL Server Reporting Services to render a report formatted as PDF to a browser and dealt with the SOAP response?
I'm not talking about URL access, but accessing the SSRS web service directly with SOAP passing credentials, parameters, format, etc. There seems to be nothing out there for ASP 3.0 - it's ALL .NET.
View Replies
View Related
i am working on a project and client just decided to use SQL Reporting Services 2000 for reporting but his application is developed in Classic ASP and SQL Server 2000.
how to view parametrized report in classic asp page and i want these paramters to be sent by URL not in report manually.
View Replies
View Related
I am using ASP and I need the ability to make several dozen reports. I get the feeling that trying to produce somewhat attractive-looking reports in HTML and ASP code would not only be hair-splitting, but quite possibly could be impossible as well.
Does anyone know of any software/tool/package that would be compatible with ASP and allow me to retrieve reports from data that is stored in a database and called in the ASP page?
View Replies
View Related
I am building a ASP financial reporting application. Here the user inputs
quarterly financial information. The data obtained is being used for
uploading a separate in-house application. The end-user should be in a
postion to run reports on their own based on the quarterly information they
furnish via the web applciation.
My question here is what is the best way to devleop reports in the asp
applications so that users can view their own report online? Somebody
suggested pure html reports. However, I believe there should be better ones
which would be web based.
View Replies
View Related
I'm having an issue with my Web application. It's deployed
using Crystal Reports 8.0 Developer edition.
I have an RPT file with a relatively large number of
formulas (30+). I did not create this RPT file and I
loathe to change it as I am not very well versed in the
field. I also did not create the ASP to generate reports,
but inherited it too, so I am really speaking from what I
have gathered at looking at the code.
The Report designer wanted a switch to determine if they
should show a certain field as an average or a total.
Instead of making this switch a parameter as I was
expecting them to, they made it a formula, which stumped
me for an hour or so. As the product shipped, this formula
is set equal to false, which means the user always
generates this field in Averages. If the formula is set to
true then the field will be set to Totals.
Now the problem has arisen that there are a large number
of formulas in the Report, and when you use Crystal 8.0
with ASP you must reference the formulas by their index
number as opposed to by the formula name or id. I have no
idea what this formula number would be. Code:
View Replies
View Related
Any one know if there is any way in asp to create a way to report information on any unclosed recordset instances or unclosed database connections etc...?
View Replies
View Related
I'm looking fo a solution to generate automaticaly a PDF file.
My aim is to use a template define by a user and to insert dynamicly
datas form SQL server in this document.
Can you tell me if it exist PDF template like .dot for word ?
If such file exist is it possible to generate list of information like
aacount report with datas coming for Database like Sql server.
View Replies
View Related
What I want to be able to do is create a user control that will display an
entire page page within it. Does anyone know how to do this or better yet
have any same code?
View Replies
View Related
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 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
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
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
i m getting this following error:
Compiler Error Message: BC30002: Type 'ODBCConnection' is not defined.
Following is my code: ...
View Replies
View Related
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
I am trying to display data from three tables in an MS Access database. Here is my code:
View Replies
View Related