Part of the content of one of our web pages uses wingdings and Chr(239)
through Chr(242) (which are little arrow outlines, though that's not really
important.)
It worked just fine in Windows 2000 Server, but now under Server 2003 it
seems that characters above 127 get converted somehow, and our code no
longer produces the desired effect.
Does anyone know how to make it send our content without modification, or
how to encode it in a way that it makes it out to the browser with the
intended character value (as opposed to some thoroughly useless conversion
to a 7 bit value)?
My database (.mdb) has a 255 lenght text field, I need to insert the content of a request.form of not a text field, but a TEXTAREA:
---code--- <textarea name="comentario" rows="10" cols="50" wrap="PHYSICAL"> --end-code- how can I limit the textarea to a max number of characters, like 255? I think I should use any ASP code and a "there is an error" page, but I dont wonder how to made the sintaxis.
I know we have this thread somewhere, but I can't seem to find it now
I want to show the first 100 chars of a string, but I don't want a word to be cut in half at the end, it must show the whole word then and go a bit beyond 100 chars.
This will be used for a comments system, comments will be displayed on the front page, and I want the field (Comment) to only display the first 300 or so chars
I am having a probem with asp, xml, com while using chinese chars. The chinese letters come out of com fine and they are also fine when i use asp to write to a text file. When i load the chinese chars into an xml dom they become invalid Chinese chars show as this æˆ'çš,,模æ?¿. but when i doa xsl translation then some of the chinese chars are displayed and some are shown as garbage chars. My ASP Page has the following headers
I have an ASP function in place to strip invalid chars out of a data store before I create an XML file of this data, but my function doesn't work on a certain set of chars.
As far as I can see these are the following:
a) trademark char b) long hyphen/dash char c) smart/curly quotes (both left and right)
Even though my function is set up as follows: Code:
I have a form where the user enters a customer name, then clicks the submit button which then adds it to a database. This works absolutely fine untill the name has an apostrophe in it.
eg when the name entered is O'Hanlon and its submitted, I get this error.....
Microsoft JET Database Engine (0x80040E14) Syntax error (missing operator) in query expression ''O'Hanlon'
I have an application that let's the user enter text into a textbox and this data is collected on the server and stored in a database.
The page is multilingual and sets Response.Charset to the appropiate for the language, for example gb2312 for chinese etc. This made all texts on the page show up alright.
However, I did not change the codepage of the page so ASP encoded the post data sent to the server and I have got really ugly texts for certain languages.
I have had applications before doing the same thing where the page has been able to decode the posted characters again when redisplaying them, but in this case I haven't been able to get anything meaningful from them.
It seems to me that the encoded text depends on the charset used when entering the text, entering chinese characters when using iso-8859-1 gives me character codes like Ó’ which probably would be alright to convert but chinese text that has been entered in the gb2312 charset look like this Code:
I have an ASP page that loops through a SQL Server 2000 table, then downloads an Excel sheet the users can save, etc. Works fine, except, I see that in one particular "comments" field the Excel sheet returns a #VALUE! error in the cell when there is a large amount of text. I've looked through the MSKB, MSDN and many ng posts to see if there is a workaround or solution to this, inclduing looking at the xlWorksheet properties (I've tried 'xlWorksheet.Cells(iRow, 11).WrapText = True), played with Orientation, etc. But to no avail.
my problem is that i load an xml file (which displayed well in iexplorer standalone) with an asp file, and the page displays o instead of ő, u instead of ű, so my central european characters are changed. the xml well formed, and well encoded. i hope ;)
I have loads of text in russian chars that I need to put to a MySQL db (version is 3.23).
a) Is there some way to make MySQL db to accept russian chars? b) If not, there must be ready-to-use functions to convert the russian chars to HTML-entities?
The site is done with ASP & VbScript, but of course JScript/Perl script based function suits well too. I've tried searching with Google too but thin results
The problem is that a person uses kind of a CMS where he/she can type different language versions of certain phrases. In practise there is a textarea type of field for all languages where he/she types the russian text which is then saved to a MySQL database.
i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
I'm currently testing a version of Win2003 to evaluate a migration of our NT4 server, but I got some troubles with Office Web Component 9 (office 2000), it seems it doesn't work anymore, and I can't find the issue.
When I make a Set objSpreadsheet = Server.CreateObject("OWC.Spreadsheet"), I got an error : Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /test/include/./include_asp/excel-class.asp, line 10 800401f3
So I thought it was a "Web service extension" problem, prohibited por default by IIS6, I authorized MSOWC.dll but nothing changed...
Then I decided to setup OWC11 and it seems to works fine.... even if I don't authorized it... (is it a normal behaviour ?, shouldn't I be supposed to autorized it ? )
I can't understand my problem with OWC9 is there some incompatibility with IIS6 ? Code:
Ive got a ASP site on a server with a old iis and it works perfect on but ive got a new server with IIS 6 with exactly the same site and the session variables wont stick they just dissaper any idea.
I have a custom File management ASP application that handles Large File uploads and download from a database (30 - 40 MB files) The application works fine on IIS5 but when I relocate it to IIS6 i get an error when I file not found error when i attempt to download out of the Database. IS there a reg setting or metabase setting that i need to change to handle large blob outputs.? Sorry I can't be more specific about the error msg but that is all it give's me a File not found error. it does however work fine with small files less then 2mb in size
I used to be able to run ASP scripts on IIS and then I installed MS SQL server 2000, and EVERY page I go to that has an .asp extension (even if the code inside is BLANK) will return a error labeled "The requested resource is in use. ". I've tried many things like re-installing IIS 6, allot of things. PLEASE help me, this is on a production box and HAS to be UP AND WORKING before 1:00 AM CST (5 Hours from the time I posted this)
I migrated an application from NT4 (IIS4) to 2003 (IIS6).
The application only works when the components are registered with regsvr32.
One of the webpages doesn't work-- when I fill the form out and hit submit I get "compx error '800af10a' Insufficient memory to perform operation. /submit.asp, line 283"
I've tried going through and changing permissions but haven't had any luck. I also tried setting the Web Site to use an Application Pool that I created to run as System Mode but that didn't make any difference.
Everything works when I select "IIS5 Isolation Mode".
Knowing that it works under IIS5 Isolation mode how can I determine what is causing the message so I can run it under IIS6?
I migrated a VID6 application from Windows NT 4 to Windows 2003 Server (IIS4 to IIS6) which was developed using ASP and VBScript and I now I am getting an error message as follows: Microsoft OLE DB Provider for Visual FoxPro error '80004005' There is not enough memory to complete this operation. /hinojosa-web/iPD2.asp, line 377 The line mentioned above refers to the execution of a query to generate a recordset which will be displayed to the user who is requesting data. This issue does not always happens, it does only after accesing the web site several times.
I just have installed Windows 2003 Server Enterprise Ed.Where the IIS ver.6 came with it. I installed the IIS6 with all its subcomponents. The problem is that ASP pages are not processed by the IIS whereis HTML pages are. I have allowed asp extensions.
Is there an explanation somewhere as to how IIS6 determins how many ASP threads its actually going to use?I have configured IIS6 to have 20 threads (ASPProcessorThreadMAX) but it uses them all.
I am using the MACT test tool to stress test and with 50 concurrent users I quite often see only a single ASP thread being used the other 49 are on the Requests Queued. The Request Wait Time in Perfmon can be averaging around 5 or 6 seconds and there is plenty of spare CPU.
The application quite often has long running queries(15 to 20 seconds per request)and rather than use another thread IIS will quite often just keep ticking along with the threads its using with the result that the Request Wait Time can jump significantly.
Set oVar = Server.CreateObject( "MSWC.PermissionChecker" )
The PermissionChecker component works flawlessly in IIS5.0, but we're migrating to IIS6.0 and it no longer works because IIS6 no longer supports it. Has anybody gotten around this issue?
Is there a way to block an IP from entering a website on IIS? I do not have MOD-Rewrite and I have been told not to do this wih a PHP script. IS there a way in IIS?
I've used DynuFTP and am happy with it but now the host server needs upgraded to IIS6 and Win2003. After they did this I get the error that I'm pretty sure is from DynuFTP:
Active Server Pages error 'ASP 0115'
Unexpected error
/cms/Upload.asp
A trappable error (E06D7363) occurred in an external object. The script cannot continue running.
Has anyone run into this? Seems like an IIS6 compatibility issue.
Im trying to find why my hosted server won't maintain session state. Its not a web farm (not load balanced), its all the same server
An application requires a session to be set and then recalled (like you do :)
However, since the server software was upgraded from IIS 5 to 6, the working code no longer works. (ie - login with session variables but get logged out immediately the page changes)
Using simple code like <%=session.sessionid%> on the IIS6 server, and refreshing the page shows a new ID most times - it should be the same id?? Testing on the old server (IIS5) would keep the same session id.
Where do I start looking and what pertinent questions do I need to ask my host?
I am trying to set a webserver to use French regional settings for testing ASP pages. According to http://support.microsoft.com/kb/q306044, for IIS5, this is a matter of changing the regional settings for the authenticated user, and if this user does not have a user profile then the default regional settings. Unfortunately, this does not seem to be working in IIS6, in that I have change the default user's settings and I am still getting English dates. Can anyone tell me if this is because the way IIS chooses its settings has changed for IIS6 or just because I have done something wrong?
I am using traditinal asp in IIS6 and seem to be experiencing memory leaks problems that I did not have or at least did not seem to notice as much when I was running the same code under IIS5.
There may beunclosed connections/recordsets and/or connections/recrodsets that have not be set = nothing in the code. Two questions
1. Is IIS6 less forgiving of this?
2. If you do not close recordset or connection objects or set them equal to nothing is there some sort of garbage collection going on in asp that will release the memory anyway.
My company is in the process of moving servers and I am one of the developers in charge of making sure it runs smoothly. Currently, we are on a Linux server that runs Chilisoft ASP. We are moving to a 2003 Server with IIS6.Several of our scripts use the recordcount property of recordsets.
On the new server, recordcount seems to be shaky. We have managed to get it working on one of our websites fine, but on another site on the same server it does not. Both sites are configured in the same manner. We did have to add "objConn.CursorLocation = adUseClient" before opening each connection, which made it work for the first site, but adding the same line of code on the other site seems to have no effect.