|
Thanks for the reply
We used visual interdev to create the project in the root directory, and visual interdev put global.asa there. It is a registered application, I tried removing it and readding it after your post, but no luck
All the others are working, but they are within folders, not on the root web. Could the fact that it's in the root web be killing it?
Thanks again
The following statement about your geekness is true. The previous statement about your geekness is false.
|
|
|
|
|
Megan Forbes wrote:
All the others are working, but they are within folders, not on the root web. Could the fact that it's in the root web be killing it?
That's exactly the reason. IIS will create a virtual directory for the registered application. No directory; no app; no global.asa functionality. I believe you can do this for the wwwroot folder itself (I'd have to check on that to make sure.), but that'd have to be set-up on the server regardless - InterDev won't do it.
Jeremy Falcon
Imputek
<nobr>"Oh no there was a knife in that kitchen drawer and I cut myself - please remove the kitchen." - David Wulff
|
|
|
|
|
Megan Forbes wrote:
Also, could it be because the project is in rather than a folder?
The Global.asa needs to be in a folder which has an ASP application "assigned" to it.
To check this go into IIS, right-click on the folder/virtual-dir, click Properties and check to see if the Application Name field is disabled. If it is, click the Create button to the right of it.
|
|
|
|
|
Hi,
Thanks, it does have one, I tried removing & readding it, but nothing has changed
The following statement about your geekness is true. The previous statement about your geekness is false.
|
|
|
|
|
They are all confusing you!
You have to make sure the directory / virtualdirectory where global.asa resides is an Appilcation enabled. Applications are set per directory only and wont "fall" thru to subdirectories.
Cheers
Give them a chance! Do it for the kittens, dear God, the kittens!
As seen on MS File Transfer: Please enter an integer between 1 and 2.
|
|
|
|
|
leppie wrote:
They are all confusing you!
No we are not.
leppie wrote:
You have to make sure the directory / virtualdirectory where global.asa resides is an Appilcation enabled.
That's what I said already, and if you read the post you'll see that's not the issue anymore because the global.asa files do work for her, just not in the root via InterDev.
Jeremy Falcon
Imputek
<nobr>"Oh no there was a knife in that kitchen drawer and I cut myself - please remove the kitchen." - David Wulff
|
|
|
|
|
The following statement about your geekness is true. The previous statement about your geekness is false.
|
|
|
|
|
Anybody have experience with any of the cheap hosting companies around? I will need to have CGI capabilities for perl scripts, and an email address or two.
I've found easyspace, challengehost, hostsave. there seem to be countless providers. I'd love some feedback on any experience people have had from the under $10/month web hosting scene.
Thanks!
BW
{insert witty/thought-provoking saying here}
|
|
|
|
|
I had the same problem trying to find a webhost 3 years ago. I picked a company named DigiHost out of FL. http://www.digihost.com/ They have been in the business since 1994 and had what I was looking for. I have had little to no problems with them in 3 years. They have a what they call a start-up plan for $10 a month (prepaid for a year).
Scott
http//www.tenasoft.com
|
|
|
|
|
Hello ppl,
Just help me out. Am verrry new to ASP. Need to know what/how to install in my PC (mine is windows 2000). After that, how do I proceed creating my files?? What should I do??
Am I sounding funny?? Please help me out....
Thanks and regards,
SPS
|
|
|
|
|
|
Thanks.... but lotsa to read online.... u have any utility top download the bok into my PC??
|
|
|
|
|
Pull out your Windows 2000 CD and stick it in the CD-ROM (or DVD-ROM) drive. Open the control panel and go to "Add/Remove Programs." Once there, click the button on the left saying "Add/Remove Windows Components." Another dialog will pop up with a check for "Internet Information Services (IIS)." Click it and hit next. Go through the install and restart your machine.
IIS will now be running in the background. All your ASP pages will be in C:\inetpub\wwwroot by default. And, there will be a new control panel applet under "Administrative Tools" called the IIS Console Manager that will allow you to configure IIS as you see fit.
You can see the local webpages in your browser by typing in http://localhost .
Jeremy Falcon
Imputek
<nobr>"Oh no there was a knife in that kitchen drawer and I cut myself - please remove the kitchen." - David Wulff
|
|
|
|
|
I did that. And an icon is in the bottom telling that "Internt Information Servieces are running". What do I do next. Where is the code?? Where do I put it??
|
|
|
|
|
SPS wrote:
What do I do next. Where is the code?? Where do I put it??
Ok next step is to go to your c:\inetpub\wwwroot and create a new file in there called test.asp
Inside that you put your ASP code. e.g. Response.Write "SPS Loves ASP" .
Then in your web browser type http://localhost/test.asp and your ASP page should load.
Your next step would be to create a sub-folder under c:\inetpub\wwwroot, e.g. c:\inetpub\wwwroot\SPS
Then of course the web browser URL would be http://localhost/SPS/
That wwwroot folder is, as the name suggest, the root folder of your webserver. Any folders and files under it will be accesible via HTTP.
Try 4guysfromrolla.com for some good ASP tuts.
|
|
|
|
|
Okie.... I installed the IIS. I made sure that the IIS is running by seeing into the servieces. NOW, I tried just to type as http://localhost in my IE6. But it says as if there is no file on the server .. like that. I tried putting a Default.htm.. also Default.asp... none worked. What do I do now?? Reply please...
- SPS
|
|
|
|
|
SPS wrote:
But it says as if there is no file on the server
Could you list the actual error please, then I can help you more
|
|
|
|
|
Thanks Mr. Paul. But, I had tried and solved the problem. Actually, I use proxy server to connect to the internet. I also didnt check the "bypass proxy for local server" option. This had confused the access to the IIS in the PC. Noe its working finr and all are alright.
Another help... do you have any IDE for ASP. Editing using the notepad seems not ok for me....
|
|
|
|
|
SPS wrote:
Another help... do you have any IDE for ASP. Editing using the notepad seems not ok for me....
Well Visual Studio.NET (which you can buy from CodeProject for a very good price) is good and you of course get a lot more with it.
Otherwise you can try Dreamweaver, Homesite or 1stPage2000 (1stPage2000 is free, the others are not.)
SPS wrote:
I also didnt check the "bypass proxy for local server" option.
LOL that one had me flumoxed for ages when I first started ASP as well, damned annoying.
|
|
|
|
|
Thanks for the help...
Dearmweaver.... ok I will give a try for it.
I also downloaded the book from the site w3schools.com. What do you think about it. You have any other book (online, downloadable) for ASP??
- SPS
|
|
|
|
|
Hello,
When I am executing my ASP page, I sometimes get the following error:
Problem Report
There was a communication problem.
Message ID
TCP_ERROR
Problem Description
The system was unable to communicate with the server.
Possible Problem Cause
The Web server may be down.
The Web server may be too busy.
The Web server may be experiencing other problems, preventing it from
responding to clients.
The communication path may be experiencing problems.
Possible Solution
Try connecting to this server later.
How to trap this error from the ASP page?
Thanks
Hitesh
|
|
|
|
|
I'm using...
<a onclick="fn1"><br />
<table><tr><td> etc etc <br />
<button onclick="fn2">Button</button><br />
</td></tr></table>
If the button is pressed fn2 is called, then fn1 is called.
I would like JUST fn2 to be called. Is there any way I can stop fn1 from being called please?
Thanks in advance.
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
If fn1 is called from the onclick handler of a parent element of the button, you need to set event.cancelBubble = true from within fn2 :
<html>
<head>
<script language="javascript">
<!--
function fn1() {
writeMsg('fn1()');
}
function fn2() {
writeMsg('fn2()');
event.cancelBubble = true;
}
function writeMsg(Text) {
txt.insertAdjacentText('beforeEnd', Text + '\n');
}
</script>
</head>
<body>
<div onclick="fn1()">
<button onclick="fn2()">Test</button>
</div>
<textarea id="txt" rows="10" cols="50"></textarea>
</body>
</html>
|
|
|
|
|
|
Can I just call...
myDataSet.SaveXml(Server.MapPath(filepah));
...on my ASP.NET webpage to save a DataSet to a XML file on the server?
(Of course the server needs to have write access)
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|