Connecting To Db Locally With "localhost" And "ip" Address
I'm using navicat to connect to the db... i'm on my local machine and connect to the server via "localhost." Since i'm naturaloy curious i tried instead of "localhost" i put in the ip address of the machine but it done'st connect....why is that?
View Replies
ADVERTISEMENT
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 Replies
View Related
ASP does not work locally on my main web site when I browse the machine locally at the console itself, but to the outside world all is fine, and ASP executes normally.
I have 4 other virtual webs on this server and I can browse ASP pages fine, locally. We need this working for a search engine product that is failing when trying to execute URLs against this virtual web site, locally. Code:
View Replies
View Related
When I type in the url...URL I get an error saying I'm unauthorized to view the page?
View Replies
View Related
Is there a program like xampp for ASP? where it will allow me to preview locally without having to upload?
View Replies
View Related
I am receiving the following error whenever I attempt to run any ASP from localhost:
"The page cannot be displayed. There is a problem with the page you are
trying to reach and it cannot be displayed."
At the bottom of the page is states the following:
"HTTP 500 - Internal server error Internet Explorer"
Any ideas?
View Replies
View Related
Having a permission problem I'm guessing but I have a ASPX page with a link to a Crystal Reports created PDF. On the local machine it access the pdf file without any problem. All other machines come up with the 'The page cannot be displayed' error.
I'm using form authentication and for testing purposes only the IIS6 application pool is using the identity 'Local System'. I've checked permission on all files and all are set correctly. Any other ideas anyone?
View Replies
View Related
If an ASP page works locally on your system but doesn't work remotely on the web hosts server and your only alteration to the page before uploading is your connection string to make it point in the right direction on their server then surely the fault has to be the path to the servers database doesn't it?
Or is there another possibility why the page would show up an error page.
View Replies
View Related
Permission denied. Address 'zzz.zzz.z.zzz' is not an allowable remote socket address.
What is the significance of this error, and what should be looked into to fix the problem?
(if this is of relevance: My sandbox is localhost.. so zzz.zzz.z.zzz is internal ip)
View Replies
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
View Replies
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related
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
View Related