473,473 Members | 1,492 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

File not recognised during upload

Hi

I am trying to Upload two files; a doc and a pdf file. During testing the files got uploaded successfully. But, when we moved to Production it failed. The files get uploaded fine, but at the end of the upload process I check to see if the files are actually there by using the Server.CreateObject("MSXML2.ServerXMLHTTP") . I pass the correct credentials but comes back with a return code <> 200. The pdf is uploaded but the application thinks that it isn't there. I ran a script seperately to check if the file is there and it passed using the same function. Any thoughts

Thanks
Deepa
Jul 19 '05 #1
3 1283
Remember your DWG file problem? Same thing?

Ray at work

"Deepa" <an*******@discussions.microsoft.com> wrote in message
news:E3**********************************@microsof t.com...
Hi,

I am trying to Upload two files; a doc and a pdf file. During testing the files got uploaded successfully. But, when we moved to Production it failed.
The files get uploaded fine, but at the end of the upload process I check to
see if the files are actually there by using the
Server.CreateObject("MSXML2.ServerXMLHTTP") . I pass the correct credentials
but comes back with a return code <> 200. The pdf is uploaded but the
application thinks that it isn't there. I ran a script seperately to check
if the file is there and it passed using the same function. Any thoughts?
Thanks.
Deepa

Jul 19 '05 #2
Hi Ray

I was testing in the same server before we went Production. I didn't have to add PDF to the MIME type liike DWG files while testing. My test script works using the same script though

Deepa
Jul 19 '05 #3
Sounds to me like your live server is not setup the same as your test
server, like the liver server has the lockdown tool installed or is more
locked down in some other way or something. I think that you may want to
bring up the issues in an IIS group. But if you go there, don't go there
with the xmlhttp stuff. Test to see if the file is returned by just using a
standard Web browser to see what's really going on, and if that 404s, then
look into the IIS group.

Ray at work

"deepa" <an*******@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
Hi Ray,

I was testing in the same server before we went Production. I didn't have to add PDF to the MIME type liike DWG files while testing. My test script
works using the same script though.
Deepa

Jul 19 '05 #4

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

Similar topics

6
by: Jonathan | last post by:
I am trying to upload a new version of a file that already exists on my web site. It asks me to overwrite and I choose yes. But when I go to the web page, even a half hour after the upload, the...
5
by: Nathan Sokalski | last post by:
I am trying to write code to allow my users to upload a file. The code I am using is as follows: Dim upfilename As String = "" If fileDetails.Value <> "" AndAlso...
6
by: tshad | last post by:
I have an upload file input as: <input id="MyFile" style="width:300px" type="File" runat="Server"> This works fine, but I find that if my page doesn't pass validation during postback, the page...
12
by: JMB | last post by:
Hello, I was wondering if anyone knew of any projects extending the inline upload progress bar to utilize an inpage image uploader with bar, without having to refresh or go to a seperate page,...
4
by: kev | last post by:
Hi folks, I have created a database to store information on equipments. During the first level of registration, there is a form that i need the user to fill up details on the equipment testing....
4
by: bienwell | last post by:
Hi all, I developed an web page in ASP.NET to upload file into the server. In the Web.config file, I declared <httpRuntime executionTimeout="1200" maxRequestLength="400000" /> The MAX...
13
by: MCPD | last post by:
hello i have an aspx page that write in javascript its too small file when i upload it to my website i got an error Server Error in '/' Application....
2
by: =?Utf-8?B?TWFydGluSg==?= | last post by:
I've got a web application that includes a file upload page. It was upgraded from v1.1 to 2. We haven't converted the page to use the newer file upload control, though. We're using the ...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
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,...
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
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...
1
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.