Jonthemoon
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
http://www.stardeveloper.com/articles/display.html?article=2001033101&page=2
http://www.stardeveloper.com/articles/display.html?article=2001033101&page=3
Except that I use an SQL 2k Server with MDAC 2.80
-JTM
http://www.stardeveloper.com/articles/display.html?article=2001033101&page=3
Except that I use an SQL 2k Server with MDAC 2.80
-JTM
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
--Raj
ASKER
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
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
ASKER
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
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
ASKER
Solution is here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;234497&Product=iis60
-Jonthemoon
http://support.microsoft.com/default.aspx?scid=kb;en-us;234497&Product=iis60
-Jonthemoon
ASKER
-Jonthemoon