When strLocalComputer contains the local computer name, we get the
requested page. But if we use the IP address of the local computer we
get the error :
msxml4.dll (0x80072EE7)
The server name or address could not be resolved.
We manage to run the URL with the IP address from a browser on the
server but not from a browser on the local computer. Any ideas ?
Hi. We have an old ugly application that uses ASP 3.0. We had to move it to another server recently (basically by copying it and setting up in IIS), and as we did, we started experiencing problems with VB.
The code that somehow worked on the old server produces errors. The most frequent example is If Request("ddlFilter") then .... It worked on the old server, now it gives us a type mismatch error. Also, the errors about index not being in the collection (such as recordset column) were swallowed (didn't occur) before and now they actually occur, overall it's like VB went to "strict mode" or something.
How do we make it lax again? Rewriting all that legacy code will be a pita
I am trying to configure a new site with IIS. I set up the virtual directory. When I tried to view it, by typing the ip addr. it does go to the index.shtm, but goes to another page.
Then when I tried to view the index.shm it shows only the html content. It gives a file not found error for the Virtual Incude (asp ) files. Is there something to be done to view the virtual include files?
I'm using ASP to design a website. I know that I can keep some configurable values, such as Server Name, Database Name and even Login Username and Password in "web.config" under ASP.Net. As to ASP, is there a way like this? I'm curious about where to keep them.
I have looked everywhere for asp code that would allow me to change the look of my IIS server generated directory listings. Eventually, I would love to change what is listed dynamically based on permissions, and allow uploading in the current directories.
I think this error that I am receiving is a simple one to resolve.
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
I have downloaded and installed the latest version of MDAC but the error remains.
I am attempting to configure IIS on a different drive ( E:inetpubwwwroot, instead of c:inetputwwwroot ). Could it be that SQL, ASP and IIS just have trouble talking across multiple drives? ( I have sql installed on a third drive ).
I am trying to create a product configuration tool and I'm not sure where to start. I have made a database with 4 columns..ID, component, compdescription and compcode. There are 8 different componets to configure on the product and the compcode holds the letters and numbers that eventually make up the part number when you make all your selections.
I want to be able to select one thing from each component category and submit to the database which will return a part number. I thought the easiest way to do this would be with 8 different drop down menus filled with all the options for that component category.
i have downloaded the elijathegold's flexisearch coding, but when i create the database and the table DisWords, and change the database connection from
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name too long /flexisearch/flexitestbed.asp, line 54, hope the creator elijathegold or someone else have tried this fleixsearch can help me with this, thx a million
when I tried to run my ASP,I'm getting an error and to fix it, I need to run the configuriation file.but tnsping is not installed proper it seems.So can any one plz tell me the procedure to regenerate the oracle control files on WinXp?
Everything appears to be (mostly) there, with one significant annoying exception. I've set up "mydomain.net" as a forward lookup zone in the DNS console.
I've set up admin and www as hosts, so that I have subdomains: people can visit www.mydomain.net and admin.mydomain.net without a problem.
I have each of these listed in IIS as host headers entries, so that the webserver correctly differentiates the traffic. This all seems to work fine. People can go to http://www.mydomain.net/index.html and they're served a webpage. Code:
i am testing the sending email when u submit a form .. but i am getting an error:
<% Set myMail=CreateObject("CDO.Message") myMail.Subject="Email Send" myMail.From="quince_103@hotmail.com" myMail.To="qb_103@hotmail.com" myMail.TextBody="This is a message." myMail.Send response.redirect("index1.asp") %>
the error is:
Error Type: CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid. /middle/email.asp, line 7
I am having a problem here to send my asp form to my email! I am using CDONTS under w2k and IIS! when i submit the form, all of the message (that suppose to go to my email), went to the queue folder under wwwroot!! nothing appear to my yahoo email also... that means that my script is working...but only the configuration is need to be adjust here!
the thing is that i dont know how to configure, setup or setting the configuration for Exchange server! since my organization uses exchange server instead of the SMTP!
I wasnt really sure where to put this thread so I have put it in both ASP and DNS forums - i hope this is ok. My problem feels incredibly complicated so Im hoping that someone on one of the forums might know a few things .
Im interested in getting remote data off of a URL using ASP. There is an article about it at the URL below: Code:
Trying to send email via a form from my website. Have to use .asp and I have been round and round the houses trying to get this to work.
On my xp pro system using IIS this works - an email appears in the folder
When it is hosted I get this error message. I understood that I didn't need to set up any details about the host of the website. Lots of seaches suggest putting in the smtp address but I am not sure what to do. I have also seen a lot of talk about CDO.configuration but again despite searching I can't find out what to do.
Am using MSXML4.0 serverXMLHTTP for communicating with a remote server. Using POST method of serverXMLHTTP to post a xml string but after calling send method its give "HTTP 1.1 405 method not allowed" in response status text.
I've two Win2000 Advanced Server (ServerA and ServerB) both part of an Active Directory. The Active Directory Server is named ServerC.
On ServerA I've published an asp page PageA.asp inside a virtual directory VirtuaA. On ServerB I've published an asp page PageB.asp inside a virtual directory VirtuaB.
Inside both server I've installed Microsoft XML Parser 4.0 sp2
Both virtual directories have setted Windows Integrated Authentication.
PageA.asp has to get PageB.asp using ServerXmlHttp object and to show its contents.
When I try to get PageA.asp from any client part of the same active directory I obtain an error: I'm not authorized to get PageB.asp.
I've tried to use every solution founded on previous posts:
- proxycfg -d -p " " "*" on ServerA
- flag "trust for delegation" on Active Directory Control Panel of ServerC
- ASP instruction .setProxy 2, " ", "*" inside PageA.asp
I've been experimenting with both ServerObjects' AspHTTP and Microsoft's ServerXMLHTTP to access IMail. They both work fine, except for one weird thing.
To log in to IMail via login.cgi, it takes ServerXMLHTTP about 30 seconds. It takes AspHTTP about 1 second. Accessing any other IMail page, the two are virtually identical. But the login page is unacceptably long for ServerXMLHTTP.
I have been reading these posts and I thought I may be able to use serverXMLhttp for my current problem.
My company requires all of their divisions to use the same template for intranet sites. They (corp IT) changes this template often. I can use serverXMLhttp to read the their site and dsplay everything. My problem is the .js and .css include files they use. How can I get this info into the correct format in my page and change their relative image links so that I can use their images.
I will have a few minor edits for links and one image change. I assume that can be done through Replace()
I want to use HEAD instead of GET in order to save bandwidth. I don't want to retrieve the full html of a page, just the HTTP header to know that a file exists:
HTTP/1.0 200 OK or that a file is not found HTTP/1.0 404 Not Found
This is for a link checker that I am writing. Does anyone know what I am doing wrong or does this object not recognise the HEAD parameter?
I'm trying to use a ServerXMLHTTP connection in async mode to request Page2.asp from Page1.asp. Both pages are inside 2 different virtual directories with Windows Integrated Authentication but the user who requests Page2.asp is different from user has requested Page1.asp.The user of Page2.asp is IWAM_machine_name. If I use ServerXMLHttp in standard mode there is no problem.
this code works with msxml4, but found out the server it ultimately will sit on only has ver 3 and they won't update. so, this code fails on the bold line and i can't figure out why.
Code: Set httpReq = Server.CreateObject("MSXML2.ServerXMLHTTP" ) Set myXmlDoc = Server.CreateObject("MSXML2.DOMDocument" ) httpReq.Open "post", webServiceUrl, False httpReq.setRequestHeader "Content-Type", "text/xml" httpReq.setRequestHeader "SOAPAction", "soapserver/soap:CreatePreview#CreateGraphics" httpReq.Send soapEnv 'fails here returnSoapEnv = httpReq.responseText
I'm trying to use ServerXMLHTTP on an ASP (not ASP.NET) page to retrieve large binary data from a remote server. When the request is large (more than a few megabytes), the ServerXMLHTTP page jumps to nearly 100% CPU utilization for an unusually long time. The remote server needs a few seconds to prepare the request, during which time the CPU seems OK. It seems that as soon as the data is ready to retrieve, the CPU usage jumps and remains that way until the data has all been copied to the requesting server. That takes way too long - about 35 seconds when requesting a 12 MB file over a gigabit Ethernet.
I use ServerXMLHTTP hundreds of thousands of times daily on this same system on the same network, with absolutely no problem - but for smaller requests. There's something about the size of the request that makes it blow up.
I saw some reports of older systems with this problem (Windows 2000), but I'm running IIS 6 on Windows Server 2003, SP1.
I have been using the following code to access a remote url, which works fine, but if the remote "geturl" does a redirect (as the page in this code does), I have know idea what the redirected url is. Page still displays, (including the html source code), but I cannot determine what the base href is (that is, I don't know the url of the page being displayed, since is is a redirected page).
I've used MSXML2.ServerXMLHTTP in ASP to write a link checker. It checks a list of URLs stored in a db and flags any websites/webpages that are down. Since I am only interested in whether the page is up or not and not in the actual HTML, I use HEAD instead or GET.
Code:
Set getPage = Server.CreateObject("MSXML2.ServerXMLHTTP") getPage.Open "HEAD", URL, false where getPage is my object, URL is the URL to check and I can also do
which checks the URL using the username and password supplied. Everything works as expected but my problem lies in the fact that the password is in plaintext in the ASP page. It is not good security practice to have an ASP page contain a username/password combo in plaintext. This means that if someone had file access to the ASP page (intranet) then they could see the username/password pair which we want to try and avoid.
Does the HTTP standard only allow for username/passwords to be sent in plaintext?
I'm trying to integrate portions of a page on one domain into another domain. The goal is to use a rate calculator on the remote site to produce quotes on the main site. I have permission to do this. I'm using MSXML2.ServerXMLHTTP and it's working quite well except that I am unable to set a session cookie that seems to be required to generate a PDF on the remote site.
I've tried passing the session cookie thru MSXML2.ServerXMLHTTP, but that doesn't work. I've tried setting a cookie using ASP but it seems that PDF generation on the remote site requires the session cookie from the remote domain. I've tried setting a cookie with the domain property set to the remote site but the cookie is never written. I think this is a security feature in the Http Session State.
Is it possible to set a session cookie in MSXML2.ServerXMLHTTP with a remote host/domain? Can ASP be used to set a cookie with a domain other than the requesting domain? There seems to be a property to do this but I haven't been able to get it to work. Any other suggestions?
On server A I've a web application WA1. Inside WA1 there are a virtual directory VD1 and an ASP page named page1.asp. Inside VD1 there is another ASP page named page2.asp.
page1.asp makes a ServerXMLHTTP requests for page2.asp.
If Debugging Flags on WA1 are enabled the request seems to be blocked, if those flags are disabled everything seems to be ok.
I am trying to use ServerXMLHTTP to post data containing Japanese characters, but the data posts as question marks, boxes or just random ascii characters. Here is the code I am using:
Consider the following simple function to get the contents of a remote URL:
Function GetURL(str_URL) Set obj_XMLHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.3.0") obj_XMLHTTP.Open "GET", str_URL, False, "", "" obj_XMLHTTP.Send GetURL = obj_XMLHTTP.ResponseText Set obj_XMLHTTP = Nothing End Function
Is there anyway that I can use a remote proxy server to make the request?