asp

How to send check boxes ID in gridview in one string for mass update.

hi , I have a grid which has check boxes and when selecting the top chek box select all will select all the check box in gridview and would update .for this im using for loop where it exceutes every time and this is taking lot of time cuase there are more thn 100 records in grid . try { string StrOutputMessageDisplayDocReqCsu = s...

Have you had DLL's fail after upgrading to 64 bit server?

Hey All, I'm wondering if anyone else has experienced failed DLL's after upgrading their servers. My company is in the process of upgrading our code and server's after ten years of using classic ASP. We've set up our new server running Windows 2008 and IIS 7. Our classic ASP code and our new asp.net mvc code work pretty well. Our prob...

Is it possible to update a Telerik RadChart without it flickering?

Is it possible to update the Chart without reloading the whole chart again and if so how? My site flicker like this example from Telerik: link text I'm using: * Telerik RadChart (with horizontal bars) * asp:timer * updatepanel * scriptmanager Even just a point in the right direction would be much appreciated. ...

VBScript get MIcroseconds

Does anyone knows how to get microsecond value in VBScript (Classic ASP) without using SQL Queries ...

Classic ASP comparison of comma separated lists

Hello, I have two comma separated lists:- 36,189,47,183,65,50 65,50,189,47 The question is how to compare the two in classic ASP in order to identify and return any values that exist in list 1 but that don't exist in list 2 bearing in mind that associative arrays aren't available. E.g., in the above example I would need the return...

adding items to shopping cart before login

i have a user system i wrote addin a session("userid") to identify a logged in user. but i want to allow adding stuf to the shopping cart. so upon press of "add to cart" a new order is started in my database. but how can i tie the current unlogged user to that order number? i was thinking of logging some session("unknownuserid") and bi...

ASP classic to create a folder, and then change the permissions on it

Hello All, I am relatively new to this whole ASP classic programming thing, and I am not working on a pretty complex script. Essentially the script creates a domain user account, and then creates their home folder on a networked machine. I.E: \SERVER\DIR\HOMEDIR. I have the code working marvelously, except when it comes to making their...

Update Field in ADO Recordset and Re-sort values in Classic ASP

Here's the current situation: I have a recordset of products. The price of these products depends upon other information elsewhere on the page. So, as I loop through the recordset for output, I calculate the price using a function, and display it. This all works wonderfully. Now, for the new wrinkle. I need to be able to sort the pr...

Is it possible to convert this asp to asp.net?

I have been tasked with sifting through the worst classic asp spaghetti i've ever come across. The script runs a series of recordsets in sequence, getting 1 record at a time. As the record is built it takes the id and passes it to the next loop, which gets data, and passes on the id to the next loop. It then continues in this manner and...

IIS7 - 401.3 Error

I'm trying to get a site working on IIS7 with classic ASP and having problems. I've created a directory and added both Network Service and IIS_IUSRS with full control. I've also changed the anonymous authentication to the application pool identity, but still no joy. I really have no idea what to try next. ...

get data from asp page

I am wondering if there is anyway to grab the html that is generated from an ASP page. I am trying to pull a table from the page, and I foolishly used a static html page so I would not have to be constantly querying the server where this page resides while I tested out my code. The javascript code I wrote to grab to unlabeled table from ...

ASP animation extender help

I've been searching but I can't seem to find a way to get the animation extender to do what I want. I basically want to use it to display errors after the user queries the database. If something goes wrong, it fades in and displays the error text. And then let it collapse. Anyone familiar enough with this to give me a quick explanati...

ASP.NET - Telling the difference between localhost and 127.0.0.1

How can you tell the difference between a request going to 127.0.0.1 and localhost. This line of code on Windows 7 and VS2010 built-in web server can not tell the difference. if (Request.ServerVariables["SERVER_NAME"].ToLower() == "localhost") { } try hitting your own built-in web server with: http://127.0.0.1/ and then http://local...

Classic ASP application-wide initializations and object caching

In classic ASP (which I am forced to use), I have a few factory functions, that is, functions that return classes. I use JScript. In one include file I use these factory functions to create some classes that are used throughout the application. This include file is included with the #include directive in all pages. These factory functi...

Problem opening a csv file through asp on ie8?

Hi, From my asp application, i am trying to open a csv file onto ie8. The same code is working fine on ie6 although. Below is the code: Set objStream = Server.CreateObject("ADODB.Stream") objStream.Open objStream.Type = adTypeBinary objStream.LoadFromFile strFilePath ContentType = "application/msexcel" Response.AddHead...

Asynchronous sqlserver

how can i use Asynchronous queries in sqlserver 2005 & asp (not .net) ...

ASP.NET Windows Authentication

Hi All I have an ASP.NET website set up using Windows authentication. Each time I open IE and try to access the webpage I get a windows authentication screen. Once I have logged in I can see the website fine. My problem is that every time I open a new IE browser I have to re-enter my username and password. I have heard about thew dou...

Windows Server 2008 R2: ASP queries to IIS fail with UAC enabled

I have some ASP code that creates a virtual directory in IIS. However, when running on IIS7 in Windows Server 2008 R2, the call to GetObject fails with "permission denied". This only occurs when UAC is enabled; the entire process works perfectly if UAC is disabled. Set objIIS = GetObject("IIS://localhost/W3SVC/" & siteNumber & "/Root"...

Unrecognised XML Characters when parsing in Classic ASP

Hey I am having issues parsing XML file, Theres seems an unrecognised symbol after each new line. When im parsing this is Classic ASP and print out to screen it is appearing as "?" but when i do I.e replace(text,"?","LOL") its not replacing so its not a normal "?" I think. How can I capture and filter out this symbol ? Note this is do...

ScriptModule breaking my .net project from running

when i take out the chunk from my web.config my project works fine. with it my project doesnt even load in a browser. with this part in my config i get a unhelpfull Runtime Error telling me to turn on debugging... but in my config it is on!!! <httpModules> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.W...