asp

IIS - HTTP 403.1 Forbidden Error on Website

Hi all, I have copied parts of an old ASP website out into a new website. On my local machine where the code was cleaned up and tested the website works perfectly, however, on the Windows Server 2000 machine it needs to run on I am getting an error: HTTP 403.1 Forbidden: Execute Access Forbidden Internet Information Services ---------...

Legacy ASP site issue

I'm dealing with an issue where there was a site setup, and the default.htm used an iframe which pointed to an ASP directory. It seems like the ASP directory isn't readable and not processed - is there anything special that needs to be done to the ASP directory like permissions-wise? wwwroot/sitename <iframe src="ASP/file.asp"></iframe...

JSP/.NET XML - simple client to display html

Hi, I am fairly proficient in PHP, but just starting out in ASP.Net and JSP/Java I would like to learn JSP/ASP.NET XML to HTML transformation with some simple practical examples. Im not looking to learn how to edit XML, just displaying it, but im having trouble finding definitive examples/tutorials. Ive spent quite a while studying JS...

VBScript implicit conversion in IF statement different from variable to literals ?

We are currently having an issue due to implicit conversion in an IF statement in VBScript (Classic ASP) that don't do implicit conversion the same way when dealing with a variable or a literal. Can someone explain this behavior to me, why do VBScript acts this way ? Here is a sample of what I mean : Const c_test = 3 Dim iId : iId = 3 ...

Forms Authentification with sqlite

Hi, I have an ASP MVC-application that uses a SQL server express for and Forms authentication. The server im using does not have enough memory to run SQL Server express stable and I was thinking about migrating to SQLite instead. Is it possible to just migrate the existing aspnetdb-database from SQL Server to SQLite so that all my user...

Getting ASP to talk to OS X's Spotlight...

i'm not certain i'll find an answer but i'd thought this would make for a good brain teaser and or be an enlightening experience or disappointment lol... basically, i need to bat an idea around... Can i write a function for an asp page that will query my Mac OS X server while using its Spotlight feature? when you're using a Mac to sear...

Calculate order price by date selection value

Alright, I know there's a simple way to do this, but it's been years since I've done much javascript My client has an online order form for event registration (developed by previous web dev.). Currently the order total is just a hidden field: <INPUT value=78.00 type=hidden name=amount /> But I need the total to calculate based on wha...

How may I upload live feed onto my application? Where can I get currency feeds for all currencies?

Can somebody help me with this? How may I upload live feed onto my application? Where can I get currency feeds for all currencies? ...

How can I put a small panel from my website onto someone else's website but still handle the submit?

On a classic ASP website I'm maintaining, on our landing page we have a small panel that our visitors use to enter their phone number as an identifier, then they proceed into the site. We now have an opportunity to place this login panel on some other websites, pretty much like an ad, the idea being that not only would clicking it get t...

confused about webservice AJAX calls security in ASP.NET

hi, excuse me if i will sound little stupid but this thing had confused me to the core and i have been searching like crazy on net with no ultimate answer so i hope some one would shed more light on this matter. now i wanna create a portal site and my client require that everything should be AJAX'ed so i have been playing with ASP.NET...

database error within a search

Hi, I am doing a site in asp. when i start a search with a name like this o'neil i'm getting a database error. i'm getting this error because of that ' in that name. how can i remove this error in asp. if its in asp we can use addslashes and stripslashes but how can i do this in asp??? Please help ...

When I try to use Msxml2.ServerXMLHTTP the server raises an error

When I do: var xmlhttp = Server.CreateObject("Msxml2.ServerXMLHTTP"); xmlhttp.Open("GET", "http://google.com", false); xmlhttp.Send(); it raises this error: Microsoft JScript runtime error '800a01b6' Object doesn't support this property or method /library/Page.asp, line 10 With Microsoft.XMLHTTP everything wor...

Does setting an ADO Command's ActiveConnection = Nothing close the underlying SQL Connection?

I have a customer who's Classic ASP application is generating ASP_0147 errors. The first thing I'm checking is that they're closing and releasing SQL/ADO resources timeously. Their code has the following pattern: Function GetXXXXRecordSet() Set objConn = Server.CreateObject("ADODB.Connection") With objConn .CursorLocation = 3 ...

Calendar date help

Hey all, I've been trying to figure out how to go about this problem i have encountered. I need to figure out a way to check what day was chosen on the calendar and see if anything surrounding it is un-clickable. In other words, if a date is disabled after the selected date then it can not go any farther. Here is an example: Say its Ma...

ASP error Server.CreateObject with new server IIS7/WS2008

Getting an error when migrating an old ASP script to a new box. The old server was IIS6, Windows Server 2003. The new server is IIS7, Windows Server 2008. Here's the error: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /img.asp, line 39 800401f3 The offending line is set download = Server.CreateObject("csFil...

Server cannot set status after HTTP headers have been sent IIS7.5

Hi, Sometimes I get exception in my production environment: Process information Process ID: 3832 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information Exception type: System.Web.HttpException Exception message: Server cannot set status after HTTP headers have been se...

IE8 Form Not Submitting (Intermittent)

I have a complex classic ASP system that has worked well for years but has recently started having a strange and intermittent problem. On some forms, folks will report that they click "Submit" but that the form just resets itself (or, perhaps, the browser just reloads the form - my users are probably not able to tell the difference). M...

ASP MVC w/ JQuery .get() call failing

I'm attempting to fire off a JQuery .get() to a MVC (2 rc 2) controller. I can see the JS function call happen, then when the .get() is called it never comes back. (1) It would be great to know what I'm doing wrong to fix the immediate problem (2) It would also be great to have an education on what to do for debugging these async reque...

Change database value based on date (ASP)

Hi there, I have 3 dropdown lists in a form for the user to input the date by day, month and year. How can I make that once t is the date that been input by the user, it will change the status from PUBLISH to UNPUBLISHED in the database? Below is my codes: <%cDay=rs_update1.Fields.Item("aDay").Value%> <%cMonth=rs_update1.Fields.Item("...

How can I send an e-mail from a vbs script

How can I send an e-mail from a vbs script - on a machine that cannot connect to the internet (it's in my non-internet zone). I've hacked the following together from my googling, but is seems to require a call to Microsoft's server. What about the situation where I'm not able to reach microsoft.com? sch = "http://schemas.microsoft.com/...