473,591 Members | 2,810 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error on posting file to Win 2003's IIS

Dear All,

I've been tried various configuration and did install SP1 on Windows 2003
Server.

The problem now that I have is an aspx page located on the web site for
taking the file post by client side. It was working perfect on testing
platform(Win XP IIS) and previous production server(Win 2000).

Recently when I'd upgrade the server to Win 2003, my web server of it keeps
returning me this error "(500) Internal Server Error" when client
application posting file. Does anyone have any idea or knowing how to
resolve this problem?

I have done following already to try to solve the problem:
*) Restarting ASP.Net (with "aspnet_regiis. exe -i")
*) Check the web site has same configure as my previous production server
(Win2000)
*) Installed Win 2003 service pack 1

Currently the server is ok for ppl accessing its asp.net web sites, its just
have problem on posting files from client!! >.<

Anyone can share your knowledge is highly appreciated!
Keith
Nov 19 '05 #1
2 1755
You'll have to explain what you mean by "posting file." That is ambguous,
and could mean any number of things.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Rabbit" <a@a.com> wrote in message
news:eT******** ******@TK2MSFTN GP15.phx.gbl...
Dear All,

I've been tried various configuration and did install SP1 on Windows 2003
Server.

The problem now that I have is an aspx page located on the web site for
taking the file post by client side. It was working perfect on testing
platform(Win XP IIS) and previous production server(Win 2000).

Recently when I'd upgrade the server to Win 2003, my web server of it
keeps returning me this error "(500) Internal Server Error" when client
application posting file. Does anyone have any idea or knowing how to
resolve this problem?

I have done following already to try to solve the problem:
*) Restarting ASP.Net (with "aspnet_regiis. exe -i")
*) Check the web site has same configure as my previous production
server (Win2000)
*) Installed Win 2003 service pack 1

Currently the server is ok for ppl accessing its asp.net web sites, its
just have problem on posting files from client!! >.<

Anyone can share your knowledge is highly appreciated!
Keith

Nov 19 '05 #2
Dear all,

Sorry about that, let me explain a bit more about the problem. My
application contains 2 parts(Server and Client), the server side is having a
ASP.net page as listener for client side to post file, the main coding to
receive posting file as following:
----------------------------Listener major
coding--------------------------------------------
Line 1 Dim strAppPath As String = HttpRuntime.App DomainAppPath

Line 2 For Each tmpfile In Request.Files.A llKeys
Line 3 Uploadfile = Request.Files(t mpfile)
Line 4 Uploadfile.Save As(strAppPath & "working\" & Uploadfile.File Name)
Line 5 Next tmpfile
----------------------------------------------------------------------------------------

The Client side is a .net window form application which allows user to post
a list of files(.xml, .jpg) to the server, the main coding as following:
----------------------------Sender major
coding------------------------------------
Dim myWebClient As New WebClient
Dim responseArray As Byte()
Dim intCnt As Integer, strPictureFile
Dim strURI As String = "http://www.mywebserve. com/Uploader.aspx"

responseArray = myWebClient.Upl oadFile(strURI, "POST",
"c:\uploadfiles \testing.jpg")
----------------------------------------------------------------------------------------

This coding was working perfect on WinXP and Win2000 server platform, but
now when I use the same architecture on Win 2003 Server, the server always
return error on Line 4, saying (500) Internal Server Error

So I wonder anyway to find out what was the problem on setting ASP.Net?

Best Regards,
Keith


the client side is written using Windows form, "Kevin Spencer"
<ke***@DIESPAMM ERSDIEtakempis. com> wrote in message
news:OB******** ******@TK2MSFTN GP12.phx.gbl...
You'll have to explain what you mean by "posting file." That is ambguous,
and could mean any number of things.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Everybody picks their nose,
But some people are better at hiding it.

"Rabbit" <a@a.com> wrote in message
news:eT******** ******@TK2MSFTN GP15.phx.gbl...
Dear All,

I've been tried various configuration and did install SP1 on Windows 2003
Server.

The problem now that I have is an aspx page located on the web site for
taking the file post by client side. It was working perfect on testing
platform(Win XP IIS) and previous production server(Win 2000).

Recently when I'd upgrade the server to Win 2003, my web server of it
keeps returning me this error "(500) Internal Server Error" when client
application posting file. Does anyone have any idea or knowing how to
resolve this problem?

I have done following already to try to solve the problem:
*) Restarting ASP.Net (with "aspnet_regiis. exe -i")
*) Check the web site has same configure as my previous production
server (Win2000)
*) Installed Win 2003 service pack 1

Currently the server is ok for ppl accessing its asp.net web sites, its
just have problem on posting files from client!! >.<

Anyone can share your knowledge is highly appreciated!
Keith


Nov 19 '05 #3

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

Similar topics

4
48200
by: Michael Kennedy [UB] | last post by:
Hi Everyone, I have this multithreaded C# windows forms application which does a lot of image processing. Occasionally, I get the following error: A generic error occurred in GDI+. System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
6
2842
by: Thomas Connolly | last post by:
I have 2 pages referencing the same codebehind file in my project. Originally the pages referenced separate code behind files. Once I changed the reference to the same file, everything worked fine while the file was in the project directory. When the obsolete file was removed from the project directory, my application will no longer compile. Can someone please help with this issue? Thank in advance, Tom
2
3620
by: S.K. Dutta | last post by:
Hi! I am having a problem that I do not have any clue on what to do. I have tries a few obvious things... <system.diagnostics> in the main web.config file is giving configuration error on a particular machine that has both version of vs.net installed (v1.0.3705 and v1.1.4322).
4
2527
by: RM | last post by:
Had VS .Net 2002 installed on W2k Server SP3 and supported a number of web sites. Installed VS .Net 2003 on Friday and now all web sites using .Net & MS ACCESS get this strange error upon open. ASP=/TestDotNet/AdoNet.aspx System.Data.OleDb.OleDbException: Unspecified error at System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) at System.Data.OleDb.OleDbConnection.InitializeProvider() at System.Data.OleDb.OleDbConnection.Open()...
1
3150
by: Keith | last post by:
All, I have been told this is an ASP.NET issue and not an IIS issue, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on Windows Server 2003 Enterprise Edition Only. This works on Windows 2000, Windows 2003 Web Edition and
10
1702
by: RodBillett | last post by:
Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and I have IIS configured to utilize the 1.0 framework. Any Ideas why I would be getting the following jscript error within Smartnav.js? htmlfile: Invalid pointer. it is occuring on line 79 hdm.appendChild(k);
3
4896
by: Damian | last post by:
Hi everyone I'm having an issue with one of our applications. I'm getting the following error when attempting to log in to the site: Server Error in 'xxxxxxxxxxxxxxxx' Application. -------------------------------------------------------------------------------- Runtime Error Description: An application error occurred on the server. The current
3
2628
by: MovnOn | last post by:
I've created an installation package for my program. Before installation, I use the User Interface to get values that are added to the registry. One of the values that the user must add is a path to a required input file for the program. I'm finding that if the user enters a path which contains a space (example: c:\Program Files\myProgram\file.txt) that the install will return a file not found error and abort the install. I don't...
3
3976
by: Ramesh Dodamani | last post by:
Environment: XP Pro, VS.Net 2003, .Net 1.1.4322 with SP1 & KB Hotfix 886903 P4 2.2GHz, 1 GB RAM My system was working fine till a few weeks back when I started seeing the following errors. "aspnet_wp.exe (PID: xxxx) stopped unexpectedly" I am seeing the this error currently happen, but unlike the description in articles Q823409 or 821387, I am not downloading any large file .The error
0
7934
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8362
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7992
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8225
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5732
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3891
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1465
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1199
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.