I have an old ASP web site that runs since 1998 (IIS3, 4,5). It use DataEnviroment stuff . Now on IIS6 after a couple of hours of use this line get in error:
DE.Init(Application("DE"))
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument
/test.asp, line 25
All the rights, connection, global.asa, dataenvinroment.asa, etc are ok. If you hit after the error F5 maybe it runs ok or maybe it goes still in error After an IISRESET things get better, but after few hours it comes again.
Oracle has a function called InitCap for setting the 1st char to uppercase. What is the similar function I can use within ASP (can't seem to find it in the documentation or searching)?
We're moving an asp site onto our fedora redhat server and I am fairly sure that I have installed all the proper modules to get apache to read the site properly, but when I bring the site up in Firefox it displays the actual asp code as text. I would assume this means that something is wrong somewhere along the way, and yet when I display the page in ie the site shows up fine? How could this happen?
Looking at it in firefox displays code and ie displays the site (with some errors, but it still displays)I'm a php/mysql personally so I have no experience with this, but as far as I can tell we have apache-asp support installed properly and the site should be showing up.
I have built a site completely with ASP.I am searching for free web host which works with ASP.give me a list web links of fre asp hosters.and i have used drive letters to access my database, how can i remove those drive letters (ex. "c:m.mdb").
I am trying use the IP works ftp component to send a directory full of files to an ftp server, and all that is in the help for this is the methods with no example code for anything other than how to list a directory which works fine! But when it comes to uploading files I seem to not be having any success.
I am retrieving data from database through asp code.It works fine for IE 6.0 browser.The same code does'nt work for Mozilla Browser.what are the changes that i need to do to make the code work for mozilla browser.
I Finally Got this admin_SubscribedCust_email_processor.asp working so it sends emails to everyone in my database but ONLY WHEN THE EMAIL IS something @homeland.am so within the network... anything else it came with error message.. CDO.Message.1 error '80040213' is this out of my hands, as it is the ipowerweb server related or can i do something to fix this problem and how?? please help asap as i have been working on this problem for a while now and i also have another email admin section on my site that the admin can send emails to the customers on the database manually and it also is the same problem!
CDONTS works with all sites hosted on my test server bar one (which surely rules out a miscomputation of the Default SMTP server in IIS). I have tried uploading the file with make up the site in which CDONTS to one of the IIS "sites" which is known to work with CDONTS, and still, no email received. The bad mail dir gets three files each time, the error is:
Unable to deliver this message because the follow error was encountered: "Error is processing file in pickup directory.".
The specific error code was 0xC00402CE.
The solutions offered in various responses I found after a quick search all assumed that the SMTP service was configured wrong, but how can mine be when other sites can use the CDONTS/SMTP components fine. Code:
i have a very smal asp programm with mail functionality, which works and i send mail with it! The Problemis when i' use wireless lan in my company i get error. At home, where i have a static IP-Adress it works as i said! I know that it is a question of dynamic IP (in WLAN of my company i get a dynamic IP from the server)....
I'm an ASP beginner and did an application here locally on my IIS under W2000 Prof (SP4). Runs here completely great.
Now I wanted to place this application under a W2003 server online. Now always get the message:
Runtime error in Microsoft VBScript error '800a01a8' object required: 'Application(...)' /globalfunctions.asp, LINE 18
Funny, that line 18 in my globalfunctions.asp is empty. However I use the Application()-object in this file and the coputer seem not to find it. I read that it could have to do something with global.asa. I then created a global.asa and created the subs for the events but put no code inside. It changes however absolutely nothing.
What could I have still forgotten and why run it here locally? Possibly a rights problem?
Just to explain what's going on briefly... I've added an include to the top of all files on our site (this code is pasted below) to check IP address, and then some pages will display slightly different content for our Canadian or US customers.
This works fine in Firefox. However, in IE, when a Canadian visitor comes it doesn't display canadian content on the http version of any page. Once they go to a https page, it works just fine. After that, if they go back to an http page it still displays properly. Code:
Can someone please explain to me what server side validation is and how this works, also where do you put this, and in which programming language do you write this. Some examples are also welkom.I've never used this but I want to learn how.
I have a simple form on a page in my website in which a user can enter an email address to be added to a mailing list.
The following ASP script works the first time a user submits his or her email address. However, if the same user tries to submit another email, the browser hangs and times out. If the user clears the browser's cache, this script works fine. Could someone please explain this behaviour and how I can resolve it?
<% Set myMail=CreateObject("CDO.Message") myMail.Subject= "MAILING LIST ADDITION" myMail.From= Request.Form.Item(1) myMail.To="user@domain.com" myMail.TextBody= "Please add the following person to the mailing list: " & VbCrLf & VbCrLf & Request.Form.Item(1) myMail.Send set myMail=nothing Response.Redirect "http://www.domain.com" %>
I have a page which works fine testing locally on my win XP PC, using an access database file. When I place it on the server (all code and database file being the same)... it gives an SQL error :
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E10) [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2
I am using classic asp and making a connection to LDAP server using SQL code under IIS 5 on my localhost and it works great. I have a form and form fields that pull from active directory.
Now, once I get the web team to deploy these files to the webserver where all users will be able to run this app.(this server is using IIS 6), my form fields show up blank.
For the life of me I cannot see what is wrong or different except the IIS version. Also, I have gotten the IIS logs and they don't tell me anything. Code:
I've got a form that is activated by an external .asp page. I've finally got the validation of the form working, the javascript alert pops-up and correctly identifies the mistakes, but when I click OK on the js pop-up, the form submits and I get a data mismatch error.
I can't seem to figure out how to get the form to wait for the right data... Code:
Below is the generated source for an ASP page that posts a value called 'album' to another ASP page. The other page retrieves the value with Request.Form('album'); On Firefox this works fine every time. On IE6, I always get nothing. I'm pretty sure it's the posting side that is at fault, so that's what I've shown here. Oh, I tried Request.QueryString too and again, fine on Firefox, nothing on IE6....
If an ASP page works locally on your system but doesn't work remotely on the web hosts server and your only alteration to the page before uploading is your connection string to make it point in the right direction on their server then surely the fault has to be the path to the servers database doesn't it?
Or is there another possibility why the page would show up an error page.
I'm have a VB function that connect to SQL SERVER , get's information and returns the relavant string.
using this function within VB application (say cmdbutton) works great, but when trying to activate the function from asp page, i'm getting nothing. Code:
I'm currently testing a version of Win2003 to evaluate a migration of our NT4 server, but I got some troubles with Office Web Component 9 (office 2000), it seems it doesn't work anymore, and I can't find the issue.
When I make a Set objSpreadsheet = Server.CreateObject("OWC.Spreadsheet"), I got an error : Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /test/include/./include_asp/excel-class.asp, line 10 800401f3
So I thought it was a "Web service extension" problem, prohibited por default by IIS6, I authorized MSOWC.dll but nothing changed...
Then I decided to setup OWC11 and it seems to works fine.... even if I don't authorized it... (is it a normal behaviour ?, shouldn't I be supposed to autorized it ? )
I can't understand my problem with OWC9 is there some incompatibility with IIS6 ? Code:
Ive got a ASP site on a server with a old iis and it works perfect on but ive got a new server with IIS 6 with exactly the same site and the session variables wont stick they just dissaper any idea.
I have a custom File management ASP application that handles Large File uploads and download from a database (30 - 40 MB files) The application works fine on IIS5 but when I relocate it to IIS6 i get an error when I file not found error when i attempt to download out of the Database. IS there a reg setting or metabase setting that i need to change to handle large blob outputs.? Sorry I can't be more specific about the error msg but that is all it give's me a File not found error. it does however work fine with small files less then 2mb in size
I used to be able to run ASP scripts on IIS and then I installed MS SQL server 2000, and EVERY page I go to that has an .asp extension (even if the code inside is BLANK) will return a error labeled "The requested resource is in use. ". I've tried many things like re-installing IIS 6, allot of things. PLEASE help me, this is on a production box and HAS to be UP AND WORKING before 1:00 AM CST (5 Hours from the time I posted this)
I migrated an application from NT4 (IIS4) to 2003 (IIS6).
The application only works when the components are registered with regsvr32.
One of the webpages doesn't work-- when I fill the form out and hit submit I get "compx error '800af10a' Insufficient memory to perform operation. /submit.asp, line 283"
I've tried going through and changing permissions but haven't had any luck. I also tried setting the Web Site to use an Application Pool that I created to run as System Mode but that didn't make any difference.
Everything works when I select "IIS5 Isolation Mode".
Knowing that it works under IIS5 Isolation mode how can I determine what is causing the message so I can run it under IIS6?
I migrated a VID6 application from Windows NT 4 to Windows 2003 Server (IIS4 to IIS6) which was developed using ASP and VBScript and I now I am getting an error message as follows: Microsoft OLE DB Provider for Visual FoxPro error '80004005' There is not enough memory to complete this operation. /hinojosa-web/iPD2.asp, line 377 The line mentioned above refers to the execution of a query to generate a recordset which will be displayed to the user who is requesting data. This issue does not always happens, it does only after accesing the web site several times.
I just have installed Windows 2003 Server Enterprise Ed.Where the IIS ver.6 came with it. I installed the IIS6 with all its subcomponents. The problem is that ASP pages are not processed by the IIS whereis HTML pages are. I have allowed asp extensions.
Is there an explanation somewhere as to how IIS6 determins how many ASP threads its actually going to use?I have configured IIS6 to have 20 threads (ASPProcessorThreadMAX) but it uses them all.
I am using the MACT test tool to stress test and with 50 concurrent users I quite often see only a single ASP thread being used the other 49 are on the Requests Queued. The Request Wait Time in Perfmon can be averaging around 5 or 6 seconds and there is plenty of spare CPU.
The application quite often has long running queries(15 to 20 seconds per request)and rather than use another thread IIS will quite often just keep ticking along with the threads its using with the result that the Request Wait Time can jump significantly.
Set oVar = Server.CreateObject( "MSWC.PermissionChecker" )
The PermissionChecker component works flawlessly in IIS5.0, but we're migrating to IIS6.0 and it no longer works because IIS6 no longer supports it. Has anybody gotten around this issue?