We are using Windows 2003, IIS 6.0
We would like to use a custom 403;4 error page that is a .asp page.
If someone types in http://www.mydomain.com/default.asp we want the 403;4 page to redirect to https://whatever_they_entered
We can use the .asp extension for the 404 custom error but it...
I am working with IIS 6.0 on Windows 2003.
Using c#, how can I get a list of web sites on the server and additional information such as:
IP address
Port
host header
Thanks,
Gabe
I have created a web form in ASP.Net using C#. This site needs to use the top menu of another web site on the server but this web site is written in Classic ASP using include files.
Is there anyway I can use these same include files, in .asp files, with my asp.net site or do I need to re-write...
I have the following code. When you click the button, it opens a dialog box for the user to select a file. Once the file is selected, the file name is assigned to a text box. Most of the time this works but ocassionally the following error is produced: "can't assign a value to this object"...
I have a virtual web in IIS 6.0 on W2K3 that has been setup to create daily log files. The has worked up to a specific date and then the log files have stopped getting generated.
If I stop this web site and create a new virtual web site, the log files are being generated.
We have not been...
Is there a way to create a web application using VS.Net 2003/2005 without having IIS available?
I have XP Home on my laptop (came with the computer which per Microsoft won't allow the install of IIS). There are many times when I don't have access to the internet but I still would like to work...
I need advice on how to design a database -
I currently have three objects:
Service
Agreement
Contract
Any of the objects can be made up of any of the other objects.
Ex.
Service A is made up of:
- Agreement 1
- Contract I
Agreement 1 is made up of:
- Service B
- Agreement 2
- Contract II...
I've inherited a web application that I need to support and in one page I need to determine the referring URL.
From my Google searches it appears I need to look at the HTTP_POST value but I haven't found any examples that work on our system on getting this value.
Can anyone give me code...
How do I disable localstart.asp?
I have found this file in the inetpub/wwwroot directory. I deleted the file. I left the file there but removed all the text. I restarted iis using iisreset but when I type in http://localhost/localstart.asp I still get prompted to login.
I have searched on...
I have one web page, default.aspx, that does all the work for a web app.
All other pages user Server.Transfer with a query string to let defualt.aspx know what to do.
The reason for this is we want to keep the original file's URL in the Address bar of the web browser.
EX...
In IE my page works fine. In Netscape 7.2 I get the following error when I put a RequiredFieldValidator on my aspx page. I get this error just browsing to the page and this error is all that is returned from the server. If I remove this validator control, the page works just fine...
I am running Enterprise Manager 8.0 on XP. Every time I reset my Windows password, all of my database registrations are lost and I have to go in and add back all the servers. This happens to my co-workers too.
Any idea how to prevent this? I have searched on Google, as have my co-workers...
I have searched the web and this forum and found many articles but I am not understanding how to get child data in an XML structure.
I've read to use the DataViewManager but I'm not understanding it.
Here is an example of the XML document.
<?xml version="1.0" encoding="utf-8" ?>
<myXML>...
I need to run three queries and end up with one recordset (to be used via ADO.Net in an ASP.Net page).
(select * from employee_email where LName = 'adams' order by LName, FName
union
select * from employee_email where LName like 'ada%'
and LName <> 'adams' order by LName, FName)
union
(select *...
Can anyone point me to a web site that explains how to administer IIS 5.0 via VB6.0 or VB.Net? Or perhaps you have some code examples.
My end goal is to have a program that I specify a web server and the program returns a list of the web sites that reside on the web server and some additional...
I have a website setup running on Windows 2003 and have installed a security certificate.
When I browse the site with http it works fine. When I use https I get the following error:
The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be...
What is wrong with this code? From what I have read it should work just fine. According to this post it should work but it doesn't. thread732-448638
My code can't see the oConn object in the catch portion.
I am getting this error when I build the object.
The type or namespace name 'oConn'...
I am creating a DLL in C# but I don't understand completely when I should use a string variable or a StringBuilder object in this situation. I want to hold a variable that is a string and be able to update it and retrieve it via a property of the dll.
Which should I use, a string or a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.