Error When Migrating From IIS4 To IIS5

Let me first apologize for anything that makes me sound stupid. I'm really not a ASP programmer, but i am the one fixing our glitch.

First, let me explain whats going on. We have a company intranet signout board. And under our IIS4 server, it works just fine, but under IIS 5 its works except for one glitch. The board lets the user choose their name from a databse, and enter a date and time of leaving a arriving.

On the old server, if the user just entered a time, it automatically added the current date followed by the time. Now, if the user just enters a time, that all that is displayed, and for some reason the board will only allow one name to be displayed like that.

So if person A signs out with just a time, he is listed, until person B signsout and overwrites person A


I think i have narrowed the problem down to this

If FormatDateTime(Request("txtReturn" & intIndividualPerson),2) <> "12/30/99" Then

rsUDPerson("OutReturning") = Request("txtReturn" & intIndividualPerson)
Else
rsUDPerson("OutReturning") = Date & " " & Request("txtReturn" & intIndividualPerson)
End If

The idea is, if there is a date, it wil be different then 12/30/99 so nothing is changed, but if no date if there it adds the current one. It almost acts like there is no Else statement.

View Replies


ADVERTISEMENT

Error From Migrating

I promised a friend that I'd help him move his site over to a new server. It uses ASP and an MS SQL database and is on a Windows server. I moved his files over and for some reason I'm getting the following error and was wondering if someone could help figure out how to fix it.Code:
Microsoft OLE DB Provider for ODBC Drivers error '80040e21'

ODBC driver does not support the requested properties.

/default.asp, line 86
Here is the code where the error is generated from (the recordset is line 82):Code:

function rs_readonly( sql )
dim rs
set rs = createobject("ADODB.recordset")
' rs.cursorlocation = adUseClient
' response.write( sql & "<br>" )
' response.write( "<p>" & sql & "</p>" )
rs.open sql, connection, adOpenKeyset, adCmdText
set rs_readonly = rs
end function
Also, this is in the global.asa file. Can somebody tell me what this means/does?

View Replies View Related

IIS5.1: 404 Error

Having previously had this working on my XP machine, I've come back after a month to find this error occuring now. In the meantime, I had installed PHP (v4.2.3) which could easily be a factor.

The symptoms are that when I call an ASP page, I get a standard 404 error. However, if I dont specify a page, and a default/index page is found, it renders the page OK. I've uninstalled PHP & rebooted, but this didnt work.

View Replies View Related

ASP Error Messages Not Getting To The Client With IIS5.1 On XP Pro

I just upgraded to Windows XP Pro from Windows 2000 Pro. All my ASP stuff seems to work, except that when an ASP page generates an error, and the Error handling is set to "On
Error Goto 0" the page just stops, as if I typed a response.end, and no
error information is returned to the client. If I set On Error Resume Next,
and write err.desc after the offending line, the error text is written
correctly. For debug purposes of course it is nice to be able to
immediately see the line number, and description though.

Anyway, does anybody know what setting I need to change to fix this? I have
server side, and client side debug set, and I have it set to send detailed
errors to the asp page.

Another interesting thing is if there is a compile-time error, like a syntax
error, or something, the page doesn't load, but I get the error message
until an error happens with the above condition, after that, it will just
return a blank page.

View Replies View Related

IIS4 TO IIS6 APP.

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.

View Replies View Related

ASP+IIS4+MSSQL: Unicode Problem

I need to make an ASP page which needs to insert and display multilingual contents like Korean, Chinese, Japanese from a MSSQL DB.

After googling, I know that by the using server-side directive
"Session.Codepage=65001" and charset UTF-8 in HTML,I can do it in IIS 5.0.

But IIS 4.0 seems doesnt support this Codepage.

Is there any solution for IIS 4.0?

View Replies View Related

Inconsistent Cookie Issue - IIS4

I'm having an inconsistent problem involving cookies. I have attempted to
duplicate the OS/browser settings for the remote users in question but I
cannot seem to duplicate the problem in any OS (Mac, Linux, Windows). I've
gone over and visited one problem site and I couldn't get it to work by
playing with security and privacy settings in MSIE. Obviously there is a
setting somewhere but I can't find it.

I can duplicate the problem by commenting out the ASP code that sets a
particular cookie. I also didn't see the cookie get set on the problem
system when I was trouble-shooting. I can't have the problem system with me
when I code though. :(

I won't post the entire project, but here are the parts that seem to be
central to the problem...

<%
Response.Expires=-1
Response.AddHeader "Pragma", "no-cache"

response.cookies("epeid") = value '40 characters
response.cookies("epeid").Expires = dateadd("n", 7, date() & " " &
Time())
response.redirect redirectURL
%>

It works fine on my systems. It redirects on the problem systems, only they
act like the cookie doesn't exist. When I asked the computer to prompt me
for each cookie I never saw epeid. On my system when I ask for a prompt it
just stalls on that particular cookie.

The above code is executed before any headers are written.

View Replies View Related

NT IIS4.0 To 2003IIS6.0 Upgrade Will Not Work

I have upgraded my website from IIS4.0 on an NT Server to IIS6.0 on a 2003
Server now when my asp pages try to load they get a error 500 - Internal
Server Error Any Idea?

View Replies View Related

IIS4 Application Variable Removal

Any way to do this from asp page in IIS4? Application.Contents.Remove is IIS 5+. Setting variable to empty string does not remove variable.

View Replies View Related

APS3 / IIS4 Session Wont Persist

Having trouble getting Session to persist. Have checked properties of the Virtual Directory in IIS4 manager and "Enable Session State" is checked, with time out set to 20 Mins. Have also checked the Project Properties in Interdev 6.0 and confirmed that
"Sensionless ASP Pages" is NOT checked.

When moving from one page to another within the application it starts a new session for each page : I've confirmed this both by Writing the SessionID and by adding a Variable into the On_Start of the Global.asa. Only trying to store a single digit in a Session variable.

View Replies View Related

Error In COM+ While Migrating From 2000 Server To 2000 Advace Server

I have one 3 tier architecture application running on Windows 2000 Server.

I have created replica of same machine on another machine where OS is
Windows 2000 Advance Server.

But when I port same running application on new machine i.e. Machine with OS
as Windows 2000 Advance Server, my middle tier (Active-X Dll, COM+
application) fails.

It throws common error
Invalid Procedure Call or argument

What could be the problem? Do I need to change any settings for running
application on Windows 2000 advance Server.

View Replies View Related

Migrating An App

We have a huge fat client database enabled application.
It is a MDI app with a very rich graphic interface and hundreds of different
screens and dialog windows.
There is a lot of client side processing, validation, file manipulation even
interaction with 3rd party apps (i.e Microsoft Office).
Is it possible to migrate this type of an app to run as a Web app using ASP
..Net?
Are there any 3rd party frameworks/libraries that could be used to
accomplish this?

View Replies View Related

Migrating From IIS To ISP

have a simple asp program that works fine from IIS. It's made up of 2 asp files and one MS Access database. One asp file execute just fine, it executes its code and dumps the html results onto the asp file I point to in the browser.

But on an ISP's site, after uploading the 3 files, the execution doesn't happen. The asp file I point to using a typical URL, shows only and as expected a couple of lines at the top of the page. The execution below that however, is not happening, and what I see normally locally just isn't there. What gives?

View Replies View Related

Migrating Apps

My client has the need to upgrade to Windows 2000 Server from NT4 but are
concerned about whether there existing custom code (ASP,VB6,MTS, etc) will
work correctly once migrated.
Does anyone know where I might be able to find information relating to what
functionality has been deprecated in Windows 2000 Server since NT4 (I know
CDONTS is one of them).

View Replies View Related

Estimation Of Migrating From Asp

Whats the estimated time frame for an experienced asp/vb developer to get a
handle on asp.net in a comercial environment Im just looking on advice ?

View Replies View Related

Migrating ASP Application

what all things to be taken care while migrating asp applications which is currently running under WIndows NT , IIS to Windows 2003 IIS.

View Replies View Related

Migrating From Access

i will need to change my current Access backend to MS SQL 2000 Server. I have never done this before and I ve been told some queries change and some operations like JUNCTION etc, change too or at least act a little bit different.

I would like to ask to you people all sorts of suggestions, steps to follow, tutorials, etc,, you know, just all sorts of help to go through this without getting a headache.

View Replies View Related

IIS5.1 ASP

Not sure if this is the correct newgroup to ask this, if it is not please direct me to the correct location. I have IIS5.1 on a Windows XP Pro SP2 machine. The extensions for ASP and asa are missing the DLL files. Like "inetsrvasp.dll" how can I get this
back. Would this be on the original CD.

View Replies View Related

Migrating ASP Application From WIN NT To WIN 2003

this is Aravind from hyderbad. i am working on application which we are migrated asp application from WIN NT to WIN 2003. Here iam facing some problems.
here iam loading .asp file as image on another .asp file to display data in chart. this is working good in WIN NT but it is not loading in WIN 2003.
iam giving html tag which we used to load the image
<img src="abcd.asp"> (this .asp is in the same directory)
but this is not loading.
Is it the problem with WIN 2003

View Replies View Related

Migrating Data (MS Access)

if i have 2 datasources with different table names and column headers that i want to merge i.e. "ptitle" and "name" whats the best way of doing this? are there any standard routines or should i use something intermediary like xml?

View Replies View Related

Who Have Success In Migrating WWForum To MS SQL ?

Anyone over here ever Migrated WebWizForum from Access to MSSQL?

View Replies View Related

IIS5 VS IIS6

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

View Replies View Related

IIS5 And Windows XP Pro SP2

I am using MS Visual InterDev 6.0 SP5. When I connect up to web servers not
local to my machine, I am able to create the project; however the issue
comes when I am tring to create a new local project. It keeps asking me for
a user name and password. I did not setup a password.

View Replies View Related

IIS5 SSL Enable

how to enable SSL in IIS5?

View Replies View Related

Db Permissions IIS5.1

Ive recently migrated from dirty ol' PWS on Win98 to IIS 5.1 on XP and Im a little unfamiliar with the IIS snap on. Would any of you be able to help me with permissions so the Db can be updated but without adding security risks.

View Replies View Related

Unicode And IIS5

I found this articel that says that Server.HtmlEncode will screw up unicode data. I'm using htmlencode on many pages and cannot see that data are corrupted.

It says in the "This information in this article applies to" section that it is applicable for ASP 2.0 with IIS4 and IIS5. I thought IIS5 only supported ASP 3.0? Is the Server.HtmlEncode OK to use in ASP3.0 on IIS5?

View Replies View Related

ASP Errors Migrating From Access To MSSQL

I'm now receiving this error:

Microsoft VBScript runtime error '800a01a8'

Object required: ''

login.asp, line 9

Worked fine with Access. Can somebody help me tidy up my code. login.asp below. Code:

View Replies View Related

Caching Problem (ASP/IIS5)

I'm working on an ASP application on my XP m/c.

I've uploaded a copy of the ASP code and accompanying DB onto another server
that is running both IIS5 & SQL Server. This is so that the development can
be demonstrated to key users at particular points.

However, when I access the application [on the server] from my machine, I'm
getting to odd caching behaviour that I dont understand. All the pages are
being cached and I need to refresh each page to get the accurate results.

The server is configured such all content should expire immediately, and
each ASP page has Response.Expires = 0 at the beginning, so AFAIK these
pages shouldn't be cached! Code:

View Replies View Related

Difference In IIS5 And IIS6

I have an ASP app that grabs the logon user, and then I use GetObject to query the user's security groups. On a Windows 2000 server running IIS5, this works excellent. I then copied it to a different networks, Windows 2003 server running IIS6, and now I get permission denied on GetObject. How can get around this?

View Replies View Related

IIS5 To 6 Migration Trouble

We are poised to migrate about 600 ASP sites from a single IIS5 server to a new pair of IIS6 servers. However, it appears that all files with includes like:

<!-- #include virtual="../../includes/file.asp" -->
will not work on IIS 6, it returns ASP 0126, include file not found.

We have enabled parent paths, but I can't find any documentation that suggests that IIS 6 handles include directives differently than IIS 5. Has this in fact changed in IIS 6? We are trying to avoid a huge and messy "search and replace embedded text" exercise.

View Replies View Related

Migrating Access Program To ASP Have Problems With Yes/No Field

I am planning to migrate my exisiting MS Access program that uses yes/no
fields (checkbox). Can ASP identifies checkbox field of ms access? I am
planning to use the same database and use msacess for report generation and
web browser for encoding to the database.

View Replies View Related

Sending Email Iis5.1(xp) Cdosys

I am trying to send myself an email using cdosys. The error i get is:

CDO.Message.1 (0x80040222)

The pickup directory path is required and was not specified. my code looks like this: Code:

View Replies View Related

IIS5 Not Showing ASP Files, Shows Others

Annoying problem on a server with IIS 5. [We have other
IIS 5 that show asp files just fine. I'm at a loss. ]

I can open htm, html, gif, jpg, all files except asp
files. The message when opening an asp file is:

"The page cannot be found...
blah blah blah
HTTP 404 - File not found"

I've looked everywhere. Permissions are okay with IUSR
and security since we can browse other files. The asp
files in question are NOT marked Hidden...

What can I do to make it render the asp files? Ideas?

View Replies View Related







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