How To Insert A 301 Redirect On An HTML Page On A Windows Server
My website is currently made up of HTML pages and residing on a Windows server.
Currently converting them all to ASP, that is going from .html extensions to .asp (besides adding funking asp functions)
My pages have all being indexed by Google, so wouldn't risk loosing good ranking with Javascript redirects, so I tought using this would solve the issue, for example, on a file named thatpage.html
<SCRIPT LANGUAGE="VBSCRIPT" runat="server">
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.mywebsite.com/thatpage.asp"
</SCRIPT>
Wherever where I insert it, in the head, in the body, before the DOC, it's not working, will have to resort to javascript? Will I have to put a link in the html page leading to the asp page? Wouldn't like to have user click agin to be led to the .asp version?
To provide enriched GUI in .NET Windows Forms can replace ASP.NET Web Forms in a Web Application.
To host/activate a Windows Forms control within Internet Explorer (IE):
1. Create a Windows Forms control 2. Create an HTML document with an object tag that identifies the Windows Forms control 3. Configure the virtual directory for proper activation of the control 4. Configure Code Access Permissions 5. Run the control
.NET Redistributable should be present in the client to run this control in IE.
What will be the performance of a page designed in this manner?
An ASP.NET page (using Web Forms) provides a performance of around 3 seconds over a decent internet link. Will the same be achievable using Windows Forms?
No doubt, Windows Forms provide the best performance for Desktop Applications, but what about in a Web Application as explained above?
This approach is similar to Java Applets. And Applets have failed over the web in time critical applications.
I surfed quited a few .NET related sites (MSDN, gotdotnet etc.) for typical numbers on performance for this kind of page design, but in vain.
what I want to make actually is to take the results of a search engine that I use, which are in form of HTML or ASP and transport that results in a DataBase. For example, I wont to place as registrations in the DataBase the equivalents URLs and their descriptions from the results of search. I use MS Access, code asp, HTML , Javascript .
QUESTION! How can I insert the content from an HTML or ASP page into a dataBase? How can I determine from what point to what point a string it will be entered in the first cell of table and afterwards in the next and next ....
I allow my users to upload a picture from their machine to my website on the server. I know the exact name and the path of the uploaded picture in my server, is something like: D:hostingmysitedbgraphicspicturename.gif
Then, I would like to insert this picture into my home page. How can I do that without manually download the picture from server to my machine? How can I insert a picture that exist in my server into my page?
Is it possible to do the following in asp: To read an html page from a server (not mine) every 5 minutes and copy it to my server. The html page just contains a list of numbers.
My company has recently started testing Win 2k3 servers to replace our current 2k versions. The problem I have is that our IT group sent out an email to all web developers stating that HTML forms would no longer be supported in 2k3 and all forms would have to be converted to asp pages.Since the form tag is in the html specs, I find this rather hard to believe.
I have a table having 3 columns. There is a checkbox for each line. I need to get those lines whose checkboxes are checked, and show those lines to another webpage. Is there any way to do that? My concern is that all information in the table are in <tb></tb> pairs without any name tag. Any idea?
I am not the ASP programmer on this project so I am simply asking for possiblities. We are using ASP to generate html documents with data drawn from a database. We need to email some of these pages to our users. We do not want to create separate email-able versions of all of these pages. It would be ideal to create an html email or attach and html document to an email, using the html code the asp code generates on the existing page. Can this be done? My programmers tell me that the second option (write the generated code to a file, attach it to an email, send it, delete the file) would need to use FSO and the this object opens security holes.
How would I insert this code into a .HTML document rather than a .ASP document.
<% Set MyFileObj = Server.CreateObject("Scripting.FileSystemObject") Set MyTextFile = MyFileObj.OpenTextFile(Server.MapPath("content.txt")) WHILE NOT MyTextFile.AtEndOfStream Response.Write(MyTextFile.ReadLine & "<BR>") WEND MyTextFile.Close %>
Does Anyone Know How To Add HTML into An Access Database? I Am Building A Blog And Have A WYSIWYG Editor. I Get An Illeagle Character Error When I Try To Put HTML Into The Database.
I've a strange problem with Windows Vista, running an ASP page on local machine (http://localhost/test.asp), the page does not give me any error but the asp code is not executed (simple code : <% response.write("hello") %), it show me a blank page, I think I've put all the setttings correctly, but maybe I must do something obvious to fix that.
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 ....
Just starting with ASP but I have to order our server and serversoftware ASAP. Does it matter which version of Windows Server I go for? Our plan is to create serachable catalougue with dinamic pages using ASP VBscript and Microsoft Access. I am guessing it might depend weather we host the site ourselves or use a provider
is there a way to install the IIS server on Windows XP home? Like the one you get wih Windows XP Proffesional CD. I have found this website which has a method of doing it, although it says here tha Microsoft says you need Windows XP Professional to install this and that this is only a workaround I wasn't sure if this was true or not.
The main reason I thought of this was because I would have thought Microsoft would have had a file you can download from their website or some thing like that, although I haven't found any other way of doing this yet.
I have being told my our web developers team that it is not possible to use Windows Authentication on a SQL Server 2000 database and ASP application. That it can only be possible on a ASP.NET. On the other hand thur seraching the web I found out that this task can be accomplished by just turn on Windows Authentication and shut off Anonymous access in your website properties using IIS Manager on the Web server.
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.
I'm incharge of updating the stats on a chl hockey teams Web Site. I would like to know if there is a way to be able to save the content of the CHL Statistics WebPage on our Server and using it to update our Microsoft Access 2000 database.
If it possible, then I would take the content of that page. Execute some code that will take this information an place it in our database on our server. By doing this, our Team WebSite would be update automaticaly at a time that I specify on our server.
At this time, I have to open the CHL Statistics WebPage. Then Save the HTML page as a txt file, upload it on our server via FTP, then execute my my code that places it in our database.
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:
I have a computer where I installed windows xp professional. However, during installation, I did not choose the IIS server component. Now, I need to install the IIS Server.
At the moment, I am not carrying the windows xp CD. Is there any IIS server download for xp available in the web so that I can get a local web server up and running real quick?
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.
Will CDO work under Windows Server 2000? I'm guessing it will. The problem is that I wrote a nice little ASP app under Windows Server 2003 which works REALLY well. Sends out the email with NO problem. 'Course, it uses an external SMTP server, but I'm assuming this shouldn't matter, right?.
Because when I port it over to Windows Server 2000, it blows right past it. Is there a particular setup procedure that needs to be done for Windows Server 2000 to enable CDO to work properly?
My ASP page needs to connect to the SQL using Windows Authentication.
I have research this topic and I think the pieces of the puzzle are here, but they are not coming together correctly.
Users are separated into groups with different levels of security, Group 1, Group 2, Group 3. Each group can only view, update or delete specific pages. Code:
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.