asp-classic

receiving xml from another website's call to ServerXMLHTTP post in classic asp

风流意气都作罢 提交于 2019-12-30 11:35:31
问题 I am writing both sides of an ASP-webpage to ASP-webpage conversation in which the originating webpage pushes information to the receiving webpage which then processes it and sends back a response. The originating webpage must use the code below to start the converstation: url = "www.receivingwebsite.com\asp\receivingwebpage.asp information = "UserName=Colt&PassWord=Taylor&Data=100" Set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST", url, false xmlhttp

receiving xml from another website's call to ServerXMLHTTP post in classic asp

大憨熊 提交于 2019-12-30 11:35:11
问题 I am writing both sides of an ASP-webpage to ASP-webpage conversation in which the originating webpage pushes information to the receiving webpage which then processes it and sends back a response. The originating webpage must use the code below to start the converstation: url = "www.receivingwebsite.com\asp\receivingwebpage.asp information = "UserName=Colt&PassWord=Taylor&Data=100" Set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP") xmlhttp.Open "POST", url, false xmlhttp

Server.CreateObject Failed in Classic ASP

我们两清 提交于 2019-12-30 11:15:14
问题 I created the ASP.NET dll with one function that i need to use in Classic ASP page. I used the below code for creating object in classic asp page set PeopleSoft = server.createobject("OPS.PSL") I am getting the below error while executing Server object error 'ASP 0177 : 80070002' Server.CreateObject Failed I searched in stackoverflow i saw some solution. By enabling the "Make assembly COM-visible" and "Register for COM interop". Please Help me to come out from this issue 回答1: You have to

will visual studio 2010 support classic asp?

纵然是瞬间 提交于 2019-12-30 07:52:46
问题 I'm using visual studio 2008 for a classic asp application. Will I be able to upgrade to visual studio 2010? 回答1: Yes, classic ASP can be developed just fine in VS2010 as it does in VS2008 SP1. 回答2: I've found this msdn page http://msdn.microsoft.com/en-us/library/ms241740.aspx it says: Although the primary focus of Web debugging in Visual Studio 2010 is ASP.NET, you can also debug legacy ASP Web applications. ASP Web applications consist of scripts, which run on the client in .htm files and

will visual studio 2010 support classic asp?

点点圈 提交于 2019-12-30 07:52:35
问题 I'm using visual studio 2008 for a classic asp application. Will I be able to upgrade to visual studio 2010? 回答1: Yes, classic ASP can be developed just fine in VS2010 as it does in VS2008 SP1. 回答2: I've found this msdn page http://msdn.microsoft.com/en-us/library/ms241740.aspx it says: Although the primary focus of Web debugging in Visual Studio 2010 is ASP.NET, you can also debug legacy ASP Web applications. ASP Web applications consist of scripts, which run on the client in .htm files and

XML response from asp page

独自空忆成欢 提交于 2019-12-30 07:49:19
问题 I have been trying to send xml message from php to asp and output response to my php page using CURL but having no luck in receiving any response. This is what I have tried: <?php $url = "https://someweb.asp"; $post_string = "xmlmessage=<?xml version='1.0' encoding='UTF-8'?> <abc> <UserId>123</UserId> </abc>"; //$header = "POST HTTPS/1.0 \r\n"; $header = "Content-type: text/xml \r\n"; $header .= "Content-length: ".strlen($post_string)." \r\n"; $header .= "Content-transfer-encoding: text \r\n"

How can I create a PDF file in classic ASP?

心已入冬 提交于 2019-12-30 06:40:46
问题 Is there any way to generate PDF files from classic ASP? I have a bunch of user-entered data that needs to be turned into a PDF that the user can download. How can I do this? OpenOffice allows exporting documents to PDF, so could this somehow be leveraged? 回答1: I played around a bit with this (Persits ASPPDF): http://www.asppdf.com/ 回答2: Maybe running an external application that could be using CrystalReports... and you just pass it as an xml? That's how i would do it... (lazy mode) 回答3: See

Retrieve ADO Recordset Field names (Classic ASP)

早过忘川 提交于 2019-12-30 06:11:11
问题 I wonder if someone can help: Long story short, I'm using MSSQL2005 to build a Pivot table. The data being examined is limited by date range (All data for 1 week starting from the nearest Monday to the date selected) When I run the Stored Proc and pass it a date, I get The correct table back eg: Time | 1 Jan 09 | 2 Jan 09 | 3 Jan 09 | ... 09:00 | 0 | 9 | 25 | ... 09:30 | 8 | 27 | 65 | ... 10:00 | 20 | 44 | 112 | ... (Apologies for the atrocious "table" formatting). The only problem I have is

Classic ASP Sending errors to browser does not work on IIS7 for remote connections

谁说胖子不能爱 提交于 2019-12-30 02:44:07
问题 I can’t get detailed error reporting for IIS7 for ASP pages on a remote browser connection. However, when I run the page locally on the server I do see a detailed error message. I have enabled Send Errors To Browser but IIS keeps sending an internal server error. I have unchecked show friendly HTTP error messages on IE. Does anyone know how to enable error messages to be sent to a remote browser? 回答1: If "Send Errors To Browser" is not working set also this: Error Pages -> 500 -> Edit Feature

ASP Classic setup issues

老子叫甜甜 提交于 2019-12-29 09:45:14
问题 I am a complete novice to Classic ASP and have been trying to set it up, but I keep running into an error message. I am using IIS7 on Windows 7 and have made sure that IIS is installed, etc. I have created an application that resides in C:\inetpub\wwwroot and in that directory I have a file called page.asp . However, whenever I go to my browser which is Chrome and type in localhost it shows me the blue IIS page but when I type in localhost/page.asp it gives me the following error message: An