I have 9 asp-sites on a Win2003 server, and would like to use the same
include file, but it does not work.
The path for the servers default website (which is not where the
problem is) is c:inetpubwwwroot and the rest of the sites are at
c:inetpubwwwrootwebsitesSite1 , ..Site2 etc.
I tried using the following on the secondary sites:
<!--#include virtual="Websites/Include.asp" -->
<!--#include virtual="/Websites/Include.asp" -->
<!--#include file="../Include.asp" -->
All works fine on my development machine (Win2k) and on the server
(Win2003) when it is accessed through the LAN, but when I cut the LAN
and access the server through www (e.g. http://www.site1.dk) it does
not work.
I suspect that the internet user does not have rights to the virtual
path, but how do I solve that?
I have an .asp scrip to retrieve information from a Sybase database,running it on NT server (IIS4) work fine. When I am runing the same script on server 2003 (IIS6) work fine when the rows to retrieve are less than 700, when retrieving large amount of data I got the following error message using IE "Action canceled Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable." and "Document contains no data" using Netscape. Retrieving less than certain amount of rows, in this case less than 700 work fine.
I have a virtual path setup in order to give my web server access to a file on my app server. I am using the file system object to check for the existance of the file and if it exists, it has to validate the file date.
The problem is I can't seem to find the file. I can successfully check for the existance of a file on the web server, but once I enter the virtual path it can't find anything. All three of these calls return false...
Is there anybody know how to make <!--#include virtual="myfolder/qqq.asp"> working. My IIS correctly works only with <!--#include files=""> and it doesn't with virtual.
i placed the <!--#include virtual=... tag outside the <% ASP tags, and when trying to import the file from the same directory db.asp, i get the following error:
I have just taken over management of a web site, many pages of which contain the line:
<!--#include virtual="/admin/Includes/conn_Login.asp" --> When I try to load this page (login.asp) I get the error:
Page cannot be displayed Active Server Pages, ASP 0126 (0x80004005) The include file '/admin/Includes/conn_Login.asp' was not found. /CECO/admin/Home/login.asp, line 10
I realise that I have to create a virtual directory but am not sure how to do this.
Full path to file is: C:InetpubwwwrootCECOadminHomelogin.asp
i placed the <!--#include virtual=... tag outside the <% ASP tags, and when trying to import the file from the same directory db.asp, i get the following error:
The include file 'include/db.asp' was not found. /eu_softing/sesso.asp, line 1
I am still writting VBScript code and .asp pages for our Intranet. Recently I learned how to use include files from this site.
I was very successful using include statements as long as I put the include statement inside the subdirectory that contained the asp files I was using.
I would like to put the include files in the root or a seperate directory and be able to call them from a page tghat is in a different directory?
Basically use Plesk to manage websites on a server and in the process of migrating domains. However Plesk creates virtual domains and all my websites use the following syntax to reference asp include files:
<!--#INCLUDE VIRTUAL="/misc/includes.asp"-->
This doesn't work now as the websites were setup with websites and NOT virtual domains.
So how do I successfully reference these files now?
how to assign a variable in a page then in a file that is included write a variable to an include virtual statement that's located in the 2nd included file? I've tried this but it doesn't work Code:
i have response.contenttype= "application/msword", i follow that with <!--#include virtual="/slof.rtf" --> and it doesnt work, the other version of this file has a string as long as any i have seen, don't know why, this was working until we moved it off an unstable server. when i navigate in my software it shows the text of the asp file rather than executing the instructions.
basic history, it's a report viewing system (old) that uses vb6 and asp2.0 to generate reports that were written in word, do i need to convert the report to html and then add that to the bottom of my asp file.
My window server is going to be upgraded from Win NT 4.0 Server to Win 2003 Server. I don't know if I can put an ASP web application on this new server without any problem. I guess ASP.NET would be better but right now I just have a classic ASP. Can you help me about this? Or any article about this issue would be greatly appreciated.
I made some of the web pages using ASP on windows 2000 server, now i wanto to upgrade my Operating system from windows 2000 server to Windows 2003 Server , Are my web pages will work fine if i do this upgradation or there are any configurations on IIS i have to make to work fine ....
I just migrated an NT4.0 website (all ASP) to Windows Server 2003 (small business server - deluxe edition) and some pages are very slow to render on client.
Seems to be pages with tables. I can stop the browser by clicking "X" and the table will be partly rendered. The table only has 26 rows and very little content.
Any ideas why this is happening would be appreciated. I have read of others with the same problem but no solutions.
I have two servers, both running windows 2003 and both containing the exact same roperties for IIS.I have a set of asp intranet pages that are located inside the c:inetpubwwwroot est folder.On one of the servers, the asp pages run fine, however on the second server the asp files are not recognised as asp pages. If you double click them, windows pops up a message box stating "Windows cannot open this file".
If I try to view an asp page via the browser, I get page not found.I have IIS installed, and under Web Service Extensions I have allowed every item that can be set.Does anyone know why windows cannot make an association with the asp page?
I've had a new server installed for me. with Windows 2003 and II6 with ASP.NET. but I want to run a small (but important) application written in ASP(all .ASP files)
as it stands the server will not 'understand' .ASP files (only .ASPx)To avoid having to modify the whole application ( :-} ) can I get the server to execute. ASP files?(is it as simple as copying over an existing II4 ASP.DLL and installing that?
We have several extensive sites and all use a lot of include files. We have the coded as include file and virtual include using ../ since it is a shared server etc. The sites were moved by the hosting company to a new windows 2003 server and now we get invalid path error part of the time, others it works fine.
The host says it is our programmers did not follow asp procedures and used ../ I always thought this was ok, it was never an issue before the move...is this new to windows 2003.
When I upgraded to Server 2003, I get this error now in my asp script which is saving a form to an asp database. Do I need to do something different now? I have used FP to design my forms, and to do my data results pages. I am now using sharepoint services also which I was not using previously.
The Include file '../_fpclass/fpdbform.inc' cannot contain '..' to indicate the parent directory.
I just set up an acct. with godaddy for a shared virtual dedicated server using Windows 2003 and IIS 6. None of my ASP scripts work to send emails using CDONTS. Research took me to how to install the cdonts.dll file and after doing so I don't get the error about not being able to create an ojbect but rather that of permissions on the line that has the .send. Other research led to me believe that windows 2003 does not support cdonts at all? I'd prefer to use CDO but I was told by Godaddy that the script below is not supported on a shared server - Code:
We have just set up a Windows Server 2003 x64 system for the purposes of being a dedicated web server/media streaming server. Up to this point, we have been using Windows Server 2003 x86 environment and everything is running well.
I have migrated the IIS settings over to the new server and all appears to be going well when tested except that I have now lost all DB connectivity to the 3 small Access databases that I have in the server. All permissions and set ups are the same.
Based on past experience, I thought that it had to do with my Jet 4.0 drivers not being up to date, but a check of those against that on the service pack 8 indicates that my versions are the same as those in that Service pack...but to be sure,
I downloaded the x64 version of the software and the install says that while the version is valid, it is not for the correct machine type ???? So I downloaded the x86 software, and that also did not work (of course). I then checked my Jet 4.0 drivers on my x86 machine...and they are OLDER than the ones on my x64 machine...I am totally confused and do not understand...
Here is the code that I use to call the databases:
Some one has posted this question on 10th August, as CDONTS is not working on windows 2003 serever. I have the same problem and I copied CDONTS.DLL from Windows 2000 Server and registered on Win 2003 server but it giving the error on line when I calling method send of the object.
Error is Microsoft VBScript runtime error '800a0046'
Permission denied
I tried to register CDONTS as COM+ with Admin user right to execute but it still giving same error.
if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server and if so, how can I send emails from ASP page.
i want to get some xml files from another server and save them on my local server uising. I first tried to use xmlhttp but I got a connection error. Then i read somewhere about asphttp, installed it but it doesn't work on 2003 server.
Our inter/intranet server has just been upgraded to Windows Serve 2003, IIS6, running Sharepoint.
I cannot now run even a "Hello World" ASP (not aspx/.net) script although static html displays fine.
We have enabled ASP in IIS/Web Service Extensions but still nothing. There is no error msg, scripts just do not run. Are there furthe switches in Sharepoint or IIS that I need to know about ??
I have a site thats been up for 2-3 years on an NT4 server using IIS & Ms Access, and I used MAcromedia Ultradev to build it with MX 2004 to maintain it.
The hosting company decided to upgrade the server to Windows Server 2003 and now none of the Dtabase connections or include files can be found. Does anyone know what I need to do to re-code this site.
I am recieving a weird error when I try to run asp scripts on my local machine, I can use pages that access a database, but when I try to write to the file system ie upload a file I get the error message below.
Hi people, I currently have a website and the asp pages include the following line:
"Set Tools = Server.CreateObject("MSWC.Tools")"
My site is hosted on Windows 2000 server.
The hosting company has offered me a new deal but on Windows 2003 servers, I took them up on this but found that my asp pages did not function as these servers do not have the Internet Information Server (IIS) Resource Kit installed on them. I found this out by looking at http://support.microsoft.com/kb/q249290/.
As I am not the original creator of the asp pages and have no knowledge of asp, can anyone help me fix this problem where my asp pages will function correctly on the Windows 2003 server?
Not sure which forum this belongs in, so here it is here as well as in the IIS forum
I am migrating a Windows 2000 Server Web Server with an older version of IIS to a new Windows 2003 Server with IIS 6.0.....Everything is working properly accept web forms which simply send an email via a SMTP service installed in IIS:
I am currently using the following script on Window 2000 and it works fine. However i am trying migarte the site to Windows 2003 server. I have just about got everything else to work but this one page stops working.
I have checked the obvious, the database is there and that all works as the previous page requires info from it and it works fine. Code: