473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Code works Fine on Win2000 IIS 5 but not on Win2003 IIS6


I have a ASP application that I am using for my company and it is
currently running on a Windows 2000 server box with IIS 5. The code
works perfectly there (except for handling large files - due to low
amount of RAM, I hope anyway - thus the switch to the new server).
Now I need to move the application to a better server. My hope was to
just copy the folder to the new server and get running. This almost
worked. :(
The pages seem to work fine until I go to upload or download a
document. I know the ASP is accessing the SQL Server database it
pulls/pushes data to because users can log in and make changes to the
DB without issue (log in requires checking usernames and passwords from
the SQL Server 2000 DB). The Database has not moved as it is housed on
a separate Server that just handles the SQL Server side. Users can
pull table data and change data using the other pages of the site as
designed.
Then the fun starts...
Normally the user requests a list of documents that meet certain
requirements and the system returns a table that has all of the
documents requested. The user then clicks on the name of a document
and this switches the user to another webpage that pulls the document
from the DB. What happens in the background on the IIS server is the
document is pulled into a subfolder of the webite called Images. Then
the user's browser is redirected to that file, triggering a download in
most instances or the file may open inside their IE browser if it is a
pdf or whatever. Problem is, the inital write to file fails. The
document is not being created and all the user will see is a :
HTTP 500 - Internal server error
Internet Explorer
No error message other than that, even though the IIS is set to send
detailed error messages to the browser.
I have set the permissions on the folder to be Full Control for
EVERYONE, IUSRaccount, and IWAMusr account. In IIS we have anonymous
access enabled and Integrated security. For the website and folders we
have all of the visible settings set exactly like they were on the
Windows 2000 / IIS 5 box. But it still refuses to work.

I am at a total loss. My technical guru at my contracting company
mentioned something about it being possibly related to COM Object
read/create issue, but I do not know anything about setting a permisson
for that.

What has changed in IIS 6 that is killing my code. If need be I can
post the code that should generate a download. The upload portion I
think will resolve itself once the download issue is addressed as it
seems to be a write to file failure. (Actually we saw this error listed
when we loaded the code into dreamweaver and checked it there on the new
server)

Any help would be GREATLY appreciated.

Thanks,

--
Razarr69
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message1100894.html

Jul 22 '05 #1
1 1784
Razarr69 wrote:
...What happens in the background on the IIS server is the
document is pulled into a subfolder of the webite called Images.
Then the user's browser is redirected to that file, triggering a
download in most instances or the file may open inside their IE
browser if it is a pdf or whatever. Problem is, the inital write
to file fails. The document is not being created and all the user
will see is a:
HTTP 500 - Internal server error
Internet Explorer
No error message other than that, even though the IIS is set to
send detailed error messages to the browser.
http://aspfaq.com/show.asp?id=2109
I am at a total loss. My technical guru at my contracting company
mentioned something about it being possibly related to COM Object
read/create issue, but I do not know anything about setting a
permisson for that.

What has changed in IIS 6 that is killing my code. If need be I
can post the code that should generate a download. The upload
portion I think will resolve itself once the download issue is
addressed...


Or perhaps not. You indicated a "problem" with large files and an "upload
problem", but I can't tell if those are one and the same. If so, read this
(especially the last part):

http://aspfaq.com/show.asp?id=2223

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: natasha | last post by:
my work station contains visual studio.net and windows2003+iis6. the production server on wich the applications run is windows2000+iis5. is there going to be a problem with the windows+iis versions?
0
by: natasha | last post by:
i develop applications in VisualStudio.net with win2003+iis6 and deploy them to the production server wich has win2000+iis5 on it. are there going to be problems on the production server?
4
by: Adrian Parker | last post by:
I have a web app that has one problem when deployed on win2003 but works fine on win2k. On a page, I have a button that causes a reload of the page with a different set of querystring values (to...
0
by: natasha | last post by:
i develop applications in VisualStudio.net with win2003+iis6 and deploy them to the production server wich has win2000+iis5 on it. are there going to be problems on the production server?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.