[quoted text, click to view] "Roland Hall" wrote in message
news:%234cPnnU5EHA.3828@TK2MSFTNGP09.phx.gbl...
: "Roland Hall" wrote in message
news:O5VugjU5EHA.1300@TK2MSFTNGP14.phx.gbl...
:: Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
:: news:unK3maU5EHA.2568@TK2MSFTNGP10.phx.gbl...
::: Roland Hall wrote:
::: > "Roland Hall" wrote in message
::: > news:u0iFl8T5EHA.2568@TK2MSFTNGP11.phx.gbl... Fricken piece of junk.
::: > It must be caching somewhere. I copied the code
::: >> into a new file [StraightASP1.asp], same folder, saved it, ran it,
::: >> and it worked. *smack*
::: >>
::: >> Is this a server caching problem? I had already restarted SQL.
::: >
::: > I renamed StraightASP1.asp to StraightASP.asp and it now fails. I
::: > have restarted the web server and the SQL server. It fails from the
::: > browser no the server and a remote workstation on my intranet.
::: >
::: > Any clues?
:::
::: Have you replaced "localhost" with the actual name of your sql server?
Or
::: used the IP address instead?
::
:: Yes. I tried that too. I rename the file back and it works. It's
:: something that's caching on the server. I've just rebooted so I'll check
:: and see if it's still an issue.
:
: Rebooting cleared the problem but nothing has reported what was happening.
: I'm still searching for clues as to what went haywire. One of these days
: I'm going to be able to work on a single project without having to fix,
: move, add, delete or modify something else. I'm probably shooting high.
Ok, I have a question.
I was using the default web server for that test and I have anonymous
disabled, basic and authenticated are turned on. SQL server is set for SQL
and Windows authentication. It did as me just on that file to authenticate
and I put in domain\administrator credentials. I don't know why it asked
and it doesn't make sense why it didn't ask on the server, IIRC correctly.
It just seems like there's something there that was confused.
The workstation I was using is in a different domain which is why I entered
credentials on the domain where SQL is located. There is no trust between
then. Now that I've rebooted, it all works fine.
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/ WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library -
http://msdn.microsoft.com/library/default.asp