Use SSIS to read files in SharePoint library
Hi,
I'm trying to use SSIS to read data from an Excel file in a SharePoint document library and I am having some problems with it.
First I tried to use the Excel file as a source file in an Excel Source task which worked well in BIDS but not on the SQL server. ("CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER")
Next I tried to read data from an Excel file on the SQL server file system which worked well on the SQL server.
Next I tried to use a File System Task to copy the Excel file to the SQL server file system. This also worked well in BIDS but not on the SQL server. ("The file name \\sharepoint\mylibrary\myfile.xls specified in the connection was not valid.")
I have also tried to let the SQL server agent run on a domain account that is set up as a reader on the SharePoint document library without success.
Where am I going wrong?
I was playing around with the same issue. In my case SSIS and SharePoint run on the same server.
In the IIS Log I noted that requests to the SharePoint library are made without credentials. This returns HTTP 404.
I enabled anonymous access to the SharePoint Site and this Library without any change.
IIS Log:
date
time
s-ip
cs-method
cs-uri-stem
cs-uri-query
s-port
cs-username
c-ip
cs(User-Agent)
sc-status
sc-substatus
sc-win32-status
time-taken
07.01.2010
11:19:31
(removed)
PROPFIND
/SiteName/Test_Library
80
(removed)
Microsoft-WebDAV-MiniRedir/6.0.6002
401
5
0
11
Using the solution by Jason solved this: http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/aea4a334-bc13-4fd2-aa59-6d31dfcc45e2
In my SSIS Control Flow I run a Execute Process Task calling Net.exe with Params "Use \\share\folder password /User:domain\user /PERSISTENT:Yes" command before the file task. On the file connection I set DelayValidation to true.
Similar Messages
-
SSIS account write files to SharePoint Library UNC
So I have made a super dynamic Reporting Services report that works by calling a stored procedure which examines all its parameters and sets the proper values in the SQL -based SSIS Configuration table, and then invokes a SSIS Package.
The SSIS Package reads the configuration table and constructs an output file and saves a csv on its local drive.
Then it's to copy the csv file from that location to a UNC path that represents a SharePoint Document Library.
The account the SSIS package runs under does not seem to keep permanent permission to write to this UNC location. After a bit of time (sometimes an hour, sometimes 10 hours), the account is unable to write a file to the UNC path. I have to manually
remote desktop to the SQL Server as the SSIS service account and then use IE to navigate to the Doc Library and click "Open in Explorer" in the ribbon for Windows Explorer to pop up showing the Doc Library as a folder...and then the SSIS package
can save the file again... Until the next span of time where it cannot.
Some things I did to see if it would help are..
I took the UNC of the Doc Library and added it to Map Network.
I programmed a C# Windows Service that every five minutes attempts to write a dummy log file to the UNC path and then instantly delete the file. If the account loses access to the UNC, the program will receive an exception. The program makes
a notation in its log that it lost permission. Using this I am able to detect the exact moment the account can no longer write a file to the UNCHi,
For this issue, I'm trying to involve someone familiar with this topic to further look at it.
Thanks,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback
for TechNet Subscriber Support, contact [email protected]
Wendy Li
TechNet Community Support -
Adobe reader file preview type library reference
Where I will may see adobe reader file preview type library reference?
I would guess that this interface is registered and used by Windows to generate previews for Explorer. It is not supported or documented, but if it does that, it won't have anything to do with text extraction.
Adobe Reader has a supported interface for displaying in a window.
For a text extraction API you'd want Acrobat, which would allow you via VBA to run JavaScript to get text quads.
Note that this is not for server use. If you want server text extraction consider Adobe's PDF iFilter. This is unusual in that it is supported but is not in the SDK; Microsoft define the interfaces to iFilters, not Adobe.
If you have further questions about Acrobat or Reader development, I'd recommend that you post in the Acrobat SDK forum, to reach the right experts. -
(409) Conflict Error while uploading the file into Sharepoint library
Getting the below error while uploading the file into Sharepoint library.
(409) Conflict. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.File.SaveBinary(ClientContext context, String serverRelativeUrl,
Stream stream, String etag, Boolean overwriteIfExists
I have used the below code:
ClientOM.File.SaveBinaryDirect(clientContext, "/Shared%20Documents/NewDocument.pptx", memoryStream, true);
Thanks in advance.May be issue is with path.
https://server/ should be there instead of
subsite path(https://server/path/path)
in the client context
Check the below link
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/fbb38b10-1127-48a6-a65f-0301edd766c4/the-remote-server-returned-an-error-409-conflict-error-while-uploading-files-to-sharepoint?forum=sharepointdevelopmentlegacy -
No option to "Edit in Browser" with Excel file in Sharepoint library
The excel file in my SP library does not have an option to "Edit in Browser". I can only seem to edit it within Excel, which requires me to download the file onto my desktop, then I would have to upload it again to SP. This obviously requires more
work and time to do a simple task.
I followed instructions from: http://office.microsoft.com/en-001/office-online-help/use-excel-web-app-in-a-sharepoint-library-HA102618998.aspx
Unfortunately, I dont have the "Edit in Browser" link for my Excel fileHi,
According to your post, my understanding is that you could not find the “Edit in Browser” option.
To use this option, we have to configure the Office Web App Server.
There are some articles about how to configure the Office Web App for SharePoint, you can refer to them.
http://blogs.technet.com/b/speschka/archive/2012/07/23/configuring-office-web-apps-in-sharepoint-2013.aspx
http://stevegoodyear.wordpress.com/sharepoint-2013-build-guide/office-web-apps-2013-server-install-and-configuration/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Error when attaching files from SharePoint library to an Outlook email?
I've got a user who's reporting that recently she started getting en error whenever she tries to attach a file from a SharePoint library to an Outlook email.
When she either drags from the library in Windows Explorer, she receives this:
When uses Attach File via Outlook and navigates to the library, she receives this:
If the file is checked out, or if require check out is disabled, then it attaches.
Anyone know why this might have started happening? I'm assured it has historically been working for the past couple years.
Thanks in advance for any suggestions!
:)BenThanks for your reply:)! Mine's below:
> Whether other users meet this issue
Yes, it's happening regardless of user.
> Whether other files also have this issue when the user tries to attachment these files to outlook.
Yes, it's happening regardless which file is tested.
> Please check whether the problematic file was checked out by another user. And Please attach a file without Check-out to outlook, compare the result.
It happens consistently when someone tries to attach a file that is
not checked out. If a file is checked out (regardless of who it's checked out to), then it attaches to an Outlook email without error.
> In addition, please check ULS log file to check whether there are some errors about this issue. The path of the log file is: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
Nothing jumped out in the logs. I pasted them below FWIW, but nothing jumped out at me.
Thanks again for any suggestions!
:)Ben
Timestamp Process TID Area Category EventID Level Message Correlation
02/27/2015 10:27:50.93 wsstracing.exe (0x08BC) 0x11B8 SharePoint Foundation Tracing Controller Service 5152 Information Tracing Service started.
02/27/2015 10:27:51.07 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/India/Lists/India%20Photos/Attachments/5/3130688354_1f9638d0c1_b.jpg))
02/27/2015 10:27:51.07 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Locations/India/Lists/India%20Photos/Attachments/5/3130688354_1f9638d0c1_b.jpg) 712b2714-d9d6-47df-b722-100d85ee575e
02/27/2015 10:27:51.07 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af71 Medium HTTP Request method: GET 712b2714-d9d6-47df-b722-100d85ee575e
02/27/2015 10:27:51.07 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET 712b2714-d9d6-47df-b722-100d85ee575e
02/27/2015 10:27:51.07 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Locations/India/Lists/India%20Photos/Attachments/5/3130688354_1f9638d0c1_b.jpg 712b2714-d9d6-47df-b722-100d85ee575e
02/27/2015 10:27:51.07 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/India/Lists/India%20Photos/Attachments/5/3130688354_1f9638d0c1_b.jpg)). Execution Time=7.6251 712b2714-d9d6-47df-b722-100d85ee575e
02/27/2015 10:27:51.26 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/VietNam/Lists/Vietnam%20Photos/Attachments/1/a.jpg))
02/27/2015 10:27:51.26 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Locations/VietNam/Lists/Vietnam%20Photos/Attachments/1/a.jpg) 490f2046-a185-4b35-a2de-73b140b8f602
02/27/2015 10:27:51.26 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af71 Medium HTTP Request method: GET 490f2046-a185-4b35-a2de-73b140b8f602
02/27/2015 10:27:51.28 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af75 Medium Overridden HTTP request method: GET 490f2046-a185-4b35-a2de-73b140b8f602
02/27/2015 10:27:51.28 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Locations/VietNam/Lists/Vietnam%20Photos/Attachments/1/a.jpg 490f2046-a185-4b35-a2de-73b140b8f602
02/27/2015 10:27:51.29 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/VietNam/Lists/Vietnam%20Photos/Attachments/1/a.jpg)). Execution Time=19.0138 490f2046-a185-4b35-a2de-73b140b8f602
02/27/2015 10:27:51.70 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx))
02/27/2015 10:27:51.70 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx) b20b6de8-13d1-4d18-9cc7-af5fca987b37
02/27/2015 10:27:51.70 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx)). Execution Time=0.9171 b20b6de8-13d1-4d18-9cc7-af5fca987b37
02/27/2015 10:27:51.85 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Bangladesh/Lists/Bangladesh%20Photos/Attachments/6/IMG_1676.jpg))
02/27/2015 10:27:51.85 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Bangladesh/Lists/Bangladesh%20Photos/Attachments/6/IMG_1676.jpg) cad18282-c3e3-4438-a6a0-d6e3ec8fe55e
02/27/2015 10:27:51.85 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af71 Medium HTTP Request method: GET cad18282-c3e3-4438-a6a0-d6e3ec8fe55e
02/27/2015 10:27:51.85 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET cad18282-c3e3-4438-a6a0-d6e3ec8fe55e
02/27/2015 10:27:51.85 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Locations/Bangladesh/Lists/Bangladesh%20Photos/Attachments/6/IMG_1676.jpg cad18282-c3e3-4438-a6a0-d6e3ec8fe55e
02/27/2015 10:27:51.85 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Bangladesh/Lists/Bangladesh%20Photos/Attachments/6/IMG_1676.jpg)). Execution Time=8.73 cad18282-c3e3-4438-a6a0-d6e3ec8fe55e
02/27/2015 10:27:51.93 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx))
02/27/2015 10:27:51.93 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx) d7862a07-2447-412b-9636-b9e5c9cbbd8c
02/27/2015 10:27:51.93 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx)). Execution Time=1.7573 d7862a07-2447-412b-9636-b9e5c9cbbd8c
02/27/2015 10:27:52.04 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx))
02/27/2015 10:27:52.04 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx) 6657828b-c46f-4057-a196-d9b6c92f8563
02/27/2015 10:27:52.14 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (GetFileAndMetaInfo). Execution Time=58.7597 6657828b-c46f-4057-a196-d9b6c92f8563
02/27/2015 10:27:52.14 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (GetWebPartPageContent). Execution Time=59.4011 6657828b-c46f-4057-a196-d9b6c92f8563
02/27/2015 10:27:52.14 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 6657828b-c46f-4057-a196-d9b6c92f8563
02/27/2015 10:27:52.17 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Pages/home.aspx)). Execution Time=124.4297 6657828b-c46f-4057-a196-d9b6c92f8563
02/27/2015 10:27:52.40 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (PROPFIND:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder))
02/27/2015 10:27:52.40 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (PROPFIND:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder) a0783ff5-4675-4481-857b-472c609d5929
02/27/2015 10:27:52.40 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af71 Medium HTTP Request method: PROPFIND a0783ff5-4675-4481-857b-472c609d5929
02/27/2015 10:27:52.40 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af77 Medium HTTP request depth header: 0 a0783ff5-4675-4481-857b-472c609d5929
02/27/2015 10:27:52.40 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af75 Medium Overridden HTTP request method: PROPFIND a0783ff5-4675-4481-857b-472c609d5929
02/27/2015 10:27:52.40 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/New%20folder a0783ff5-4675-4481-857b-472c609d5929
02/27/2015 10:27:52.40 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af76 Medium HTTP request translate header: f a0783ff5-4675-4481-857b-472c609d5929
02/27/2015 10:27:52.42 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (PROPFIND:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder)). Execution Time=13.4056 a0783ff5-4675-4481-857b-472c609d5929
02/27/2015 10:27:52.54 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/))
02/27/2015 10:27:52.54 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/) 375eb954-11cc-49db-8fc8-7476a18301c8
02/27/2015 10:27:52.56 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af71 Medium HTTP Request method: OPTIONS 375eb954-11cc-49db-8fc8-7476a18301c8
02/27/2015 10:27:52.56 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af75 Medium Overridden HTTP request method: OPTIONS 375eb954-11cc-49db-8fc8-7476a18301c8
02/27/2015 10:27:52.56 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/ 375eb954-11cc-49db-8fc8-7476a18301c8
02/27/2015 10:27:52.56 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/)). Execution Time=5.5319 375eb954-11cc-49db-8fc8-7476a18301c8
02/27/2015 10:27:52.57 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:https://my.sharepointurl.org:443/_vti_bin/shtml.dll/_vti_rpc))
02/27/2015 10:27:52.57 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:https://my.sharepointurl.org:443/_vti_bin/shtml.dll/_vti_rpc) 7ead700f-27f9-4e29-8cb1-325e3933150b
02/27/2015 10:27:52.57 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af71 Medium HTTP Request method: POST 7ead700f-27f9-4e29-8cb1-325e3933150b
02/27/2015 10:27:52.57 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af75 Medium Overridden HTTP request method: POST 7ead700f-27f9-4e29-8cb1-325e3933150b
02/27/2015 10:27:52.57 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af74 Medium HTTP request URL: /_vti_bin/shtml.dll/_vti_rpc 7ead700f-27f9-4e29-8cb1-325e3933150b
02/27/2015 10:27:52.57 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General 72ng Medium RPC method = url to web url 7ead700f-27f9-4e29-8cb1-325e3933150b
02/27/2015 10:27:52.59 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:https://my.sharepointurl.org:443/_vti_bin/shtml.dll/_vti_rpc)). Execution Time=8.7236 7ead700f-27f9-4e29-8cb1-325e3933150b
02/27/2015 10:27:52.60 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (HEAD:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileSave&FileDialogFilterValue=*.*&location=Documents/New%20folder))
02/27/2015 10:27:52.60 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (HEAD:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileSave&FileDialogFilterValue=*.*&location=Documents/New%20folder) a9987bbf-fde4-46f6-80a8-3b97c5f64244
02/27/2015 10:27:52.60 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (HEAD:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileSave&FileDialogFilterValue=*.*&location=Documents/New%20folder)). Execution Time=1.9077 a9987bbf-fde4-46f6-80a8-3b97c5f64244
02/27/2015 10:27:52.60 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (HEAD:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileSave&FileDialogFilterValue=*.*&location=Documents/New%20folder))
02/27/2015 10:27:52.60 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (HEAD:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileSave&FileDialogFilterValue=*.*&location=Documents/New%20folder) e9dc78fe-cc27-498c-8f88-9b665ea58fe0
02/27/2015 10:27:52.62 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af71 Medium HTTP Request method: HEAD e9dc78fe-cc27-498c-8f88-9b665ea58fe0
02/27/2015 10:27:52.62 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af75 Medium Overridden HTTP request method: HEAD e9dc78fe-cc27-498c-8f88-9b665ea58fe0
02/27/2015 10:27:52.62 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileSave&FileDialogFilterValue=*.*&location=Documents/New%20folder e9dc78fe-cc27-498c-8f88-9b665ea58fe0
02/27/2015 10:27:52.65 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (HEAD:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileSave&FileDialogFilterValue=*.*&location=Documents/New%20folder)). Execution Time=36.0601 e9dc78fe-cc27-498c-8f88-9b665ea58fe0
02/27/2015 10:27:52.65 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileOpen&FileDialogFilterValue=*.*&location=Documents%2FNew%20folder))
02/27/2015 10:27:52.65 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileOpen&FileDialogFilterValue=*.*&location=Documents%2FNew%20folder) da6fcece-013e-42cf-b16e-4f7842e837c5
02/27/2015 10:27:52.67 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General af71 Medium HTTP Request method: GET da6fcece-013e-42cf-b16e-4f7842e837c5
02/27/2015 10:27:52.67 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET da6fcece-013e-42cf-b16e-4f7842e837c5
02/27/2015 10:27:52.67 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileOpen&FileDialogFilterValue=*.*&location=Documents%2FNew%20folder da6fcece-013e-42cf-b16e-4f7842e837c5
02/27/2015 10:27:52.67 OWSTIMER.EXE (0x0684) 0x17A8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Timer Job job-email-delivery) a2c2dd0e-f0b2-41d7-8735-b53f8b5c7a25
02/27/2015 10:27:52.67 OWSTIMER.EXE (0x0684) 0x17A8 SharePoint Foundation E-Mail 6873 Warning An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\caada12401d0529300000001.eml. The error was: Unknown alias: implementationlearningteam.. a2c2dd0e-f0b2-41d7-8735-b53f8b5c7a25
02/27/2015 10:27:52.67 OWSTIMER.EXE (0x0684) 0x17A8 SharePoint Foundation E-Mail 6871 Information The Incoming E-Mail service has completed a batch. The elapsed time was 00:00:00. The service processed 1 message(s) in total. Errors occurred processing 1 message(s): Message ID: The following aliases were unknown: implementationlearningteam a2c2dd0e-f0b2-41d7-8735-b53f8b5c7a25
02/27/2015 10:27:52.67 OWSTIMER.EXE (0x0684) 0x17A8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Timer Job job-email-delivery). Execution Time=4.304 a2c2dd0e-f0b2-41d7-8735-b53f8b5c7a25
02/27/2015 10:27:52.79 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20room%20photo.jpg))
02/27/2015 10:27:52.79 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20room%20photo.jpg) 08c98511-73c6-42e5-a564-802876288d66
02/27/2015 10:27:52.79 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af71 Medium HTTP Request method: GET 08c98511-73c6-42e5-a564-802876288d66
02/27/2015 10:27:52.79 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET 08c98511-73c6-42e5-a564-802876288d66
02/27/2015 10:27:52.79 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20room%20photo.jpg 08c98511-73c6-42e5-a564-802876288d66
02/27/2015 10:27:52.81 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20room%20photo.jpg)). Execution Time=7.5187 08c98511-73c6-42e5-a564-802876288d66
02/27/2015 10:27:52.90 w3wp.exe (0x17C0) 0x1B00 Document Management Server Document Management eub5 Medium ERFileDialogPostProcessor Render normal Open webview no MDN tree[NoSettings] for url: https://my.sharepointurl.org/Topics/SharePoint/Test Site/_vti_bin/owssvr.dll?dialogview=FileOpen&FileDialogFilterValue=*.*&location=Documents/New folder end da6fcece-013e-42cf-b16e-4f7842e837c5
02/27/2015 10:27:52.92 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/owssvr.dll?dialogview=FileOpen&FileDialogFilterValue=*.*&location=Documents%2FNew%20folder)). Execution Time=257.5603 da6fcece-013e-42cf-b16e-4f7842e837c5
02/27/2015 10:27:52.98 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (PROPFIND:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder))
02/27/2015 10:27:52.98 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (PROPFIND:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder) f9321424-9e76-4c13-b65e-4a2b5b9fbe81
02/27/2015 10:27:52.98 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af71 Medium HTTP Request method: PROPFIND f9321424-9e76-4c13-b65e-4a2b5b9fbe81
02/27/2015 10:27:52.98 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af77 Medium HTTP request depth header: 1 f9321424-9e76-4c13-b65e-4a2b5b9fbe81
02/27/2015 10:27:52.98 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af75 Medium Overridden HTTP request method: PROPFIND f9321424-9e76-4c13-b65e-4a2b5b9fbe81
02/27/2015 10:27:52.98 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/New%20folder f9321424-9e76-4c13-b65e-4a2b5b9fbe81
02/27/2015 10:27:52.98 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af76 Medium HTTP request translate header: f f9321424-9e76-4c13-b65e-4a2b5b9fbe81
02/27/2015 10:27:52.99 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (PROPFIND:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder)). Execution Time=15.2898 f9321424-9e76-4c13-b65e-4a2b5b9fbe81
02/27/2015 10:27:53.73 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20-%20Ugly%20Sweater%20Contest1.jpg))
02/27/2015 10:27:53.73 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20-%20Ugly%20Sweater%20Contest1.jpg) 07e17ab2-fbc4-4572-8294-63744f7760ab
02/27/2015 10:27:53.73 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af71 Medium HTTP Request method: GET 07e17ab2-fbc4-4572-8294-63744f7760ab
02/27/2015 10:27:53.73 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET 07e17ab2-fbc4-4572-8294-63744f7760ab
02/27/2015 10:27:53.73 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20-%20Ugly%20Sweater%20Contest1.jpg 07e17ab2-fbc4-4572-8294-63744f7760ab
02/27/2015 10:27:53.78 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Administration/Administrative%20Services/Recent%20HQ%20Party%20Pictures/HQ%20Holiday%20Party%202015%20-%20Ugly%20Sweater%20Contest1.jpg)). Execution Time=37.8311 07e17ab2-fbc4-4572-8294-63744f7760ab
02/27/2015 10:27:54.45 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Egypt/Lists/Egypt%20Photos/Attachments/11/ishare2.jpg))
02/27/2015 10:27:54.45 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Egypt/Lists/Egypt%20Photos/Attachments/11/ishare2.jpg) 68302a72-b30c-4a2f-9ebe-a139409bba2b
02/27/2015 10:27:54.45 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af71 Medium HTTP Request method: GET 68302a72-b30c-4a2f-9ebe-a139409bba2b
02/27/2015 10:27:54.45 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET 68302a72-b30c-4a2f-9ebe-a139409bba2b
02/27/2015 10:27:54.45 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Locations/Egypt/Lists/Egypt%20Photos/Attachments/11/ishare2.jpg 68302a72-b30c-4a2f-9ebe-a139409bba2b
02/27/2015 10:27:54.45 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Egypt/Lists/Egypt%20Photos/Attachments/11/ishare2.jpg)). Execution Time=6.3367 68302a72-b30c-4a2f-9ebe-a139409bba2b
02/27/2015 10:27:54.65 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/))
02/27/2015 10:27:54.65 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/) 8edf7b11-1afd-426e-96d0-9c445adf7934
02/27/2015 10:27:54.65 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/)). Execution Time=0.8285 8edf7b11-1afd-426e-96d0-9c445adf7934
02/27/2015 10:27:54.65 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/))
02/27/2015 10:27:54.65 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/) 3fb5ba44-985f-4822-8ef4-74da6b30b98b
02/27/2015 10:27:54.67 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af71 Medium HTTP Request method: OPTIONS 3fb5ba44-985f-4822-8ef4-74da6b30b98b
02/27/2015 10:27:54.67 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af75 Medium Overridden HTTP request method: OPTIONS 3fb5ba44-985f-4822-8ef4-74da6b30b98b
02/27/2015 10:27:54.67 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/New%20folder/ 3fb5ba44-985f-4822-8ef4-74da6b30b98b
02/27/2015 10:27:54.67 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/)). Execution Time=15.2583 3fb5ba44-985f-4822-8ef4-74da6b30b98b
02/27/2015 10:27:54.68 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/))
02/27/2015 10:27:54.68 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/) a00098cf-0d97-44a1-9d8f-515c2e0de479
02/27/2015 10:27:54.68 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af71 Medium HTTP Request method: OPTIONS a00098cf-0d97-44a1-9d8f-515c2e0de479
02/27/2015 10:27:54.68 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af75 Medium Overridden HTTP request method: OPTIONS a00098cf-0d97-44a1-9d8f-515c2e0de479
02/27/2015 10:27:54.68 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/New%20folder/ a00098cf-0d97-44a1-9d8f-515c2e0de479
02/27/2015 10:27:54.68 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/)). Execution Time=2.8446 a00098cf-0d97-44a1-9d8f-515c2e0de479
02/27/2015 10:27:54.76 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/))
02/27/2015 10:27:54.76 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/) c640cfbc-9255-4c71-b4b9-cd1f154a6663
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af71 Medium HTTP Request method: OPTIONS c640cfbc-9255-4c71-b4b9-cd1f154a6663
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af75 Medium Overridden HTTP request method: OPTIONS c640cfbc-9255-4c71-b4b9-cd1f154a6663
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/New%20folder/ c640cfbc-9255-4c71-b4b9-cd1f154a6663
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (OPTIONS:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/)). Execution Time=2.717 c640cfbc-9255-4c71-b4b9-cd1f154a6663
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:https://my.sharepointurl.org:443/_vti_bin/shtml.dll/_vti_rpc))
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:https://my.sharepointurl.org:443/_vti_bin/shtml.dll/_vti_rpc) 7e3b6ef1-f21b-4d44-a58d-78aa13f35891
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af71 Medium HTTP Request method: POST 7e3b6ef1-f21b-4d44-a58d-78aa13f35891
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af75 Medium Overridden HTTP request method: POST 7e3b6ef1-f21b-4d44-a58d-78aa13f35891
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General af74 Medium HTTP request URL: /_vti_bin/shtml.dll/_vti_rpc 7e3b6ef1-f21b-4d44-a58d-78aa13f35891
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0874 SharePoint Foundation General 72ng Medium RPC method = url to web url 7e3b6ef1-f21b-4d44-a58d-78aa13f35891
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x08D0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:https://my.sharepointurl.org:443/_vti_bin/shtml.dll/_vti_rpc)). Execution Time=3.6072 7e3b6ef1-f21b-4d44-a58d-78aa13f35891
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/_vti_aut/author.dll))
02/27/2015 10:27:54.78 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/_vti_aut/author.dll) 52da0423-5a92-4836-ba13-3cd6fe850975
02/27/2015 10:27:54.79 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General af71 Medium HTTP Request method: POST 52da0423-5a92-4836-ba13-3cd6fe850975
02/27/2015 10:27:54.79 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General af75 Medium Overridden HTTP request method: POST 52da0423-5a92-4836-ba13-3cd6fe850975
02/27/2015 10:27:54.79 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/_vti_bin/_vti_aut/author.dll 52da0423-5a92-4836-ba13-3cd6fe850975
02/27/2015 10:27:54.79 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General 72ng Medium RPC method = getDocsMetaInfo 52da0423-5a92-4836-ba13-3cd6fe850975
02/27/2015 10:27:54.79 w3wp.exe (0x17C0) 0x1B00 SharePoint Foundation General 72n1 Medium in getDocsMetaInfo after getlinks 52da0423-5a92-4836-ba13-3cd6fe850975
02/27/2015 10:27:54.79 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/_vti_bin/_vti_aut/author.dll)). Execution Time=11.4586 52da0423-5a92-4836-ba13-3cd6fe850975
02/27/2015 10:27:54.81 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (LOCK:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx))
02/27/2015 10:27:54.81 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (LOCK:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx) 105bbbe5-8c71-48c5-9650-282a5dfb51e5
02/27/2015 10:27:54.81 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af71 Medium HTTP Request method: LOCK 105bbbe5-8c71-48c5-9650-282a5dfb51e5
02/27/2015 10:27:54.81 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af75 Medium Overridden HTTP request method: LOCK 105bbbe5-8c71-48c5-9650-282a5dfb51e5
02/27/2015 10:27:54.81 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx 105bbbe5-8c71-48c5-9650-282a5dfb51e5
02/27/2015 10:27:54.81 w3wp.exe (0x17C0) 0x0EAC SharePoint Foundation General af76 Medium HTTP request translate header: f 105bbbe5-8c71-48c5-9650-282a5dfb51e5
02/27/2015 10:27:54.87 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/Subawards_PNG.jpg))
02/27/2015 10:27:54.87 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/Subawards_PNG.jpg) cc7b6b53-e89b-4124-b3a1-b3793bd782c1
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af71 Medium HTTP Request method: GET cc7b6b53-e89b-4124-b3a1-b3793bd782c1
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET cc7b6b53-e89b-4124-b3a1-b3793bd782c1
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/Subawards_PNG.jpg cc7b6b53-e89b-4124-b3a1-b3793bd782c1
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/New%20Projects_PNG.jpg))
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/New%20Projects_PNG.jpg) c18c9092-5c15-4688-ad57-079d19ea621b
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x14E8 SharePoint Foundation General 72nz Medium Videntityinfo::isFreshToken reported failure. cc7b6b53-e89b-4124-b3a1-b3793bd782c1
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af71 Medium HTTP Request method: GET c18c9092-5c15-4688-ad57-079d19ea621b
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET c18c9092-5c15-4688-ad57-079d19ea621b
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x1938 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/New%20Projects_PNG.jpg c18c9092-5c15-4688-ad57-079d19ea621b
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (LOCK:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx)). Execution Time=73.0217 105bbbe5-8c71-48c5-9650-282a5dfb51e5
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/Subawards_PNG.jpg)). Execution Time=11.7474 cc7b6b53-e89b-4124-b3a1-b3793bd782c1
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Departments/Finance/BFRU/FinancialSlideShowPictures/_w/New%20Projects_PNG.jpg)). Execution Time=7.2141 c18c9092-5c15-4688-ad57-079d19ea621b
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx))
02/27/2015 10:27:54.89 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx) c5e05713-b035-4e2a-b625-48c533cc5a59
02/27/2015 10:27:54.90 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx)). Execution Time=0.5873 c5e05713-b035-4e2a-b625-48c533cc5a59
02/27/2015 10:27:54.90 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx))
02/27/2015 10:27:54.90 w3wp.exe (0x17C0) 0x18F0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx) cb8c34a6-4f44-4f1a-b196-f0e216f05802
02/27/2015 10:27:54.92 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af71 Medium HTTP Request method: GET cb8c34a6-4f44-4f1a-b196-f0e216f05802
02/27/2015 10:27:54.92 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET cb8c34a6-4f44-4f1a-b196-f0e216f05802
02/27/2015 10:27:54.92 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation General af74 Medium HTTP request URL: /Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx cb8c34a6-4f44-4f1a-b196-f0e216f05802
02/27/2015 10:27:54.96 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation Office Parser ey9c Medium Metadata parse dirty the file, Csi PreserveCellStorageStateInFfm skipped cb8c34a6-4f44-4f1a-b196-f0e216f05802
02/27/2015 10:27:54.98 w3wp.exe (0x17C0) 0x03E0 SharePoint Foundation Office Parser ey9f Medium Metadata demote dirty the file, Csi PreserveCellStorageStateInFfm skipped cb8c34a6-4f44-4f1a-b196-f0e216f05802
02/27/2015 10:27:55.20 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Topics/SharePoint/Test%20Site/Documents/New%20folder/Edit%20test.docx)). Execution Time=298.8552 cb8c34a6-4f44-4f1a-b196-f0e216f05802
02/27/2015 10:27:55.21 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Pakistan/Lists/Pakistan%20Photos/Attachments/6/image004.png))
02/27/2015 10:27:55.21 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Pakistan/Lists/Pakistan%20Photos/Attachments/6/image004.png) f5043333-b674-43ad-a330-db385fcfab97
02/27/2015 10:27:55.21 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af71 Medium HTTP Request method: GET f5043333-b674-43ad-a330-db385fcfab97
02/27/2015 10:27:55.21 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET f5043333-b674-43ad-a330-db385fcfab97
02/27/2015 10:27:55.21 w3wp.exe (0x17C0) 0x16D0 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Locations/Pakistan/Lists/Pakistan%20Photos/Attachments/6/image004.png f5043333-b674-43ad-a330-db385fcfab97
02/27/2015 10:27:55.21 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/Pakistan/Lists/Pakistan%20Photos/Attachments/6/image004.png)). Execution Time=4.6817 f5043333-b674-43ad-a330-db385fcfab97
02/27/2015 10:27:56.09 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/India/Lists/India%20Photos/Attachments/6/DSC04066.jpg))
02/27/2015 10:27:56.09 w3wp.exe (0x17C0) 0x16D8 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://my.sharepointurl.org:443/Organization/Locations/India/Lists/India%20Photos/Attachments/6/DSC04066.jpg) ef289f25-3bb2-4047-a3b7-ff6fcd54e958
02/27/2015 10:27:56.09 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af71 Medium HTTP Request method: GET ef289f25-3bb2-4047-a3b7-ff6fcd54e958
02/27/2015 10:27:56.09 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af75 Medium Overridden HTTP request method: GET ef289f25-3bb2-4047-a3b7-ff6fcd54e958
02/27/2015 10:27:56.09 w3wp.exe (0x17C0) 0x0E54 SharePoint Foundation General af74 Medium HTTP request URL: /Organization/Locations/India/Lists/India%20Photos/Attachments/6/DSC04066.jpg ef289f25-3bb2-4047-a3b7-ff6fcd54e958
02/27/2015 10:27:56.09 w3wp.exe (0x17C0) 0x0E94 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://my.sharepointurl.org:443/Organization/Locations/India/Lists/India%20Photos/Attachments/6/DSC04066.jpg)). Execution Time=5.4938 ef289f25-3bb2-4047-a3b7-ff6fcd54e958
02/27/2015 10:27:56.26 w3wp.exe (0x17C0) 0x1580 SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://hqspprodsrch01:32843/cc9b564b2b6140109e547c7ee30cc722/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges' MessageId: 'urn:uuid:5c71c7a8-a57f-4358-9eb0-efdea802bbc2' -
Import Files to SharePoint library via Powershell
Hi,
I'm a newbie to programming and I appreciate anybody who can help me out.
I need to be able to import files from a shared folder to a SharePoint document library on a scheduled basis. I prefer to do this via Powershell.
Here are the requirements:
1. Shared Folder is "D:\For_Upload". There's only one folder where all files for upload will be dumped. There are no subfolders.
2. The SharePoint Document library named "Invoice" is where the files will be uploaded. This library contains a list of folders pertaining to Invoice numbers (e.g. 5200004720, 5200004721, 5200004722, and so on.).
3. The documents to be uploaded will have a filename containing the Invoice number and year. The uploaded document should be dumped to a folder with its corresponding invoice number and year in the document library. If no year is specified in the filename
then it should automatically use the current year.
4. If the said document filename does not correspond to any invoice number in the document library folders, the document will be dumped to another shared folder labeled "D:\Not_Uploaded"
I appreciate anybody who can assist me with this.
Regards,
Territry these links:
http://stackoverflow.com/questions/22411014/sharepoint-script-to-automatically-import-documents-from-a-network-share-on-a-r
https://spfolderimport.codeplex.com/
https://camerondwyer.wordpress.com/2014/06/04/how-to-bulk-uploadcopy-a-folder-structure-and-files-to-sharepoint/ -
Using an AIX archive file as a library for an external procedure.
I cannot use an archive file, created with the ar command, that contains a shared object that was created with the xlc and ld commands as a library for external procedures. I can use the shared object file created with the ld command as a library for an external procedure. Why would I encounter an invalid magic number and what is the resolution?
Example:
oracle:@husk21:/home/oracle> ksh -x ./Oracle_demo.ksh
+ rm shell.o shell.so shell.so.exp shell.so.imp
+ make -f /u01/oracle/product/11.1.0.7/db/rdbms/demo/demo_rdbms32.mk extproc_no_context SHARED_LIBNAME=shell.so OBJS=shell.o
/u01/oracle/product/11.1.0.7/db/bin/oraxlc -q32 -c -I/u01/oracle/product/11.1.0.7/db/rdbms/demo -I/u01/oracle/product/11.1.0.7/db/rdbms/public -I/u01/oracle/product/11.1.0.7/db/plsql/public -I/u01/oracle/product/11.1.0.7/db/network/public -I/u01/oracle/product/11.1.0.7/db/precomp/public shell.c
generate_export_list() { /bin/nm -X32_64 -B -h -g "$1" | grep -v ' U ' | awk '{print $3}' | egrep -v '^\.|^TOC' | sort | uniq ; }; generate_import_list() { LIB_NAME=$1; IMP_FILE=$2; cat /u01/oracle/product/11.1.0.7/db/rdbms/lib/xa.imp | head -1 | awk '{print $0, "." }' > ${IMP_FILE}; /bin/nm -X32_64 -C -B -h -g ${LIB_NAME} | grep ' U ' | grep -v "::" | grep -v "(" | grep -v "\.cc" | awk '{print $3}' | sed -e "s/\.//g" | grep -v "^_" >> ${IMP_FILE}; }; generate_import_list shell.o shell.so.imp; generate_export_list shell.o > shell.so.exp; /bin/ld -b32 -bnoentry -bM:SRE -bE:shell.so.exp -bI:shell.so.imp -o shell.so shell.o -L/u01/oracle/product/11.1.0.7/db/lib -lc_r -lm
ld: 0711-224 WARNING: Duplicate symbol: .system
ld: 0711-224 WARNING: Duplicate symbol: system
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
oracle:@husk21:/home/oracle> ar rv libshell.a shell.so
ar: Creating an archive file libshell.a.
a - shell.so
oracle:@husk21:/home/oracle> ar tv libshell.a
rwxr-xr-x 3514/3516 1263 Sep 08 10:00 2009 shell.so
oracle:@husk21:/home/oracle> file shell.so
shell.so: executable (RISC System/6000) or object module not stripped
oracle:@husk21:/home/oracle> file libshell.a
libshell.a: archive (big format)
SQL> CREATE OR REPLACE LIBRARY shell_lib is '/home/oracle/libshell.a';
/ 2
Library created.
SQL> CREATE OR REPLACE PROCEDURE shell(command IN char)
AS EXTERNAL
NAME "shell"
LIBRARY shell_lib
LANGUAGE C
PARAMETERS (command string);
/ 2 3 4 5 6 7
Procedure created.
SQL> exec shell('ls');
BEGIN shell('ls'); END;
ERROR at line 1:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: 0509-022 Cannot load module /home/oracle/libshell.a.
0509-103 The module has an invalid magic number.
ORA-06512: at "V500.SHELL", line 1
ORA-06512: at line 1
SQL> CREATE OR REPLACE LIBRARY shell_lib is '/home/oracle/shell.so';
2 /
Library created.
SQL> exec shell('ls');
PL/SQL procedure successfully completedUsing an AIX archive file as a library for an external procedure.
-
Hi
I am building a SharePoint hosted app which uses a REST Call to get file details of a file held in a host web library. Ok if want to copy that file to another a library held in another HNSC. Surely this is possible subject to the app manifest permission
set to tenant .
https://msdn.microsoft.com/office/office365/api/files-rest-operations#Folder6
Daniel, WSLReken
Yes it is difficult. I coded up 3 requests in a SharePoint hosted app
1) get file properties
2) readfile ( binarycontent)
3) write file (binarycontent) to library in another HNSC
1- 2 works fine but I am struggling with the 3)
To stop me from despairing ;-( I thought I would modify my app to simply do a local copy ...
However, this not as simple as it looks.....
(BTW this may be better discussed in a new post....)
listurldir = "/appsdev/Marketing Lib;
itemurl = "/Marketing Lib/betterlivingwithoutprogramming.pdf";
filename = "betterlivingwithoutprogramming.pdf";
// Get file to Copy This works with a GET and no Header
var urlGetLocalFile = appweburl +
"/_api/SP.AppContextSite(@target)/web/folders/GetByUrl('" + listurldir + "')/Files/getbyurl('" + filename + "')?@target='" + hostweburl + "'";
executor.executeAsync(
url: urlGetLocalFile,
method: "GET",
success: Function.createDelegate(this, function (data, errorCode, errorMessage) {
// binary data available in data.body
deferred.resolve(data, errorCode, errorMessage);
error: Function.createDelegate(this, function (data, errorCode, errorMessage) {
deferred.reject(data, errorCode, errorMessage);
This works and finds my file ...... ok so far so good lets do a local copy with
CopyTo
localtargetfilepath = "/appsdev/Shared Documents/BeterLivingwithoutanyProgrammingever.pdf"var urlWriteLocalFile = appweburl +
"/_api/SP.AppContextSite(@target)/web/folders/GetByUrl('" + listurldir + "')/Files/getbyurl('" + filename + "')/copyTo(strNewUrl='" + localtargetfilepath + "', bOverWrite=true)?@target='" + hostweburl + "'";
executor.executeAsync(
url: urlWriteLocalFile,
method: "POST",
success: Function.createDelegate(this, function (data, errorCode, errorMessage) {
// binary data available in data.body
deferred.resolve(data, errorCode, errorMessage);
error: Function.createDelegate(this, function (data, errorCode, errorMessage) {
deferred.reject(data, errorCode, errorMessage);
Unfortunately, I can't get passed this error
I have changed the HtpRuntime paramenters as in maxrequestlength and maxurlLength/.
Tried various header combinations with one or more of the following headers
method: "POST",
headers: {
"Accept": "application/json; odata=verbose",
"X-RequestDigest": $("#__REQUESTDIGEST").val()
binaryStringResponseBody: true,
However, I simply can't get passed the error
Any ideas anyone?
Daniel, WSL
Freelance consultant -
I cannot use adobe to read files on ellipse 7
Please help
Hi stephaniek,
The Ellipse 7 is an Android device, correct? Have you installed Adobe Reader for Android? If not, you can get it from Google Play. Once you've installed the Reader app, you should be able to view PDF files on your tablet.
Please let us know if that is not the case.
Best,
Sara -
Uploading XML file to SharePoint Online Document Library
Hi,
I got a scenario to upload the xml file the sharepoint library along with that the XML has some information like UserName, Email. Phone and these information has to be captured to the metadata information of that file in the sharepoint library.
Let me know if you have a solution for this.
Thanks
KarthikHi Karthik,
Per my understanding, there is an XML file contains attributes. You want to upload it to a SharePoint library as well as extract the values of those attributes to
save to the corresponding columns of the SharePoint library.
As it is an Online environment, a workaround I would suggest is that you can create a client application(such as Windows Form Application) to extract values from the
XML file, then upload the file to SharePoint library, submit the values to the same library afterwards. All this can be achieved using SharePoint Client Object Model.
How to: Complete basic operations using SharePoint 2013 client library code
http://msdn.microsoft.com/en-us/library/office/fp179912(v=office.15).aspx
About how to upload file to SharePoint library using Client Object Model:
http://blogs.msdn.com/b/sridhara/archive/2010/03/12/uploading-files-using-client-object-model-in-sharepoint-2010.aspx
About how to read XML from a file by using Visual C#:
https://support.microsoft.com/en-us/kb/307548?wa=wsignin1.0
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
CSOM code in C # to download and upload multiple files from/to sharepoint library
Hi All,
Please help me I want to first download all my files from sharepoint library to my local folder using CSOM code .
Once downloading is completed I want to upload those files in another library .
I have done same thing using web services but need to do by CSOM now.
Thanks please provide code of peice
sudhanshu sharma Do good and cast it into river :)By using below code I am downloading multiple documents and uploading same doc to sharepoint while uploading i want to updat emetadata of source library to destination library ..
I am able to do so but want to do now for dateandTime+metadata column as well please can you check my approach and let me know tht how to do for such kind of columns-
FileProperty.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ST_9569f2fe51bd4137bb31c38b3d46455d
class FileProperty
public string Title; //single line of text
public string Description; //Multiple line of text
public string DocumentType; //choice type
public string DocumentCategory; //Choice type
public string DocumentNumber; //Single line of text
// public string DocumentStatus; //Choice
public string DocumentTitle; //single line of text
// public string CrossReference; //Multipleline type
//public DateTime PublishDate; //DateAndTime Type column
/// <summary>
/// Get the SP Document Column internal name and thier respective values
/// in key -value pair.
/// </summary>
/// <returns>The List of KeyValuePair</returns>
public List<KeyValuePair<string, string>> getColumnKeyValueListProducts()
{//Target Columns
List<KeyValuePair<string, string>> columnKeyValuePairList = new List<KeyValuePair<string, string>>();
columnKeyValuePairList.Add(new KeyValuePair<string, string>("Title", Title));
columnKeyValuePairList.Add(new KeyValuePair<string, string>("Description0", Description));
columnKeyValuePairList.Add(new KeyValuePair<string, string>("Document_x0020_Type", DocumentType));
columnKeyValuePairList.Add(new KeyValuePair<string, string>("Document_x0020_Category", DocumentCategory));
columnKeyValuePairList.Add(new KeyValuePair<string, string>("Document_x0020_Number", DocumentNumber));
//columnKeyValuePairList.Add(new KeyValuePair<string, string>("Document_x0020_Status", DocumentStatus));
columnKeyValuePairList.Add(new KeyValuePair<string, string>("Document_x0020_Title", DocumentTitle));
//columnKeyValuePairList.Add(new KeyValuePair<string, string>("Cross%5Fx0020%5FReference", CrossReference));
// columnKeyValuePairList.Add(new KeyValuePair<string, string>("Publish_x0020_Date", PublishDate));
return columnKeyValuePairList;
/* public List<KeyValuePair<string, DateTime>> getColumnKeyValueListProductsforDatenTime()
//Target Columns
List<KeyValuePair<string, DateTime>> columnKeyValuePairListdt = new List<KeyValuePair<string, DateTime>>();
columnKeyValuePairListdt.Add(new KeyValuePair<string, DateTime>("Publish_x0020_Date", PublishDate));
return columnKeyValuePairListdt;
#region Help: Introduction to the script task
/* The Script Task allows you to perform virtually any operation that can be accomplished in
* a .Net application within the context of an Integration Services control flow.
* Expand the other regions which have "Help" prefixes for examples of specific ways to use
* Integration Services features within this script task. */
#endregion
#region Namespaces
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
using Microsoft.SharePoint.Client;
using System.IO;
using System.Net;
using System.Collections.Generic;
//using System.IO;
#endregion
namespace ST_9569f2fe51bd4137bb31c38b3d46455d
/// <summary>
/// ScriptMain is the entry point class of the script. Do not change the name, attributes,
/// or parent of this class.
/// </summary>
[Microsoft.SqlServer.Dts.Tasks.ScriptTask.SSISScriptTaskEntryPointAttribute]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region Help: Using Integration Services variables and parameters in a script
/* To use a variable in this script, first ensure that the variable has been added to
* either the list contained in the ReadOnlyVariables property or the list contained in
* the ReadWriteVariables property of this script task, according to whether or not your
* code needs to write to the variable. To add the variable, save this script, close this instance of
* Visual Studio, and update the ReadOnlyVariables and
* ReadWriteVariables properties in the Script Transformation Editor window.
* To use a parameter in this script, follow the same steps. Parameters are always read-only.
* Example of reading from a variable:
* DateTime startTime = (DateTime) Dts.Variables["System::StartTime"].Value;
* Example of writing to a variable:
* Dts.Variables["User::myStringVariable"].Value = "new value";
* Example of reading from a package parameter:
* int batchId = (int) Dts.Variables["$Package::batchId"].Value;
* Example of reading from a project parameter:
* int batchId = (int) Dts.Variables["$Project::batchId"].Value;
* Example of reading from a sensitive project parameter:
* int batchId = (int) Dts.Variables["$Project::batchId"].GetSensitiveValue();
#endregion
#region Help: Firing Integration Services events from a script
/* This script task can fire events for logging purposes.
* Example of firing an error event:
* Dts.Events.FireError(18, "Process Values", "Bad value", "", 0);
* Example of firing an information event:
* Dts.Events.FireInformation(3, "Process Values", "Processing has started", "", 0, ref fireAgain)
* Example of firing a warning event:
* Dts.Events.FireWarning(14, "Process Values", "No values received for input", "", 0);
#endregion
#region Help: Using Integration Services connection managers in a script
/* Some types of connection managers can be used in this script task. See the topic
* "Working with Connection Managers Programatically" for details.
* Example of using an ADO.Net connection manager:
* object rawConnection = Dts.Connections["Sales DB"].AcquireConnection(Dts.Transaction);
* SqlConnection myADONETConnection = (SqlConnection)rawConnection;
* //Use the connection in some code here, then release the connection
* Dts.Connections["Sales DB"].ReleaseConnection(rawConnection);
* Example of using a File connection manager
* object rawConnection = Dts.Connections["Prices.zip"].AcquireConnection(Dts.Transaction);
* string filePath = (string)rawConnection;
* //Use the connection in some code here, then release the connection
* Dts.Connections["Prices.zip"].ReleaseConnection(rawConnection);
#endregion
/// <summary>
/// This method is called when this script task executes in the control flow.
/// Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
/// To open Help, press F1.
/// </summary>
public void Main()
// TODO: Add your code here
//Unpublished lib used to download files from sharepoint to local and Published library for uploading files from local to sharepoint
//var srcFolderUrl = "http://ui3dats011x:2015/sites/techunits/UnPublished%20Doc/Forms/AllItems.aspx";
//var destFolderUrl = "http://ui3dats011x:2015/sites/techunits/Published%20Documents/Forms/AllItems.aspx";
using (var ctx = new ClientContext("http://ui3dats011x:2015/sites/techunits/"))
try
List LibraryName = ctx.Web.Lists.GetByTitle("Unpublished Doc");
List LibraryName1 = ctx.Web.Lists.GetByTitle("Published Documents");
ctx.Load(LibraryName1.RootFolder);
ctx.Load(LibraryName);
ctx.ExecuteQuery();
CamlQuery camlQuery = new CamlQuery();
//Used this caml query for filtering
camlQuery.ViewXml = @"<View><Query><Where><Eq><FieldRef Name='Document_x0020_Type'/><Value Type='Choice'>Technical Unit</Value></Eq></Where></Query></View>";
Microsoft.SharePoint.Client.ListItemCollection listItems = LibraryName.GetItems(camlQuery);
ctx.Load<Microsoft.SharePoint.Client.ListItemCollection>(listItems);
ctx.ExecuteQuery();
string filename;
FileInformation fileInfo;
System.IO.FileStream outputStream;
Dictionary<string, string> itemmetadata = new Dictionary<string, string>();
foreach (var item in listItems)
if (itemmetadata.Count > 0)
itemmetadata.Clear();
ctx.Load(item);
ctx.ExecuteQuery();
ctx.Load(item.File);
ctx.ExecuteQuery();
filename = item.File.Name;
foreach (KeyValuePair<string, object> metaval in item.FieldValues.)
string metavalue = Convert.ToString(metaval.Value);
//if(String.IsNullOrEmpty(metaval.Value.ToString()))
if (!(String.IsNullOrEmpty(metavalue)))
itemmetadata.Add(metaval.Key, metaval.Value.ToString());
else
itemmetadata.Add(metaval.Key, "");
fileInfo = Microsoft.SharePoint.Client.File.OpenBinaryDirect(ctx, item.File.ServerRelativeUrl.ToString());
outputStream = new FileStream(@"C:\Users\jainruc\Desktop\Sudhanshu\ComDownload\" + filename, FileMode.Create, FileAccess.Write);
fileInfo.Stream.CopyTo(outputStream);
outputStream.Dispose();
outputStream.Close();
//Uploading
string srcpath = @"C:\Users\jainruc\Desktop\Sudhanshu\ComDownload\";
string siteName = @"http://ui3dats011x:2015/sites/techunits/";
string docLibraryName = @"http://ui3dats011x:2015/sites/techunits/Published%20Documents/Forms/AllItems.aspx";
UploadFile(srcpath, siteName, docLibraryName, itemmetadata,filename);
}//End of try
catch (Exception ex)
Dts.TaskResult = (int)ScriptResults.Success;
public void UploadFile(string srcpath, string siteName, string docLibraryName,Dictionary<string,string> metavalue,string filename)
using (ClientContext ctx = new ClientContext("http://ui3dats011x:2015/sites/techunits/"))
try
List LibraryName1 = ctx.Web.Lists.GetByTitle("Published Documents");
ctx.Load(LibraryName1.RootFolder);
ctx.Load(LibraryName1);
ctx.ExecuteQuery();
ctx.Credentials = new NetworkCredential("jainfgfgh", "Pashg8878", "mydomain");
//Loop for getting all files one by one
using (var fs = new FileStream(String.Concat(srcpath,"/",filename), FileMode.OpenOrCreate))
string fileUrl = String.Format("{0}/{1}", LibraryName1.RootFolder.ServerRelativeUrl, filename);
Microsoft.SharePoint.Client.File.SaveBinaryDirect(ctx, fileUrl, fs, true);
UpdateMetadata(fileUrl,ctx,metavalue);
//End of looping
}//End of try block
catch (Exception ex)
}//End of Using
}//End of function
public void UpdateMetadata(string uploadedfileurl,ClientContext ctx,Dictionary<string,string> mvalue)
Microsoft.SharePoint.Client.File uploadedfile = ctx.Web.GetFileByServerRelativeUrl(uploadedfileurl);
//create an object of the class holding all the properties of the document
ctx.Load(uploadedfile);
ctx.ExecuteQuery();
FileProperty fileProperty = new FileProperty();
fileProperty.Description = mvalue["Description0"];
fileProperty.Title = mvalue["Title"];
fileProperty.DocumentType = mvalue["Document_x0020_Type"];
fileProperty.DocumentCategory = mvalue["DocumentCategory"];
fileProperty.DocumentNumber = mvalue["DocumentNumber"];
fileProperty.DocumentTitle = mvalue["DocumentTitle"];
//fileProperty.PublishDate = Convert.ToDateTime(mvalue["PublishDate"]);
// fileProperty.DocumentStatus = mvalue["DocumentStatus"];
List<KeyValuePair<string, string>> columnKeyValueList;
//create a list of item need to be updated or added to sharepoint library
List<FileProperty> propertyList = new List<FileProperty>();
propertyList.Add(fileProperty);
columnKeyValueList = fileProperty.getColumnKeyValueListProducts();
ListItem item = uploadedfile.ListItemAllFields;
foreach (KeyValuePair<string, string> metadataitem in columnKeyValueList)
item[metadataitem.Key.ToString()] = metadataitem.Value.ToString();
//item["Title"] = uploadedfile.Title;
item.Update();
ctx.Load(item);
ctx.ExecuteQuery();
#region ScriptResults declaration
/// <summary>
/// This enum provides a convenient shorthand within the scope of this class for setting the
/// result of the script.
/// This code was generated automatically.
/// </summary>
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
sudhanshu sharma Do good and cast it into river :) -
Hi there,
In my SP 2010 document library - When I try to save an Excel file from File > Save As menu to the document library it always prompts me "File already exists. Do you want to replace it?" even though the file does not exist in that document library.
To the same document library - if I upload a file then it accepts it all fine.
Any clues why I cannot save files using File > Save As menu?
Thanks.Hi,
As I understand, the notification pops up when you save an excel file to SharePoint library, while when directly upload file to library, there is no wrong.
Please confirm if the issue occurs to other machines.
Please open Microsoft Office Upload Center on the issue machine, then click settings, clear cache via checking Delete files from the Office Document Cache when they are closed.
http://office.microsoft.com/en-in/excel-help/office-document-cache-settings-HA010388664.aspx
If the issue occurs to client, I’d recommend you also ask the question in Excel forum:
http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
Regards,
Rebecca Tu
TechNet Community Support -
Difference in File Adapter Read File as attachment and Use File streaming
Hi all,
As part of our POC we created a File adapter using the option Read file as attachment and File streaming we observed below things
1.When we are taking “Attachment” option in file adapter, Its able to archive, but not supporting to write data to different location(using fileadapter’s write operation.)
2.when WE are taking “ file streaming “ option in the adapter , Its not able to achive, but it writes data to different location(using fileadapter’s write operation.)
Can anyone know is this is a correct behaviour . If yes what is the reason .
Thanks
PhaniHi all,
As part of our POC we created a File adapter using the option Read file as attachment and File streaming we observed below things
1.When we are taking “Attachment” option in file adapter, Its able to archive, but not supporting to write data to different location(using fileadapter’s write operation.)
2.when WE are taking “ file streaming “ option in the adapter , Its not able to achive, but it writes data to different location(using fileadapter’s write operation.)
Can anyone know is this is a correct behaviour . If yes what is the reason .
Thanks
Phani -
How to read file in sync.?
Hi all,
I am using URLLoader to read file, but it has trouble/problem
that is need to wait the load complete event to finish read file
action. So i cannot use it to load file to read some configuration
file to assign to the class variables.
I want to use as follow:
var config:ConfigFile = new ConfigFile();
var file:String = "data.ini";
config.Load(file);
var x:int = config.X;
var y:Strin = config.Y;
If I use URLLoad that cannot implement to get properties
directly, I need to wait complete event then I need to dispatch my
own event again to tell the caller is allow to get properties.
Anyone has other method to help me to implement these usage
way?
Thanks.Hi,
Sync Read is an outbound operation, you can not use inbound configuration parameters for it.
http://docs.oracle.com/cd/E17904_01/integration.1111/e10231/adptr_file.htm#CACHDJFF
If you have a large file you may use ChunkedRead
http://docs.oracle.com/cd/E17904_01/integration.1111/e10231/adptr_file.htm#BABJFCBH
Cheers,
Vlad
Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points
Maybe you are looking for
-
Certain Artists Do Not Show Up On Artist List
I recently purchased a new iPod Classic and everything is lovely, but a few artists just aren't showing up on my artists list. The files are there - I can access the music in question through the album search feature - but the name does not show up.
-
Bue tooth is dead, and computer does not sleep when i close the screen now.
OK This is a on going issue: 1-I paid for apple care 4 days prior to the expiration of my one year agreement with purchase, they shipped it a day after it expired of course, and at first it rejected my serial number saying it was beyond the date, 2-i
-
Some of my itunes wont transfer because it says the origional cant be found
please help. thanx
-
Hi experts, We are using usage type Process Integration of NW2004s SP18. We are planning to upgrade IE 6 to IE 8.0. But in my PI 7.0 for RWB I face the below errors: Message: 'ur_txt' is undefined Line: 3 Char: 7 Code: 0 URI: http://worlddpi:51200/ht
-
Mountain lion doesn't go to startup keeps rebooting, works in safe boot though.
Just upgraded from the previous oxs verison for mac, after the upgrade it keeps rebooting not allowing me to go to startup screen where the usernames are, howevere the upgrade works when I put my Mac in safe boot. Any recommendations?