I have the interface for my news managment coded so I decided to copy the code from the old pages into the new clean and user friendly layout. However I ran into one problem, now pages won't open for some reason and I get the same error every time! Below is the error I get and in the next post is the code...
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ''
/hwnetwork/admin_view_users.asp, line 86
I merged and modified these script which work perfectly fine as long as I use server.execute to access the VBS part (which is itself in another ASP file). When these I use a session variable to pass an email address from the database. I have had timeout problems and buffer problems and as I understand it, maybe a problem with changing the session variable too many times in one session. So I tried putting the two scripts on one page. When I do I get the error
Microsoft VBScript compilation error '800a03ea' Syntax error /tournament-services/fbba/editor/cdo_setmail.asp, line 24 SUB sendmail( fromWho, toWho, Subject, Body )
Note that this is a large email list for a World Karate Tournament and is not a spam list. It has about 20,000 recipients and I have never done anything like this hence the problems. Code:
Do you know if ASP can change a JPG file in a smaller defined size JPG.Do you have an exemple of it.Imagine the JPG is on the C: drive of my server and called PIC.JPG.
I am creating a module/WebApp that interacts with the new small business accounting 2006 beta SDK. The SDK requires a top level object to be created. I then use the “.login(companyname, database name)� method to login. I can then add, edit, delete information in the application using this object.
I need advice on what scheme to use to kick off the login the first time the user runs any code that interacts with the SDK. I would like the logged in object to persist for as long as the user needs it. For examples each user gets his/her own Small business object to use while at the site. This will greatly speed up the application/module. Any advice would be great.
It uses windows account to login. It just needs to know the database name and company name. The login running the web server will be used.
I made a small javaScript that checks and see if the user has .NET installed on his computer... but the problem is that I HAVE .NET, so I can not check that it works when you do not have .NET.
can someone that does not have .NET installed on his computer, go to the following URL and let me know that he gets a correct reply? (that he does not have .NET).
1. "Partition interval time slots". For example take a 30 sec video and create 7 images at 0, 5, 10, 15, 20, 25, 30 second intervals and the user from there can play each of those time frames INDIVIDUALLY.
2. Take two or more of these time slots and fuse them together forming one solid playable video. I guess you could do this by simply putting them together in windows media player (playlist) but not physically making one solid file.
I don't know if ASP can do any of these functions. I was given the option to take on a task of converting a ColdFusion application to ASP.
I have a problem with dialog boxes. When in Windows XP, the dialog boxes are too small, but when in other environments it is ok. What should I do to accomodate all environments?
I have a pa'gina (view.asp) that he shows the photo that is cited in the data base. The problem that happens is that if I sending the photo well great it appears in view great. I would like to make the following one, to program so that the photo alone appears in a size small e when the user to clicar in top of it, I open one popu with it of the real size that it is. As I can make this I do not know to make. They see my code view.asp that it shows the photo. Code:
Does anyone know the detail of how session variables are actually stored? The question I'm trying to answer is:
Is it more efficient to store and retrieve multiple short strings :
a) in multiple small session variables b) concatenated and stored as one large session variable c) inserted into an array and stored in a session variable d) it's all the same. Who cares?
Keeping in mind that for this application each piece of data will be retrieved for every page.
I've read that storing a dictionary object in a session variable is bad ews - something to do with ending up with thread in your apartment, or something ;-)
What I'd really like to do is create an XML object and store that in a session variable, but I'm guessing that would be pretty inefficient unless it had quite a lot of data in it.
I'm making a page that adds form data to an access database. When I press send, I get this error:
"Microsoft JET Database Engineerror '80040e57'
The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data."Is there any way of making the form field bigger?
well i m developing application in asp when i want to access these pages from ie5 it shows error HTTP Error 403 - Forbidden in internet explorer http://localhost/Mail/email.htm .
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue.
If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard error page displayed by IE (you know, the 'cannot find server or dns error' page).
Turning off 'show friendly http error messages' alleviates this. (Unfortunately this is the Windows default setting!)
I downloaded this custom 404 error page which sends an email, was wondering if anyone could have a look at it for me, for some reason, its not picking up the function, I have tried the mailing code and it works fine. Code:
During a Script session, when I hit the browser 'Back' button I get Pag error. I get this error only from a couple of the pages. Would anyone what the problem could be? or how to go about fixin this?
In random case I have the problem of Error 400 bad request. My appliction is asp pages with visual script, internet explorer 6.0, com+, and sqlserver 2000 as database.
i have a link from page1 to page2. this link uses a querystring to transfer data. usually i have no problems using querystring t transfer data. bt for the first time page2 does not display.an eror page displays. i had a look at the properties of the error page to see if the url is correct and i noticed somthng iv never seen before.this is
I'd like to discuss the concept of creating an error page which will handle the website content display. I need it for Search Engine Optimization. The problem is that SE does not read pages with querystrings like:
website.com/mypage.asp?id=123.
Therefore, there is a solution to it to make a link look like website.com/mypage/id/123 (which does not exist), and error page will display the content of website.com/mypage.asp?id=123 page, if url is website.com/mypage/id/123...Do you think that is a good practice to implement? Can anyone show the example? Should I use Msxml2.ServerXMLHTTP to pull another webpagecontent?
Hey i am getting the following error in my asp page
Microsoft VBScript runtime (0x800A000D) Type mismatch /newfolder/temp1.asp, line 135
temp1.asp invamt = qty * price -----> line 135 qty and price come from the database. i am using Microsoft SQL Server. qty has the value 100 and price has the value 600.00. This same code is running fine with Msaccess 2000 and asp. But its giving me error if i use SQL server and asp. i tried this code with sql server in vb, there also its running fine.
I have a strange error with my script. I am trying to upload a file to the webserver using clsupload and i egt the following error when the script runs: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Please try the following: If you typed the page address in the Address bar, make sure that it is spelled correctly.If you are trying to reach a secure site, make sure your Security settings can support it.Click the Back button to try another link. Write Error I tried usploading using another file upload component and got the same error which makes me thinks it could be IIS permissions related. it doesnt even class it as a 500 error it just says this.
What i'm trying to do is if a person hits an error page, these are differnt error pages not the 404's or 500's.. When they hit that page i want it to send me an e-mail with all the information that was displayed on that page.
when using a web application which includes taking an asp page then going to another asp page and coming back to first page ...some times connection to iis gets terminated and page canot be displayed error comes .. this error does'nt comes on a particular page .
I am still in the debugging of my website, but I'm nearing the end. As a last phase implementation, I want to be able to catch all asp errors and if there is one, send the user to a custom "sorry bout that" page, rather than having the errors displayed on that; if there aren't any errors, let the page load. I setup the 404 error, but that doesn't seem to accomplish what I want.
i am creating a appointment calender everything is fine except for one page what I want is to have no duplicate times for example if someone books 2opm on tuesday 22 of june no one else can book the same time.
I have set the database to not allow duplicate entries but I need a page that if someone tries to book the same time it will say sorry that time is taken.
Server.mappath always returns an absolute disk path to a file, regardless of if you pass a web path that starts from the root of the web or relative to the current directory.
chazukka's example will work fine as long as the script is executed from a page that's in the proper directory, i.e., a page that has subdirectory named database and the mdb file is in that subdirectory.
For example, assuming you're running /myweb/somewhere/myfolder/myasp.asp in a directory /myweb/somewhere/myfolder and the database file is in /myweb/somewhere/myfolder/database/mydb.mdb then