On the same client with different IIS servers I got a different behaviour of the same code. In one environment it opens in the frame and in the other it opens a new window.
I got a asp page that has right and left site frame. I got a form in the right side frame and i want it reload the left frame when the it got submited .The left side frame displays that content of newly sumitted form.I be happy if some one help reload this left page when a form got submitted in right side frame with out using any auto refresh.
I built some Web site that includes 3 frames page. After a user sign-off I want to redirect him/her to a single frame page. When I use Response.Redirect command, I am getting the redirected page as a frame and I still see 2 other frames.
How to get rid of other frames and display only a single frame?
1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.
I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:
I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??
I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.
The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.
Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:
I have compiled an activeX dll and pass variables using asp into functions within the dll.
When I test this running the code with Visual Studio the data is output correctly to the browser, however when I compile the code and run the same code the data is different! This is confusing me as to why this is happening....
I always re-start the web service after registering the dll...
I have a page that lets the users make contact groups and send an email to them. I have a form that lets the user enter the details of his message including his full name and his email address. Once this form is submitted, I do the following to get a string for .From property of the CDONTS mail object:
Now I stumbled upon a bug where if the user adds a title to his name (i.e.: "John Smith, MD"), the address for the recipient gets truncated where the comma is and the recipents can't reply as the address is now invalid. Is there a way to encode any special character in the string so that it will be mailer friendly?
I keep getting an error in coding. I am using Dreamweaver MX 2004 and once I preview it in IE it works then once I press F5 to 'refresh' it fails again. The IE error returns this link http://support.microsoft.com/defaul...Q241271&sd=tech It regards the following : IIS 5.0 Continues to Return 500;100 Error Page with Response.Buffer Set to False Does anyone know what this means and how to fix it? P.S The previous thing I was doing before the problem was setting up 'data bindings' in DWMX - to be fair this was somewhat a trial and error approach and I'm not sure if I've damaged IIS or DWMX in someway.
code start ____________________________________________ Microsoft VBScript compilation error '800a03ee' Expected ')' /example.asp, line 142 Private Function FuncDiff(ByVal DateOne As DateTime, ByVal DateTwo As DateTime) ------------------------------------------^ code end ____________________________________________
I'm running ASP under IIS 6 with Tomcat. During the process, Tomcat will forward to an ASP page with some data and those data will be written to MS SQL and display some information in that particular ASP page. The Servlet has no unsafe code. The strange thing is that all the data is written correctly in the MS SQL with correct user and related information but the data might become blank or send to different users in that ASP page.
Does anyone know what might cause this strange behavior ?
I have registered the domain with godaddy and mapped the dnc to my server (Windows 2000)
When i browse that site using that www.abc.com, in one of the pages i found that the session value is lost. This happens only in some machines not same with all. Most of the machines works that site properly. But not the same in some machines. All machines has configured same.
**MySQL is accessible via ODBC manager and MySQL -Front. I am able to modify the databse. I can not access database from the ASP page that I did not modiy after the last successful interaction with database**
MySQL 4.1/IIS
Everything was working fine until last night PC shutdown to give it a break, was running for a few days. Today, after reboot, the ASP page, and my entire site for that matter, stopped working.
Here is the connection string that was working: dbPath = "SERVER=localhost;DATABASE=molsonbubba;UID=xxxx;PWD=xxxx;OPTION=35" useDSN = False If useDSN Then cString = dbPath Else cString = "DRIVER={MySQL ODBC 3.51 Driver};" & Server.MapPath(dbPath) End If
Here is the code that throws the custom error (Database is not found) and stops. If I remove the code I am able to get the site up but no db operations work as I get a "HTTP 404 - Page not found error" ? Code:
I just re-uploaded my .asp site to a new host. But one of my pages now bugs, I get this error message in a Windows alert box: Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked. All other pages work fine.
Not sure if anybody has run into this problem. I'm using ASPEmail from Persits to generate an email and send it. The problem is that when I check the email that the asp code sent using Outlook Express or Outlook the email gets cut off 3/4 of the way. If I check the email on hotmail, yahoo mail, any other email program....the email comes in full. Any ideas why this might be?
When adding i am checking if that name already exists in the DB and if so i am poping up the message that name already existing.
It is working perfectly in my win2000prof and i have tested in both in my localhost and ftp servers and in both places it is working as i ahve expected.
But when the same application is opened in winxp i have a strange problem coming. When i add a new list , then it checks for the name and what happens is every time i add a new one and even if there is no matching record or matching name avialable for that record, javascript popups saying "Favourite List Name Already Exists" and the strangest part is the insert part also working. That is both if and else part are working together. I am getting this problem only in XP. Code:
A bit of a strange request this, but I do have a reason When using request.form to access a forms elements data, is it possible to btain the elements type.
For instance whether the field (element) its being passed from was a hidden field, a text box etc etc! I've hunted everywhere, and tried lots of variates but I couldnt find anything..
This problem occured just the other day. Whenever I try to access an .asp file on my server with an exact url, I get an error: The system cannot find the file specified. BUT, if I type in an url to a folder containing a default file (in my case, index.asp) the file is shown correctly .....
Have an ASP page on internet, where I let the user write his email address. Today I see that this text input field has got a yellow background instead of the normal white as the other input fields. The code is quite normal. Using IE 6.0.2900. It has not appeared before. Then I rebooted the computer,but got the same result.When I try another computer, also with XP pro and the same IE, the text input is white as it should.
why a ADO recordset.recordcount would return a -1? I have confirmed that it has records in it by writing some values to the screen. Why can't I count the number of records returned though?
I have the simple form as below. When I click it is not getting the form action from the line inside the loop but from somewhere else in the page. The page has multiple forms but depending on what the status is various elements are dsiplayed or hidden. For examples even If I change the viewpo.asp to nopage.asp it still is displaying the page and going to viewpo.asp page with the PONumber query string set. Code:
For some reason,, the following recordset rs("w2itd1") will run fine when I'm looping it out on a page, but when I have it inside a sql statement, I get errors.
This will give me an error. The contents of this rs is a book title. Oddly enough, however, if I enter any other of the rs("fieldnames") that I have, in exactly the same fashion, I have no problem. There just seems to be an issue with the text coming thorugh. Can someone indicate what the problem could be?
I have a Website at work which we use for logs. You must login to access anything. I didn't change any code on one of the 9 pages I have and all of a sudden, the Submit button won't work. I'm totally stumped as to why. All the other Submit buttons work fine on all the othere pages.
strSQL ="select * from fn_select_loads_carrier('"& strCarrierEmail &"', DEFAULT, DEFAULT)"
from an asp page. When i run it on the SQLl server it results me a result set. And also in the asp page all the results are getting displayed properly. This is how i am running the query: Code:
strSQL ="select * from fn_select_loads_carrier('"& strCarrierEmail &"', DEFAULT, DEFAULT)"
from an asp page. When i run it on the SQLl server it results me a result set. And also in the asp page all the results are getting displayed properly. This is how i am running the query:
Create_Recordset() obj_RS.CursorLocation = adUseClient obj_RS.Open strSQL, obj_Conn ,adOpenStatic, adCmdTable If strSort = "none" Then obj_RS.Sort = "LoadID, TMSName" Else obj_RS.Sort = "" &strSort &"" End If
If Err.Number <> 0 Then strRedirect = "Error.asp" response.write "Erro number" &Err.Number End If
I am getting the Err.Number as 13 and it doesnt display at which line the following error is occuring. But all the results which the database is returning are getting displayed on the webpage.
I have no idea from where this err.number 13 is occuring at. I crossed checked all my procedures and script.
Im writing a script that has a lot of "nested" IF statements - it breaks a complicated situation down through a sort of logic system, and when it reaches the end of the tree it performs a certain task - in this case, it writes a row of data into a table.
Its very annoying that the IF statements work exactly as I want/expect them to...but when it gets to the end of the tree of IF's I get the following error: Code:
I apply a function to a set of Strings basically as follows formatText(str_title), etc. I use this same method across multiple pages, and across all of them this works fine, APART from on ONE page.
It is basically extracting the EXACT same variable (with the exact same value) on BOTH pages, and applying the EXACT same function to this variable, yet on one page it is displaying the following error :
i'm getting an instance of a form field value being cut off when input into a MS SQL db. i can't figure out where it's doing it. the field datatype is set to VARCHAR with a size of 100. the data is being cut at 30 characters. here is the form field: Code:
I am using a xml parser to retrieve and scan through some HTML from a website so that I can use VBScript operations (Left, Right, Mid, Len etc) to pick out the data that I require from the responsetext.
The code works very well and I am attempting to validate the data that the code finds by comparing it to data in a database. Below is a section of code that extracts race locations from a website. Code:
I have two files index1.asp and index2.asp (Both contains html 3frames) index2.asp have fame name like this(top,middle,bottom) [B](in middle frame I'm showing grid1.asp file.)[/B] I'm showing asp files in these 3 frames. I'm getting database records and i want to pass "ID" of these database records in index2.asp(middle frame, grid1.asp) And i want to get this "ID" in middle frame in index2.asp How can i get? this is the code
this is index1.asp <%response.Write("<a href=""grid1.asp?strID="&rs.Fields("ID")&"""target=middle>"& a &"</a>")%>
and getting values of this ID this is grid1.aspstrID=Request.Querystring("strID") s = "SELECT * FROM Alphabit where ID="& strID set rs = conn.execute(s) it is showing me an error "Syntax error (missing operator) in query expression 'ID='. "