Code Works

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.

View Replies


ADVERTISEMENT

Code Works On IE Https But Not Http?

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:

View Replies View Related

Asp Site Works

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.

View Replies View Related

Web Servers Works With ASP

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").

View Replies View Related

IP Works FTP Component

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.

View Replies View Related

Mail Only Works When Its Within My Own Domain Name?

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!

View Replies View Related

CDONTS Works Intermitantly

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:

View Replies View Related

Send Email Works But Not In Wlan

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)....

View Replies View Related

Script Works On W2000, But Not On W2003?

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?

View Replies View Related

I Am Using A GUID (Global Unique ID) In Asp And Need To Know How It Works

I am using a GUID in asp e.g

i_GUID=(left(createObject("scriptlet.typelib")).guid,38)

and need to find out how reliable it is and how it generates a unique ID.

an example of the unique ID is {FEE7EECD-2E70-4E95-8EE1-C887B34EBB3E}

can anyone point me in the right direction for documentation on how this is generated.

View Replies View Related

How Server Side Validation Works

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.

View Replies View Related

An ASP Component That Works Similar To Facebook

I'm looking for an ASP component that manage USER PROFILE, that works similar to facebook or myspace The features that I would like are: Code:

View Replies View Related

DE.Init On IIS6 Works Intermittently

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.

View Replies View Related

Update Query Works In Access, Not In ASP

I have the following query:

Update properties set Last_Change=#8-Mar-2006# Where properties.fdref='h3c000';

which works fine when I run it on my desktop under MS Access, but when I run it as an ASP page, I get the following error message:

[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.

I am using the same database bot online and offline so field names etc are exactly the same.

View Replies View Related

ASP CDO Mail Only Works When Browser Cache Is Cleared

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"
%>

View Replies View Related

MSXML2.ServerXMLHTTP Works Only With Text Files?

I'm trying to remotely get a pdf file - http://remoteServer/file.pdf - in order to store it into another server, maybe with Scripting.FileSystemObject

However the following code doesn't work properly:

------------
url = "http://remoteServer/file.pdf"
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "GET", url, false
xmlhttp.send ""
------------

as xmlhttp.responseText does not contain the whole file textStream, but only a part of it.

View Replies View Related

Asp/access Sql Page Works In Xp But Not In Server 2000?

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

The SQL statement is as follows: Code:

View Replies View Related

LDAP Query Works On Localhost But Not Other Web Server

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:

View Replies View Related

Client-side Validation Works, But Form Still Submits...

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:

View Replies View Related

Request.Form(var) Empty With IE, Works Fine With Firefox.

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....

View Replies View Related

If An ASP Page Works Locally If Doesn't Work Remotely This Can Only Be The Connection

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.

View Replies View Related

Connecting To SQLServer In VB6 (using ADODB) Works Fine Within VB Appliction But Not From ASP 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:

View Replies View Related

Request.form :: Can´t Upload But The INSERT INTO Form Works Propertly

I´m having a problem using ASP Upload with an insert form..

If I use ENCTYPE="multipart/form-data" the all the parametres i might get with request.form don´t appear.. but i can upload the files.. Besides if I take away the ENCTYPE tag, i can´t upload but the INSERT INTO form works propertly

View Replies View Related

ADSI - Trying To Enable A User - The User Add Works Very Well

I have written an ASP.NET 2.0 application that uses Active Directory or ADAM
to manage account users - the site has a page that allows people to create an
account (much like any site). The page populates the AD with all the
information and the user account but I am unable to enable the account.
Microsoft has information on how to do that here -->
http://msdn.microsoft.com/library/d...ting_a_user.asp
(the sample is for Visual Basic) - and I am unable to complete the bottom
portion of the script. Can some one point me in the right direction - or can
you tell me how I can add a snippet of VBscript code to an ASP.NET page.

I am using the Active DS Type library - not sure why there are multiple ones
(System.DirectoryServices) but it is rather confusing - I seem to accomplish
one thing with one and another with the other (they did have trouble
co-existing however). Anyway my script works very well but I am not able to
access the properties required to enable the account.

Here is a simple version (no error checking) of the code.....

View Replies View Related

ASP Code - Anti Spam Verification Code

I'm looking for sample code that will require a use to enter a code from a scued image format.

I'm sure you've seen them before where the image is barely readable by a human and the user has to enter the code correctly to submit the form.

I'm looking for ASP code and NOT ASP.NET code as I am supporting a legacy site.

View Replies View Related

Query Works In Access But Not In Asp->access

What is this all about? Generally I run against SQL Server but now I have to use access. The query I want to run is a simple double join

SELECT tblArtists.*,tblGenres.name AS genreName,tblPages.pageId
FROM (tblArtists
INNER JOIN tblGenres ON tblArtists.genreId = tblGenres.genreId)
LEFT JOIN tblPages ON tblArtists.artistId = tblPages.artistId
ORDER BY surName ASC, firstName ASC

Now If I run this question in access against the database it accurateley returns two posts. BUT When I paste the same query into an asp document and runs it with a fileDSN against the same database it returns nothing!? Is this some kind of joke from Microsoft?

View Replies View Related

Pdf On The Fly Any Asp Code

do you know of any asp code that makes a pdf on the fly.

if there's none do you know of a good, not-so-expensive and easy-to-implement component?

View Replies View Related

ASP Code

Is there any way that I can store my ASP code in an Access DB and have it display that way? Ideally, I would like to make a page with a text area that I can write and edit code in, and then when I submit it, I would like to view the page that the code creates. The code in the DB would include code that selects from and updates the DB.
I would like to do this because I can't work remotely now.

View Replies View Related

SQ L Code

What is wrong with my code?

This is the error.
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'CLASSDATE >= 6/23/2004 ORDERBY CLASSDATE'.

This is the code.

Code:

strSQL = "Select * FROM WellClass WHERE CLASSDATE >= " & DATE & " ORDERBY CLASSDATE"

View Replies View Related

XML Code

I am trying to follow the W3Schools tutorial on the XMLDOM object, and it works fine in a regular HTML document inside <script> tags (vbscript), but I am trying to do it in the ASP tags (<% %>) and it does not work.
The error says:

Code:

Microsoft VBScript runtime (0x800A01A8)
Object required: '[object]'

View Replies View Related

Asp Code

I am trying to do something with it and I can figure out what to do!I have created a database that lets realtors track clients, potential clients, and offers made. Here is a link to the database:(URL address blocked: See forum rules)
What I am trying to do is create a form that lets a user enter his first name, last name, email, and offer amount into textboxes. When they click send it adds their information to the Potential Buyer table (the primary key is an auto generated number.) The offer table is basically an associative table, containing the following information: buyer$buyerid, client$clientid, and amount. I would like the amount to be added to this table, and I would like it to also add the newly created buyerid. My problem is that well, I have no idea how to do this, as the buyerid is created only seconds before I need to post it in the offer table. Could anyone help me out with this? I'd really appreciate it.

View Replies View Related

PHP Tp ASP Code

Im a novice with ASP and no idea of PHP, can Any one help me convert this to ASP...

$rss = $_GET['rss'];
if ($rss && $rss != ""){
if ((strpos($rss, "http://") === 0) || (strpos($rss, "https://") === 0)){
readfile($rss);
}
}

View Replies View Related

ASP Nav Code

Here's the current code that I'm using for navigation through some pages. MY question is, I want the item "System-Add Ons" to still stay bolded if I'm on a page that's in a subset of "Products" Is this possible?

For example, if a user gets to the page "Monitors," (monitors.asp) I want System-Add Ons to stay bolded....

How can I set up subsets of the "Products" page? Do I have to make a directory and do a test if the page is in the directory "Products" and is affiliated with "Products?" Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved