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.
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 have sql server express at my PC-windows xp professional, I try to connect to a table via asp (queryString :"Driver={SQL Server};" &"Server=localhost;" & _ "Database=local;" & "Uid=nikos;" & "Pwd=nikos;" but there is an error Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL server does not exist or there is no permission.
I can login with EMS lite both with sql server Auth. and windows auth.What is fault?
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'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:
How I can connect to non-Microsoft LDAP-server and select record from him ? With best regards, Aleksandre Skornitchenko. IT Dept., Togliatti Branch MegaFon E-mail: Join Bytes! ICQ: 7829547
I have a website that uses perl and switched to a different hosting company. After weeks of pulling teeth to get moved from a unix webserver to a microsoft one, I tell them that the extensive perl portion of my site isnt functioning. They said I need to use ASP instead.
I dont know anything about it and think it is unfair for me to have to completely redevelop my site becasue they dont want to put perl and microsoft on the same server. My last hosting company did it so I know it is possible. Meanwhile everytime somone clicks on this perl application nothing but script comes up (very unprofessional). Is it somthing really easy to implement or should I just forget about it?
-------- Error Type: Microsoft OLE DB Provider for SQL Server (0x80040E14) Invalid parameter 1 specified for datediff. --------
And this is the code:
------ sql_del = "DELETE FROM table WHERE status=0 and DateDiff('d',date_record,GetDate()) > 15;" db.execute(sql_del) ------
"date_record" helds the date where a record has been entered in the database (the database is SQL server) and it looks like this format "11/6/2002" or "6/6/2005".
i want to get some xml files from another server and save them on my local server uising. I first tried to use xmlhttp but I got a connection error. Then i read somewhere about asphttp, installed it but it doesn't work on 2003 server.
I was excited to use Microsoft Index Server, built into IIS, to set-up a site-search function, but it doesn't, by default, parse the ASP code of the pages it indexes. This makes it sort of a weak option for a site that uses variables to populate content in a templated site.
For example, I use variables to fill in the meta tags, and every page shows up in the search results as "UNTITLED." The problems go much deeper than that, but that's just an example.
if there's a trick to make it parse the code before it indexes? I mean, it's IIS, right? It should be able to parse ASP code. (You would think.) It seems to know not to index the ASP code, or else the contents of the variables would still be indexed, so it seems like it has the potential to parse the code before indexing.
Got a problem with my localhost server..sounds pretty funny i cant figure out wots going on....am building my own ASP.NET WebSite using C# and VB.NET book by Zak Ruvalcab..
Basically everything was working well from start to this point where im now building a FUNCTIONS sample page, saved it and tried to view it as usual but this time no show, i get this message: cannot find server- microsoft ie. tried to open other pages .
same thing..checked my iis settings and everything seems to be ok.... but i cant still view my sample pages. I restarted my pc and still no show and each time i try http://localhost/folder/firstpage.aspx or other sample pages i've but still no show.
I recently built an application using an Access database. The application works fine, but for some reason I am unable to FTP the database file back to my machine from the server... the operation simply times out halfway into the transfer.
Has anyone ever encountered this issue? I don't know if maybe some renegade connection wasn't closed, but I kinda doubt that's the case.
Is there even a way I can check what connections to the DB are open?
I am trying to peform a multiple deletion of records from a single table "Stockist"
I i keep getting the following Error and can't see where i am going wrong. Can anyone help?
Microsoft OLE DB Provider for ODBC Driverserror '80040e10' [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2. /RetailerStockProductRemove.asp, line 22
I am urgently finding a set of codes to write data into a form and the data will go to my database. However i have tried a lot of form but couldn't successfully process. Below is one of my problem...
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x9a8 Thread 0xa08 DBC 0x3041e1c Jet'.
I have this insert statement where instruction field in the DB is a memo field.
SQL="INSERT INTO int ([instruction]) VALUES " & _ "('"&Request.Form("myTextarea")&"')"
objConn.Execute(SQL)
Its giving me error: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
I've been searching everywhere online to find an alternative method besides using Microsoft.XMLHTTP (as it freezes the server up alot!!) but with no luck at all.
I am using server side ASP, and some said to use Microsoft.ServerXMLHTTP instead. However I have tried that as well and it still freezes up the whole thing (i.e. the site just keeps loading forever).
I tried to do a "on error resume next" clause to catch the error but still doesn't stop the page being freezing up.. :(
I saw someone here said don't use XMLHTTP in ASP as it is not thread safe (is that why it is freezing up??), and suggest to use MSXML2.ServerXMLHTTP.3.0.
so do anyone know if MSXML2.ServerXMLHTTP.3.0 will help? i.e. not freezing up the page?
I keep getting this error Error Type: Microsoft OLE DB Provider for SQL Server (0x80040E07) Syntax error converting datetime from character string. for the following
Code: inserting="insert into rental (cust_num, item_sku,rental_date,return_date) VALUES ('"&session("cust_num")&"', '"&rs.fields("item_sku")&"','"&now()&"','"&now()+3&"') " How can I solve it??
I installed the Microsoft Script Debugger and set the "Enable Script Debug" flag on in IIS. Also, I made sure that the "Disable Script Debug" flag was off in Internet Explorer. Everything ran fine for about two months; the Debugger was getting control. Then, all of a sudden, it has stopped getting control.
I checked the settings above and they still OK. Anybody can tell me why the Debugger is not getting control? Should I report this to Microsoft as a problem?
Can someone please tell why I am getting this error? I have the primary key field as text field, and allow zero length=yes, and when I try to submit the form, I get the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e2f'
[Microsoft][ODBC Microsoft Access Driver] Index or primary key cannot contain a Null value.
Is it because the ODBC connection is not set properly? or the problem is in the database?