im interested in replicating how moonpig.com 's card editor works. in particular how you can display a custom server side font in a wysiwyg editor. i know moonpig uses .net but can this be accomplished using plain ol' asp ?
I want to use a particular font(which is not available by default in the system) which could be used by every client that opens my webpage, so how can it be made possible? through CSS or by any other means.
I have Persits's ASPJpeg 1.4 installed on a Windows 2003/IIS 6. I added several new fonts (free download from other site) to the system (Start->Control Panel->Fonts->File->Install New Fonts).
I am trying to use the fonts on my script to "watermark" pictures. However, the results always in arial (the default font). If I use courier or some standard font in windows, it works, but when I switch to my new fonts, it doesn't work.
Anyone know what's going on? Is there settings in either ASPJpeg or IIS/Windows that I need to adjust?
I am trying to use ML-TTKarthika font in one of my pages. It s a font for the Indian language Malayalam. I declared
<meta http-equiv="content-type" content="text/html; charset=x-user-defined"> in the headers also defined style <STYLE TYPE="text/css"> @font-face { font-family: ML-TTKarthika; font-style: normal; font-weight: normal; src: url(MLTTKAR0.eot); } --> </STYLE>
But its not working for characters with ascii greater than 127.The browser shows a square mark for these characters but in notepad it reads fine. i have embedded the .eot file to the webpage following the instructions given by microsoft.
I have a ASP script that generates a jpg/gif image using the Overpower.ImageLib component.
I do all my tests on my own intranet server before uploading it to the webhost
Actually i try to use the font "CasacedScript" to generates page titles.
On my Intranet it works perfectly... but when uploading it, it doesn't work anymore... it shows the font Times instead.
I send the font installation package to my host to have them install them on their server and they did it... now actually it doesn't work with the ImageLib component.
But we tried something, we wrote a HTML page with that: ....
I'm trying to read data from an Access database and want the columns to be displayed according to the alphabet. Now I'm trying the Like statement and passing the unicode value of the alphabet through the query but it retuns no value. An example is given below:
SELECT DISTINCT HindiWord FROM Database1 WHERE HindiWord LIKE 'अ%'
Here I'm trying to retrieve all the words with "A" alphabet in Devanagri script.
The HindiWord has data in a unicode font. However this is not working. I dont know if there is any other way in which I could filter when retrieving.
I have a ASP script that generates a jpg/gif image using the Overpower.ImageLib component.
I do all my tests on my own intranet server before uploading it to the webhost
Actually i try to use the font "CasacedScript" to generates page titles.
On my Intranet it works perfectly... but when uploading it, it doesn't work anymore... it shows the font Times instead.
I send the font installation package to my host to have them install them on their server and they did it... now actually it doesn't work with the ImageLib component.
But we tried something, we wrote a HTML page with that : <font face=CascadeScript size=+5>testing the font</font>
when called by IExplorer directly on the server, this work... the good Font is showed... but when i try using my component to get this font... it doesn't seem to work.
Since the HTML page can display it, it must be installed on the server... so why does my component don't display the good font?
I notice that when you have the defualt setup of 404 error pages the IIS 5.0 log tracks the page the user was trying to get to and the page they where at when they tryed to get to the now missing page. I recently wrote my own 404 error page to make it match my site but when I set IIS to use my custom page it no longer traks the page that the user was trying to get.
I was told I needed to add some code to my page to fix this, but I don't know what code to add. Can someone tell me? (I am useing ASP on the custom 404 error page) I am returning a 404 error response, everything works fine it is just that IIS does not log what page the user was trying to get to.
I created my own custom 404 handler and it works, so when I put in
http://www.domain.com/badxxx.html it produces the correct 404 error and you see http://www.domain.com/badxxx.html in the url still which is fine.
But when I put in http://www.domain.com/asdf
it redirects to http://www.domain.com/index.html
it gives a 302 (moved temporarily) as well as the 404 error. Why does it do this for not .html files? I dont redirect it at all, and am using thestring = Request.ServerVariables("QUERY_STRING") to get the url
but thestring sometimes does not display the asdf depending what I do after this command, very odd.
does anybody have anyideas as to how to preserve this http://www.domain.com/asdf in the url and avoid the 302?
i have a table that users are inserting custom tages ,it looks like :
user_id type value 1 99 television 2 98 beach 3 99 coldplay
etc. now i have to make a search which will show all the users that typed the same value from the same type .i dont want the query to be a textual query (slow ...)what is the right way to do it ?how can i make a query that JOINs to tables from 2 different databases?
When you have a custom HTTP 500 error handler, how do you go about making sure all your previously opened recordsets/objects/connections/etc.are closed properly?
It would seem to me that once you hit a 500 error, you have no opportunity to close any of the previously opened objects, eventually causing memory leaks.
I'm developing an application that uses a custom 404 page to deliver all of my site's content. However, doing things this way renders IIS's regular log files pretty much useless.
Are there any established "best practices" for creating your own logging system? I know that others use this technique and I'm hoping someone has some ideas they can pass along. For example, do you log every single page request or do you just log totals per day, week, or month? How do you deal with the increasing volumes of data? Do you collect referrer data, etc.?
I asked my hosting service to setup a custom 404 page for me. They did, but when purposely calling a non-existing page with XMLHTTP, the new 404 page returns a 200 / OK status.
They seem to be taking their time trying to fix this, so I wonder if a custom 404 page that truly returns 404 status is a hard thing to set up for individual domains hosted on IIS. I hope my question makes sense to the readers.
When a user tries to visit a non-existant page in our web site they receive a custom 404 error message. I want to capture the URL the user tried to visit. Does anyone know where I can find this string?
I am still in the debugging of my website, but I'm nearing the end. As a last phase implementation, I want to be able to catch all asp errors and if there is one, send the user to a custom "sorry bout that" page, rather than having the errors displayed on that; if there aren't any errors, let the page load. I setup the 404 error, but that doesn't seem to accomplish what I want.
without the extra Querystring data from the original URL.
Having researched this online it seems many people have this problem and looks like IIS 6 solves it. However I've also read of people with IIS 6 having the same issue, and of people with IIS 5 that don't have the problem. (for exmaple: http://www.webmasterworld.com/forum47/1829.htm)
What I'd like to know is if there is definately no way of achieving this behaviour on IIS 5 without the use of any extra isapi filters. Perhaps a server configuration option or something...
I would like to generate a custom date format for my ASP output ... i.e.: "5 Apr 06" instead of the "05 April 2006" that the British English 2057 LCID automatically gives me. In other words, I would like a 3 digit month and two digit year.
I am trying to do the similar to mod rewrite and use the custom 404 rewrite page to handle the table look up, so www.myweb.com/irish-tapestry-333.html will redirect to
www.myweb.com?id=333 for the detail pages. Will google see this forwarding in the 404 redirect page and ignore the links?Also, how can I make the URL of www.myweb.com/irish-tapestry-333.html appear in the users url window instead of the www.myweb.com?id=333
We have a requirement where we have to develop a custom Login Page which will accept user's NT credentials ( Username , password, domain name). This then needs to be passed to a website which uses Windows Authentication my question is how do we pass these credentials to IIS in classic ASP?
I have a client side ActiveX control implementing IPersistMoniker that isregistered to handle this MIME type. This seems to work fine on some machines and not others. On some of my machines, the control is not instantiated at all. Instead, a blank page is shown in the browser. If I change the ContentType above to something like "text/xml", the response is shown correctly in the browser. This leads me to believe there is a problem with the client mime handler, but it seems to work on most machines.
On windows xp we can modify 500-100.asp file for custom asp error messages. How can we do this on a windows NT 4.0 and IIS.or what is the similar file on NT and IIS?
is there a way to make custom error pages specific to a particular page?I know you can make customer error pages for iis to use.but if there is an error on a particuar page, can i make a custom error page to be redirected to?
for example,if a user is clicking away and runs into an error,it would display error1.htm.if they were on a different page and an error occured,they would get an error2.hm.
if its possible to create a custom validation control which can enable or disable any given control depending on whether a checkbox is checked or not?Currently my solution involves posting back to the form which in turn enables or disables appropriately.
I have noticed with some of the standard validation controls that the screen does not refresh (postback) for the error message to display.Is it possible to enable/disable a control instead of displaying an error message, and do this without posting back to the form to refresh?I have seen some custom controls which can do this for sale, but they cost $$$.
i have created a custom control in vs.net, how shall i add that one to my asp.net page. do i need to create new web control library project for creating custom web controls, what i have done is, i just included that one as another class, i am confused about how i would specify the value for the assembly attribute.
Just a quick question about making a custom error handler. Can I use. Code:
<%On Error Response.Redirect("error.asp")%>
instead of defining a custom error page in IIS? My site is hosted by an ISP so doing the latter would leave me completely without error messages; my way I could comment out the On Error code when debugging.
why I can't use custom error messages with the asp extension in IIS5.1? I have set up a custom page to handle errors called errorHandler.asp and all HTML is rendered but not the asp.
If i put Hello World in the html body section it renders but if I put the same in a response.write of the asp it won't render.
I'm looking to do custom homepages based on user login, something like googles homepage, But not as drastic. I'm not sure how i should go about this. any suggestions on the thought process would be nice .
I have added a http header on a virtual directory. (Content-Type text/html; Charset=utf-8). Is there any way of clearing this or override this in one asp page? In this page I will download a tab separated text file.
I don't want to show this in the browser. I try to set this content type from my COM+ component which is invoked by this asp page. Response.clear will not clear header information (and I guess the added http header is added just before the result is sent to the browser).
If IsNN6 Then GetObjectContext("Response").contentType = "application/octet-stream" Else GetObjectContext("Response").contentType = "application/save" End If
I'm trying to alter a asp web site that I've taken over from another programmer. The previous programmer left under bad circustances and I am unable to find where she did her custom scripting components. Anyone have any suggestion on what to do?
My company developed a website application that interacts with a database (SQL, ORA, Access).
The pages are written in ASP (classic), but the kicker is that the pages use a .dll to interface with the database. Obviously this is fine for Windows based computers, but what about Linux, is this even possible?