473,386 Members | 1,668 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,386 software developers and data experts.

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 1739
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**************@TK2MSFTNGP15.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.AppDomainAppPath

Line 2 For Each tmpfile In Request.Files.AllKeys
Line 3 Uploadfile = Request.Files(tmpfile)
Line 4 Uploadfile.SaveAs(strAppPath & "working\" & Uploadfile.FileName)
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.UploadFile(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***@DIESPAMMERSDIEtakempis.com> wrote in message
news:OB**************@TK2MSFTNGP12.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**************@TK2MSFTNGP15.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
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+....
6
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...
2
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...
4
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. ...
1
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...
10
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...
3
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....
3
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...
3
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. ...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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.