Ok, first I had a problem with that error code: 0x80020009, but this article
http://support.microsoft.com/defaul...b;EN-US;q175239 fixed that. I'm saying this
because it might still have an impact..... I don't know.
I'm using scripting.dictionary for my webshop, so I'm putting the scripting object in a session variable.
So you can order three types of things, and I have one page that lists your shopping cart before checkout.
When I display only one of the three types (ie delete the rest from the file) it's all good. when I try to display them all, stuff just dissapears. If it wasn't for the fact that it works with one type, I would have thought it was something with some of the if syntaxes. Code:
I have a problem with the Scripting.Dictionary in ASP. All my data is entered into my Dictionary with no order and I would like to order them alphabeticaly and I don't know how to do.
i'm trying to page through the items in the Dictionary, i've got a great example on it, but the way my class and dictionary is set up won't allow me to use the example Code:
I have been trying to read values from a form into an array on a page without much success and was told to use a Scripting.Dictionary instead.
There are a variable number of fields on the form as it is different according to which product is ordered (as are the fields that are used to create the record.) Code:
Basically I want to be able to send users (if they sign up to it) an SMS alert whenever someone leaves them a message on a webpage. Similar to Hotmail where you can get an SMS when you receive an email, or Ebay where you can get alerts if you are outbid.
I'm thinking maybe something very similar to CDO in terms of coding Code:
I'm working a user management system, and when I activate a user that has registered to my system, the current admin user logged in gets logged out.
I can't seem to work out how - I can't even trace back where some of the variables are coming from (for example, the "ref" part of the Request.QueryString method). Code:
I am just trying to do a fairly boring bit of DB maintainence that involves getting the correct ID from table2 by matching it with the email field of table2, easy I thought !
Unfortuantley I get a 0x80020009 'Exception Occured' whenever I try to run this. I originally thought that it could be because the email from the first table isn't actually in the second table, sadly there are too many to manually check, so the idea might have to be completely thrown out of the window.
Could anyone shed any light on why it wouldn't run apart from the data not matching ? Code:
I seem to be getting problems in the above IF statement. It will go into the IF statement, but it will then give me an error. I set a response.end in the IF block earlier, and it did go into the IF block, but once I take it out, it give me error right on the IF statement line. Code:
In the SQL select statement I need to compare with another field. This, another, field is sitting in the stored procedure. I have to call to the stored procedure to get this field…So I can do the comparison.
Error Type: (0x80020009) Exception occurred. /diary.asp, line 53
The specific part that causes the exception is when I try to access rsAppsTemp("AppointmentDate") in the While loop. For some reason it works fine in the If statement above it, but not in the While loop.
I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated.
I also have included the original error and line of code I changed it from in case it was necessary?
ERROR 1
CDONTS.NewMail.1 (0x80020009) Component is disabled /thankyou.asp, line 61
I have just tested code I pulled from the chilli!Mail tutorial to email data via an ASP page.
It worked perfectly the first time the page was loaded, however now I am getting the following error:
Error Type: CDONTS.NewMail.1, ASP 0220 (0x80020009) This ASP file must be transacted in order to use the ObjectContext object. /ContinuousImprovements/test.asp, line 29
I haven't seen this error before and am not too sure what it means, any help would be appreciated.
I am working on a project which used dictionaries. I am having to remake part of this and have no experience with the scripting dictionary. I need to see how to create multiple dictionaries within one dictionary. Can someone point me to some reading materials on this where I might see an example as well?
Just wondering the best way of doing this? are there any dictionary databases laying around somewhere?
I want to change my search so that it corrects typo's and maybe suggests better words to search with... like googles but with more alternative words to make the search more useful - slightly limited so it doesn't become pages and pages of search terms.
What I don't want to do is sit down in front of my computer and type all of this in, going through related words and possible other searches / best searches from the given input.
While pouring over some code I've discovered a previous developer heavily uses the "dictionary" object. Whilst I see some of the advantages of using this system It's something I've not used myself so am not sure of the limitations.
We are about to widen the scope of the website it's being used on to a WorldWide system - greatly increasing the number of users that will be using the website.
What I'd like to know is are there any performance issues with using this on a heavily used site?
I am trying to store some data in a Dictionary object. I am getting errors though about adding duplicate keys. "key already exists"
I commented out the obj.add and just did a .write of what exactly was being added each time. There never was a time when a key was being added twice ....
I proceed much further whether it is possible to pass in the Dictionary object (Scripting.Dictionary) from ASP to a stored procedure in SQL Server. Any sample sites or simple code examples would be really great.
I need an ASP dictionary/glossary script. I saw a bunch of options online for PHP but almost nothing for ASP. I'm not a programmer....but can install working code and connect a database. can anyone recommend a tutorial or even better a finished working piece of code I can implement to create my own dictionary with custom definitions?
I have to develop a spell checker from scratch using asp language. as i'm a newbie with asp, there are still a lot of things that i don't understand. How can I add new words to my list of dictionary sorted alpabetically?
Do i need to use the database for this function? Can anyone show me? or if anyone knows of any websites that i can refer to.
After going back to the start, I eventually realised that the dictionary Item property didn't like 'rsNetStock.fields("PartNo")' as a parameter, so I had to use something like the following:
im trying to create a function that accepts a sql statement as a parameter, makes a db connection, returns a recordset, and inserts all items from the recordset into a data dictionary - then i want to set the value of my function equal to my newly created dictionary of items from the recordset - this is where im having a problem. is it possible to set a function equal to a dictionary? i cant seem to make this work and it seems that this should be possible.
I'm having problems with an array of dictionary objects. It is being used to organize an SQL catalog set up with an ID/ParentID scheme. The script uses recursive functions to return the children categories, and works fine except for storing the info in the array of dictionary objects.
The UBound of the array is correct, and the very last index (93) to the array seems to have the correct dictionary object, but all the previous (0-92) come up with "Object Required:" error. By the way, dicRecords is another array of dictionary objects taken from a recordset. Any ideas? Code:
I'm using Server.CreateObject(Word.Application) to execute a spell check. Works fine, but we'd like to add a few of our more common company-isms to the dictionary, as they're getting flagged every time.
I tried opening Word on the Server and adding one to the dictionary. I also tried it locally (which didn't make any sense, but still). The word still shows up as an error. Is there a way to customize this dictionary?
I have a server running Windows Server 2003, on which two of the web sites use the MegaBBS ASP forum software. Both sites suddenly developed the same error, which seems to be connected to the dictionary object.