Upload to SharePoint fails due to upload limit in webservice
Hello everyone,
I just used an example from the web to use the copy.asmx webservice to upload files to a document library:
http://www.ktskumar.com/blog/2009/03/upload-document-from-local-machine-to-sharepoint-library/
It works fine but only if the file is very small (<1MB). If it is larger I get the error "underlying connection was closed". A first search shows that it seems to be a problem with the messagesize which has to be changed. However, everywhere
in the web they speak about a setting in the web.config
Well in my project there is no web.config because I used the example in the link above. No is there another way to change the message size (e.g. by code)?
Thanks!!
Best,
Chris
from browser, it will upload file using server object model. you can change the upload size for same in CA.
as far as uploading file programatically using service, you can run the below script on server and it will resolve the issue
$ws = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$ws.ClientRequestServiceSettings.MaxReceivedMessageSize = 262144000
$ws.ClientRequestServiceSettings.MaxParseMessageSize = 262144000
$ws.Update()
Note: 262144000 = 250 MB
<b>Sandeep Parandekar MCPD</b><br/> <a href="http://www.parandekar.blogspot.com">http://www.parandekar.blogspot.com </a> <br/> Please mark the post that answered your question as the answer, and mark other
helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Similar Messages
-
I am trying to get my photos on my Mac Mini onto my iPad 2 via iCloud. I have tracked the problem down to upload failure from Mini to iCloud. 1St (&every) photo upload fails with the message 'Upload failed due to network error'. Any ideas?
I doubt this issue is related to the Mac Mini specifically.
I have 44 photos shot with an iPhone 3G that will not upload to iCloud Photo Library. I try and drag-and-drop them onto the web interface and I get the same error message you did:
Upload Failed
44 items were not uploaded due to a network error.
However, I have another 62 photos shot with the same iPhone 3G that upload without issue. And I just uploaded 440 photos from an iPhone 4 without issue.
I thought it may have something to do with certain EXIF tags missing on the photos that would not upload but I have not been able to figure out a pattern when comparing photos that work and photos that don't work.
The photos that won't upload open fine in QuickLook, Preview, and Pixelmator so I doubt the image is corrupted in some way.
I can AirDrop the photo to my iOS device and it will upload to iCloud Photo Library, the photo/video count will be incremented on the iOS device and iCloud Photo Library but the photo will never be displayed in iCloud Photo Library. When I delete the photo on the iOS device the photo/video count will decrement on the iOS device but will remain the same in iCloud Photo Library. When this occurred the following error was thrown in the iCloud Photo Library web interface:
Expanding Details shows the following log:
https://gist.github.com/jameswthorne/757e319b9fee63119890 -
Hi everyone.
In WSE 2012 R2 it is possible to upload up to 2 Gb at once. Is it possible to change this value? Maybe somewhere in registry?
Thanks for help.Hi,
Based on your description, please refer to the following similar question. And check if it’s helpful.
File size upload limit
http://social.technet.microsoft.com/Forums/windowsserver/en-US/0f961d6b-6074-460d-b3db-e71fbc4689ff/file-size-upload-limit?forum=winserveressentials
Hope this helps.
Best regards,
Justin Gu -
Download/Upload Limit with Shaping
I have a network with 8-10 PC's both wireless and wired.
I am looking for an ADSL 2+ Modem with Router that will -
- Designate IP addressess based on MAC addresses.
- Allow me to set a download/upload limit based on amount not speed (ie give everyone 20GB download/upload each month) for each IP Address.
- Allow me to shape the speed if they go over their 20GB limit, so they are not cut off from the internet, but will get a slower speed.
- Has a phone port so an Analog phone can be connected for VOIP, and SIP settings for voip connection. (Not a big requirement)
Does Cisco have any product (Even if it is only a Router) that fully or partially does the above - However it must be able to allocate blocks/amounts of traffic to each IP address on the network, so download/upload limits can be shared equally. (Even if a more expensive router is avaible/designed for larger operation, I would be willing to look at it)
Note I would prefer something where the "firmware" has the necessary options to set the above.
Thank you
Johnmy signal indicator on the menu bar shows all bars.
As you have probably guessed by now, the "bars" are there pretty much for show, as they tell you very little about the actual strength of your signal, and nothing about the noise.
My Mac is on the floor just above the AP and a total of about 30 feet away.
A typical wall constructed of sheet rock and 2 x 4s in a home will on average, absorb 15-25% of the signal. A ceiling is much thicker, and typically will absorb 45-60% of the signal.
What about different channels, taking it off "automatic" and choosing a particular channel?
The "Automatic" setting will scan all frequencies and select the "best" channel that is available at the time. You can set the channels manually, but which channel to choose?
You just have to experiment as no particular channel is really "better" than another. It all depends on what channels are in use at any particular time, and that is hard to know, even with good scanning equipment.
A lot of networks are "invisible". You cannot "see" them, so there are more around you than you might think.
Is ridding the house of cordless phones the only answer?
The cordless phones may or may not be causing problems for the wireless network. The only way that you will know is to pick a time when you can turn them and their base stations off for a few hours and then restart your entire network. Keep an eye on things to see if you notice any difference in performance.
Moving the AP location is not possible, as the cable modem can't be moved.
Perhaps the modem cannot be moved, but you can move the AirPort Extreme anywhere that an Ethernet cable will reach from the modem. You can use virtually any length of cable you want in a home. -
Our respondents are hitting the 20MB upload limit: is there any way of increasing the restriction? We are limiting each to one 20MB item per 'question' but we still get problems with uploaded scans being refused. (Ironically, they're Adobe PDFs that are causing the problem)
Hi YTKO,
Forms Central only support files size up to 20 MB and there isn't any way to increase it.
Thanks,
Vikrantt Singh -
Remote Web Workspace Upload Limit.
Hi - Just noticed the upload limit for RWW on SBS 2011 is 2GB.
I would like to make this unlimited, or at least increase the limit to 20GB. This increase is to enable the site to handle huge amounts of application log files for diagnostics......the files can be 1000's of individual files at 1-2mb or 1 file at 10gb ++.
Thanks,
John.Hi,
As I know, when we upload files via RWW, we can find follow note message:
Note: The upload limit per file is 2GB. It should be by design. So, it seems to be no
methods
to increase. Sorry for it.
Hope this helps.
Best regards,
Justin Gu -
Trying to complete a document on echosign, cannot attach new files error message upload limit exceeded keep coming up.
Hello Okoyeiyke,
If the document you are uploading exceeds the limit size and pages, you will get this error. Here is the link for reference:
http://helpx.adobe.com/echosign/kb/transaction-limits.html
-Rijul -
"Publish Error: Publish failed due to network error. Check your internet co
I am using the very latest version of iWeb. I have had it for a week.
First let me tell you the message that I got and then what I was doing prior to getting the message:
It said: "Publish Error. Publish failed due to a network error. Check your internet connections and try again."
I did check my internet connections and I called mt cable modem ISP. He put me through some tests and ascertained that the problem was not with the cable connection. I can connect to the web (of course) and I can send and receive email. The fellow at the ISP (Road Runner) told me that the uploading goes just fine but that the confirmation end of it is bad.
I have made 9 pages for my website. I clicked the button to publish the 10th page and got the message at the top of this post.
Then I called Apple Care and took advantage of the 90-day help warranty. The gal there had me try to publish to my private folder. That worked! I was able to publish to the folder and that message at the top of this post did not appear. It said that the page was published and did I want to visit it.
I ended up deleting the page about my friend Lerma, since everything was going fine until I did that page. AS I recall, there was a mixup with the pages and I thought I had fixed it.
Then I worked a little more on my husband's Memorial Site and tried to publish and got the same bad message as above, meaning that it wasn't just the page about Lerma but any page I might be doing since doing her page.
NOW THIS IS THE ODD PART:
I went to the website on Safari browser with the intention of checking out the other earlier pages, only to discover (happily) that my husband's memorial page (the beginning of it) WAS THERE even though I got that message saying that there had been a network error. Lerma's page, however, was NOT there.
I am between happy knowing that a page can show up on the website even though I get a message saying that it did not, but anxious knowing that if I am getting Publish Error messages, something is screwy with the program.
I will continue to try to publish to the Internet, but meanwhile I welcome any observations and happy accounts of how they got the same message but everything ended up fine after a while.
Meanwhile I am going to be working on my pages even though right now I am getting those messages saying that they could not publish due to network error.
I need a break.
— Lorna in Southern CaliforniaHi Lorna!
Sorry to hear that you're getting the dreaded
"Publish Error" message from iWeb. Lots of people
have reported getting this type of error...and I
don't think it ever really has much to do with the
network...at least nothing that can be fixed. The
fact that you have been publishing just fine up until
now is a good thing. Some people have NEVER been
able to publish to the web. Hopefully this problem
will clear itself up. Maybe it's just sunspots or
something. Probably someone thinks you need a break,
too.
Is this the kind of thing that would warrant me going back to the Apple Store to get an exchange???
— Lorna in Southern California -
Get Publish failed due to network error on Publish
Everytime I make a change to my web site within iWeb then do a Publish I get a message "Publish failed due to network error. Check your internet connection and try again".
Although I get the above message my changes do get made on my web site.
I am on high speed internet. I have received this message every time I do a Publish after making changes for the last several days.
http://web.mac.com/johnnelsonhomes is web site address. Again, changes are getting posted most times, although not always.
Any ideas?
Thanks in advance.I have been having the same problem. I can access my iDisk, but cannot publish to it. When I try i get a 'cannot publish due to network error' message. I can successfully upload the same website to my 'GoDaddy' hosting acct. This is what I have done so far without success:
Turned off all commenting and searches and .mac specific services.
Tried connecting directly to my DSL modem to try to eliminate any problem that may be introduced by my router or firewall settings.
Reformatted my hard drive and re-installed OSX (clean). Patched the new system with all available updates. I did not restore from my back-ups to ensure that any corrupted settings would not be brought forward to the new install. I then created a simple one page site with iweb and attempted to publish to .mac. Even this failed. I am not sure what I could be missing. I had been publishing for months without any problem. Then I started getting this problem occasionally, and now I get it all the time. The only thing I can think of is if there is possibly a network latency problem causing the connection to time out. -
Load getting failed due to short dump
Hi All,
Process Chain is getting failed due to following short dump Include Report LFZI_CA_PCA_DERIVATIONSU37 not found. Please suggest on rectifying this dump. Its a delta load.
Regards,
AsimHi All
As requested please find details short dump below. And datasource name is this GECPC_GLPCP and its extractor is ZPCC_V_GLPCP.
Short text
Syntax error in program "SAPLZFI_CA_PCA_DERIVATIONS ".
hat happened?
Error in the ABAP Application Program
The current ABAP program "GP9IQHCDEPFH201E24O25IAYXXW" had to be terminated
because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "SAPLZFI_CA_PCA_DERIVATIONS " in
include "LZFI_CA_PCA_DERIVATIONSUXX " in
line 77:
"INCLUDE report "LZFI_CA_PCA_DERIVATIONSU37" not found"
The include has been created and last changed by:
Created by: "SAP* "
Last changed by: "SAP* "
Error in the ABAP Application Program
The current ABAP program "GP9IQHCDEPFH201E24O25IAYXXW" had to be terminated
because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLZFI_CA
You can also perform the syntax check from the ABAP Edito
If the problem persists, proceed as follows:
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can lo
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
The following syntax error was
"INCLUDE report "LZFI_CA_PCA_DE
How to correct the error
Probably the only way to elimin
If you cannot solve the problem
notification to SAP, include th
1. The description of the curre
To save the description, cho
(Unconverted)".
2. Corresponding system log
Display the system log by callin
Restrict the time interval to 10
ter the short dump. Then choose "
nconverted)".
If the problem occurs in a probl
ogram: The source code of the pro
In the editor, choose "Utilities
ilities->Upload/Download->Downloa
Details about the conditions und
tions and input led to the error.
Information on where terminated
Termination occurred in the ABAP program "GP9IQHCDEPFH201E24O25IAYXXW" - in
"START_ROUTINE".
The main program was "RSBATCH_EXECUTE_PROZESS ".
In the source code you have the termination point in line 102
of the (Include) program "ZFICA_DERIVE_PCA_OBJECTS_S".
The program "GP9IQHCDEPFH201E24O25IAYXXW" was started as a background job.
Job Name....... "BIDTPR_6726959_1"
Job Initiator.. "ALEREMOTE"
Job Number..... 17271800
Line SourceCde
72 ASSIGN 'L_DERIVE_CHRT_ACCTS-UPD_CHRT_AC
73 assign (<derive_chrt_accts_field>) to
74 IF <derive_chrt_accts> IS ASSIGNED.
75 zzi_attributes_upd-chrt_accts_upd = '
76 ENDIF.
77 zzi_attributes_upd-/bic/gactivity_upd
78 zzi_attributes_upd-/bic/gfactv_upd
79 zzi_attributes_upd-/bic/gglobacct_upd
80 zzi_attributes_upd-/bic/ggforacc_upd
81 zzi_attributes_upd-/bic/ggrracc_upd
82 zzi_attributes_upd-/bic/ggra_code_upd
83 zzi_attributes_upd-/bic/gsegmtion_upd
84 zzi_attributes_upd-/bic/ggaapflg_upd
85 zzi_attributes_upd-/bic/gsub_item_upd
86 zzi_attributes_upd-/bic/gsegmnt_upd
87 zzi_attributes_upd-/bic/gacctgrp_upd
88 zzi_attributes_upd-comp_code_details_up
89 zzi_attributes_upd-gbfi0600_upd
90 zzi_attributes_upd-/bic/zaccsuf_upd
91 zzi_attributes_upd-/bic/gconunit_upd
92 zzi_attributes_upd-/bic/gtpunit_upd
93 *--------------------------------------
94 * Store a copy of the source fields if
95 *--------------------------------------
96 MOVE-CORRESPONDING <source_fields> TO z
97 CLEAR zze_attributes.
Runtime Errors SYNTAX_ERROR
Date and Time 04.08.2014 17:27:39
98 *----------------------------------------------------------------------*
99 * Derive all PCA fields for reporting
100 *----------------------------------------------------------------------*
101
>>>>> CALL FUNCTION 'ZFI_CA_DERIVE_PCA_ATTRIBUTESII'
103 EXPORTING
104 i_zfi_ca_pca_attributes = zzi_attributes
105 i_zfi_ca_pca_attributes_upd = zzi_attributes_upd
106 msgty = 'I'
107 recno = <source_fields>-record
108 IMPORTING
109 e_zfi_ca_pca_attributes = zze_attributes
110 TABLES
111 monitor_recno = lt_monitor_recno.
112
113 *----------------------------------------------------------------------*
114 * On the recurrsive load delete entries where the data is the same
115 *----------------------------------------------------------------------*
116 IF zzg_realignment_run = 'X'.
117 IF zzi_attributes = zze_attributes.
118 DELETE source_package INDEX la_tabix.
119 ELSE.
120 MOVE-CORRESPONDING zze_attributes TO <source_fields>.
121 ENDIF.
SY-SUBRC 0
SY-INDEX 3
SY-TABIX 1
SY-DBCNT 10
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE Execute Batch Proces
SY-MSGTY E
SY-MSGID R7
SY-MSGNO 057
SY-MSGV1 ZBAL_LC
SY-MSGV2 A
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20140804
SY-UZEIT 172720
SY-XPROG SAPCNVE
SY-XFORM CONVERSION_EXIT
No. Ty. Program Include Line
Name
8 FUNCTION GP9IQHCDEPFH201E24O25IAYXXW ZFICA_DERIVE_PCA_OBJECTS_S 102
START_ROUTINE
7 METHOD GP9IQHCDEPFH201E24O25IAYXXW ZFICA_DERIVE_PCA_OBJECTS_S 102
LCL_TRANSFORM=>START_ROUTINE
6 METHOD GP9IQHCDEPFH201E24O25IAYXXW GP9IQHCDEPFH201E24O25IAYXXW 1299
LCL_TRANSFORM=>EXECUTE
5 METHOD CL_RSTRAN_TRFN_CMD============CP CL_RSTRAN_TRFN_CMD============CM005 70
CL_RSTRAN_TRFN_CMD=>IF_RSBK_CMD_T~TRANSFORM
4 METHOD CL_RSBK_PROCESS===============CP CL_RSBK_PROCESS===============CM00Q 93
CL_RSBK_PROCESS=>PROCESS_REQUEST
3 METHOD CL_RSBK_PROCESS===============CP CL_RSBK_PROCESS===============CM002 13
CL_RSBK_PROCESS=>IF_RSBATCH_EXECUTE~EXECUTE
2 FUNCTION SAPLRSBATCH LRSBATCHU13 437
RSBATCH_EXECUTE_PROCESS
1 EVENT RSBATCH_EXECUTE_PROZESS RSBATCH_EXECUTE_PROZESS 374
START-OF-SELECTION
REQUEST
DTPR_1FR9TKO2U6M616ATG9C2EYKRH
455553453544353433345434345454
4402F16294BF256D61614793259B28
000000000000000000000000000000
000000000000000000000000000000
DATAPACKID
000001
333333
000001
000000
000000
MONITOR
Table[initial]
SOURCE_PACKAGE
3000000001012P2013K4AU0ACD 2013005 00 0
3333333333333533334345344423333333222222222233222222222222222222222222222222222222222222222223
300000000101202013B415013402013001000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3333333333333533334345344423333333222222222233222222222222222222222222222222222222222222222223
300000000101202013B415013402013002000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3333333333333533334345344423333333222222222233222222222222222222222222222222222222222222222223
300000000101202013B415013402013003000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3333333333333533334345344423333333222222222233222222222222222222222222222222222222222222222223
300000000101202013B415013402013004000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000
00000000000000000000000000000000000
33333333333335333343453444233333332
300000000101202013B4150134020130050
00000000000000000000000000000000000
00000000000000000000000000000000000
Table IT_110723[600000x1144]
{A:114*\TYPE=%_T00003S00000115O0000
Table reference: 3570
TABH+ 0(20) = 90A161080000000060C1
TABH+ 20(20) = F20D000083B00100C027
TABH+ 40(16) = 03730000242D00000400
store = 0x90A1610800000000
ext1 = 0x60C1190C00000000
shmId = 0 (0x00000000)
id = 3570 (0xF20D0000)
label = 110723 (0x83B00100)
fill = 600000 (0xC0270900)
leng = 1144 (0x78040000)
loop = 128 (0x80000000)
xtyp = ROL.115.11556
occu = 4 (0x04000000)
accKind = 1 (ItAccessStand
idxKind = 0 (ItIndexNone)
uniKind = 2 (ItUniNo)
keyKind = 1 (default)
cmpMode = 8 (cmpManyEq)
occu0 = 1
stMode = 0
groupCntl = 0
rfc = 0
unShareable = 0
mightBeShared = 1
sharedWithShmTab = 0
isShmLockId = 0
isUsed = 1
isCtfyAble = 1
hasScndKeys = 0
hasRowId = 0
scndKeysOutdated = 0
scndUniKeysOutdated = 0
----- Shareable Table Header Data -----
tabi = 0xB008190C00000000
pgHook = 0x404CE73B00000000
idxPtr = 0x0000000000000000
id = 61767 (0x47F10000)
shmTabhSet = 0x0000000000000000
refCount = 1 (0x01000000)
tstRefCount = 0 (0x00000000)
lineAdmin = 606204 (0xFC3F0900)
lineAlloc = 600004 (0xC4270900)
shmVersId = 0 (0x00000000)
shmRefCount = 2 (0x02000000)
rowId = 18446744073709551615
scndKeyAdmin = 0x0000000000000000
----- 1st level extension part --------
regHook = 0xC8C0190C00000000
collHook = 0x0000000000000000
ext2 = 0x0000000000000000
RI-CLUSTR
0
00
00
ZE_ATTRIBUTES
00000
22222222222222222233333
00000000000000000000000
00000000000000000000000
00000000000000000000000
ZI_ATTRIBUTES
AU0A 070221000020130
45342222333333333333333
15010000070221000020130
00000000000000000000000
00000000000000000000000
ZI_ATTRIBUTES_UPD
XXXXX XXXXXX XX XXXX
55555255555522552555522
88888088888800880888800
00000000000000000000000
00000000000000000000000
SOURCE_FIELDS>-RECORD
1
0000
1000
T_MONITOR_RECNO
Table[initial]
ZG_REALIGNMENT_RUN
2
Regards,
Asim
GECPC_GLPCP -
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/1/ROOT/OPA
Process ID: 10296
Exception: System.TypeInitializationException
Message: The type initializer for 'Microsoft.MSCOM.MemberServices.Passport.Interop.RPSCoreSingleton' threw an exception.
StackTrace: at Microsoft.MSCOM.MemberServices.Passport.Interop.RPSCoreSingleton.Finalize()
InnerException: System.Runtime.InteropServices.COMException
Message: Retrieving the COM class factory for component with CLSID {01732742-D1A2-11D7-99EB-505054503030} failed due to the following error: 80040154.
StackTrace: at Microsoft.MSCOM.MemberServices.Passport.Interop.RPSCore..ctor()
at Microsoft.MSCOM.MemberServices.Passport.Interop.RPSCoreSingleton..ctor(String reserved)
at Microsoft.MSCOM.MemberServices.Passport.Interop.RPSCoreSingleton..ctor()
at Microsoft.MSCOM.MemberServices.Passport.Interop.RPSCoreSingleton..cctor()
can any one help me with this?Try running the SharePoint Product Configuration Wizard and see if that clears up this issue.
Cheers
Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
Website http://www.WhartonComputer.com
Blog http://MyProjectExpert.com contains my field notes and SQL queries -
Hi,
I tried to use the
SWFToImageObject Objswfobj = new SWFToImageObject(); for Capturing the Chart as Image using SWFToImage.dll
But whenever creating the object as above firsrt line of the code i am getting the below error.
Retrieving the COM class factory for component with CLSID {479A1AAC-C148-40BB-9868-A9773DA66AF9} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
if required any components or any solutions.
Thaks in advance.
Regards
RavikumarHi,
I am not able to find sharepoint word in your post so can you please confirm that your question is related to sharepoint?
> Class not registered
For you issue, this error usually comes if you don't have DLL in proper place so add SWFToImage.dll in GAC and then add this assembly reference in your project from GAC.
Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer -
I am trying to run OLE Automation but I got an error during run time:
Retrieving the COM class factory for component with CLSID {5BDDE329-543B-411B-A14C-5EB01519338B} failed due to the following error: 80040154.
Code:
PhotoshopTypeLibrary.PhotoshopElementsApplicationClass app = new ps.PhotoshopElementsApplicationClass();
PhotoshopTypeLibrary.IAutoPSDoc NewDoc = app.Open(@"C:\psd1\test.psd");
I downloaded free SDK for Photoshop SDK CS 4 and I have Photoshop element installed on my machine.
Is this a known issue? Any help appreciated.Try running the SharePoint Product Configuration Wizard and see if that clears up this issue.
Cheers
Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
Website http://www.WhartonComputer.com
Blog http://MyProjectExpert.com contains my field notes and SQL queries -
Backup to remote stage failed due to RFC error
Hello!
Recently I have problem to execute a successful online Backup to the external source.
If I start backup from DB13 and analyse the work processes (Tcode SM50) I found the following:
The responsible BGD-WP:
status: On hold , reason: RFC, report: SAPLSSXP
The dev_w8 trace retrieves the following error:
Source RSCROSS10 Line 112.
Error Code <b>DBIF_RSQL_SQL_ERROR</b>.
Module $Id: //bas/700_REL/src/krn/runt/absapsql.c#6 $ SAP.
Function HandleRsqlErrors Line 761.
The DB13-protocol retrieves the following information:
BR0278E Command output of 'F:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i 192.168.200.3 -u H:\oracle\DEV\sapbackup\.bdwkhbgq.ftp -b -c put E:\ORACLE\DEV\SAPDATA1\SR3_3\SR3.DATA3 /sap/DEVB/bdwkhbgq/SR3.DATA3':
Connected to 192.168.200.3 Port 21.
220-FTP server ready. 220 This is a private system - No anonymous login 331 User sapbackup OK. Password required 230-User sapbackup has group access to: administrator 230-This server supports FXP transfers 230-OK. Current restricted directory is / 230-************************************************ 230-* Use SITE command to change client codepage: * 230-* ie, site codepage [client codepage] * 230 ************************************************ 200 TYPE is now 8-bit binary 200 PORT command successful 150 Connecting to port 2734 NiWrite error: -6, bytes to send: 32767 bytes written: 0
BR0280I BRBACKUP time stamp: 2007-10-20 03.08.23
BR0279E Return code from 'F:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i 192.168.200.3 -u H:\oracle\DEV\sapbackup\.bdwkhbgq.ftp -b -c put E:\ORACLE\DEV\SAPDATA1\SR3_3\SR3.DATA3 /sap/DEVB/bdwkhbgq/SR3.DATA3': 1
BR0222E Copying E:\ORACLE\DEV\SAPDATA1\SR3_3\SR3.DATA3 to/from /sap/DEVB/bdwkhbgq/SR3.DATA3 failed due to previous errors.
Can some one help me with this issue?
Thank you very much!
regards
ThomHello Eric,
unfortunately it is not possible to do it, because I have only remote access to the SAP system.
Is it possible to analyse the problem with the log files?
If yes --> which logs should I post here?
I went through the monitors in RZ20 and found a lot of errors/warning:
<b>Database:</b>
DBIF_SETG_SQL_ERROR
ORA-03106: fatal two-task communication protocol error
DB error 24909 in FET
SQL error 3106: WP in reconnect status
<b>Background:</b>
Job SAP_COLLECT_FOR_PERMONITOR terminated
Utilisation:
100% > 95% Background work process load exceeds threshold
BackgroundService: SystemWideFree BPWP: 1 WPs > 2 WPs Current value over threshold value.
Abap ErrorInUpdate
<b>Syslog</b> : BasisSystem
Operating system call recv failed (error no. & >E5)
The log file dev_cp retrieves the following information after execution of DB Check:
Trace file of control program (trace level 3)
< Function: BtcTrcInit> Function: main SAPXPG 700
2007-10-23--14-42-27 : Before BtcXpgDetach
> Function: BtcXpgDetach < Function: BtcXpgDetach Accept RFC connection from R/3 system
2007-10-23--14-42-27 : Before RfcAccept
2007-10-23--14-42-27 : RfcAccept returned OK
security check switched OFF
Install RFC call SAPXPG_START_XPG
Install RFC call SAPXPG_START_XPG_LONG
Install RFC call SAPXPG_END_XPG
Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
2007-10-23--14-42-27 : Before first call of RFCDispatch
> Function: BtcXpgStartXpgLong
2007-10-23--14-42-27 : Beginning of BtcXpgStartXpgLong
> Function: BtcXpgStartXpgImportLong > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam
Line Text
<No StdOut/StdErr output reported>
Target log table is not identical to source
ItGetLine terminated with NULL
<Function: BtcXpgItTransfer > Function: BtcTrcReset < Function: BtcTrcReset Call mode: VIA RF
Input arguments of BtcXpgStartXpg:
My WP settings are:
rdsip/wp_no_dia = 6
rdsip/wp_no_btc = 3
rdsip/wp_no_vb = 1
rdsip/wp_no_vb2 = 1
rdsip/wp_no_spo = 1
Thank you!
Thom -
Getting error in mailing program :Cause: FDPSTP failed due to ORA-29277
in the following program i am submitting a request and sending concurrent program log file (.REQ file)as an attachment but getting
following error,plese tell me where i am wrong
ORACLE error 29277 in FDPSTP
Cause: FDPSTP failed due to ORA-29277: invalid SMTP operation
ORA-06512: at "SYS.UTL_SMTP", line 44
ORA-06512: at "SYS.UTL_SMTP", line 150
ORA-06512: at "SYS.UTL_SMTP", line 383
ORA-06512: at "SYS.UTL_SMTP", line 399
ORA-0651
code:
CREATE OR REPLACE PACKAGE BODY APPS.xx_create_acct
AS
PROCEDURE submit_request(
errbuf OUT VARCHAR2,
retcode OUT VARCHAR2,
Source_Application varchar2,
Application number,
Dummy_Parameter_0 varchar2,
Ledger number,
Process_Category varchar2,
End_Date varchar2,
Create_Accounting_Flag varchar2,
Dummy_Parameter_1 varchar2,
Accounting_Mode varchar2,
Dummy_Parameter_2 varchar2,
Errors_Only_Flag varchar2,
Report varchar2,
Transfer_to_GL_Flag varchar2,
Dummy_Parameter_3 varchar2,
Post_to_GL_Flag varchar2,
GL_Batch_Name varchar2,
Mixed_Currency_Precision Number,
Include_Zero_Amt_Lines_Flag varchar2,
Request_ID varchar2,
Entity_ID Number,
Source_Application_Name varchar2,
Application_Name varchar2,
Ledger_Name varchar2,
Process_Category_Name varchar2,
Create_Accounting varchar2,
Accounting_Mode_Name varchar2,
Errors_Only varchar2,
Report_Level varchar2,
Transfer_to_GL varchar2,
Post_in_GL varchar2,
Include_Zero_Amount_Lines varchar2,
Valuation_Method varchar2,
Security_ID_Integer_1 varchar2,
Security_ID_Integer_2 varchar2,
Security_ID_Integer_3 varchar2,
Security_ID_Char_1 varchar2,
Security_ID_Char_2 varchar2,
Security_ID_Char_3 varchar2,
Concurrent_Request_ID number,
P_INCLUDE_USER_TRX_ID_FLAG varchar2,
P_INCLUDE_USER_TRX_IDENTIFIERS varchar2,
P_DEBUG_FLAG varchar2
IS
l_senderemail VARCHAR2 (2000) := '[email protected]';
l_request_id NUMBER;
errmsg VARCHAR2 (1000);
req_id NUMBER;
phase VARCHAR2 (200);
status VARCHAR2 (200);
dphase VARCHAR2 (200);
dstatus VARCHAR2 (200);
MESSAGE VARCHAR2 (200);
wait_stat BOOLEAN;
l_file_name VARCHAR2 (200);
l_file_path VARCHAR2 (2000);
crlf VARCHAR2 (4) := CHR (13) || CHR (10);
v_set_layout_option BOOLEAN;
dir_name varchar2(100);
/* CURSOR req_status
IS
SELECT SUBSTR (outfile_name, 55, 23) filename,
SUBSTR (outfile_name, 1, 64) outfilepath
FROM applsys.fnd_concurrent_requests
WHERE request_id = l_request_id
AND phase_code = 'C'
AND status_code = 'C';*/
directory_path VARCHAR2 (2000);
lv_subject VARCHAR2 (100);
lv_msg VARCHAR2 (700);
lv_msghdr VARCHAR2 (100);
lv_pdf_filename VARCHAR2 (200);
BEGIN
apps.fnd_global.apps_initialize
(user_id => apps.fnd_global.user_id,
resp_id =>apps.fnd_global.resp_id,
resp_appl_id => apps.fnd_global.resp_appl_id
l_request_id :=
apps.fnd_request.submit_request
( 'BOM',
'CSTCRACCRCV',
NULL,
NULL,
FALSE,
Source_Application,
Application ,
Dummy_Parameter_0,
Ledger ,
Process_Category,
End_Date ,
Create_Accounting_Flag,
Dummy_Parameter_1 ,
Accounting_Mode ,
Dummy_Parameter_2,
Errors_Only_Flag,
Report ,
Transfer_to_GL_Flag,
Dummy_Parameter_3,
Post_to_GL_Flag ,
GL_Batch_Name ,
Mixed_Currency_Precision,
Include_Zero_Amt_Lines_Flag,
Request_ID ,
Entity_ID,
Source_Application_Name,
Application_Name,
Ledger_Name ,
Process_Category_Name,
Create_Accounting ,
Accounting_Mode_Name,
Errors_Only ,
Report_Level,
Transfer_to_GL,
Post_in_GL ,
Include_Zero_Amount_Lines,
Valuation_Method ,
Security_ID_Integer_1,
Security_ID_Integer_2,
Security_ID_Integer_3,
Security_ID_Char_1 ,
Security_ID_Char_2 ,
Security_ID_Char_3 ,
Concurrent_Request_ID,
P_INCLUDE_USER_TRX_ID_FLAG,
P_INCLUDE_USER_TRX_IDENTIFIERS,
P_DEBUG_FLAG
COMMIT;
IF (l_request_id <= 0)
THEN
errmsg := apps.fnd_message.get ();
ELSE
wait_stat :=
apps.fnd_concurrent.wait_for_request (l_request_id,
10,
360,
phase,
status,
dphase,
dstatus,
MESSAGE
IF dphase = 'COMPLETE'
THEN
dir_name :='XX_CREATE_ACCT_LOG';
l_file_name := 'l' || l_request_id || '.REQ';
lv_subject := NULL;
lv_msg := NULL;
lv_msghdr := NULL;
lv_pdf_filename := NULL;
lv_subject := 'testing mail :Request for Create Accounting not completed';
lv_msg :=
'Please find attachement here with the Status Of Create Accounting Reciving from cost management'
|| crlf;
lv_msghdr := 'Dear Sir' ;
lv_pdf_filename := l_file_name;
send_mail (l_senderemail,
'[email protected]',
lv_subject,
lv_msghdr,
lv_msg,
lv_pdf_filename,
'text/application',
dir_name
END IF;
END IF;
END submit_request;
PROCEDURE send_mail (
p_sender IN VARCHAR2,
p_recipient IN VARCHAR2,
p_subject IN VARCHAR2,
p_mailbodyhdr IN VARCHAR2,
p_mailbody IN VARCHAR2,
p_filename IN VARCHAR2,
p_filetype IN VARCHAR2,
dir_name in VARCHAR2
AS
v_msg VARCHAR2 (32000);
src_file BFILE;
i INTEGER := 1;
v_raw RAW (500);
v_length INTEGER := 0;
v_buffer_size INTEGER := 57;
v_mailconn UTL_SMTP.connection;
gc_crlf VARCHAR2 (4) := CHR (13)
|| CHR (10);
gc_lf VARCHAR2 (4) := CHR (10);
crlf VARCHAR2 (2) := CHR (13)
|| CHR (10);
gc_mailhost VARCHAR2 (255) := '172.16.11.2';
-- gc_maildomain VARCHAR2 (255) := 'pune.com';
msg VARCHAR2 (32767);
boundary CONSTANT VARCHAR2 (256)
:= '-----7D81B75CCC90D2974F7A1CBD';
first_boundary CONSTANT VARCHAR2 (256)
:= '--' || boundary || UTL_TCP.crlf;
last_boundary CONSTANT VARCHAR2 (256)
:= '--' || boundary || '--' || UTL_TCP.crlf;
-- A MIME type that denotes multi-part email (MIME) messages.
multipart_mime_type CONSTANT VARCHAR2 (256)
:= 'multipart/mixed; boundary="' || boundary || '"';
BEGIN
DBMS_OUTPUT.ENABLE (100000);
--fnd_file.put_line (fnd_file.output, '------------------------------------------------------' );
v_mailconn := UTL_SMTP.open_connection (gc_mailhost, 26);
UTL_SMTP.helo (v_mailconn, gc_mailhost);
UTL_SMTP.mail (v_mailconn, p_sender);
UTL_SMTP.rcpt (v_mailconn, p_recipient);
UTL_SMTP.open_data (v_mailconn);
msg :=
'Date: '
|| TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
|| crlf
|| 'From:[email protected] '
-- || p_sender
|| crlf
|| 'Subject: '
|| p_subject
|| crlf
|| 'To: [email protected]'
-- || p_recipient
|| crlf
|| 'MIME-Version: 3.1'
|| crlf
|| -- Use MIME mail standard
'Content-Type: multipart/mixed;'
|| crlf
|| ' boundary="-----SECBOUND"'
|| crlf
|| crlf
|| '-------SECBOUND'
|| crlf
|| 'Content-Type: text/plain;'
|| crlf
|| 'Content-Transfer_Encoding: 7bit'
|| crlf
|| crlf
|| p_mailbodyhdr
|| crlf
|| crlf
|| p_mailbody
|| crlf
|| crlf
|| crlf
|| crlf
|| -- Message body
'Regards'
|| crlf
|| 'HR and Payroll Team'
|| crlf
|| crlf
|| ' Note- Please ignore the leave status and number of days.'
|| crlf
|| crlf
|| '-------SECBOUND'
|| crlf
|| 'Content-Type'
|| ': '
|| p_filetype
|| crlf
|| 'Content-Disposition: attachment; filename="'
-- || 'Create Accounting'
-- || '.REQ'
||p_filename -- p_filename
|| '"'
|| crlf
|| 'Content-Transfer-Encoding: base64'
|| crlf
|| crlf;
UTL_SMTP.write_data (v_mailconn, msg);
src_file := BFILENAME (dir_name, p_filename);
DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);
v_length := DBMS_LOB.getlength (src_file);
WHILE i < v_length
LOOP
DBMS_LOB.READ (src_file, v_buffer_size, i, v_raw);
UTL_SMTP.write_raw_data (v_mailconn,
UTL_ENCODE.base64_encode (v_raw)
UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
i := i + v_buffer_size;
END LOOP while_loop;
UTL_SMTP.write_data (v_mailconn, last_boundary);
UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
DBMS_LOB.fileclose (src_file);
UTL_SMTP.close_data (v_mailconn);
UTL_SMTP.quit (v_mailconn);
EXCEPTION
WHEN OTHERS
THEN
UTL_SMTP.quit (v_mailconn);
DBMS_OUTPUT.put_line (SQLCODE || SQLERRM);
-- FND_FILE.PUT_LINE (FND_FILE.LOG,'error while fetching values from CO_CODE'|| SQLERRM );
END send_mail;
END xx_create_acct;Edited by: BluShadow on 18-Apr-2011 09:49
added {noformat}{noformat} tags. Please see the [url=SQL and PL/SQL FAQ and PL/SQL FAQ[/url] for info on how to post on the forumsI didn't get the information, What I want. Anyway, in the BLOB writing portion you have to create a temporary LOB and load your file into that temporary LOB and the write it into chunks.
Something like
DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
/* Writing the BLOL in chunks */
WHILE l_pos < l_blob_len LOOP
DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
UTL_SMTP.write_raw_data(v_connection_handle,
UTL_ENCODE.BASE64_ENCODE(l_buffer));
UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
l_buffer := NULL;
l_pos := l_pos + l_amount;
END LOOP;For more example see these posts:
Re: Sending UTL_SMTP mail with single jpg attachment issue
Re: getting junk letters instead of photo in an email.
Maybe you are looking for
-
Here's the detail of what happens. 1. Turn on computer and then click on Firefox icon on desktop. 2. Firefox opens. Everything looks OK. Mr Bunsen's graphic is working fine. 3. Click on any webpage link. For example, a newspaper or an online webmail
-
Calculating bandwidth costs??
Id like to calculate the per transaction costs of my app its pretty much a timer that goes off every 3.5 secs, connects to some server, downloads a chunk of data for processing..it isnt exactly streamed... heres the code myURL = new URL (someAddy); m
-
Concept of table control in BDC
hi friends, what is the concept of table control in BDC regards, malleswari.
-
Just wondering if there is a easier way to print only the text I highlight on a web page other than cutting and pasting in a Word document? Thanks!
-
Why there are no books for sale in iBooks?
Hej, I just want to ask everyone why there are no books for sale in iBooks in Sweden. I mean this is really disappointing because I want to buy and read new books and there are no books for sale. If anyone has an answer to my query please reply. Than