I'm trying to usse a dictionary object in my ASP page and teh following error appears. ---------------------------------- Error Type: Active Server Pages, ASP 0134 (0x80004005) The object has an invalid ProgID of 'IISSample.LookupTable'. /hppdemo/global.asa, line 1 --------------------------------------
and my Global.asa has this one line of text.... ---------------------------------------- <object id="NoiseWords" progid="IISSample.LookupTable" runat="Server" scope="Application"></object> ----------------------------------------
This all works, but the table width can only be 770 pixels. If the menu structure is going to be wider than 770 pixels it has got to be devided into 2 or more lines.Is it possible to determine the pixels word by word?Or is there another possibility?On Google I read it would be possible in java, php,Only I didn't find anything that refers to ASP.
I'm really at wits end on this as I'm not having much success with locating a function or other options I have. I'm working on a message board for a website and I'm needing to check the length of the words that users put in.
For example, when someone puts in "yesssssssssssss!", I put together a small function that omits all of the s's as this is wreaking havoc on the layout of tables within the site. But I don't have a solution if someone types in "ssss sasdfjskldjfaskld;jfaskdf" as random ambiguous letters.
I know I can check the length of the entire string but don't know to check the words within it.
I have problem with multi-language string values. I have an input box, which accepts max 75 chars. Value goes to SQL server table field VARCHAR (75). it was okay with english language but error comes when saving Arabic or any RTL language.
I checked the values by Response.write len(myRecievedString)
OutPut:
Lenght of String Containing 75 English chars: 75 Lenght of String Containing 75 Arabic chars: 525
I currently have a program that crashes if the sessionid is longer than 9 digits. Is there a way to trim the length of the string that IIS kicks out and limit it to 9 digits, or if that can't be done, is there a function I can use to trim the 10 digit string down to 9 digits?
All the while my program is working fine then yesterday when i do the testing it tell me invalid class string. Do anyone know hwo it cause the problem. This is strange cause I didnt touch the code at all and suddenly tell me this error.
Set x = Server.CreateObject("Scripting.Dictionary") And I get this error: Invalid class string If I omit Server like this: Set x = Server.CreateObject("Scripting.Dictionary") I get this error: ActiveX component can't create object: 'Scripting.Dictionary'
In the same asp page this works fine:
Set conn = Server.CreateObject("ADODB.Connection")
In a Visual Basic application this works fine, too:
Set x = CreateObject("Scripting.Dictionary")
I reinstalled VB without success. Why do I get "Invalid class string" in the first case?
I am facing a problem with MAPI.SESSION for server.createobject in a ASP page. I am getting a message as "Invalid class string". I checked up the registry and found no entry for the same. So I used regsvr32 and registered the cdonts.dll file. But even then there is no entry in the registry and I am getting the same error in the asp script.
I am trying to utilise xmlhttp for my website. I have been told that it is on the server (don't have access to the actual server so far as installing components etc.).
But I keep getting an 'Invalid Class String' error.
Is there a way to list out the valid class strings or list the components on a server from a normal asp page (so I can see what is/isn't available).
What are the different alternatives to the line...
[VBS] Set xml = Server.CreateObject("Microsoft.XMLHTTP")[/VBS] that may be substituted depending on the version of it? Or is there another alternative to xmlhttp that will provide me with the source of a page on another server that may already be installed...?
I am trying to create a comments form with html and have it sent to my email address from the website via ASP. I keep getting an error message that says:
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /myapp/email.asp, line 3 Invalid class string
I've examined my line 3, and I cannot see the problem. Could anyone tell me whats wrong with the codes, or must I have a separate database to house the contents of my forms as well?
I have an ASP script that show a big number of record (about 1100 rows) so I have set the Response.buffer value to off. With Firefox all works fine, the script shows the record one by one while it loads them. The problem is that using Internet Explorer I can see the records only once that all rows are loaded.
I'm experiencing bad performance migrating from IIS 5 to IIS 6 on a server with identical Hardware configuration on some ASP pages.I notice that setting
how to create a download buffer? I'll explain a little bit. What I mean by a download buffer is a script that will count how many people are downloading a certain file, then after say 50 or so are downloading that file, it will make everyone else who wants to download it have to wait a certain amount of time(ex. 5 minutes).
I got the idea from Fileplanet.com and Fileshack.com. Seems like a pretty cool system and it appears to be written in asp.net on their sites.
I have over 6000 record in a SQL Server database (in one table) and trying to fetch all these records at once but it always fails. I have tried every thing, increased Script time out function to 300 even to 3000 but still same. Used response.buffer=false too but no change.
When you use response.buffer=true , I realize that anything writeen with response.write will not be outputted until you do response.flush, correct?
With that said, what about this (I don't know if it's the same as response.write or not)
<% if page = 1 then %> (Load pictures 1-20) by using html (not response.write) <% end if %> <% if page = 2 then %> (Load pictures 21-40) by using html (not response.write) <% end if %>
I notice a lag in the page (it stays blank for a second or so before any of the page loads) and I wondered if changing buffer type to true and adding a response.flush between every 5 or so pictures would make that better.
Im recieving the following error, which I cant really see what im supposed to do.
Im making a simple form page to insert a record into my access database. I dont get why there is a problem cause i used a stock Dreamweaver object (dialog) to create the code...
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
I've written an asp page to transfer values from a form into an Access .mdb file, and I'm getting this error:
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 0xe68 Thread 0x798 DBC 0x15c1024 Jet'.
I'm running Win XP with pretty much all critical and recommended updates.
I'm trying to learn from a book "Sams Teach Yourself E-Commerce Programming with ASP in 21 Days". I'm doing very poorly BTW.
Anyway, I am trying to create a login script so I can password protect a page but when I test the page in IIS, I get the following error:
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'. /TEST/checkpassword.asp, line 12
I'm trying to retreive and display a list of showrooms in the United States. The user is presented with a map of the US and an image map has the co-ordinates. The user clicks on a state and "Viola!", all in that state are listed.
It works great, except for two states; California and Florida. On those, I get the following error: Quote: Response object error 'ASP 0251 : 80004005'
Response Buffer Limit Exceeded
/default.asp, line 0
Execution of the ASP page caused the Response Buffer to exceed its configured limit.
There isn't that much data being pulled from the database; only 77 records for Florida, only 122 for California. There aren't that many fields in any of the recordsets, either, and none of them are more than 500 characters in length (all varchar with some int dbtypes.) Code:
In the following code when i = 500 the buffer on the server is flushed to the client. However, because the content that is sent to the browser contains an html table Internet Explorer does not display the table until it receives the closing </table> tag.
The question is, am I correct in saying that the buffer on the server is CLEARED when i = 500? It will be empty for a split second until the loop resumes again. Am I correct? Code: