Link to home
Start Free TrialLog in
Avatar of Jonthemoon
JonthemoonFlag for Canada

asked on

.Doc file won't attach in my application.

Hi,
Some users get a "multi-step operation error" in my ASP application when trying to attach a Word file. I tried a lot of stuff and couldn't find any hint of what's the problem. It's only 5-6 users on over 30 users that have that problem. THe problems is they are really far from here so I have a hard time debugging them...

I'm running ASP on IIS 6 on a Win2K3 server. The users all have Win XP.
I've tried a trick of renaming a .doc file in .xls and it attached, and if I take a .xls file and put it as a .doc, it doesn't work. I try to find if it's not a security thing that blocks .doc extension files??

I really don't know where to look...

I'm giving 1000pts for that question. This one is worth 500 and if I accept your's go to https://www.experts-exchange.com/questions/21092779/Dreaded-Multiple-Step-OLEDB-operation-error-when-uploading-a-file-under-ASP.html and I'll give it's points to you to.

-Jonthemoon
ASKER CERTIFIED SOLUTION
Avatar of raj3060
raj3060
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jonthemoon

ASKER

Raj, where can I find the file??

-Jonthemoon
I have never worked on ASP, but you should have an XML file in your project. Look for the source code of that XML file. And add the code their.
Problem is that for some reason your program is not recognizing the .doc extension at those computers. This must be a bug in the XP or Win2k3.
Anyway see if you find something.
--Raj
Did you try to through error if file size is too big. If this thing is working fine for everyone but few, then my guess is either they are doing something wrong or file size is big and/or system is timing out. It would be better if you readthe error. Code looks fine to me.
--Raj
Hi,
I know it's not the file size because I can attach files of a couples of mb easily.
The error is a multiple-step oledb operation error when the binary is put into the field.
but why.....?

-JTM
Hi,
The solution is kinda half solved now. Our network Admin found something on the IIS about allowin .doc files. I'll ask him what he did and post it here for future reference.
I'll give the 500pts to Raj because he pointed it out.
We still have a couple of users that still have that trouble so I'm not giving all pts.
But hey, 500 is nat half bad!!! :-D

Thx to all
-Jonthemoon