I am stuck in converting this snipped to asp.net.
set RSLinksCat = conn.Execute("select linkscat.id, linkscat.category from linkscat, contentlinks, links where contentlinks.linksid = links.id and contentlinks.contentid = " & contentid & " and links.linkscatid = linkscat.id order by linkscat.category")
<%if not RSLinksCat.EOF then%><h...
I am moving an old store from a Win2003 IIS6 server to a Win2008 IIS7 server, moved everything across including database. The front end seems to work just fine, but when I login it has to do pull in data based on date ranges and now from no where I am getting this error?
The conversion of a varchar data type to a datetime data type resu...
I've had a set of legacy pages running on my IIS7 server for at least a year. Sometime last week something changed and now this line:
Response.Write CStr(myRS(0).name) & "=" & Cstr(myRS(0).value)
which used to return nothing more exciting than the string: 'Updated=true' (the sproc processing input params, stores them to a table, check...
Hello,
I have this problem with my .Asp file. I get an error saying 'GetFrontpageInfo' is undefined.
This is the code:
http://www.kollelbaaleibatim.com/Content_of_asp_file.txt
click "view source" to see the code.
TY
...
While migrating a site from a classic asp to MVC, I'm having the problem that not all controllers are implemented yet. For those which are not implemented, I'd like to serve the classic asp page (say /product.asp?id=123) while maintaining the nice url /product/123. To accomplish this I implemented a dummy ProductController which returns ...
Is it possible to call Server.Execute with a .NET .aspx page from classic ASP? My tests so far have indicated this is not working but I'm still somewhat convinced there is a way.
...
I am dealing with an old app in asp classic vbscript. I'd like to store the input of a form in a database text field as the form fields are a subject to frequent change and I don't feel like normalizing the old database.
Any solutions for serialization in vbscript?
Thank you!
...
I have an XML like this
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">1</int>
<lst name="params">
<str name="start">num</str>
<str name="fl">string</str>
<str name="q">string</str>
<str name="rows">num</str>
<...
I have IIS running under Windows XP.
I have .html files with classic ASP content in them. How do I get the ASP within these .html files to render properly?
...
I have an interesting conundrum.
We have a site that is a completely separate domain, we'll say http://www.x.com and our own site that is http://www.y.com. The y.com site is actually a classic ASP site, and we aren't converting it to .NET at this time.
The problem is that there is a link on x.com that redirects to y.com from a members...
I've been having a problem for the past month and can't seem to figure out what is wrong. Here's the setup and a little background.
Background:
I have a web-host who was running my website on Windows Server 2003 and SQL Server 2000. One of my webpages returned a result set from a stored procedure from the SQL server as xml. Below is th...
I am currently in a situation where I have to make some additions to an application written in classic ASP using server-side JScript on IIS.
The additions that I need to make involve adding a series of includes to the server-side code to extend the application's capabilities. However, the inc files may not exist on the server in all cas...
We are running visual studio 2008 (with the service pack) and having troubles when we are debugging an asp classic website.
The server is windows 2003 sp2. We are using windows authentication. We have a virtual directory that is an asp.net web application.
We can attach to the w3p process and debug just fine. breakpoints work, we ca...
I am wanting to databind a DropDownList control with a list of all sub directories that exist in a particular directory on the server. The directory I want to search is in the root of the application. I am fairly new to programming and I'm not sure where to even start.
I found this code on a website:
Dim root As String = "C;\"
...
Hi,
I have a site that processes orders taken by phone into a SQL database. Access to the portal uses Windows Authentication and I would like to pass the username of the order processor along with the order so that I can record who has taken the order.
How can I pass the user name to a form element?
The pages are written in classic as...
For some fantastic reason I find myself debugging a problem in a Classic ASP page (at least 10 years of my life lost in the last 2 days).
I'm trying to execute a stored procedure which contains some OUT parameters. The problem is that one of the OUT parameters is not being populated when the stored procedure returns. I can execute the...
Hi,
I have a form and some fields on the form want to be filled via a popup.
My popup basically contains 3 text boxes. After clicking submit on the popup how can i transfer the values of the text boxes to the main form?
Any ideas?
Thanks,
...
I'm in the process of moving a large classic ASP application to ASP.NET MVC 2. Questions:
My question is about project organization.
I would prefer to not mix the MVC code with the ASP code in the same VS project. I'd like to have an MVC WAP with areas that match the parts of the website that I'm migrating. For instance, the old site ...
I have a classic asp webpage written in vbscript that outputs the results from a third-party stored procedure. My user wants the page to display the columns of data in a different order than they come in from the database. Is there an easy and safe way to re-order the columns in an ADO recordset?
I did not write this page and cannot ch...
I have an ASP form that needs to submit data to two different systems. First the data needs to go into an MS SQL database, which will get an ID. I then need to submit all that form data to an external system, along with that ID.
Pretty much everything in the code works just fine, the data goes into the database, and the data will go to...