Interesting Situation

We have an ASP application running on Windows Server 2003 that is not
functioning correctly. The original page for the application is login.asp.
I have login.asp configured as one of the default pages for the application.
As long as I bring up the site http://sitename/appname , the login.asp page
loads fine.

If I call http://sitename/appname/login.asp, I get a "The
system cannot find the file specified. " error. If I use the
http://sitename/appname call to bring up the site, the login.asp page loads
fine the first time but fails when I submit the login form back to itself.
Very strange behavior!

Any ideas which may cause the page to load when used as the default page but
not when it is explicitly called?

View Replies


ADVERTISEMENT

Interesting Trouble

i'm working on access db the problem is when i enter date in d/m/y format it wrote db m/d/y format but this happens only with small numbers i.e if date 04/09/2002 it become 09/04/2002 in db but if it is 24/09/2002 there is no problem.

View Replies View Related

NT Username Situation

I have a this code the grabs the user NT login on a page:

strCae_Name = request.servervariables("LOGON_USER")
<%=strCae_Name%>

It displays the following User name: Cable/rmirto7777. Now I would like to remove the Cable/ part and just keep rmirto7777 only. Keep in mind that Cable/ part doesn't change only what comes after it and everyone has a different User name. Therefore it changes constantly! I tried alot of ways by using the function but came unsuccessful. Does anyone have any ideas on how I can achieve this goal by getting what comes after Cable/ to display on my page.

View Replies View Related

Tricky 'Order By' Situation.

I've got about 400 Billion (slight exaggeration) towns listed in a table of an Access db. Client wants to be able to sort them alphabetically by town name. Small problem - a significant number of them are prefixed by "Town of " or "City of ." So, for example, "City of Zanzibar" would be incorrectly listed before "Dansville" and "Town of Abernathy" would be incorrectly listed after "Smithtown."

How can I phrase the SQL query to ignore those prefixes when sorting them? They still need to keep the prefix when they are displayed, however. What I think I need is some sort of conditional statement that says if the town name starts with Town of or City of, trim off those first 8 characters (includes the spaces) before sorting, otherwise, just sort as usual.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved