@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> is there a good tool that will convert asp to asp.net?
<1> morning folks
<1> looking to oil my rusty experiences with ASP
<1> anyone can recommend what to develop it in thesedays?
<2> does anyone know why http://hashasp.mine.nu/paster/?2353 won't work?
<1> anyone know any resources outlining developing ASP pages in VB?
<1> pls
<1> dont know where to start :)
<3> www.happyfemdom.com
<4> hey, anyone avaiable for some asp work?
<5> anyone up for some ***ual har***ment?
<6> heh
<7> getting syntax error with UPDATE users SET admin = 0, firstname = 'valerie', surname = 'fugkgg', email = 'address@address.com', emergencycontact = '01435435', location = 'parkside', linemanager = 'test@test.com', group = 'Non GP' WHERE userid = 849
<5> nope, probably not
<7> looks fine to me



<7> cant figure it out
<5> is that copied and pasted?
<7> thats the response.write of my SQL string yes
<5> location might be a reserved word, but I don't think so
<5> same for admin
<5> put them in []
<7> group is aparently
<7> doh
<5> Prefixing fields with a constant always removes this problem
<5> usrFirstName, uSurName, etc
<5> also helps withn joining tables
<7> thanks
<7> will do from now
<5> oh, of course. group, as in a GROUP BY clause
<7> yeah i know, stupid me
<5> eh, it happens
<7> sometimes its those sorts of thing that keep you scratching head for ages
<7> so annoying
<8> hi
<9> Where in the IIS6 settings do I have to add new files types for downloading? And it's not the MIME settings
<6> w2k3 server?
<9> of course
<5> asp or asp.net?
<9> neither, it's a file people need to download
<6> well, you will have to add the extension/mime stuff, if not it won't be served
<5> add it to the mime map?
<5> application/octet-stream is it?
<6> yes that's the generic prompt for download type
<9> nope
<9> adding a mime type doesn't make the file available
<5> "make the file available"?
<5> How is it "not available" now?
<9> it acts like the file doesn't exist
<5> add the mime type
<6> the folder must have read access of course...
<9> there's a setting of allowable file types in IIS6
<9> already did
<9> yes it does
<5> as what?
<9> application/octet-stream
<9> it's a .ica file
<5> the file is where?
<9> http://server2/umg/epm.ica
<9> I can view the folder, this works on server1
<6> that won't help us :)
<9> which is a full copy, including permissions
<5> And where on the drive is the folder?
<9> well it's a wwwroot folder
<5> file*
<5> So, C:\inetpub\wwwroot\umg\epm.ica ?
<9> yus
<5> And what is the base path of the website set to?
<9> despite, there's a place where you can set allowable files, I had to do this on server1 a year ago
<9> and I didn't add it to my notes
<9> this isn't going to help me :)
<6> well, that IS under the mime settings on the server-level
<5> Then you sohuld not have asked, if you don't want help
<9> sorry, I'm a bit overractive
<9> yes wwwroot is the web folder
<10> rhelik, are you at it again! =)



<9> the file is readable and it's a real folder, not virtual
<9> yup
<6> can you access .txt files put there?
<5> What is the exact error you get when you try and go to the URL?
<9> if I had just written this down in my notes, I wouldn't have forgetten
<9> cl***ic 404
<5> put up a screenshot of the MIMEType screen as setup on the server
<5> I've had to do the exact same thing more than once, and adding the mimetype is what did it
<10> rhelik, if you want help quit thinking you know the answer ;) and when are you going to hire a developer?
<9> well I am the developer, it's just I'm no IIS6 expert
<9> Mac-: yes
<9> Teycho: are you asking to see a screenshot of the mime type I added?
<6> rhelik: you did this on the server, not site-level?
<5> Yes
<9> server level, not site level
<6> have you tried restarting iis?
<9> http://rhelik.lehost.net/mime.png
<9> oops, it didn't ss the whole window
<5> no problem
<5> rename the file to .htm, and browse to it
<9> ok refresh the image http://rhelik.lehost.net/mime.png
<9> ok
<6> make sure you restart IIS :)
<5> that too
<6> i just tried it here, and that had to be done
<9> yea I can view it as .ica fine
<9> err I mean renamed to .html
<5> then go to the site level ,and check the mime types there
<6> http://195.204.34.150/test.ica :)
<9> Mac-: I'll give it a try
<9> ok it works
<9> I had to restart for the mime type to take effect
<5> all else fails: reboot
<9> iisreset :P
<5> s/reboot/restart
<9> I'd like to point out there is a setting of allowable file types
<9> because the other server has no mime type for .ica
<9> and it serves the same file, same folder, fine
<9> it was something new to IIS6
<9> Mac-: thanks for the help
<9> just my luck I didn't take my IIS6 admin book with me, it's in temp storage
<11> how can I do this in my sql statement using a mysql database AND DateDiff( 'n', LastTimeOn, '" & Now() & "' ) <= '5' "
<11> i want to get a list of those only on in the last 5 mins
<11> but datediff returns in days in the sql statement
<5> not a good query to use
<5> very bad, in fact
<5> First off, DateDiff() does not return a string
<5> Secondly, it'd be prefereble to not have SQL do a DateDiff() for each row
<5> Calculate 5 minutes ago on the ASP side, and compare the dates directly
<5> dat = DateAdd("n",-5,Now())
<5> "AND LastTimeOn >= '" & dat & "'"
<5> That'll save a lot of processor time
<12> if i use aspupload, how can i know when upload is completed?
<10> What if yous' say were in the kitchen cuttin carrots with a macheti or somethin, cuz you dont have anything, and then the phone ring and it slip into your sock, and you dont know. so you runnin to get a bus and it fall into someones arm, you know, a couple of times, is that legal or illegal?
<10> elad__ an asp request is synchronus, so you would know when your code continues to process
<1> I have been developing asp in a text editor
<1> anyone know what to use to obtain informative error messageS?
<5> that has nothing to do with what editor you're using
<6> Robo: disable "friendly error messages" in IE
<13> ah
<5> in IE, goto Tools > Internet Options > Advanced, and uncheck "Show Friendly HTTP Error Messages"
<5> Then refresh the page
<13> ah yes
<13> are those the best error messages you can get
<13> PHP onces for instance are very helpful
<13> ones*
<6> what more do you need? line number and type of error?
<13> suppose
<13> cheers mac-
<14> Robo; Create an error handler.
<6> even better, switch to JScript, or better yet .NET :)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #asp
or
Go to some related logs:

v1tnam
#delphi
msa1000 diskpart
chudi tore
#freebsd
#stocks
#gentoo
#windows
#politics
#beginner



Home  |  disclaimer  |  contact  |  submit quotes