I get the following error when trying to run my app:
Active Server Pages (0x8002802B)
An error occurred while creating object 'MyID'
Initial searches pointed me towards a permissions error but I still can't
find the problem (everybody has full permission to the app folder).
Once agian it works on windows xp machines running IIS 5.1 but does not
works on win 2000 IIS 5.0. I think I've changed every setting in IIS but
still can't get it to work.
Any suggestions on what might be the problem or how I can troubleshoot this?
i did try using tables created in SQL Enterprise 2000 and then use it in ASP and it works well. However, I wanted to create a table in ASP. I created a page that asks for a Name and is supposed to create a new Table, not just a new record in an existing table. is this possible? have you guys encountered this? Code:
It works fine when using under Administrator logon name but not under other users. Proper permissions have been given to IUSR_servername for all folders.what I am missing.
I have created a database connection function which I use to open my database connection and recordset and another to close it. Easy stuff I know. The problem is this.
I want to be able to create database conenctions and recordsets specifically when I call the function. For example Code:
I am attempting to open an XML file in an asp on my personal IIS server. The VBscript code is:
set xmlDoc = Server.CreateObject("Microsoft.XMLDOM") xmlDoc.async = False xmlDoc.Load("bpm.xml")
When I test for errors, I receive this message from the xmlDoc.parseError.reason property:
reason: System error: -2146697210.
However when I run the same VBscript code on the client it successfully opens the xml file and away we go. Is there something I need to load or configure on the IIS server to enable XML DOM processing? What is causing this error?
I am planning to design a database (destined for the web) that will have between 20000 and 45000 records in it and will receive a lot of reads but very very few writes (just from me).
Now the question is should I use:
1) The combination of Access 2000 (accessible through ASP or ASP.NET) using OLEDB Jet
or
2) SQL Server 2000 ?
Of course I know that the SQL Server option is a better one, especially since it's said that an Access DB can have about 9 users or so accessing it at the same time. But is that a general rule or is it about many people writing to the DB? In other words, if an Access DB has hardly any writes and 99.9% reads can it be used as efficiently as it would be used on SQL Server 2000?
I have one 3 tier architecture application running on Windows 2000 Server.
I have created replica of same machine on another machine where OS is Windows 2000 Advance Server.
But when I port same running application on new machine i.e. Machine with OS as Windows 2000 Advance Server, my middle tier (Active-X Dll, COM+ application) fails.
It throws common error Invalid Procedure Call or argument
What could be the problem? Do I need to change any settings for running application on Windows 2000 advance Server.
I am having trouble with installing IIS, I tried to do it in my control panel, but it wants the disk, I don't have the disk because my computer came with Windows XP Pro 2002 Service pack 2.
so I went to the microsoft website and downloaded the free download of IIS6. Then when I go to my control panel and Administrative tools it is in there and when I click on it, there is no computer name available.
I have a sign-in box that is an IFrame, with a form target of "_top", and the current (parent) page URL as a hidden field.
If sign-in in successful, there is a response.redirect to the page URL, having set the session variable LoggedInOK=true.
However, if the sign in is not OK, I want the IFrame to be the target, (i.e. _self, not _top) to display the error.
Is there a way for ASP to control whether it redirects to _top or _self, as setting the form target in the Login page requires "pre-knowledge" of whether it will be successful.
I'm writing an Online registration system for my friends new business. I'm trying to incorporate checkboxes so when a person checks on 3 or 4 checkboxes and hits the Submit button I can pass the information of what they checked_on to a new page. When I get to the new page I would like to update a database, based on what they checked_on on the previous page. I'm not sure how to do this. I'm not sure how to pass the information.
using PWS on test machine (NT4 workstation SP6) and everything was fine but cpshost.dll was used in the website we're maintaining, so I idiotically installed it from a Visual J++ disc. now the website works fine but when i navigate to 127.0.0.1 nothings happens. I've checked directory browsing is enabled but still nothing happens!
I'm aware that cpshost.dll was never meant to be used on NT workstations but as I said before the upload functionality works fine, it just seems to have screwed the directory browsing up - and also the code document.referrer equals nothing.
I am primarily a front-end designer and not familiar with ASP beyond breaking up pages into include files. Recently, one of my freelance clients wanted to display an RSS feed from his blog on his site. I did some research and found the rss2html.asp script. I chose this over a javascript solution because those scripts apparently don't affect search engine rankings.
I implemented the script and it was running fine until about a month ago, when the site and sometimes the server running it started to crash. The ISP and the blog company the RSS feed originates from blame the script. Bytescout, who wrote the script, says that it's probably the feed that's causing the problem. The RDF version of the feed validates as RSS, but the ATOM one has specs that are too new for the validator to parse correctly. Code:
i'm working on access db the problem is when i enter date in d/m/y format it wrote db m/d/y format but this happens only with small numbers i.e if date 04/09/2002 it become 09/04/2002 in db but if it is 24/09/2002 there is no problem.
I'm having some trouble parsing an XML document I'm getting from my company's bank in response to a XML document I'm sending. Both docs are transferring fine, and in fact if the transaction in the document I send is accepted (valid credit card), everything parses perfectly.
The prob is when the transaction is not accepted by the bank server (invalid credit card), and the document that's returned to me has different tags. Code:
I am having trouble with someone else's code that worked when it was used last, but now it's not. I am new to ASP programming so I not too sure what's happening. Code:
I have started session("visitorID") in global.asa in order to keep track of how many users are on our site at any given time, trouble is I can't seem to call the session while on another page.
As I am relatively new to asp I'll post both the setting of the session and the call to it on the other page below Code:
This is the SQL statement I am executing to pull the field, which is meant to be the last record inserted into the shopping cart by a particular individual. Code:
I am having trouble with my file uploader. I do not program a lot of .asp and its a bit confusing. As well, I just took over the development on this webpage so the code is not my own.
The file uploader worked before but now that I have the webpage put to a test site it doesn't. Would this be a reason why I cannot upload? i am also having trouble accessing the database, which makes it even harder for me to see whats hapening to the file.
When I upload it says that it uploaded successfully but when I see the webpage the photo isn't there. Would you like to see the code for the uploader?
I have this list of records (from an Access DB) and would like to use check boxes to delete 1 or many records. I think there is something wrong with the SQL though, cause the records are not deleting when the form is submited. Code:
I'm trying to break this loop for 4 different contacts to be inserted into the system.
For new inspections I want to be able to search the DB for the Owner, User, Contractor, and Cert_Recipient for new boilers the certificate will be mailed to the contractor which will be the Cert_recipient first.
then for annual inspections I want to be able to search for Owner, user, and Cert_Recipient for annual inspections I will have to search the DB for either the owner or User as the Cert_Recipient
For some apparent reason I can't stop the search, it keeps going thru the loop. I must be missing something. Code:
I am trying to put together a little ASP page that lets you paste a block of HTML in a text area then, at the click of a button, convert it to Javascript document.write statements (including any concatenation, switching of single and double quotes). A really useful tool! Code:
I'm having a little bit of trouble.I have created a form where I accept peoples information.at the bottom of the form I have a submit button that I want to have execute a function or procedure that I created in VB script.the problem I have is that it execute the function even before the client has clicked on Submit.
I want a URL links to .dot and .xlt files on my websites. But when users try to save them it triggers built in template functionallity to save it as .doc or .xls instead.
How can I publish MS templates and make sure the users get the .dot files instead of doc files?
anyways, after i installed IIS (i'm running XP SP2) everything seemed to go good, until i tested ASP, i get a 500 error / page cannot be displayed.
but this is the real error -2147467259 (0x80004005)
i have no idea what this means, and i did a bit of a search on google on this, but i didn't find anything helpful - so i ran a search for asp forums and this came up - so here i am.
in case you want to know, my web server is running (i CAN see html files via the localhost url) but asp just won't go (i'm trying to view the default asp file) and i have no idea what's wrong (i DID restart my PC, and all services that might be related to anything internet are turned ON)
We are poised to migrate about 600 ASP sites from a single IIS5 server to a new pair of IIS6 servers. However, it appears that all files with includes like:
<!-- #include virtual="../../includes/file.asp" --> will not work on IIS 6, it returns ASP 0126, include file not found.
We have enabled parent paths, but I can't find any documentation that suggests that IIS 6 handles include directives differently than IIS 5. Has this in fact changed in IIS 6? We are trying to avoid a huge and messy "search and replace embedded text" exercise.