.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Moderator- Did I post in the correct area for: Upload ONE doc, and it does not appear in the Library

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
 

I posted this question long ago (four weeks ago, not two days ago), and received no feedback.  Am I posting in the correct area?  Should I post elsewhere?  Is this a known bug?  Is there a fix?

Upload ONE doc, and it does not appear in the Library (but does appear in Explorer View). No problems Uploading Multiple Docs. Fix?Subscribednone

Mark Cascella Wednesday, March 02, 2011 11:35 PM

We have libraries, customized with OOTB tools on


View Complete Post


More Related Resource Links

Upload a File to a SharePoint Document Library - Part I

  
The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

Reg File Upload control to upload files from document library

  
Hi,

In Field Upload control if we click browse button it allow us to search file in our hard disk but now as per my requirement as soon as user clicks ‘Browse’ button it should point to the document libraries and their files in site.Let me know how could i achieve this?
 

Thanks & Regards,
 

Sudheer

SP 2010 ASMX Call to Upload Doc to Library

  
What is the recommended approach to use a web service (Lists?  Copy? ?? ) to add a document to a SharePoint document library from a website OUTSIDE of Sharepoint. I can add a ListItem from XML that provides the fields about the document, but I can't figure out how to attach a document to the List Item.  If it is AddAttachment, then the question is how do I get the DocId to attach it to?  ...and can I do it in one step?

Upload documents to Sharepoint 2010 Document library

  
Is there a way to upload documents to an SP 2010 document library with Custom Actions or Workflows?  I have a requirement of taking the contents of several directories (older data files) and uploading them to Sharepoint.  Not sure which actions actually perform this operation.  Any help most greatly appreciated.

New / Upload / Actions / Settings / View menus on a document library are hidden

  
I have a Document library. On the View Page (All Documents) for the Document library, I do not see the menu bar with the "New / Upload / Actions / Settings / View" menus. It looks like one of the users with owner permissions did something to cause this behavior. No custom code exists on the page. I am not sure how this menu bar can be hidden. Can someone please clarify. I am a site collection administrator.

What are correct credentials to allow FILE UPLOAD to work

  
I have moved and app to my IIS 6 web server and am not able to assign the the correct credentials to the file folder where I will have users upload a file using the FILE UPLOAD control. I continually get the error access denied after following all of the instrucitons at this link.... http://msdn.microsoft.com/en-us/library/aa479405.aspx Could someone please shed some light on this? I have tried giving write access to the following accounts... aspnet Network Service Internet Guest Account   Thank you,        

Can't upload some pdf files to library

  
Hi there I got some pdf files about 40 or more Mb, and I already set the upload limit to 100 Mb in site setting. I tried to upload them only one file each time but always got wrong without any error message and shows nothing on the page with url looks like this: http://servername/site/_layouts/Upload.aspx?List=%7b2677D186-FEA0-4B28-91E5-E6F2B846DF90%7d&RootFolder=%2fes%2fFeed+Library%2fProject+FEED+Studies&Source=http%3a%2f%2fservername%2fsite%2fFeed+Library%2fForms%2fAllItems.aspx%3fRootFolder%3d%252fes%252fFeed%2520Library%252fProject%2520FEED%2520Studies%26FolderCTID%3d%26View%3d%257b0A2591CB%252d5354%252d4C8A%252d8F5A%252dA1EDB6313A01%257d any idea how to solve this? it's MOSS 2007 sp2 in Win 2008 R2 environment. Thanks in advance. allan

ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error

  
RE: ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error Two Issues, apparently unrelated. I have subfolders like this /ApplicantDocuments/20 and /ApplicantDocuments/21 (where 20 and 21 are my subfolders and ApplicantDocuments is my library. 1. The below function is erroring with file not found, but I confirmed I'm sending the fully qualify path (i.e c:\test.txt) to System.IO.FileStream content = System.IO.File.Open(documentFileName, System.IO.FileMode.Open); 2. Even if it worked, looking at the code, I'm not using argument foldername.  I'm passing 20 to the argument. How can I make sure it uploads into subfolder 20 of ApplicantDocuments? Thank you.     Just testing in test environment. Will tighten code once it works.   public void UploadDocumentToSite(string foldername, string documentFileName) {      SPSite siteCollection = new SPSite("https://xxxxxx");      SPWeb web = siteCollection.OpenWeb();      //SPSite.AllowUnsafeUpdates = true;      //Web.AllowUnsafeUpdates = true;      string Lib = "ApplicantDocuments";      SPFolder destFolder = web.GetFolder(Lib);      sendmail(documentFileName+" "+foldername);  

upload images to a picture library from infopath form

  

Hi 

   I am having an infopath form, from where i need to upload images to picture library . 


I want to upload Folders which contain special characters into the sharepoint document library

  
I want to upload Folders which contain special characters into the sharepoint document library

Getting error msg while trying to upload a document inot the document library using the form which i

  

I have designed an upload form with the columns that have to be filled in while uploading a document into the document library.The form is designed in .net.

I get "Error Access Denied" message when i try to upload the document using that upload form.When i go back to site,the document is uploaded in that particular document library.But this problem doesnot exist when i upload the document as admin.There is no " Error Access Denied" message.I have checked the document library permissions.The problem is not with the permission to that particular document library.

Can someone help me out in this issue?


How to Programmatically Upload the files based on the current location in the document library?

  

how can programmatically to upload a file to document library based on the current location for example when i was inside the subfolders and click on the custom button in ribbon it should upload file to current location entered to document library not hardcoding the subfolders name 

Thanks in advance


how to validate picture library to upload only image files?

  

Hi

how to validate "Picture library" to upload only image files. Currently now it is accepting .doc,.txt files etc.

Is there any way to overcome this issue?

 

Thanks

 


Enterprise Library 4.0 error: Input string was not in a correct format.

  

I am trying to insert candidates information into SQL Server database. I have written the corresponding stored procedure like below in SQL server:

ALTER PROCEDURE [dbo].[USPInsertCandidate]
	@candidate_name varchar(60),
	@dob datetime,
	@gender char,
	@current_location varchar(60),
	@mobile_no_one varchar(20),
	@mobile_no_two varchar(20),
	@home_phone	varchar(20),
	@work_phone varchar(20),
	@email_id varchar(100),
	@passport varchar(20),
	@as_on_date datetime,
	@file_upload_path varchar(255),
	@availability char,
	@applied_position varchar(30),
	@max_round_id int,
	@certification_comment varchar(2000),
	@source_id int,
	@source_comment varchar(2000),
	@skillset_comment varchar(2000),
	@max_status_id int,
	@total_exp_year int,
	@total_exp_month int,
	@source_date datetime,
	@user_id int,
	@visa varchar(20),
	@qualification varchar(100)
AS
BEGIN
	declare @candidate_id int;
	set @candidate_id = dbo.GetCandidateID();
	insert into candidates(candidate_id, candidate_name, dob, gender, current_location, mobile_no_one, mobile_no_two, home_phone, work_phone, email_id, 
							passport, as_on_date, file_upload_path, availability, applied_position, max_round_id, certification_comment,
							source_id, source_comment, skillset_comment, max_status_id, total_exp_year, total_exp_month, source_date,
							user_id, visa, qualification)
	values

Merge Upload form and editform in Document library upload document

  

Hi,

I have a document library.  When the user click on the upload, I want to display an entry form that have: Name, description, keywords and file with the browse button. All those fields should be on the same page. 

The problem is that by default when the user click on upload button, it get redirected to _layouts/Upload.aspx which ask the user to browse for the document, when he click ok, it is redirected to Forms/EditForm.aspx to provide the Name, description and keywords field. 

My client do not want to have two pages, he just want to enter and upload the file all in one page.

Any ideas how can I accomplish this?

Thank you,

Mariela

 


Drag-n-Drop option for file upload in Document library

  

Hi All,

Is there a way to provide a drag-n-drop option to the users in Document library of sharepoint 2010 when the document library was configured in Listview mode? I know this is possible via Explorer view option; but our users wants it in Listview mode itself.

Cheers,

Sathish. R

 


Sathish Kumar

Drag-n-Drop option for file upload in Document library

  

Hi All,

Is there a way to provide a drag-n-drop option to the users in Document library of sharepoint 2010 when the document library was configured in Listview mode? I know this is possible via Explorer view option; but our users wants it in Listview mode itself.

Cheers,

Sathish. R

 


Sathish Kumar
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend