Error Type:Active Server Pages, ASP 0138 --- Multiple Scriptblocks?
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: Code:
I just upgraded an NT IIS server to 2003 and IIS 6.0 now my Active Server Pages .asp pages do not load or open in the browser I get 500 Error Server Error. Yet and htm page will open. What do I need to change? or configure?
i am gettin this error...which i never got. Active Server Pages error 'ASP 0201' Invalid Default Script Language The default script language specified for this application is invalid.
We have Windows 2003 Server as our SUS server. When we try to approve updates, etc., we receive the following error message. Has anyone experiences this before? If so, can you tell us what needs to be fixed?
Active Server Pages error 'ASP 0126'
Include file not found
/autoupdate/administration/shared/inc/publish.inc, line 2
The include file '/shared/global.asp' was not found.
I have an ASP form that uploads files to our server.When I upload small files, it works great.But larger files like (2.5mb), I get:
Active Server Pages error 'ASP 0113' Script timed out
I have looked up the error, and added more time to the script (up to 10 minutes). Didn't help. We are using Microsoft Server 2000, IIS 5.0, and Microsoft ASP Upload.
My guess is that there is a file size limitation somewhere, but don't where.
w2k server... after rebooting the event viewer/application log shows multiple restarts of Active Server Pages and they continue to build in memory as each start produces a IWAM_SERVERNAME in the task manager.
there might be 10 - 20 starts without a stop... when I restart iis services it takes a long time as each started service is stopped and the associated IWAM_SERVERNAME is closed.
this seems to be something new and when checking other w2k servers it is unusual.
I'd like to use XMLHTTP to retrieve two .cav files, store them as arrays (or cursors), join them and execute an SQL query. Can this be done using script in an .asp page? What objects and procedures should I focus on?
This error occurs while trying to execute a asp file which write content into a excel file. strangly it occurs once in a while. what could be the cause?
Running W2k Server SP4, my application event viewer says that the Active Server Pages service is stopped.How and what do I need to do to start the service, and why does it stop?
I got this book for some time. I need to download the source code for this book. However, Wrox, the publisher, does not have download code for this book. Could anybody suggest any site from where I can get the download of source code for this book?
This New Company I'm with Sets their Default WebSite to a local Directory on "D" Yea I've been down the whole route reinstalling XP Pro,,, IIS 5.1 The .NET framework everything. Now I'm just frustrated.
What the Heck !! Theres a web project (C# ASP.net) in the solution containing many many some odd 19 or so projects. MSVSS is additionally in the picture to make things a little more complex. (I.E. the non web projects go elsewhere on the D drive) All I'm asking for here are the BASIC Settings to get my DEV environment and my IE to "SEE" this D:Web folder as Localhost. It worked for a sec. A very brief second. Then it was Gone. Specific ERROR:
Could not load type 'appname.web.Global'. Parser Error Server Error in '/' Application.
When I execute this code, I receive this error on line 314: [Microsoft][ODBC SQL Server Driver][SQL Server]Error converting data type varchar to int. Line 314 is the classComm.Execute line. All the datatypes in my stored procedure those specified in the parameter declararations, and they all match with the datatypes in the DB. Other than the strings that are integer (strClassID) or date (strOccurDate), everything is a varchar.
I have no idea why this error is occurring. I have a similar stored procedure that adds the records in the same way and it kicks out the same error at the same time.
I got a problem while running an application. The code for this is as follows:
aList = Split(strMsg,";") For nX = 0 to UBound(aList) strarry=split(aList(nX),"_") var_year=left(strarry(2),4) var_month=mid(strarry(2),5,2) var_day=mid(strarry(2),7,2) var_date=var_day&"-"&var_month&"-"&var_year var_time1=mid(strarry(2),9,2) var_time2=mid(strarry(2),11,2) var_time=var_time1&":"&var_time2 set rs1=conn.execute("insert into tbl_BackupfileInfo(Filename,Createddate,Createdtim e)values('" &aList(nX)&"','"&var_date&"','"&var_time&"')") Next
while runnig this application some times it works fine .But some times it giving an error
Error Type:Microsoft VBScript runtime (0x800A000D) Type mismatch: 'UBound'.
I have created an Active Server Component (ASC) as a bridge between ASP and my existing C++ DLLs that we use in our PC-based program. Our intent is to re-use as much code as possible. But, when I call the ASC from ASP, and then call the DLL, the security profile that is specified in IIS is no longer associated with the process, and therefore, any "network-related" calls fail due to insufficient privileges.
I don't know if there is "another" way to call the DLL from the ASC or not, or any way to specifically load a DLL with a certain security profile.
I have implemented a Web Service on an IIS 5.0 platform using the ASP listener I can access the Web Service just fine from a VB 6 App and classic ASP using the SOAP 3.0 toolkit and its "MSSOAP.SoapClient30" object
However, one of the servers that I'd like to call the Web Service from is a shared hosting platform that does not offer the "MSSOAP.SoapClient30" object It only has the MS XMLDOM. I have located an example of Accessing a Web Service via the MSXML DOM from an Active Server Page where the Web Service is on a .NET platform (http://home.att.net/~codeLibrary/ASP/ws.htm
But I need to know how to access a Web Service from an Active Server Page with the MS XMLDOM where the Web Service is implemented using classic ASP.
Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.
I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.
If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.
I create an ASP application for Windows 2003 server (Czech) with Exchange 2003. When I want to create new user in Active Directory from my application- this error occurs:
Active Directory error 80070005' General Access error denied
Web application runs under ADMINISTRATOR account and problematic code is:
Set oOU = GetObject("LDAP://test.test.cz/ou=skup,dc=test,dc=test,dc=cz") Set oUser = oOU.Create("User", "cn=" & "Test" & " " & "Tester") oUser.Put "sAMAccountName", "Test13" oUser.SetInfo
I need to have some dynamically created ASP, with mutliple word documents and PDFs all connected so that it can be printed with a single print command. My two ideas are: having the PDF and DOC files act like images and print entire thing as a web page. -Or- Creating a single PDF file from the concatenation of the asp results and the doc and pdf files.
I have an ASP page a.asp. The user fills many inputs (say,P,Q,R,S) in the <FORM> of a.asp. Is there any way of submitting the values P,Q,R,S to b.asp as well as c.pl(Perl file) with a single submit button?
I need to submit the values to the perl file as I have to send the values of P,Q,R,S through email and the email-application is in perl.
I am using some flash movies & images in a many pages of my site. (like page1.asp, page2.asp, page3.asp)
The problem is when I browse one page to another (redirecting from page1.asp to page2.asp) the other page is again start downloading these images & flash movies. But they are already downloaded by previous page (page1.asp)
Is there any way that to save time, I use the same media (images & flash) that are already downloaded by first page.
While for variables, we can do that by putting them in session. But for media...any know any way....
I would like to add multiple pages to this searchresults page, where i just show 10 pages per page.
The details for the sql statements need to be passed forward onto the second results page. Initially this is where i was going wrong.
I have completley striped the multiple pages section to leave just a simple results page.
Initially if i had opened the connection via a select * recordset i would have no problems but in my sql statement i have it using information from previous page. e.g Code:
select * from prospect where number = '" & requst.form("search") & "'
I would be really grateful if someone could show me a simple way of having multiple pages while passing the variables forward as i could not get it to work my way.
I am posting the whole page because of the ammount of code and it is better than pasting multiple replies of code.
This is my first post to this newsgroup, I have question regarding showing resultset to html. Let's say I have in resultset 200 rows, and I'd like to show on each page 10 of them, so it could look like for example google search results:
Results 1 - 10 of about 17,700 for "asp search engine" [results] Result Page: [1] 2 3 4 5 6 7 8 9 10 Next
i got a list of checkboxes and radio button with the recorset paging function. let said i got the paging list << 1 2 3 4 5 >>. i set each page is 10 records. and every record got one checkbox for DELETE ID usage.
in the first page, i check 5 records, then i go to second page, i checked another 5 records. but why it cant keep the value for the first page 5records when i go back or go to next pages?
I am processing a recordset on an ASP page and this works fine, However within the loop of the recordset for each record I also want to output the details onto another page in a slightly different format. How do I make a reference to the second page building the details from the first page?