Connecting To Localhost
I have got a scenario where an asp script needs to request via xmlhttp a file sitting on the same server. The code all works find on my local machine. However, on the hosting server, it does not. The problem is that I am on a shared server and the server can't "see itself", i.e. it's probably blocked by the host to receive request from itself. The problems comes in as the server will hold multiple sites and use host headers to channel request. I thought of using "localhost" and some kind of header sending scenario to get the server to go to the correct subfolder/virtual host. However, googling has not brought up much.
View Complete Forum Thread with Replies
Related Forum Messages:
Localhost/IIS
I am trying to test a website that uses ASP on my PC. I am running Windows 2000 and have IIS 5.0 installed.The first page is a form where the user enters a password. When the form is submitted the progress bar indicates something is happening, but I can leave it for 20 minutes and the file has not loaded. I am using the URL http://localhost/webname /. I have tested it on 2 servers and the script works. I have had similar problems with other ASP pages and assume the problem is something to do with IIS.I have tried re-installing IIS.
View Replies !
Localhost
All this while I have been running my ASP pages on the webserver. In the web server, I can access the web server through the Internet Services Manager. Now I want to access these web pages locally, so that I do my development locally and then when it works, I move to the web server. I have Windows XP Professional 2002 How can I access the web services within this machine? When I type in http://localhost in this machine, i get the message-Page cannot be displayed. Cannot find server.
View Replies !
Localhost...
I just bought a new computer with win XP PRO. I'm trying to set it up so that I can use it as a local host and with IIS etc. I don't really know where to start. How do I start running IIS? At this point, pointing to localhost doesn't work but I'm not sure what I'm supposed to be doing.
View Replies !
Localhost ..
I have downloaded this example from this site http://www.iisworks.com/fileman/ i have tried reading the install guide but i still dont understand. I manage to set up localhost in my pc. Anyone who is kind enough to guide me thru step by step....
View Replies !
Localhost
I like to learn ASP and database related, how do I practice it at home using XP pro? Like with PHP I use localhost and stuff.
View Replies !
Localhost
Is there a way I can run ASP on my localhost? I run a valid copy of Win XP pro, but I do not have the CD as it is a pre-installed version on my Dell Latitude. So, is there a way I can run ASP?
View Replies !
Sessions With Localhost
I am working with sessions to check if the user is logged in. This usually works fine and all my .asp-pages checks if: <% session.Contents("loggedIn")=True %> But this only works on my web-hotel When I run the same pages on my localhost, it can't find any sessions and I appear to not be logged In. I have tried to set my localhost on the "trusted sites" list and "always allow" in "override cookie handling" in my Explorer.
View Replies !
Localhost Is Not Being Recognised
when I run my asp programs, suddenly I'm getting the page "page can not be displayed" when it worked fine till the previous day suddenly what made those pages to be not recognized I didn't understand. the browser is atleast not able to recognise the "localhost".
View Replies !
IIS Version 5.0 Will Not Run ASP On LocalHost
I have a new ASP project that I need to desperately test on my Windows 2000 machine before posing to my Hosting Company. I am having problems getting the ASP pages to run from LocalHost. I will attempt to give as much information of what I have done to try to correct this without success. First my setup. Windows 2000 Professional with Service Pack 2 installed. IIS is installed. I have turned off the firewall just in case that was a problem as the laptop is operating as a stand alone and not on a network at this time. I also have VB6 with Service Pack 6 installed. I will explain later why that my be pertinent. The error that I am getting is: The Page Cannot Be Displayed. with a HTTP 500 error. This occurs every time I try to access a ASP page. HTML works fine from LocalHost. Code:
View Replies !
Localhost Slow
I'm trying to surf on a website on winXP, but IIS response is very slow. It doesn't load a lot of images (red x). Besides, it alerts always there's no connection (from each page to the following), asking whether I want to connect. The browser keeps waiting for images then it fails. What can I do?
View Replies !
Localhost Access Is OK But Not IP ADD
I developed a small asp application. My problem is that everytime I use LOCALHOST, accessing and adding data on the database is OK but if I use the IP ADDRESS for accessing the website it would generate this error Error Type: Microsoft OLE DB Provider for SQL Server (0x80040E4D) Login failed for user 'MYSERVERIUSR_MYSERVER'. /o/dog_evaluation/add_dog_db.asp, line 22 The connection string on my page is this conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open "Provider=sqloledb;Data Source=MYSERVER;Initial Catalog=dog_evaluation;Integrated Security=SSPI;"
View Replies !
Localhost 404 Error
I get the 404 file not found error message when I try http://localhost/xxxx.asp I've created a virtual directory and pointed it to the asp file and the error message appears. I've tried creating a new directory and received the same error message when I pointed it to the new asp file. I think it's something in the IIS configuration. Any ideas?
View Replies !
Asp.net And Localhost:8082
my asp.net applications run as http://localhost:8082/appname/webform.aspx - i've downloaded a sample aspx solution, and get the following error when trying to open it: "Unable to open web project "FormsAuth". Unable to validate that the file path "c:/downloads/ddj/aspnet/aspform/FormsAuth" matches the url path 'http://Localhost:/FormsAuth'. A connection with the server could not be established."
View Replies !
Http://localhost Is Not Available
Installed IIS on w2k pro, started Personal Web server and pointed the home catalogue to the folder with my asp codes. However IE keeps saying that http://localhost is not available without Internet connection. Such thing often happend on other computers, but after several refresh it worked. How shall I get rounf this now?
View Replies !
Can't Connect To Localhost
I have installed wamp5 on my laptop so I can develop php pages with mysql.I have started the wamp5 which give you a semi circle and three quarters of the icon is shaded yellow - this is supposed to mean that apache is running. I then type in http://localhost in the address bar and I get the "page cannot be displayed" error. This is weird because wamp says apache is running ok.Is there any other setting that may affect the connection?If this is any help, I also have a sneaky suspicion that because I have visual studio.net installed on my laptop there may be a conflict with IIS? I have not developed any sites with visual studio yet but could there be a conflict here? Thing is, I am not sure what to look for or change?
View Replies !
Localhost On Mozilla
I try to run localhost on other browser other than IE, in this case i run on FireFox Mozilla.Can anyone tell me why does the browser popup with the security windows where i need to type a Username and password. However, that wouldn't happen if i run on IE. Is there a special setting where IIS can check whether a user run scripts on that type of server on other browsers than IE.
View Replies !
Sendto Go To Localhost
I want to make localhost on my browser a sendto destination, so I can right click on an ASP or PHP file, choose sendto, then localhost and have a browser open up with the ASP file running in it. I've put a link in the sendto folder with a target of localhost. That changes the icon to look like a computer monitor, but when I right click it doesn't show up in the sendto list. I know I'm in the right directory (documents and settings/myuser/sendto) because I can put a shortcut to a directory there and it shows up in the sendto list.
View Replies !
Using Mailer On LocalHost
I have used Mailer successfully on websites before. This time, I am trying to run my Mailer code on localhost, with IIS. This line, which in general works, is now generating an error message: set Mailer = Server.CreateObject("SMTPsvg.Mailer") What I've tried so far: set Mailer = Server.CreateObject("SMTPsvg.Mailer") set Mailer = Server.CreateObject("CDONTS.NewMail") set Mailer = Server.CreateObject("localhost") I don't know if I should be trying something else, if I have to do something beyond the actual code, or if it is simply not possible to have mailer working on iis/localhost.
View Replies !
Localhost Connection
it work out when using localhost, but it doesn't when i uploaded to web host server. local host connection string is : Dim MM_connFMX_STRING MM_connFMX_STRING = "Driver={Microsoft Access Driver (*.mdb)}; DBQ= D:InetpubwwwrootfmxdatabasefmxData.mdb" and i change to the string given by my asp host server which is : Dim MM_connFMX_STRING MM_connFMX_STRING = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="& _Server.MapPath("fmxData.mdb") anyone knows what is the problem?
View Replies !
Gnucleus.net Maps To Localhost
This is weird - when I clicked on a link to gnucleus.net, my local index page shows up. It seems that somehow typing "gnucleus.net" or "www.gnucleus.net" is equivalent to typing "localhost". It happens even when I'm not connected to the internet. What is going on???
View Replies !
Sending Email Via Localhost
Is there a way to send email generated from asp scripts run on localhost for testing purposes? Running XP pro, but would like to test client pages on //localhost first before transfering to the domain. (using CDOSYS and localhost for testing) What setup is possible with the SMTP server of XP pro to allow email to be sent (and then recieved from my ISP)
View Replies !
Http://localhost/ For Apache Or ISS
Though I consider myself to be a fairly prominent PHP/MySQL programmer, I've come to the conclusion that if I'm ever going to get a job in a company of some size, I'll need to learn some ASP. So, I've decided to take a whack at Kevin Yanks ol' "Getting Started with ASP" article. However, the article has brought up a question. In the article, Kevin suggestion to install IIS on ones own computer if you're running Windows 2000 (which I am). Later, he explains that to request files that are first parsed by the web server, one is to use http://localhost/and-so-on. However, I already have phpdev installed, which, among other things, includes Apache for Windows, and http://localhost/ is what I've been using up until now to get the files parse by the Apache server. So, when I install IIS, what decides which web server that's entitled to the http://localhost url? And will this mean that I have to drop my Apache server to install IIS?
View Replies !
Localhost Conffiguration Problem
I have a laptop running XP Pro (SP2). IIS is installed, but when I am using Frontpage I cannot get the ASP pages to run on localhost. Anyone any instructions on problems solving where my problem is?
View Replies !
Asp Pages Not Running On Xp Pro Localhost
I have a desktop with XP Pro that happily runs my ASP pages via localhost and a laptop also with XP Pro that won't. A very simple web page without any ASP in it will run as page.htm but not as page.asp; XP Pro is running IIS 5; all windows updates are up to date. Pages simply displays Server Application Error message I don't even know where to go to find more diagnostics (friendly messages is already switched off)
View Replies !
Localhost .asp Wont' Show
Running Win XP PRO, IIS 5.1 Ok my computer use to run my website with asp. on it then it all of a suddent stoped working.. the pages i can still view .htm pages but no more .asp pages. it give me a The page cannot be displayed 500 error...
View Replies !
Pages Not Appearing In Localhost
I have installed iis and setup a new virtual directory, I then try to view it with the correct address but IE just hangs, nothing appears except the title on the titlebar and busy cursor. Going to view>source shows the source (which is correct). This was a previously working website, I just moved the files onto a new computer. And wanted to use that instead. More info can be supplied if required. Alternatively, a good website showing how to setup iis again for asp including db's.
View Replies !
Using IIS For LocalHost Testing Server
I trying to run a sample asp web application, using IIS as a localhost testing server. I have created a virual directory called global with path C:/global/asp/. I also have a another website sitting in the default root folder in intpub/wwwroot. then i use localhost my old website home page starts up not my virtual directory site global if I type localhost/global/asp/filename.asp, I get cant find. What am I doing wrong, what do I have to do to get virtual directory site to run and not the old site in wwwroot folder. I start and stop IIS from the right click from the default web site.
View Replies !
Server.MapPath() Localhost
If I run Server.MapPath("/") on my operational Internet server I get, correctly, the physical path to the directory my page is in (d:.......htdocs). If I run Server.MapPath("/") on my intranet server, my localhost, I get c:inetpubwwwroot, but my webpages are NOT in this folder, they are in c:webtest. How to I establish the correct physical root on my intranet server?
View Replies !
Localhost / Home Computer
I am trying to play with ASP on my home computer. I am placing a "hello.asp" page with simple code in C:Inetpub or C:Inetpubwwwroot and running it and am getting: The page cannot be displayed. The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. I am running Windows 2000 Server, and I just stripped off Apache/ MySQL. I am not sure what I need to do to allow myself to run ASP pages on my home computer.
View Replies !
Server.Execute Problem With Localhost
I am having a problem using server.execute on my local machine. I have set up a virtual directory in IIS call "UltraCamp" When I use [VBS]server.execute("/scripts/calcenrollment.asp") [/VBS] it looks for the file in the localhost root instead of the ultracamp root. I can change to[VBS]server.execute("/ultracamp/scripts/calcenrollment.asp") [/VBS] but that is a pain because I have to change it everytime I post to the live site. What do I need to change to make this work correctly?
View Replies !
Have You Successfuly Sent Email Using Localhost On WinXP?
Has anyone succesfuly sent emails from Windows XP using localhost and if so can you please post a functional code? My codes work fine on Win2000, but after upgrading to XP, I get all kinds of errors. When I correct the first one, another one creeps up. The latest am now getting is "send using ..... is invalid' I know I can solve this peoblem by registering CDONTS. DLL on my XP box, BUT I want to use CDOSYS and not CDONTS. CDONTS is being phased out. Code:
View Replies !
Asp Pages Shown On Localhost - After Restart Only
Recently changes were made to my pc. So I am now using another profile (which is a copy of the old profile), in order to enter a different domain when signing in to windows xp. Since those changes, when I am trying to view asp pages through localhost, I am getting a 500 error, saying the page can not be displayed. After shutting down and restarting, it works again (maybe a shutdown is not necessary, but only a reatsrt. I haven't tried). When it was not working, I have checked the IIS and the directory "WEB SITES" state was "Running". I do not remember anything regarding IIS, as I installed it a long time ago and once it worked, I did not have to do anything more. I do not want to reinstall, as I do not remember how, and it will take me a lor of time now.
View Replies !
ASP LDAP Query Working On Localhost But Not Webserver
I am using classic asp and making a connection to LDAP server using SQL code under IIS 5 on my localhost and it works great. I have a form and form fields that pull from active directory. Now, once I get the web team to deploy these files to the webserver where all users will be able to run this app.(this server is using IIS 6), my form fields show up blank. For the life of me I cannot see what is wrong or different except the IIS version. Also, I have gotten the IIS logs and they don't tell me anything.
View Replies !
Cookies On Localhost, Path & Expiry Issues
suppose i have a script which sets a cookie in this manner: Response.Cookies("session_id") = '12345' Response.Cookies("session_id").Expires = <future date here> Response.Cookies("session_id").Path = "/" and another script which clears it like this Response.Cookies("session_id") = "" The scripts are located in a directory "mysite" under iis root directory and accessed through http://localhost/mysite/something.asp When these are called repeatedly, everything works as expected (script number 1 sets the cookie and number 2 clears it) However, when I create a virtual directory called "mysite" and point it to the same place, script number one is no longer able to set the cookie after script number two has been called, even though they are still accessed exactly the same way (http://localhost/mysite/something.asp) But when I modify the code in script number one by removing the last two lines ("expires" and "path") it works as expected again.
View Replies !
ADSI Error When Accessing From Non-localhost Browser
I am working on building a tool Using ASP/COM & IIS5.1 for a non-administrative technical support team to change domain passwords for users. I have the basic interface built and working from my developement machine (Windows XP Pro SP 1A) which is hosting the pages for now. The problem is that when I try to access the site from a browser on a different pc using my credentials (IIS is running in Windows Authentication), it appears that the ADSI queries stop working and I get the following errors: a.. Error Type: (0x8007200A) /ASP_TEST.ASP, line 64 which corresponds with a code that queries Active Directory for a particular OU to return the users within that OU. I am a newbie to ASP developement so maybe I am missing something really trivial, like can I even accomplish this task in this manner?
View Replies !
Aspx Displays By Clicking On File But Not Through Localhost
I have just converted from Linux and Apache to MS 2000 running Visual Studio .NET on IIS 5.0. I have installed the .NET Framework and the .NET SDK. I have an extremely simple problem. I can view an aspx file by double clicking on it, but I get a 500 error when I type its name in the browser. "http://localhost/firstasp.aspx." I am able to get html and php pages to run from this server using localhost. I added an application extension to the Default Website in the IIS Administrator. I pointed it to C:WINNTMicrosoft.NETFrameworkv1.1.432aspnet_i sapi.dll and used aspx as the extension of course.
View Replies !
LDAP Query Works On Localhost But Not Other Web Server
I am using classic asp and making a connection to LDAP server using SQL code under IIS 5 on my localhost and it works great. I have a form and form fields that pull from active directory. Now, once I get the web team to deploy these files to the webserver where all users will be able to run this app.(this server is using IIS 6), my form fields show up blank. For the life of me I cannot see what is wrong or different except the IIS version. Also, I have gotten the IIS logs and they don't tell me anything. Code:
View Replies !
Connecting Name To ID
I have a db table with 3 rows (ID, date, points). How can I in my script tell that ID 1=Mike and ID 2=Thomas and ID 3=William without making a new field in my table?
View Replies !
Connecting To Db
I am trying to connect to remote mySQL db and getting "Data source name not found and no default driver specified" My connection string looks like this - Conn.Open "Driver={mySQL ODBC 2.50 Driver}; Server=Station1; Port=3306; Option=4; Database=cds; Uid=andy" Is there anything wrong with it? I can't figure it out
View Replies !
Connecting Asp
how to fetch values from a specific record from access in asp.and how to compare data entered in a form with data in record and if comparison returns true then how to open desired page.
View Replies !
Connecting To SQL DB
I have a form that submits the information to a SQL database. The form has a two radiobuttons name="Cheese" with value="yes" OR value="no" and then collects contact info. The form submits to the SQL DB and I want to create a display page that will show the form and sort the form based on the name="Cheese" yes or no. All yes values will display form info under the yes column. All no values will display form info under the no column. So there are two columns displaying the information based the results of the SQL row name=Cheese. How do I connect to the DB and "sort" the info based on this value and dynamically show this information on my site? Code:
View Replies !
Connecting To DB
I have just purchased my domain name, and subscribed to a hosting service that supports ASP. I tried to copy my asp files over to my new domain, and I get the following error: The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. The line that is referenced is: MyConnection.Open DSNName ..here is the code I've been using on DomainDLX (free) to connect to the database ...
View Replies !
Connecting To DB Using DW
I am using a DSN connection created using Dreamweaver and an ASP page. The connection works fine on the local computer (i click the "test" button) but when I upload the files to my server I get the following error: "Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /mkoenig/survey.asp, line 120 and the line that it is referring to: MM_editCmd.ActiveConnection = MM_editConnection my editConnection is set to QUERY which is a DSN variable pointing to the database on my hdd?
View Replies !
Connecting > Anyone
is there a way i can map or find out the driver that the server i am on is using? and what is a 500 internal error of here is another question. i just upgraded to an NT server, i want to use ASP and databases etc,, what info do i need from my host to get this done?
View Replies !
Connecting Db To Asp
Im using abyss web sever to run asp. Now Ive downloaded a specialst software called activehtml which will help run asp- my questions are not based upon this but are far simpler. Im using frontpage to code asp and trying to connect a access database to it. Both the web server and database are on my laptop. My questions are as follows: 1) As the access database is on my laptop i.e. in a folder, how do I connect it to the asp page that I am coding? I do realise some sort of code such as Code:
View Replies !
|