|
anyone use JScript for server side?
I think it is a garbage collected language, so it would be good to use it in a site with many pageviews???
Casa.Sapo.pt
|
|
|
|
|
I posted about this the other day and couldn't come up with a solution, I still haven't slept since then.
I am using Index Server to add a search function to our intranet, It is working fine except for the "characterization" , or in other words the abstract.
It will not return anything. I asked the server folks to verify the catalog option were set to generate the "characterization" and they are.
I test my exact same code on the internet server and it works 100% perfectly. On the Intranet server it will not return an abstract, I get zero errors, I just can't get a description. I have searched HIGH and LOW on the web only to find nothing. I don't know where else to turn?
I don't know why it won't return anything for the "characterization"? Does anyone have any ideas?
I do know that the servers are differnt:
Intranet is Win2000, IISv5.
Internet is WinNT, IIS v4.
I don't think that should be a problem tho, you would think that the problem would be with the WINNT not 2000.
Thank you so much for your time
|
|
|
|
|
Is this possible?
All the examples I see targets "style" of an element. Is it possible to change the class then as well? Will it behave "dynamically" clientside?
OK, then one last question, what can I use to debug JavaScript?
Cheers all
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|
|
leppie wrote:
All the examples I see targets "style" of an element. Is it possible to change the class then as well? Will it behave "dynamically" clientside?
The class HTMLElement has a className property, I would assume you can use that.
leppie wrote:
OK, then one last question, what can I use to debug JavaScript?
alert("I am here"); is one of my favourites.
Paul
|
|
|
|
|
Paul Riley wrote:
alert("I am here"); is one of my favourites.
Yep it's a life saver, especially as you can include javascript variables in it with + varname
The following statement about your geekness is true. The previous statement about your geekness is false.
|
|
|
|
|
Megan Forbes wrote:
Yep it's a life saver, especially as you can include javascript variables in it with + varname
Well, yeah, I was heading for the simplistic
In reality, it's usually the first word that pops into my head and when I'm debugging that is usually a four-letter word, but this isn't the soapbox so I'll say no more
This all stems back to my C on Unix days where a few printf()s were actually more effective than the dire debuggers.
Paul
|
|
|
|
|
Paul Riley wrote:
alert("I am here"); is one of my favourites
o god! Someone else pointed me to the MS Script Debugger that is on the Win2k Server Resource kit. Has anyone used this?
Paul Riley wrote:
The class HTMLElement has a className property, I would assume you can use that.
Nothing happens! Hence the need for a debugggger!
Thanx
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|
|
leppie wrote:
o god! Someone else pointed me to the MS Script Debugger that is on the Win2k Server Resource kit. Has anyone used this?
Briefly. I went back to alert("I am here");
leppie wrote:
Nothing happens! Hence the need for a debugggger!
alert("class = " + element.className);
Paul
|
|
|
|
|
I just spend over 2 hours trying to find a reoccuring JavaScript error. After 2 hours I realise like all ECMA based languages variables cannot start with numbers! I changed my sequencing from [number][Name] to [Name][Number] and all was OK.
I JUST WANT A DAMN DEBUGGER! How am I suppose to know "Missing )" means "bad varaible name choice"?
Finaly time to relax
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|
|
leppie wrote:
I JUST WANT A DAMN DEBUGGER! How am I suppose to know "Missing )" means "bad varaible name choice"?
You're not; everything in JavaScript is "Missing )", it's part of the C legacy . And a debugger isn't going to help you there either, it's only going to throw the same error on the same line.
However, if you'd written alert(23WhenBadThingsHappen); on the line above it and the same error had moved up to the new line, you might have had an idea... see how great alerts are?
Be alert, the world needs more lerts
Paul
|
|
|
|
|
Paul Riley wrote:
see how great alerts are?
Not when your mouse is registered with plenty clicks , mouseover, mouseouts. Then it gets plain annoying!
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|
|
leppie wrote:
Not when your mouse is registered with plenty clicks , mouseover, mouseouts. Then it gets plain annoying!
Ahh, a fair point. That's just what you get for trying to be too clever with a web page. Go with the KISS principle.
Paul
|
|
|
|
|
<style>
.myClass1 { font-size: 8px; color: white }
.myClass2 { font-size: 10px; color: blue }
</style>
... HTML and BODY tags
<div class="myClass1" id="test" onMouseover="this.className='myClass1'" onMouseout="this.className='myClass2'">
Some weird text
</div>
MSSD (debugger) sux!!! alert() is your best option...plus use syntax hilight so you can catch missing closing quotes and stuff of that nature...that'll save you hours...compared with notepad
Cheers
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Hockey wrote:
Hehe, yes I found out like most attributes, they look slightly different in their property form
Hockey wrote:
MSSD (debugger) sux!!! alert() is your best option...plus use syntax hilight so you can catch missing closing quotes and stuff of that nature...that'll save you hours...compared with notepad
OK, I just dumped the functions between SCRIPT tags below the page header. VS.NET shows it nicely, but something it doesnt recognise, like "class" for example (lame ) and you get halve of the JavaScript underlined in red because of the so-called "syntax" errors.
I notice a schema URL inserted by VS for IE5, but class has been around since IE3 I think. Then it complains I cant place a table between SPAN tags, but DIV is OK (dope).
I somehow remmebr NOT seeing all these syntax underlining before I formated my HDD the other day. I could be wrong, I just started this web stuff a week or two ago...
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|
|
If I remember correctly there was a way you could add to the keywords list by adding them to a file.
Perhaps you can do the same using VS.NET I dunno though...I think most IDE support this undocumented feature...
Perhaps you could do the same for HTML tags and atttributes and such...
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Got a real problem!
Since an abortive attempt to load Netscape on Monday which made my PC restart, I haven,t been a ble to get into InterDev. The Splash screen comes up then I get an Application Error and when I Debug, it gives me the following message:
"Unhandled Exception in DEVENV.EXE(MSENV.DLL) 0x0C0000005 Access Violation"
As well as replacing both DEVENV.EXE and MSENV.DLL I've tried:
1. Rebooting (approx 2,500 times!)
2. Removing and reloading InterDev.
3. Removing and reloading Visual Studio.
4. Re installing Windows 2000 Pro.
5. Re installing IE5.5.
6. RegClean.exe.
7. Praying!
8. Cursing!
....still no Go!
My next move will be to Format the drive and start over, though I am reluctant as I have stuff I don't want to lose and can't easily back up and it would take ages to do.
Then maybe suicide!!!
Any ideas? Any constructive help would be greatly appreciated.
code dope.
|
|
|
|
|
code dope wrote:
maybe suicide!!!
Take up smoking. Bullets and knives are messy, and smoking gives you lots of time to change your mind.
Have you considered re-installing IIS? When does this Access Violation occur? I've never seen this exact error at startup, but I did have trouble initially getting InterDev to connect to my server because the default security setting blocks web publishing. I've also run into a problem trying to delete a folder from a site - the same error message you're getting. Deleting the contents of the folder, one file at a time, then deleting the empty folder worked fine for some unexplained reason. InterDev sux.
Word of the day: Rotundacrat
Extra Credit will be awarded for: Quasimobo...
|
|
|
|
|
smoking...toooo slow! Perhaps Single Malt Whisky in vast quantities would work?
thanx for the reply. I have tried re-installing IIS as you suggested but no good I'm afraid.
It occurs about 10secs after the InterDev splash screen appears, so I guess it's something to do with initialisation of the app itself. I think it happens when one of the functions in MSENV.DLL is called. I've used Dependency Walker on the dll and it checks out OK. I guess perhaps it's calling another dll somewhere which got corrupted when my PC went crazy.
Any more ideas?
You're right about InterDev - it's the spawn of Ol' Nick himself!
code dope.
Life's like a sh*t sandwich - the more bread you got, the less sh*t you gotta eat!
|
|
|
|
|
That's right about the time the New Project wizard should be starting. The wizard code could be broke, I suppose, but at the same time it's also searching for existing projects you may want to open. Have you tried recalculating links in IIS? Or clearing and resetting permissions on each of your websites?
BTW, the whiskey ought to do the job. The last time I had some I was fairly sure I as going to die.
Word of the day: Rotundacrat
Extra Credit will be awarded for: Quasimobo...
|
|
|
|
|
COuld be a physical memory problem? Do you have more than one RAM chip available? My suggestion is to try swop memory perhaps. Or try lower memory timing in BIOS.
Cheers
Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
|
|
|
|
|
Are there any favicon guru's out there? I've put the icon in, but nothing. I even tried using that script you can use to set a different favicon type thing on different pages to force it, but nothing. On the other hand, my CP link has a normal ie icon as well, Bob is gone. Since previous posts on this topic, has anyone come up with a hard and fast way to keep favicon behaving itself? I now don't know if it's my code or browser causing the problem
Thanks in advance
The following statement about your geekness is true. The previous statement about your geekness is false.
|
|
|
|
|
OK, here goes my bit, mite help, most likely wont, but seeing no-one else is offering help, I will give it a shot.
For a favicon to display on a page that page must be in your favourites. Now that I assume you know, BUT my logic tells me that IE saves this icon with the favourite, somewhere down in MS temp wasteland. I suggest you clear your temp and temp internet files, perhaps that works
But saying all this, I have never been able to make it behave nicely either
Format c: ?
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|
|
Megan,
Not sure if you have read this article: Customising your website's Icon in IE5[^], it should do the trick.
HTH
Nick Parker
The goal of Computer Science is to build something that will last at least until we've finished building it. - Unknown
|
|
|
|
|
Try it in Mozilla. If it works then, don't worry about it.
For some odd reason, IE shows favicons for me upon initial installation, and then loses them several weeks later, never to show them again. This has happened on 4 machines and 3 versions of IE so far... For a feature MS originated, you'd think they could make it work a bit better...
Shog9
------
Crazy lady with the shiny shoes, where are you?
Kick your feet and calm the space that makes you hollow
Live, Insomnia And The Hole In The Universe
|
|
|
|
|
Shog9 wrote:
Try it in Mozilla. If it works then, don't worry about it.
I installed Mozilla the other day. Had to reinstall XP to fix all the problems it created. I gathered 4 hours of reinstalling would be the quicker fix!
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|