Accessing A Web Service From An Active Server Page
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.
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'm using web hosting services of a company. I try to connect to a remote SQL Server from the hosting account. But they told me I must use a "proxy aware" code to connect to the SQL server through their proxy server.
How can I do this? I searched the Internet and can only find a webproxy class. But the code is written in ASP.Net which I'm not familiar with. So anybody can help me and give me some ASP example code?
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 am trying to access a .NET web service over https:// using Microsoft.XMLHTTP but I am receiving "A security problem occurred. , Number=>-2146697202" error. I guess it is bacause of https certificate challenge. Is there a way to accept the certificate in ASP.
I have written a script to update user information in the Active Directory using ADSI. Here is part of it:
Set User = GetObject("LDAP://<GUID=" & GUID & ">")
User.Department = DepartmentName
User.SetInfo
Set User = Nothing
This works fine unless DepartmentName is an empty string ("").
Then I get error 0x8007200B: "The attribute syntax specified to the directory service is invalid." This happens with all the attributes I have tried, including TelephoneNumber . Do I need to delete the value of the attribute instead of setting it to an empty string? If so, how do I do it?
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?
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 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 developeing a dynamic website and want to know all the informaton about the server ie OS, Service Pack installed, IIS info and many others. So is there any script for retrieving such type of information of the server on the client side. basicaly i want to use it in ASP.
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.
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?
Development environment: Windows 2003 Server running IIS6 and the same server running as a domain controller, DNS and DHCP servers.
Production environment: Windows 2000 Server SP4 running IIS5 and not used to provide domain control or name services.
The two environments are on different networks with no trust relationship between them. In both environments the web server is set up to disallow anonymous access and to use integrated Windows authentication. The application is vanilla ASP (i.e. not .NET) VBScript.
In the development environment, the following code runs flawlessly no matter whether "myUNCPath" points to a share on the web server or a share on another server in the same domain.
Set objFilesys = Server.CreateObject("Scripting.FileSystemObject") If Not objFileSys.FolderExists(myUNCPath) Then Set objFolder = objFileSys.CreateFolder(myUNCPath) End If
However, in the production environment it falls over with a permission denied error when "myUNCPath" is on another server and further testing shows that the FolderExists method is returning false even when "myUNCPath" exists. The network share is configured to give full control to the Everyone group.
I've found http://support.microsoft.com/kb/207671 which although referring to IIS4 suggests that the issue could be the authentication method (I'm assuming that integrated Windows authentication is close enough to NT Challenge/Response and so might generate a token that cannot access network resources). I'm not sure of this is the problem because if it were then the code shouldn't work in my development environment.
Any ideas on what's going wrong and how to access the network resources in the production environemt?
I am trying to access a LDAP server with ASP with no sucess. I can do it with ColdFusion but not ASP. All the examples I have seen so far do not use passwords or userid's. My LDAP server requires password and user credentials. Can anyone point me in the right direction.
I am trying to execute some code from an ASP page which connects to the database.I am getting the error message from SQL Server.The error message is:
Microsoft OLE DB Provider for SQL Server error '80040e14'
The specified schema name "aspSchema" either does not exist or you do not have permission to use it.Can someone please tell me why I am getting this error and how to solve it?
I have developed a fairly simple CMS for my intranet at work - I would like to have a "Request a photographer form" that e-mails me the posted data by utilizing our intranet exchange server, if possible.
I'm not really looking to code this but I will if I absolutely have to =) Anyone know how to do it or where I can find a simple form script that does? I have found lots that work with sendmail and other types of servers but none for exchange.
I'm working on creating a search functionality. I have keywords of articles in one column of a SQL server table, and the search terms of the user is hitting that column.
It works but I'm stuck on how to determine relevancy. I know you can create indexes in SQL server, and if it works anything lik Index Server, I was thinking that I could connect via ADO and determine relevancy.
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.
I am getting a 404 error when trying to access an ASP page from a remote machine (via Internet Explorer). However, the asp page is processed successfully when accessing this page from the local machine.
I checked permissions from IIS administration and from explorer and nothing seemed out of the ordinary. Other ASP pages work from other virtual directories, but for some reason this one does not.
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 want to be able to client process of the ASP page to get the value populated in Request("rssFeed"), how can I do this because the Request object is not available to the Client-side.
My ISP provides some scripts that allow control of the server by using scripts that are accessed via http. I want to be able to access these scripts from an ASP/Jscript application but I don't want the command displayed in the address bar of the browser. Adds a mail alias fred to user@domain.dom . I think that this can be done with fopen in PHP but I don't know how it is done with ASP.
I am unable to access an Access database through a webpage I built, but only if the database is on a server running Windows NT 4.0 Server. If I copy the database to a pc using NT Workstation then there is no problem. I have a user account set up on the sever as IUSR_pcname. It is a domain user with full privileges. This is the connection code:
I have read that there can be a periodic problem when reading large varchar or text fields from SQL server (or memo fields from Access)--they can sometimes come up as empty strings.
What I have been unable to find out is whether this problem is still around in recent versions of MDAC (>= 2.8). Does anyone know whether this problem still occurs--is it still necessary to follow the steps in that aspfaq article?
I have created a asp project local.and have created a access database local. Iam trying to use the access database from the asp page. But It is not accessing the database file.
once i changed the rights of the access file and checked it.It inserted the records.And after some time, iam not able to access it.some times it accesses and some times it doesnt.
My form contains a drop down list of univ. campuses and depending upon the campus user is selecting, I am selecting the courses offered in that campus from database (MS Acccess) and showing those in a different drop down list below.
Is there any way that I can access that campus-list value before submitting it to database?
Also, please give me solutions in VBScript and no javascript. That's my Prof.s restriction. One of my friend told, there is no way this can be done. But I am sure there must be some solution. Microsoft is not that less creative.