asp

varchar data type to datetime data type resulted in an out-of-range??

Very weird problem occurred, I have moved a site from one server to another - All is working, but any query involving a date is playing up. I get the following: DELETE FROM MYTABLE WHERE categoryId = -2 AND datecreated < '3/23/2010'; The conversion of a varchar data type to a datetime data type resulted in an out-of-range value Now ...

Loading an NSArray on iPhone from a dynamic data base url in PHP or ASP

I have a database online that I would like to be able to load into an NSArray in my app. I can use arrayWithContentsOfURL with a static file, but I really need to go to a url that generates a plist file from the database and loading it into the array. I can use ASP or PHP. I tried setting the response type to "text/xml", but that doesn'...

Gzip for Classic ASP Pages

I don't have access to IIS Server as I am hosted on a shared hosting. I don't have access to remote IIS manager or the command prompt on server. Now, my question is, Is it possible to gzip my asp pages? I am hosted on an IIS 7 server. ...

ASP and Windows User Logon

Hey, I want to use the Windows logon information to check if a user can use my "classic asp" site. So if the user is logon at a certain Windows Domain network he/she can enter the site and i can use this persons Windows logon information on my asp site. I know its possible with ASP.NET but is it also possible with "classic asp", if yes...

Multiple Controls on a Page with Multiple Instances of Javascript

I have created a Web Control in ASP for use in integrating with Telligent CommunityServer. The control is written in ASP with some 10 lines of C# backend for controlling visibility of the UI elements based on permissions, but I'd say 90% of the functionality is straight-up Javascript. The control works beautifully, until you drop two i...

Pass parameter from page to ActiveX

<object id="Bacs_DBTableRepX" classid="CLSID:CA8B72B3-3B15-40D7-9364-478E25AF5B41" codebase="Bacs_DBTableRepX.cab" style=" Z-INDEX: 102; LEFT: 20px; WIDTH: 1200px; POSITION: absolute; TOP: 80px; HEIGHT: 600px"> <param name="ax_Command" value='<%=GetText()%>'/> </object> Here is my try ...

Problem about querying the photo_tag using FQL on facebook?

I have an application which wanting to show the statistics about a friend who got tagged in a photo. The outcome seems odd. e.g. I have a friend A. A is a friend of B but B isn't my friend. B has a photo and tag A to his photo. When my facebook application runs, I cannot see how many tagged photo applied on A. Is it because B is not my ...

ASP, My SQL & case sensitity suddenly broken

Hi There, We have an old ASPsite that has been working fine for years with a MY SQL database. All of a sudden last week lots fo SQL queries stopped working. The database has a table called 'members' but the code calls 'Members'. It appears the queries used to work regardless of case sensitivity on the table names, but something has ch...

Handling equals sign and question mark in URL

Hello, I am new to regex and am trying to extract from a database a list of URLs that match xyz.asp? followed by any eight digit RequestID numbers. I can't figure out what is wrong with my expression: /abcd/..asp\?\w+=.?[0-9]*? Example: http://domain.com/abcd/xyz.asp?RequestID=20100401 Do I have it wrong with 1) not starting/ending wit...

How to add property to property map without class explorer ?

I've got a new question after answer on this question http://stackoverflow.com/questions/2816294/pass-parameter-from-page-to-activex How to add property to property map without class explorer ? Need to add the property for object and class explorer doesn't works because of Nemerle doesn't supports it yet. code : <object id="Bacs...

ASP: Building a master page?

Is it possible to build some kind of Master page with classic ASP WITHOUT frames or iframes? I'm thinking if there is a way to include content pages to the main page like in ASP.NET master pages. From what I have researched ASP classic does support include of other ASP/HTML pages on a page, but the value put into this include means the ...

Multiplying 2 Columns

Hi, I am very new to asp and having following problem I am getting 2 values from 2 column, from database and when i try to multiply them, its giving following error Error Type: (0x80020009) Exception occurred. This is my code totalPrice = totalPrice + rs("ProductQunaity") * rs("ProductPrice") Even if someone can tell me what shou...

Detecting null/empty input from user

How i can check if user has input null/empty string in classic-asp? Right now i am doing this. If Request.Form("productId") == "" Then 'my code here End If But its not working. ...

Variable Number of Input Fields in Classic-ASP form

Hi, I have a check out form where number of products can be "n". So how i can know how many input fields are in the form and take input from it? Thanks ...

Jquery and DatePicker - change calendar by the date in the input field

i have the value polled from the db and if the user want to change it - i want the calendar to be set first to the date already in the field im using asp and this picker http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ ...

Detect session hang and kill it

Hi all, I have an asp.net page that runs certain algorithm and returns it's output. I was wondering what will happen and how to handle a case where the algorithm due to a bug goes into infinite loop. It will hog the cpu and other sessions will be served very slowly. I would love to have a way to tell IIS, if processing Algo.aspx takes ...

How to kill mysql process through C#.

I am getting "too many connections" problem in an Asp .Net Mvc application which get fix when i manually kill process through Mysql v6.56 IDE, But on remote hosting computer where i can't kill process each time how can i fix this error. I have tried making a connection to information_schema DB's PROCESSLIST table but when connection is ...

Is it possible to run asp on linux with Apache?

The production environment is now LAMP, I don't know whether it's possible to serve asp requests on it. ...

ASP print xml formatted string

I have: tXML = "<type p_type=\"All\"/>"; if I do Response.Write(tXML); I get a blank space. Is there anyway to output this string so I know it is being created? ...

ASP MVC dynamic fields in editor

I have a form which will include some optional questions that need to asked of the user. In my model it may look like pubic Dictionary<String, String> Questions { get; set; } where the key is the label and value is the text box. How can I create and populate controls for this? I'm new to ASP MVC, but it makes sense that something like...