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
ADVERTISEMENT
I had a mild hack of the default windows web page in inetpub because I was running IIS whilst my DSL connection was on. Ever since,I have disconnected the DSL before running IIS.
Could anyone give me advice on running IIS safely as a local testing server
(for asp pages) whilst online? I have to admit that I run an admin account (win2000) so I know this is one thing I should change
View Replies
View Related
I'm using Dreamweaver for a number of ASP sites and long ago set up testing servers for each, which worked fine. Now they don't - I just get a 404 message. I've double-checked the testing server address and HTTP address and nothing's changed, so I'm wondering if the address of localhost can have been altered? I've forgotten how to check it, though. Can anyone point me in the right direction?I should say that the only thing that has changed since I last did some testing is that I've downloaded IE7 - is that a clue?
View Replies
View Related
I have a SQL server db set up locally. I have a local DSN set up. I have DW connected to the SQL server db and can create Bindings and use Server Behaviors without any problem.
When I try to test the site locally in the browser, I get the following error:
"Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database
"xxxxxxx" requested by the login. The login failed."
What am I doing wrong?
View Replies
View Related
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
View Related
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
View Related
I get a the "http 500 Internal Server Error" when tying to run any ASP page from localhost. I'm running Xp Pro with IIS 5.O with Frontpage installed. I've checked secutity settings on IIS.
View Replies
View Related
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
View Related
How do test my web application for concurrent users (how much concurent user connect at a time and how traffice will be affected and what will the response time?) and how it is done, how long it will takes, does it interfere with current site, etc.?
Reagarding the number of users the site will accomodate is it based on where it's hosted
Application written in ASP/Sql Server. Code:
View Replies
View Related
test my app? it's still in development but it's very much usable. i'm looking for few good object oriented souls that can look at this. i'm still adding few functions so don't be surprised if it goes down for a VERY short time (minutes really).
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
I need to revisit cookie testing. On the home page and every product page I
write a cookie. I do this because some users enter by direct links to
product pages.
<%
Response.Cookies("cookietest") = ("49")
Response.Cookies("cookietest").Expires = Date + 2
%>
On the cart page I test for the cookie...
<%
If Request.Cookies("cookietest") <"49" Then
Response.Redirect("err.asp?e=1")
End If
%>
I have a user that insists he has cookies enabled, yet he keeps getting
redirected to my error page which suggests he does not have cookies enabled.
What could cause this? Is the above too simple for all circumstances?
Is there more extensive code that I could setup on a hidden page where I can
send users to get read out on how they actually have their browsers setup?
i.e. Run a test on their browser and the results are emailed to me.
View Replies
View Related
I'm sure I have missed something but I can't see what...
I create two cookies on one ASP page as follows:
response.cookies("Errors") = "Must not be blank"
response.cookies("User")("Mem_Username") = response.write(M_Mem_Username)
response.cookies("User")("Contact_N") = response.write(M_Contact_N)
This page then calls the second ASP page which then reads the cookies:
E_Contact_N = request.cookies("Errors")
C_Contact_N = request.cookies("User")("Contact_N")
C_Mem_Username = request.cookies("User")("Mem_Username")
When I then use response.write (for example, response.write(C_Mem_Username)) to view the contents of the variables, there is nothing there.
As I say, I am still developing the site and so am using IIS on a Win XP Pro machine (local host)
What I am doing wrong?
View Replies
View Related
I know very little about ASP and ASPX pagfes but i inherited a web site done by a guy who knew just a little more than me and I've worked around things with my knowledge of HTML and Javascript, as well as added on to the web site using Cold Fusion. But I am at a point that I need to be able to do more.
I have a ASPX page with a Log In button that I don't want see if a certain cookie exists. Is there a way to test for that cookie on the page and display or not display something based on that test?
View Replies
View Related
my system is at testing phase. how do i test my system to check its security especially at the login page? i am running it at localhost. i have tried sql injection but nothing happened. i just saw the invalid login username or password error only.
View Replies
View Related
I have created a page that will allow all web based errors generated to be logged, like IIS errors 404, 403,401, 400.
I am now testing to see if the correct files are being displayed when the errors occur. I am able to replicate the 404 err as well as the 403 error, bu I cannot test the 401 or 400 errors. Does anyone know how to do this?
I tried using err.raise, but it doesnt seem to work, unless i m doing something wrong.
View Replies
View Related
How can I test the scalability of my website, e.g how can I check if my website still performs correctly when there are 300 people visiting?
View Replies
View Related
I need to test ASP pages at home before uploading them (no net connectiona t home, only here at uni and I need the site owrking before I transfer it).
The ASP pages are written, PWS is installed (except for some file that had an error - but that didn't install last time and everything worked fine then).
Where do I put the ASP pages and DB and how do I set up a connection between them? The pages run in IE at the moment but no data is pulled onto them from the DB.
View Replies
View Related
May I have the list of good ASP testing tools available on the market?
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
I've been given a task to develop an automated unit testing framework for a project I'm workin on...
I've spotted ASPUnit on sourcesafe... but it doesn't seem to handle situations when we have global variables, session stuff etc...
I was thinking of doing something to a screenscrape and just do a file comparison... actually, there ARE ways to do this aren't there? I've heard/read about that before.. some HTTP objects or something that would allow me to call an asp page, and grab the output as a string.. rather than have the output go to a screen... anyone able to point me i the direction of this kinda stuff?
View Replies
View Related
I need to test if cookies are enabled in the browser. I disabled cookies in my browser and rebooted my browser, yet the below code still writes a cookie and reads it correctly.
<%
Response.Cookies("smcookietest") = ("8")
Response.Cookies("smcookietest").Expires = Date + 2
%>
<%
If Request.Cookies("smcookietest") <> "8" Then
Response.Redirect("error.asp?error=19")
End If
%>
<%=Request.Cookies("smcookietest")%>
View Replies
View Related
I am developing a Testing Checklist for the Programmers in my company. As i am not a programmer, Can you guys help me.
I am looking for some common Code testing steps which a programmer should do when he is testing his web application
These testing checklist could include common mistakes programmers do or any special coding error which they might receive when they are testing their web application.
View Replies
View Related
I'm running IIS under windows XP, and developing an ASP web page locally. My problem is that I can't get it to work without connecting to the internet. Am I doing something wrong, or does ASP require a redundant connection in order to run?
I have a page that simply displays the current time. If I'm connected and press the refresh button the displayed time is updated. If I disconnect, then the time displayed remains unchanged even after hitting the refresh button.
View Replies
View Related
May I have the list of good ASP testing tools available on the market?
View Replies
View Related
If I have 2 MS SQL Databases, one as Production and the other as Backup. The Production updates the data on the Backup. WHat I want to do is to test the the Production database is still online and if not I want to change the connection string to point to the Backup. I want to this via ASP.
View Replies
View Related
I have a page where I am connecting to more than one server. I want to set it up so that if one of those connection fails it does not kill the whole page.
The page would still load but just display a little error message about the one failure - the other connection and code would still be executed... is this possible?
View Replies
View Related
I'm running IIS under windows XP, and developing an ASP web page locally. My problem is that I can't get it to work without connecting to the internet. Am I doing something wrong, or does ASP require a redundant connection in order to run?
I have a page that simply displays the current time. If I'm connected and press the refresh button the displayed time is updated. If I disconnect, then the time displayed remains unchanged even after hitting the refresh button.
View Replies
View Related