Pages Showing Codes In IE
when i try to view an ASP page in my IE web browser, all i see are the codes used to design the page but when i preview 'em in Dreamweaver its okay.Why is it so ?does it mean if i publish my asp pages to the web; thats how they'll be on other people's browsers ?what do i do to be able to see the actual web page and not the codes in an ASP page.
View Complete Forum Thread with Replies
Sponsored Links:
Related Messages:
Asp Pages Randomly Showing As Blank White Pages
Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server not helping, only whole server. I enable server side and client side debugging, but no errors showing up... In view source pages always look like this: ----------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1251"></HEAD> <BODY></BODY></HTML> ----------------------- Any idea why it can happened and how to fix?
View Replies !
View Related
Codes To Create Pages
I have created a form with the folowing properties, first name, last name, registration number; course; grade etc I have passed this form to a page to be called create_table.asp, and on submitting the form. I want this page (create_table) use the info from the form to create tables in an access database (jacko) each time the submit button is pressed with the tables to be named automatically according to the convention fname_lname. I also want to create a page that I can use to edit all the tables in the database can any guru assist me with the required asp codes.
View Replies !
View Related
New Pages Not Showing Up
i have just uploaded the new files to a website i have rebuilt. I have refreshed IIS and restarted the website but the new files are not showing through on directories that existed before eg subscribe etc. The new directories that didnt exist before work fine but would the internet connection in our office be caching previous pages that are no longer there and trying to access them?
View Replies !
View Related
Showing Different Pages (AbsolutePage)
I'm using AbsolutePage to show the results of my recordset in different pages; of course if there is a lot of data, it's gonna show all the links (for example 100 pages, 100 links) So I want to do something like this: pag. 1 2 3 4 ... 97 98 99 100 and of course without showing "..." if there are less than 4 pages. What's the easiest way?
View Replies !
View Related
Zip Codes
We have "orders" that are entered into our database through a data entry web-based application that we've built.Typically,the user enters the city/state/zip code/county. Now they want it to be able to autopopulate the city/state/county based on entering only the Zip Code. We realize this can be a problem as Zip Codes can overlap different counties/cities/etc.Is there a good way to handle this?Perhaps some kind of control we can use on an ASP page that will read our Zip Code data and handle this somehow?
View Replies !
View Related
Promotion Codes
I have designed an e-commerce site for a friend and he now wants to add promotional codes to the site t work as follows: The first 100 users to subscribe to the mailing list will be sent a promotional code be the site owner (via email) entitling them to 25% off their next purchase. What I want to know is the bet way to implement this using ASP and access and also how to ensure that once a Code has been used by a visitor then it cant be reused again.
View Replies !
View Related
Including Asp Codes
I have included all the db scripts in asp above the <head> tag and <html> opener tag.When i submit a page, to add a record that record just get doubled and i dont know why that is happening.It dont happen always but now and then. The problem is not with cliking the submit button twice. So all i want to know is if it may be a problem with including the asp codes above the html tag or not?
View Replies !
View Related
Asp Codes Or Articles
Does anyone have codes or articles related how to make Yahoo-like directory-based serach engine which the categories of the post can be change from one to another, theoretically expandable to unlimited level of directories, etc.
View Replies !
View Related
Revise Codes
I'm working to revise some code I had the misfortune of inheriting and am hoping someone can either give me a quick explanation or link to some more information. I need to figure out how I can edit a constant. Specifically, I keep coming across things like const MN_DIRECTORY=1 const DIR_RESUME_URL=22 and I need to know a.) what the values mean and b.) how I can edit these.
View Replies !
View Related
Validation Codes
the code for validation? What I'm trying to do is if a person forgets to fill out something on a form...I want a pop up that will remind them what information they forgot to fill in. For example "Please enter your name before submission."
View Replies !
View Related
How To Log ASP-error Codes?
I would like to write ASP error codes in a log file. Error message would be for example: ADODB.Fields error '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal. /ASP-application/page1.asp, line 67 I've learned that it is possible to get some information with the 'err-object' of VB. Unfortunately these codes and descriptions are not that good as the ones ASP itself generates. First of all I'm interested in the description ("Item cannot be found in..") and the line in the ASP-Page where the error occurs. Does anybody know how to catch this information?
View Replies !
View Related
Distance Between Two Zip Codes
I am trying to find a software that can find distance between two ZIP codes. I think most of them do it by having the longtitude and latidute of each ZIP, and substract. But this gives the air distance. Where can I find software that find the ground distance (like in Mapquest).
View Replies !
View Related
Encrypt Codes
Does anyone out there know how to encrypt the entire ASP file? That means when a person tries to view my ASP source code, it will display as rubbish. Can't use Script Encoder (srcenc.exe) cause out there in the market exist a freeware Script Decoder (scrdec.exe) which can easily decode back the file to its original state.
View Replies !
View Related
Asp/ado/xp_sendmail/return Codes
I have a stored procedure that builds and sends an email using xp_sendmail. It is called after the user makes a change to a form (it tells the support centre that a change has occurred.) The last bit of my SP is this: -- It fails if it has no recipient list if isnull(@recip, '') = '' set @recip = @supportemail declare @rc int -- have also tried changing it to bit exec @rc = master..xp_sendmail @recipients = @supportemail , @message = @msg , @subject = @subj , @no_output = 'False' , @query = @q , @width = 200 /* Return Code Values 0 (success) or 1 (failure) */ select @rc return @rc If I call it through query analyzer, @rc is 0 and I receive the email. If I call it through my ASP page (which worked earlier), cint(rs.fields(0)) is -1 and I do not get the email. strSQL = "exec pr_EmailNotification " & iRequestID writeline "<P>" & strSQL set rs = ConnObj.Execute (strSQL) writeline "<P> Result: " & cint(rs.fields(0)) '0 (success) or 1 (failure) (All variables are declared.) It was working earlier, I had proven it... I thought it was the return @rc line that was doing it and was just keeping in select @rc for debugging. When I was ready to move on, I removed my debug statement, and then it started failing. I've put it back in, but it still fails, so I must have also removed something else, or changed something, or something. I'm at wits end. It still works perfectly through Query Analyzer. But not ASP.
View Replies !
View Related
Unable To Figure Out Codes
I'm now doing a project about handphone making a call and sending sms or mms by using vb.net. But i need to make the button invisible inorber to see the buttons of my phone.when i switch the visible to false. The button become inactive and i can't even click it. How to make the button active and it is invisible at the same time. Need to figure out the codes fast,running out of time to do the project.
View Replies !
View Related
Generating Unique Codes
I have a table with data in it and i want to generate unique icodes for each user. I have a hex function that generates random code but i get stuck when i want the items to be unique. I want to update all uses that have empty codes. How will i go about this. Code: str_sql = "update tbluser set [usercat]='" & strcode & "' where usercat=null" conn.execute(str_sql)
View Replies !
View Related
Generating Confirmation Codes
I have made a booking system, but need to somehow generate a unique confirmation code to be sent to the bookee to confirm the booking. I hve done a basic Google search, and a search through the archives of the forum, but to no avail.
View Replies !
View Related
Codes To Open An Access Database?
my database is database.mdb my file path is C:Inetpubwwwrootfypdatabase.mdb Error Type: Microsoft VBScript runtime (0x800A0009) Subscript out of range: '' Besides using this ASP code of opening up my database is here any other way??? I often get the above error due to " This is my present code.. <% dim objConn, path set objConn = server.createobject("ADODB.connection") path = "C:Inetpubwwwrootfypdatabase.mdb" objConn.open "driver={Microsoft Access Driver (*.mdb)};dbq="& path &";" %>
View Replies !
View Related
How To Trigger External Lamp Kit By Using ASP Codes?
I am studying Programming and Computer Engineering and got an assignment. I made a lamp kit and a program, but I now need to integrate both by using ASP. So, when somebody is in the ASP page and presses a certain button, the lamp needs to automatically switch on (or off). This of course not only applies to a lamp but should be used for different devices. The logic is that no matter where you are or what time it is, you can remotely switch devices on or off using ASP. My question is: What codes do I need to make this work? And what are the steps to follow?
View Replies !
View Related
Showing XML
Can anybody help me with displaying two xml content in a asp page. i want it to be shown with collape and expand feature (with those + and - feature when an xml file is opened in explorer). i tried having html frames but i am not able to add menu in the same html page. right now i have menu and two text boxes to display this xml content. i want to use something else instead of text boxes to display xml in indented form. i thought i could use browser component in asp page but it doesnt work.
View Replies !
View Related
Video Showing
I have an active-x control on my asp that loads a wmv video file.But i have a problem viewing the video until i have download the whole video on the active-x control. Is there a way to see a portion of the video without complete download?
View Replies !
View Related
Showing Tif Files
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but no use. This is working fine on win2k IE6.Here is the html file I am using to display the tif file. <html> <head> <img SRC="http://192.168.0.30/test/test.tif" BORDER="1"> </head> </html>
View Replies !
View Related
Showing Reminders
I make a intranet Project For a Company.In that Project i make some reminders that can send each other users.When the Reminder come it should be alert like yahoo or Msn means Reminder should be show right side of the Taskbar and it's come like fade.
View Replies !
View Related
Showing Records For Each ID
I'm really trying to make this work. I have a dbtabel with following fields. ID PlayerID Date Point I want to show each players point like this "1,2,5,6,4,8,9", but i want the script to first add up which player who has the most points, and then list them in order of wich player who has the most points... 1,3,5,6,4,5,9 2,1,1,3,2,3,6 2,5,6,4,1,1,0 Each row is each PlayerID's row. Is this possible.
View Replies !
View Related
Updates Not Showing
my problem is The updates on my asp files are not reflected in the browser. Till recently everything was working fine. Today I installed new updates on my windows 2000. After all the cached asp contents are appearing and the updates are not getting refreshed. I dont know if this is becoz of the updates on my OS. I had a file addfield.asp. It was working fine, I made some changes and they worked. But after that my updates are not reflected. If I rename the file to addfield1.asp. I am getting the desired results. Again if I change the contents of this file, they are not appearing.
View Replies !
View Related
Images Not Showing Up
why some of my graphics wouldn't be showing up? I'm using css and everything looks fine in dreamweaver until I upload it then half my graphics are not visible on the page but they are there because I can still click on them, I just cant see them. Any reasons?
View Replies !
View Related
Records Not Showing
I inherited a database driven site, which displays events pulled directly from an access 2000 database. when these events are edited in the admin system, or when a new record is added (again via the admin system), the record will no longer show up as being editable on the choose_event.asp page. I checked the database, and the changes are being made.
View Replies !
View Related
Showing Companyname In URL
ok so I wrote a template based CMS.... A small company requires a website, they come to my site www.mutedesigns.co.uk/sbs and choose a template, pay, register, edit ther details and pages and then view their site simple and it all works yay! Code:
View Replies !
View Related
Showing Shared Dir
I'm working on a Intranet, and found this code to list the contents of a directory. However, the only directory I've been able to show is the dir where the script itself is (Inetpub/Scripts). How can I redirect to a directory somewhere else on the network ? Code:
View Replies !
View Related
Showing Birthdays In ASP
I have a table called 'players2005' with fields of 'player' and 'pdob' The 'pbod' is a DATE realted to the players date of birth. Using ASP how can I call the access database to show members that date of birth is today. I have the rest of the script but just nedd a SQL statement Code:
View Replies !
View Related
Code Showing
I've been working on a page at work, which has been fine, yet when ive come to try it at home, i load the page (the page loads fine) but i see all the code etc that was hidden before. example what i see at the top of the page: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%<% OPTION EXPLICIT %<% 'dim oCdoMsg, oCdoConfg, st but i see tons more than that, basically all the code to the next %>
View Replies !
View Related
Showing Only Null Fields
What to only show the Null fields on an ASP Update form. eg. <% If "Recordset1.Fields.Item("B15-1").Value" = IsNull then %><input type="text" name="B151" value="<%=(Recordset1.Fields.Item("B15-1").Value)%>" size="32"> ...etc get what i mean? Needs to be per field - as the exact fields will differ from record to record Any ideas?
View Replies !
View Related
Showing Records For Each User...
I have a Golf leaderboard based on points given to each player after each match. That works fin, but is it possible to show everys players record after his or hers name. At the time it looks like this. Mike 7,50 Peter 5,45 etc. My code is like this Code:
View Replies !
View Related
Some Data Not Showing In A Form
I am using SQL 2000 database and MS Server 2003. I am pulling in data from a sql table. For some reason, when I include the following line: <tr><td><b><%if rs("Street_dir")<> "" then response.write rs("Street_dir") & " " end if%> <%=rs("Street_num")%> <%=rs("Street_name")%> <%=rs("Street_suf fix")%></b></td></tr> then the following line does not display: <tr><td><%=rs("remarks")%></td></tr> The REMARKS data is blank. But, if I remove the upper address line, then the REMARKS appears. The address is 1111 Main so that does not seem to be the issue. The address information is VARCHAR fields, 255 characters. This works fine on another server where my files used to be, but I just moved to a new server.
View Replies !
View Related
Pictures Not Showing After Upload
I have an upload facility which is working fine. uploads to a folder (photos) through aspsmartupload and database. Ive checked the folder, n database to see if the file is being uploaded and it is. ITs just not being displayed properly on the site. ALl the pictures come up with a little white box with a red cross in it, in the top left had corner.. so its identidied as an image , but its not showing the actual image. .
View Replies !
View Related
Showing All Spaces Without Using The
I am using ASP to read code from a text file that I am displaying on my page. Because I do not want the code from the text file to be executed, I used the Server.HTMLEncode() method to display it as it is in the file. However, the spaces used to indent lines is still removed by the browser. I cannot use VBScript's replace function to replace all spaces with because that would replace all spaces, including ones that I do not want replaced as well as majorly increasing the size of my file. Is there any way to display the spaces used to indent the lines without manually writing a function to do it?
View Replies !
View Related
Showing An Include File
I would like to have the option to show and include file which has a one line table with a red background and printing to pull info out of a SQL database but only if there is data in the table. Basically it is to show breaking news when it happens before there is an article. The SQL table is called breakingnews and the column is called brknews. If the column brknews has nothing in it, I don't want the table to show up on the page but if there is data in it, I want the colored table and text to show up on the page.
View Replies !
View Related
Showing File Extension
If you'll notice, there's a comment in this snippet that drops the extension. How can this be modified so that the extension IS shown? Set myFileSys = Server.CreateObject("Scripting.FileSystemObject") Set Folder = myFileSys.GetFolder(Server.MapPath("/meetings")) for each file in Folder.Files If Not file.name = "index.asp" Then FileName = Left(file.name, (Len(file.name) - 4)) 'drop the extension FileSize = cint(file.size / 1024) 'convert into kilobytes and drop the decimal Response.Write("<li><a href='/meetings/" & file.name & "'>" & FileName & "</a> - " & FileSize & " K<br>" & chr(13)) End If next Set myFileSys = nothing
View Replies !
View Related
Showing An HTML File
Showing an HTML file in part of a Webform.I have a Webform with some buttons on the left side of the form. What I want when clicking one of the buttons is to show an HTML document in a part of the Webform (as if it was a Frame page).
View Replies !
View Related
Showing Default Option
How do I display 'Please Select' as the default value my code is below.Code: <option selected>Please select</option> <%SQLStmt = "SELECT magcode FROM Magazine ORDER BY Magcode" Set rsDistMags = Connection.Execute(SQLStmt) Do WHILE NOT rsDistMags.EOF%> <option value="<%=Trim(rsDistMags("magcode"))%>"<%If Request("magcode") = Trim(rsDistMags("magcode")) Then Response.Write " Selected" End If%>><%=Trim(rsDistMags("magcode"))%></option> <%rsDistMags.MoveNext Loop%> </select>
View Replies !
View Related
Pivot Table Not Showing
I see a similar unanswered post here, I face the same issue.Does Win XP have some bug with Microsoft Office Web Components 11.0 ?I am unable to see a pivot table which I added, in my web page.Strangely enough, this control is showing perfectly in Win 2K with the sameweb page.
View Replies !
View Related
Dynamically Showing Datediff
I have a datediff comparision value on my form. Since one of the dates inside the datediff is: now(), I'd like to know if there's a way to show the result dinamically (without reloading the page..). I can't see how to do it from server side...It's possible to use js to fill the field or reload only the field value? detail: I'll need to submit the current diftime value along the other input values on my form at the end of process.
View Replies !
View Related
Without Record - Page Not Showing Up
I have an ASP page in a table style (heading and data). At the beginn of each month (actually only the first day) there is no data in my database and so-with nothing to show up on the ASP page. If I would like to open the ASP page over the net IE is telling me that it cannot find my page. Is it possible that, even if there are no records to show, at least the heading is shown on the Internet?
View Replies !
View Related
Showing HTML As Text
I am sending out an HTML email using CDOSYS and want to include some HTML code within the text of the email. So, it's something like: Hi Your link is <a href="www.domain.com/subfold">Link</a> But it includes the code within the HTML. How do I just show it as it's written?
View Replies !
View Related
|