ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 12th, 2003, 01:29 PM
jtenneson jtenneson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 30 jtenneson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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

Reply With Quote
  #2  
Old November 13th, 2003, 09:27 AM
<%=RS("Tony")%>'s Avatar
<%=RS("Tony")%> <%=RS("Tony")%> is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: <%=Online all the Time%>
Posts: 18 <%=RS("Tony")%> User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0

Reply With Quote
  #3  
Old November 13th, 2003, 11:14 AM
jtenneson jtenneson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 30 jtenneson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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.

Reply With Quote
  #4  
Old November 13th, 2003, 11:21 AM
<%=RS("Tony")%>'s Avatar
<%=RS("Tony")%> <%=RS("Tony")%> is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: <%=Online all the Time%>
Posts: 18 <%=RS("Tony")%> User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #5  
Old November 13th, 2003, 11:23 AM
jtenneson jtenneson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 30 jtenneson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 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.

Reply With Quote
  #6  
Old November 13th, 2003, 11:34 AM
<%=RS("Tony")%>'s Avatar
<%=RS("Tony")%> <%=RS("Tony")%> is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: <%=Online all the Time%>
Posts: 18 <%=RS("Tony")%> User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
no problem, and glad to have helped. (if I did at all)

Reply With Quote
  #7  
Old November 13th, 2003, 11:35 AM
jtenneson jtenneson is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 30 jtenneson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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.

Reply With Quote
  #8  
Old November 13th, 2003, 11:38 AM
<%=RS("Tony")%>'s Avatar
<%=RS("Tony")%> <%=RS("Tony")%> is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: <%=Online all the Time%>
Posts: 18 <%=RS("Tony")%> User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Error Type:Active Server Pages, ASP 0138 --- Multiple Scriptblocks?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway