I've upgraded my web server (W2K, IIS5) to W2K3, IIS6.0 with the web application (ASP, not ASP:NET) that uses client certificates.
Basically, when the user provides the client certificate, the asp page takes the public key and checks in the database for that public key. If it finds the key, it then maps the user to the firm's id.
The code that takes the client cert looks like this: Code:
Due to the nature of our system, we need to dynamically import certificate files into windows certificates store and access the certificate store from ASP pages, these ASP pages call a VB dll component, which uses the CAPICOM component to manipulate windows certficate store.
Because ASP is running under IWAM account, we got "Access is denied" error when trying to import the certificate files. We registered the VB components under COM+ to get around this security problem. However, recently we are experiencing all sorts of problems with COM+ ( eg. DLLHost.exe hang with 100% CPU after heavy traffic, ActiveX component can not be created out of sudden), we decided to move this VB component out of COM+, which means we are facing the same old "Access is denied" problem again. Code:
We have an existing in-house solution that allows authorized third-parties to make internet requests to our web server. (using the inet / internet transfer control). The communication is established over SSL - TCP:443. We have a typical load-balance scenario where the incoming request is forwarded either to IP.A or IP.B.
We have a total of about 5 requests per minute from various third-parties that have connected with us. For the sake of simplicity, let's assume a third-party to connect with an IP - 10.10.10.5. They hit our load balancer's public ip (e.g. 10.10.10.8) where the request is forwarded either to the primary server (10.10.10.6) or the secondary server (10.10.10.7). Every ALTERNATE request is forwarded accordingly, i.e. Code:
I'm finishing up a site (IIS/ASP/SQL) that has to use an SSL certificate. The certificate's already purchased, and the hosting service *says* it's all set up.Only a handful of internal pages on the site need to use it.
So, though nearly all the internal links are relative, I've used the whole https://www.domainname.com/whatever.asp URL in the links to "secure" pages.And it doesn't work. IE 6 just draws a totally useless error message of something like "Internet Explorer cannot access the page."
I am working on a page in ASP where the user takes a quiz and if they score 80% or over they can print a certificate with their name on and some other info from the database. I have to use a template for the certificate as it will be authentic and credited. (it could be in .doc or .pdf format or any other that you might suggest that can be formatted properly). is there a way to do this is ASP/vbscript?
i am trying to create an application which will look into the microsoft certificate server database and display all the pending, issued, revoked and rejected certificates to the administrator in the visual basic application.
i have referred to the msdn library and have tried to use the code given there however to no avail, the code doesn't seem to work for me can any one please help me with this.
I am running Win XP Pro with SP2.When trying to run a page with a .asp extension, both IE and FireFox display a box asking if i would like to download the file, it doesn't seem to recognise it as a page, but rather a document.
I must admit the last time I played with asp was over a year ago but both myself and others cannot see what could be wrong with the way it has been set up.My first reaction is that the problem has something to do with the upgrade in SP2,however I doubt this would effect FireFox?
I recently upgraded my server from win2k to win2k3.
I cannot run asp pages now. If the asp page is configured as part of an application i get "The requested resource is in use" If I remove the application i get the error "HTTP/1.1 New Application Failed" . I made sure ASP was enabled but I still can't seem to figure out what the problem is.
I have a development box running Windows NT Server 4 SP6a with all the latest hot fixes and patches. Up until a couple of days ago, it was running IE5.0 without problems. I upgraded to IE6 SP1 and ever since, whenever I access the default ASP web site, it takes ages for the first page to appear. After that subsequent pages load fine. Code:
I had an ASP page which implemented a file upload feature. However, after moving this application from NT4 to Windows 2003 I receive an error which is caused by the Request.BinaryRead read. The error says this operation in not allowed. I presume it will be an IIS setting, but not sure what.
When I upgraded to Server 2003, I get this error now in my asp script which is saving a form to an asp database. Do I need to do something different now? I have used FP to design my forms, and to do my data results pages. I am now using sharepoint services also which I was not using previously.
The Include file '../_fpclass/fpdbform.inc' cannot contain '..' to indicate the parent directory.
I have upgraded my website from IIS4.0 on an NT Server to IIS6.0 on a 2003 Server now when my asp pages try to load they get a error 500 - Internal Server Error Any Idea?
I've not used Index Server since I set it up about 4 years ago on a Windows NT 4 machine.
I now have to move the site to a Windows 2000 machine. I've hunted high and low and have yet to find anything on the subject. Anyone point me in the right direction?
I'm seeing a VERY odd issue after moving my data from a SQL2000 DB to a SQL2005 DB. About half the time, when I request a value (using ors.fields("pagedata") for instance), I get nothing returned. I know there's data in the field, and I'm on the correct RS object.
Sometimes, when I move the call to another portion of the page, I get the data (while on the same RS object). I need to move to a new server running 2005, and folks are starting to chomp at me.
I am currently using the following script on Window 2000 and it works fine. However i am trying migarte the site to Windows 2003 server. I have just about got everything else to work but this one page stops working.
I have checked the obvious, the database is there and that all works as the previous page requires info from it and it works fine. Code:
I have a data base feeding a course catalog thta works just fine off my Win2k webserver but I upgraded my server to 03 and now I can't get the asp page to load. I have gone through TID after TID's on how the errors and I gave IUSR specific rights to the files and folders to make sure it wasn't a rights issue. Once I did that the error changed a bit to
Provider error '80004005'
Unspecified error
/curriculum/courses.asp, line 22
Prior to adding the IUSR_SERVERNAME account I got
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data. Code:
I've been lurking and searching for a while and hope someday to contribute to the forums. My question though it may seem strange is this. Is it possible to run a compiled VB app on the client machine that is called from an asp app running on an intranet server? Intranet server pushes asp to client's web browser. Client clicks on a link that somehow runs the process on the client machine. I realize this is not what asp is meant to do but I do have some applications that could be integrated into the company intranet fairly easily if this is possible. A re-write in asp would be labor intensive. It is simple enough for me to setup standard folders on the clients that require these apps
I am developing an app that has a reporting function which displays the non-PDF reports. One of the users wishes to have the reports saved to his machine as PDFs.
The app can convert the reports, and save to the server with no problem (uses a component for this). The problem is, figuring out how to save the reports to the client.
The ideal approach would be to have the app save the reports to his desktop, like some of those stupid casino sites save their shortcut links.
However, I would settle for just just being able to force the "download" dialog to display, instead of opening Acrobat when the app attempts to send the report to the client.
im setting up a database email for my job and i still need a little help. Thx for those who helped me out for past touble...
Well, im now at the step of email deletion from the list and im using a simple script for that (cuz im new to programming).
After the customer received the email, i want him to be able to unsubscribe to my newsletter with a click on a link which lead to a delemail.asp page where the script is. Code:
I have a page which allows the user to open one of several spreadsheets by streaming the XLS to the client.
On my development site, everything appears to work fine. On the live site, it works fine for the vast majority of users, but not for my colleague & I.
When this page is called with the correct inputs, the standard Open/Save/Cancel/More Info dialog should appear. In the dialog, it gives the following details:
Filename: Gothenburg Sweden.xls File type: Microsoft Excel Spreadsheet From: Servername
Clicking on open, means that the file will be opened in the local copy of Excel; this works for most people, except one colleague and myself. In our case, after clicking on Open, we get the following error msg:
"Internet Explorer cannot open travel.asp?journey=1 from <servername> Internet Explorer was not able to open this internet site. The requested site is either unavailable or cannot be found. Please try again later."
I want to validate client entries into textbox,checkbox controls etc. can u do this with asp. Like, is there onchange and onclick and so on for these controls?
I'm currently working on an Intranet for one of our clients. I'm developing a user directory for them using a SQL Server database. My client has provided me with the information to connect to the server remotely via windows remote desktop connection. I would like to know how I go about getting Dreamweaver to connect to the database? Will I have to create a database locally and then publish the local database onto their server or, can I create the database on their server and using DW to connect to it?
This has happened before and it was due the connection string not being set in VB. My question is, when I try to reconnect can I use a different connection string on the client than I have on the server, I wonder because not all my connection strings are not equal.
Some of my database paths are in Access and the rest are in SQL. That means I have to retry several times before a scrip timeout occurs. If you have read this far then you are an idiot, but the rest of the database seems to work just fine. In fact I can pull all fields out with no problem. It is just that connection string that has resulted in causing my pages not to post.
I have created one ActiveX DLL in VB that has one public function ("GetClientCPUID") which will return a string of the CPUID. I want to use this to get the clients CPUID and retuern to webserver. I am new to using activeX in client side.
In Asp how can I send this ActiveX to client browser? (I will instruct my users to allow this activeX). Is there a way I will execute this activeX in clients PC and get the return value and return to the server for my processing? Please suggest the ways that I can do this.
Also suggest what are the situations that I should know before I proceed. I think there will might a issue when I upgrade the activeX and the client those are using the current one may face problem so I think I will need a way to uninstall the register the new one. Code:
I want to add clinet side javascript on the asp:dropdownlist's onchecked changed event how i do this does any one have any idea.i use the following method in vb.net code behind file
I have my asp pages stored in my server ,but when i try and call the asp pages in the clinet side it does not show a portion of the page,the same thing if i call from the server it shows me.