Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Still at a loss on the ASP files-schase, mlawson... help 2

Status
Not open for further replies.

ironyx

Technical User
Joined
Nov 13, 2001
Messages
134
Location
US
I uploaded the ASP file mlawson suggested to figure out my DB path, and it actually shows UD as a program in the browser and the ASP says ASP. Am I doing something unbelievably dumb or missing something? I thought you could pull up that file in your browser...or am I supposed to be doing it a different way? My web files are on one server, my database on another, and the people owning them are both not very...um cooperative or...the brightest crayons in the box. I had to fight not to use frontpage. Sad really. Ok...well guys...I need you!
as always thanks,
Va
 
ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

I believe they need to be on the same server.

is this possible to accomplish?

 
hmmm... I don't think so...I thought DBs and Web servers actually should be seperate... hmmm. At least for figuring how this mess works maybe I should try it that way and see. I'll be back...
 
it depends how your hosting company has it set up.

Do you mean two servers within the same hosting company or two hosting companies?
 
Actually, no companies are involved, but two different departments of one org are involved. So One guy has control of web servers, and another has the SQL server. It is all in house though, but different buildings.
 
hmmm some of the other guys here would probably be able to answer this better, but if they have their configuration for your website correctly (virtual directories) it shouldnt matter.

 
Well, will the ASP file not showing up be from the server not accepting it? It shows the page but then has a little icon that says ASP...I am glad to know it sees it, but I would love it if it actually worked the script. :)
 
lol,

picky arnt ya?

can you give me the url to where the script is?
 

this is the one mlawson gave so I could use the script you gave in an earlier post. I just saved it to the server my web page is on then tried pulling it up in the browser. I am not sure that this is the exact way to do it. I need very simple directions. Luckily you all are typing so you don't have to talk really slow.
I have a DSN connection that works by the test, but when I try to execute the pages, they show none of the dynamic content. I am starting to think that it might not all be me (woo hoo!) and the ASP may not be enabled on the server? (if that is not just ignorance on my part)Well, guide me oh great ones. :)
thanks bunches for hunches!
Va.
 
well as long as they have windows environment - it "should" be ok to show asp.

I meant - do you have the url for the page you put up to find the dsn path?

I know your pain. When I first got into this.....well lets just say I'm lucky to still have hair.
 
It's all on an intranet tucked away deep into the antiquated computer tangles of the government behind a firewall that keeps everyone from helping the poor souls (like me) who are trying to move into this decades technology. So, I can't get it to you. I wish I could invite you over for a cup of coffee and you could look at it. I might end up actually jumping from my desk to end my pain. Will that work?
It is an IIS server I believe, does that mean it's still all me messing it up?
Do you pull up an ASP file exactly like an HTML file through a browser...
 
lol,

well I've wanted to toss my monitor out the window from time to time - but I don't think the cord will reach.

You do pull just like a HTML file.

Strange however where it shows the icon, normally it will show a text error message.......

It's acting like it's trying to be able to edit within the browser.

i'm beginning to feel at a loss here.

Try cutting and pasting the code you entered on that page.

 
<%@LANGUAGE=&quot;VBscript&quot;%>

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body bgcolor=&quot;#FFFFFF&quot;>
<p>this is your servermappath: <%= Server.MapPath(&quot;\&quot;) %> </p>

</body>
</html>

is all I had... I am a pain huh?
 
Hi Guys,
Having fun yet?

M

Ironyx, do you have to run your database as an SQL database or could it be an access based one?
 
well, it is a SQL server to allow for growth in our database and because the technological level of expertise here is looooooow so I don't have a say really in what we use, and because no one who &quot;knew about&quot; databases could figure out why more than one person couldn't access the access databases. So we switched technologies. Welcome to our government. yeah. Anyway, I put a access database on the server just a little while ago but haven't gotten an ASP page to work yet. Must be me. Any ideas?
 
ok, well still have to do the connection.

did that extension help?
 
<MM:BeginLock translatorClass=&quot;MM_ASPSCRIPT&quot; type=&quot;language&quot; depFiles=&quot;&quot; orig=&quot;%3C%25@LANGUAGE=%22VBscript%22%25%3E&quot; ><MM_SCRIPT_LANGUAGE NAME=&quot;VBscript&quot;><MM:EndLock>

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body bgcolor=&quot;#FFFFFF&quot;>
<p>this is your servermappath: <MM:BeginLock translatorClass=&quot;MM_ASPSCRIPT&quot; type=&quot;script&quot; depFiles=&quot;&quot; orig=&quot;%3C%25= Server.MapPath(%22\%22) %25%3E&quot; ><MM_ASPSCRIPT><MM:EndLock> </p>

</body>
</html>

is what came up when I finally pulled up the page. Nothing was on it however. I must be doing something wrong.
 
never mind. Got it in live data view. I wonder why I can't pull it through a browser though.
 
strange stuff,

how do you pull it up in browser? do you type like D:\blah\blah.asp?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top