asp

Cleaning up microsoft produced html for hash including in a 'clean' webpage

I have an intranet page that uses #include to include other files such as rotas or phone number tables. These included files are maintained in microsoft excel. Not all of them are maintained by me (the guy in charge of the intranet itself) so there isn't really the option to refuse to accept excel produced html files. The problem I ha...

Access denied error with MSXML2.ServerXMLHTTP

I'm receiving an intermittent "msxml3.dll error '80070005' Access is denied." error. The object always posts back to the same domain. I don't quite know why it works sometimes and why it fails other times. This is Classic ASP - VBScript set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP") xmlhttp.open "POST", "http://xxxx.com/GetCache...

How could ASP server-side code corrupt a smart quote ’ ?

My company just converted many columns from varchar to nvarchar. Now it seems that when we render a smart quote (i.e. ALT+0146 ’) to the screen and then send it back to the SQL Server 2000 database for persistence, the smart quote gets corrupted to - ’ -. My Question: How could ASP server-side code corrupt a smart quote ’ ? EDI...

Get controls of page in asp.net

Hi all, I want to get all of the controls in my current aspx page and see which ones are of a certain type and then add them to a collection. I can accomplish this and have written some test code that will process everything in this.controls and the child controls of those. This seems to work ok but it ends up having to process the en...

Classic ASP Connection

Hi In my asp project,i have two databases in MS Access.Below code is working fine.But I need to add one more database with another dsn name.I have created dsn name efg and done the ODBC Connection for new databse in the control panel->Administrative tools.How can add the newly added dsn to the below code. <% session("connectionstring"...

Classic ASP retrieving large amounts of data

I have a table that has over 148,000 rows, I have managed to display this by doing: <%response.Buffer=false%> However, this is far from ideal as it needs to be done on the server and it takes so long. Is there a better way of doing this? Many Thanks, Joel ...

Setting a virtual path in classic ASP

Hi All, I'm having trouble after moving my site to a new server. There is an admin page in ASP that is designed to allow the user to upload photos to the SQL database. It seems to be working alright (no errors returned) but the site will only display blanks as though it can't find where the images are saved. So I'm guessing my path m...

SQL Server AS statement aliased column within WHERE statement

I want to execute a query in which I rename one of the columns using the 'AS' statement and reuse that aliased column name within the 'WHERE' statement. Below is an example: SELECT lat AS latitude FROM poi_table WHERE latitude < 500 The problem here is that SQL Server does not like this query because of the WHERE clause and the AS s...

how do i forward post data to another page in asp?

I have an asp page which takes a bunch of input and posts to another page which shows a review of the submission and sends an email. I need to separate the review and email process. my idea was to copy the email page and strip the email parts, leaving the logic which generates the review elements from the request object (request items ...

Any tricks, libraries, etc. for "scripting" (eg. with a bookmarklet) ASP pages

I'm a huge fan of bookmarklets, and in Firefox making them is easy: you just use Firebug to look at the code on the page that's involved, figure out what functions to call, and then call them from your bookmarklet. In IE-only ASP pages however things are not so simple. This current ASP I'm looking at has stuff like: top.objHTMUtils.Ne...

How do I debug when using full html link path in links?

Hello, I read that for many reasons its better you use full link paths between pages in my site. The question is how can i debug and work on my local testing environment when all of the links are with full path? (Manually replacing them is not an option...) Thanks ...

Asp Response.Redirect without UrlEncoding

I'm using Response.Redirect to redirect users to some user specified urls. The "problem" arises as users specifies urls as www.æøå.dk, which is a legal url, but is encoded as the following by Response.Redirect: www.%c3%a6%c3%b8%c3%a5.dk - since æøå is considered special characters. Is there any way to allow æøå not to be encoded? ...

Jquery and ASP multiviews

Hey I am having a problem getting my $(function () { to run after page load in asp with multiviews. I have a masked input for the text fields which just point to the textfields so they work. however when I am doing my conditional validation on various properties within different views. do I have to split up my view? right now I am callin...

Webapp sending email via gmail SMTP a bad idea?

TL;DR - Any webapp devs out there able to squeeze performance out of using gmail as SMTP server without a 3-10 minute delay to delivery? I'm looking for some feedback from developers who are using gmail as a secure SMTP server for use with Webapps. Within the past 2 weeks, my company has switched to gmail to host email for our domain...

ASP.NET FREE WEBHOSTING

Hi guys, very easy question. Can somebody give me advice, where to find free webhosting with support of sql server 2008, .net framework 3.5 ? Sorry for this kind of question, but I'm in hurry and I can't help myself with finding something usable. ...

Changes of text in an asp web form not captured on btn_submit

I have an asp web form which is used for database entry located at localhost/EnterNewData.aspx I also want to use this form to view entries in the database by passing the database id localhost/EnterNewData.aspx?id=12 This all works fine. What I want to do now is if I am viewing an entry and one of the fields is incorrect, I can ch...

Cannont add domain name XN--12C7B7AM4F0D.COM to Windows Server 2008

Hello everyone, I got domain name in Thai "ไทยลีก.com" (pronounce thaileague.com). and this name is encode to XN--12C7B7AM4F0D.COM when it need to use. In fact, I rent shared hosting server and give server administrator XN--12C7B7AM4F0D.COM as domain name to add for my website. However, he told me there error when he tried to add XN--...

Writing Legacy asp application in asp.net

I need help in choosing the right path while trying to rewrite a legacy application. Just a little bit of oversight, the current application is a web reporting tool in which the columns and the query text are read from database. Users will filter and hit on a button “Create”, then the report will be displayed on an html page. For perform...

VB6 + classic asp: developing activeX component

hi all, i've created a little activeX dll under vb6 which i'm running under classic asp. my question: once the dll is compiled it has write-protection caused by the IIS (access denied). i have to completely stop the webserver, then recompile + restart the server again. is there a more convenient way to do this? maybe even without havi...

asp.net/Oracle query and gridview question might be simple?

How can I make this get a specific users data, Example user enters his 3 digit code in the badge text box so that only his information is shown. Can I add a where clause to the select command? or is there a better way to do this? Also is there a good book out there with information about asp.net, c# and oracle. // string Badge = ...