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

Top 5 Contributors of the Month
Post New Web Links

Crwaling Network file shares and HTML Sites

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :SharePoint
Hi, Recently we have enabled Incremental crawling.Now our customer requirement is they are expecting search to crawl Network files,HTML sites.Should we change any settings in the Search.Please let us know Thanks & Regards, Sudheer

View Complete Post

More Related Resource Links

Resource File: Creating Privacy-aware Web Sites


Privacy issues are of primary concern to those involved in Internet commerce. Some consumers are hesitant to provide information to Web sites without clearly understanding how their data will be used and with whom it will be shared.

MSDN Magazine August 2003

OpenSearch Descriptor File Generator for SharePoint Server 2007 Sites

Learn about the OpenSearch Location Builder Tool, which you can use to create an OpenSearch Description (.osdx) file to connect SharePoint Server 2007 sites to the Windows Client via the OpenSearch protocol.

Writing the windows forms data to an HTML file

I have a windows forms application ready now i need to transfer data from the windows forms to the web and to do this i need to write an HTML file that contains the form data, i mean the data contained in the form should be written to an HTML file to be submitted and this HTML file should be generated on the local PC. I have the code for the HTML file but how can i write this HTML file with the data values contained in my windows forms. Please give your suggestions. Best Regards, Syed

Write html file through webservice

I am writing an application in which I want to generate dynamic html file based on the parameters of jquery objects. I want to pass the parameters to a webservice which will produce the required html page. How I can achieve it. Is there any other good approach to this problem.

Link to Traditional File Shares from SharePoint 2010

Forgive me for possibly not using the right terminology.  I'm trying to determine if Sharepoint 2010 supports linking to traditional files shares so they can be presented as Document Libraries inside Sharepoint.  When searching I find lots of info about the capability to map traditional network drives to a Sharepoint Document Library, however that is essentially the opposite of what our customer needs to do.  Instead they want to keep a large repository of files out of a Sharepoint database, but still present it as a document library to their users.  I know that the BDC supports linking to External Data Sources, but I thought that is just for crawling, and searching external data stores.Is it possible to present a traditional file share \\servername\share as a document library (i.e. https://home.widgets.com/Documents/Forms/AllItems.aspx) in Sharepoint 2010?It looks like the capability is there especially because Server 2008 R2 refers to default shares as Libraries.Thanks.Matthew

How to dynamically create HTML file from the code ?

Hi all,Precisely and concisely, I have aspx page that has only one button "Generate". If the user clicked on this button, one HTML page should be created. The created HTML page should have title "Home" and the Body should contain "Hello World". 1) What is the code that should be written inside "Generate" button in order to accomplish this functionality? 2) Assuming the HTML page gets created, How to store it inside specific folder on the local drive? Or how to store it inside DB? I would greatly appreciate any constructive input!

How do I trust network shares under visual studio 2010 / .NET 4.0


Hello there,

This question was posted here, but recommended that I move it here.

(this is copy/pasted)

This question has been asked before - but it is not answered and seems to be sealed so I cannot post anything on it.

Anyway, as the post suggests, I'm unable to do any development work while my projects are hosted on the dev server.  I've tried doing the CAS policy (which works for VS2008) and even done the command line suggested here: http://msdn.microsoft.com/en-us/library/bs2bkwxc(VS.100).aspx and regretfully nothing works as yet.

To be more specific, I am working on a solution with 2 projects, one WCF service and the other Silverlight.  I am on domain admins AND I have specific rights on all files and folders granting full control on the dev server. The error I get is:

Could not load the assembly xxxx. This assembly may have been downloaded from the Web.  If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project.

It is not from the web,

Does the WF4 Debugger have issues with network shares?

When I try and debug the worflow it keeps honking at me that it cant find w:\dir\file.xaml but if I paste that into explorer, it opens right up...

catch the html button click event on a class file including html text box value.


I want to catch the html button click event on a class file including html text box value..

<p><input name="" type="text"  value="Enter Name*"/></p>
<p><input name="" type="text"  value="Enter Email*"/></p>

  <input name="Input" type="submit" value="Submit" />

plz tell me how can i do this..

Trusting network shares in Visual Studio 2010 / .NET 4.0


I've seen a couple of similar threads to this going around, but none of them seem to have been adequately addressed.

I work for the CS department of an educational institution where each student's "My Documents" folder is redirected to a network share. Their profiles are deleted after they log off, so we encourage them to use this share to store projects and whatnot instead of saving to the local machine. Our classic problem with this has been the CAS policy's distrust of network shares. In VS 2008 and earlier, running caspol would allow us to set up a trust relationship:

E.G: caspol.exe -m -pp off -ag 1.2 -url file://\\UNC\path\* FullTrust

However, when we upgraded to VS2010, this command no longer worked. I notice that the caspol tool has been included in both .NET framework 2 and .NET framework 4 distributions, but after trying both we still cannot save files to network locations and saving to drives mapped to "non-trusted" locations still behaves a little weirdly.

I have read the documentation that states that CAS is deprecated, but I'm wondering if there was any structure left in place to enforce trust relationships and how one might circumvent that, since I am obviously still unable to save to these locations.

Any help on this issue would be much appreciated.

is it possible to keep data file to network fileshare??


can any one please tell is it possible to keep database files(data or log) to some shared location.and if possible, what will be the performance benifit from this?



.swf.html file not opening in ssl sharepoint site


Hi All,

          I have I have uploaded .swf.html file to sharepoint site that has ssl enabled and .swf.html file is not opening and the strange thing is the same file is opening on the othe sharepoint site without ssl enabled. Please help me out of the issue.





Search Results from File Shares - Respect Permissions?????


I'm curious: If I have SP 2010 Enterprise and I've set it up to crawl and return search results from documents on a file share, will it respect the access permissions that the logged-in user doing the searching has?

I know I have to allow read-only access for the content manager account within SP, but I did not know if it would check access permissions of the user account when returning results.


Problem with security on ISS?, why can i write HTML file but not XML files


hi guys

I have a web app the manages articles, users can generate articles which we store in the database and also in a folder inside the application in html.  We also have the ability to generate real time alerts, to targetted audiences but the list of audiences was cached from an sql query on the web server and at times, the cache was cleared by the server. so i wrote an http module, and the module now runs the query using a timer, and this then wrties the audiences to an xml file within a folder in the same application (same as my html files)

Now the weird thing is im getting the system.io unauthorised access exception, when i try to delete and overwrite the xml file.  Yet this doesnt happen when i write the html files.

Now although my users do login, there credentials are maintained via an sql database table, not windows security or the asp.net security model. 

Ive checked the folder that we publish our applications up to (its a mapped folder like a virtual directory), and i cannot see the network service or asp.net machine accounts usually used in iis5 or 6.  But i dont have the ability to change this anyway. 

Why would the html file write fine, and the xml file throw this error. 

I also changed my code to used HttpRuntime.AppDom

File access across the network, credentials, logonuser, impersonation



I have an application that has both a server and client... the client can exist on any computer.

I have a need to allow a client to export a set of files.  The server process that will be exporting the job runs as the Local System account.

When I want to export resources to a remote UNC such as \\servername\share that I don't have permission on I would like to prompt my user for credentials.

How do I then use these new credentials to authenticate and then System.IO.File.Copy(src,dst)?

I've found several articles on impersonation and I can impersonate a local user, but not a remote user it seems... 

I'm programming in C#.


How to change the content of an html file using an aspx file?


Hi everyone,

I would really like to have a little help, it should be easy but i can't find the answer

and it's been a while since iv'e done something with asp.net..

what i have now is a regular html pages website.

in some of the pages i have galleries,

I would like to make an aspx page to manage the content of the galleries or any other set-in advance content.

It's kind of a CMS, but it's not, since i would not be using a database.

what i want is just to get the admin's content from the aspx page

and send it to overwrite the images or the content of the DIVS in the html page.

at the final outcome, i will only want to have html files and one aspx file for the admin's editing use.

what is the most simple way to do that without using CMS? 

Thanks a bunch!


Is there a way to export a datagrid to an Excel or html format file?

Hi all.. thanks for taking the time to help in advance!! :)

I've written a win application that has a datagrid which displays certain contents from a database, is there a way to allow the user to export the contents of that datagrid to maybe an excel file or html file so they can print it out themselves? I've done a lot of googling and most i could find were for web applications and not winform.. can someone point me in the right direction?

Thanks very much guys! :)
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