asp

PHP Curl adds '\' to apostrophe character sending to ASP page

I have a 3rd party server which has a classic ASP page which takes in form data. From my web page I have a PHP script which sends fields to the ASP page using curl. Everything works fine except if a user includes an apostrophe character to the text. In the back end it is received as "\'". What is even odder is that it only does this ...

Windows Identity Foundation(WIF) - Does it work with legacy ASP?

I've seen a bunch of examples getting ASP.NET to work with WIF, but what about some of the old legacy ASP applications? We've got some sitting around our Intranet and I'm curious if the old code will work with WIF's authentication/authorization schemes. We won't be re-writing them for a good while. ...

ASP:Chart Image links Breaking/Disappearing

Hey all, I'm currently using a number of charts on a page to display a few statistics for a voting program using the Chart control. One chart is contained in a control that displays a "featured" item to vote on. Below that control is another control that builds a DataList that displays all of the other things to vote on. When someone...

writing out a null in javascript

This question is in follow up to this one: write binary data using JavaScript on the server. The problem there with just using Response.Write to write the string is that the string contains a null character which JavaScript recognizes as the end of the string. The string I'm trying to write starts with the following (written here in...

ASP MVC Foreign key Submit problem

I have two tables Users and Expenses in the backend. UserId is a foreignKey for the Expenses table. I need to pass the UserId from the Usercontroller to the ExpenseController to save expense info against the user id. But there are two problems. I am unable to use the id parameter that is passed to the expense controller Another is for ...

What's the best method to do paging in my ASP page

What's the best method to do paging in my ASP page when displaying a list of items? I knew that there is no equivalent to MySQL's LIMIT clause present in SQL Server, either 2000 or 2005. How can I retrieve some particular records (Records 20 to 30) from the DB? Do i need to fetch all the records from the database and do something in...

Need help choosing a Commercial CMS!

Hi, We currently use Joomla or Silverstripe for our CMS websites. The time has come where we need to expand and adopt a more commercial CMS (whitelabel) which is easy to customise, create templates, expand, has a lot of powerful feature and is also easy to use for a client. Before I start to research I thought id seek your knowledge/ex...

A good IDE for classic ASP?

I'm using Dreamweaver, but it doesn't give me classes, functions, subs names when I am starting to write.. Are there any good alternatives? ...

IIS6 Running a ASP.NET Virtual Dir under a classic ASP Website

I want to create an ASP.NET virtual dir below a classic ASP WebSite. The structure looks like the following. IIS Web Sites Classic ASP Website ASP.NET 2.0 Website (Virtual Dir) // This site sits under the classic ASP Website as a VD For some reason when I try to access the Virtual Dir it looks for the Web Config in the Classic AS...

How to generate MS-Excel file using ASP web application?

As per my application I need to generate Excel files. I am able to generate excel files with: Response.ContentType = "application/vnd.ms-excel" in header and populating data by creating HTML Table. But while trying to create a file fetching it from server location and saving data into it(here we are creating excel object to generate f...

How to import excel file in web page useing Classic ASP?

We are trying to open an existing excel file (2003) from server location in a web page and save it again in the same location using following syntax. Set ExcelReportApp = CreateObject("Excel.Application") ExcelReportApp.Workbooks.Open("http://bocntgcasd10/AppPortfolioCatalogrnd/Templates/DatabasesList.xls") It executes properly with o...

Is there a feature like this in PHP?

<namespace:BLOCKQUOTE id="" runat="server"> This is what I see in asp code,is there such a feature in PHP? ...

How to run .aspx page

Dear all, i am new to asp, can you please tell me how to run an aspx page at server. i have created a sample asp page in my machine,now i need run the .asp page in server. can you people tell me the steps to run. i mean what all the asp file needs to get copyed to server, do we need to make any changes to web.config file?, which folder...

ASP3 And ASP.NET session sharing

Is there a way to share the session between ASP3 And ASP.NET? Thanks ...

How do I intercept DLL load/unload events in a VB6 ActiveX DLL?

I've inherited a legacy classic ASP application that uses VB6 ActiveX DLLs to perform the business logic. I'd like to track the points at which the DLLs are loaded and unloaded. Is there any way of intercepting these events in a VB6 DLL? On a related note, should Class_Terminate events always run when a their containing DLL unloads? ...

ASP page connection Provider not found

ADODB.Connection error '800a0e7a' Provider cannot be found when trying to access aspm page this error is ocurred. ...

Truncating a placeholder and appending 3 dots (...)

I have a requirement to add serveral images to an asp:placeholder control on a webpage. The added images are displayed one after the other across the page. However if the browser is resized by the user and the width is less than the overall length of the added images then the placeholder should be truncated and 3 dots added to the end ...

ASP vs. ASP.NET ( Thin client vs. thick client )

I'm troubled by this question for a long time now. I work in the little company in Eastern Europe. We work primarily for local clients, web apps, mostly b2b and b2c-s. Our internet infrastructure is not a very good, so we often have problems with local isp-s and hosts that are stationed in companies who have information systems that we b...

IgnoreRoute in ASP.MVC

Hi, I am trying to access a .js file in the views directory. I have an MVC application with /Views/Home/MyControl.ascx I have a js file /Views/Home/MyControl.js I wish to reference the .js file and keep it with the control. I have tried the following entries in the routing, and none seem to work. routes.IgnoreRoute("{resource}...

how to get absolute path of a different server

hi! We have hosted some downloadable files on our different server due to bandwidth problem. Now we want to download those files using an ASP script from our current server. But how could we know the absolute path of that particular server using ASP script ? regards sk ...