|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Error Type:Active Server Pages, ASP 0138 --- Multiple Scriptblocks?
I hope this is the right forum, The problem occured when I used FP2002 to create a page to search a database. The purpose was to see how it worked and the code behind it so I could start learning how to work it myself.
But before I got that far, I get an error message: HTTP 500.100 - Internal Server Error - ASP error Error Type: Active Server Pages, ASP 0138 (0x80004005) A script block cannot be placed inside another script block. Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) (Mozilla/5.0 came back with the same message) But unless I'm mistaken (and I probably am), the only scriptting on the page is this: <SCRIPT Language="JavaScript"> document.write("<div style='background: yellow; color: black;'>The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.</div>"); </SCRIPT> This isn't making a whole lot of sense to me... and as an FYI... The server does support .asp (the site was designed with that in mind), so there shouldn't be any conflicts. Thanks for your thoughts |
|
#2
|
||||
|
||||
|
|
|
#3
|
|||
|
|||
|
Thanks, they did have a ASP 0138 page, but I had to add a new twist to it. In my case Front Page reverts the code back to whatever it wants when saved... I think I'm going to try to learn from other avenues that creating the page in FP. Again, thanks for your help.
|
|
#4
|
||||
|
||||
|
may I suggest Dreamweaver? been using it for 4 years now after using FP for 2 and have no complaints.
Take a look at their trial version at http://www.macromedia.com/downloads |
|
#5
|
|||
|
|||
|
FP is the department standard, maybe next time around, if I'm still here, we can look into that. But we can't afford to buy anything right now. FP2002, isn't all that bad (fixed alot of the buggy stuff that was in 2000, like chaging code when you saved), and its what I have to use.
|
|
#6
|
||||
|
||||
|
no problem, and glad to have helped. (if I did at all)
|
|
#7
|
|||
|
|||
|
It did teach me not to rely on FP to create something I can learn from ;p. And it did give me a place to go when I have questions in the future.
|
|
#8
|
||||
|
||||
|
here's another place to go if interested: (you can find me there in the .asp forum but they're down right now which it's rare)
http://www.tek-tips.com member since 1998 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Error Type:Active Server Pages, ASP 0138 --- Multiple Scriptblocks? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|