Tag Info

Hot answers tagged

4

Well, SPSecurity.RunWithElevatedPrivileges should do the trick. Make sure, you create a new SPSite/SPWeb within the elevated code block: var siteId = SPContext.Current.Site.ID; SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(siteId)) { //do things on the new site object } });


3

Warning Depending on the number of documents you expect your users to store in SharePoint it sounds as if you're heading in the direction of disaster, by storing everything in the same Site in the same Site Collection. Answer to asked question You want to create an AD-Group for each department. You should then add all departments to the guest/visitors ...


3

You should uninherit the permissions for that library. Go to that library. Go to the Library Tools highlighted section at the top and click the Library tab Click Library Permissions. Click the Uninherit button. This will uninherit the permission from the site but copy over what it has already. Delete the users you don't want to see the library. Add the ...


3

The short answer is you don't. Directly interacting with a SharePoint content database will cause your SharePoint installation to lose Microsoft support. This applies even to just using SELECT statements without changing any data. Any interactions with SharePoint should be performed via the object model.


3

This usually happens when something on the page accesses data of some sort that the user does not have access to. It prompts you for credentials 3 times and then after the third time it should fail to load whatever it was trying to access because you don't actually have access, but the rest of the page loads. The item failing could be something from another ...


3

You can save the list in SharePoint 2007 with content - you can then save the .stp to the file system and you'll need to open up the .stp file (rename it to cab). You then need to update the version number within the manifest file from 3 to 4 and recab it. You can then upload the new .stp to SharePoint 2010 and create your list.


3

This is typical when the site collection is a publishing site. Check out http://blogs.msdn.com/b/russmax/archive/2010/01/22/lockdown-mode-in-sharepoint-2010.aspx To determine if a site has ViewFormPagesLockdown enabled run the following: get-spfeature -site http://sitecollectionURL If ViewFormPagesLockDown is listed, it's enabled. To toggle lockdown ...


3

Okay. finally, I found a article and it helped me right away... http://www.howtogeek.com/howto/vmware/allow-access-to-a-vmware-virtual-machinenat-from-another-computer/ Went to "Virtual Network Editor" from my host computer (found under VMWare menu) Change the IP address for the NAT subnet ip to 192.168.10.0 Followed the article above for more on NAT ...


2

I believe John is correct if you are limited to Out-of-the-box solutions but there is another option if custom code is available to you. Create your own application page to handle Access Requests and have it generate the email in whatever format you want. Since you would be creating this email in your own code, you would control all addresses used so you ...


2

Try set it up as follows (ripped from our internal documentation - and assign the self signed cert described above) Setup Alternate Access Mappings Open SharePoint 2010 Central Administration Click Application management Click Configure alternate access mappings under Web Applications Click Edit Public URLs (this is on the blue menu bar) For Alternative ...


2

I think for this you can use the List.SystemUpdate() With item.Update(), we update the changes that are made to the list item. Is that all what it does? No, internally it also updates the "ModifiedBy" and "ModifiedOn" fields as per the current logged in user and current server time. Optionally it also updates the version of the item if the Versioning option ...


2

You can do it via Central Admin but I would not recommend it use this procedure for all the authenticated users. In Central Admin, go to Application Management, then click on 'Policy for Web application' under 'Application Security'. Select the SharePoint web application you're uploading documents to and click 'Add Users'. Select the desired zone (or 'All ...


2

I must confess is the 1st time i've heard that same account is used by the multiple people (except for Administratrive accounts) also because I'm not sure Microsoft would be happy with this model due to the CALs implications, not to mention the fact that this defeats the whole purpose of data security, permissions and overall you loose any sense of tracking ...


2

You need to enable auditing at the web application level and then enable Opening or downloading documents, viewing items in lists, or viewing item properties in the Site Collection Audit Settings in Site Settings of the site collection. You can then collect data and run reports to see who accessed what and when.


2

Is the Access service started on at least one server in Manage Services on Server Have you tried the installation on a physical box (non-VM)? Believe it or not, this can have an impact and it will help us narrow it down to a VM setting. What permissions does the App Pool Identity have (database, local)?


2

For SharePoint data, you don't access the underlying SQL data directly. Microsoft doesn't support doing this and you will be in an unsupported state. To access SharePoint data you should use the object models provided by Microsoft. These include through C#/VB, Web Services, and JavaScript.


1

Firstly, your SPWeb (which you've created using OpenWeb()) should be inside a using() construct. The reason I suspect that you're not able to get the correct list is either because: The name of the list is not "ArtistInformation", remember you must use the DISPLAY NAME of the list in this situation or fullURL does not have the actual URL of the ...


1

What you see with Access is more or less the illusion of SQL access to SharePoint data. When you open a list via Access, Access actually queries SharePoint for the structure of the list and builds that as a table in the local access database. It then pulls the data down and populates the local table. Access will maintain the link to the original List and ...


1

After sifting through your log dump, here's what stands out at me. The first errors you encounter start at: 02/15/2013 12:29:26.60 w3wp.exe (0×1024) 0x208C SharePoint Foundation General adyrv High Cannot find site lookup info for request Uri http://win-fdshjv8jiql:32843/86ed9d455deb4308b14ed8f76394e215/AccessService.svc. ...


1

Listdata.svc service usage requires an authenticated connection. For your public site, I do recommend implement your custom service (be it a simple asmx service, rest service, wcf service) or create a custom generic handler (eg: listdata.ashx) that will return, in a similar fashion to what you would receive from listdata.svc the expected content. You can ...


1

If something in that page which you will load after login will contain information to which user don't have access the you will get thiss error it will happen also if there is some sort of webpart which asks for info which user can't access. Recheck that your custom group has all needed permissions to load all needed page components. Before asking for data ...


1

Using Claims based athentication you can use other sources of authentication that Active directory see Getting Started with Security and Claims-Based Identity Model Which Provider you then should use then depends on on who you want to grant access and how they can be authenticated. The link you pasted was about using LDAP. If you want to use ...


1

Have them VPN in and then access it the same way everyone else does. Seriously. Opening up your Intranet site to the Internet is inviting no end of trouble and security risks. For example, is your intranet farm completely up to date on its patches? How about the underlying OS? Does the service account that is used for the exposed application pool have ...


1

You can add that group to a Site Collection Readers group in SharePoint permissions. Site Actions -> Site Permissions This will list the permissions for the site. You can add that group under the "Site Readers" and they can view and download the files they need to. Just click on that group and then go to New -> Add Users -> type the AD Group ...


1

You could always have a code running on ItemUpdated part of an item event receiver that should run in a SPSecurity.RunWithElevatedPrivileges and perform an update with it, or use something similar to this to update with an specific "dummy user" (check code - i've just written it on spot!). You would need to validate what happens if you have Versioning ...


1

Depending the complexity of your database, it might be best to just shift the entire schema and data over to SQL Server (Access has a feature to do this, can't remember the name of it myself). If you have SQL Server Standard you can install SQL Server Reporting Services (SSRS) with Integrated Mode, which basically integrates the storage of reports and other ...


1

The short answer is yes, a custom timer job can access sql server. However in order to work out what your problem is, you'll probably need to provide us with more information. For example you may have an issue with your connection string, permissions on the database you are trying to access etc.


1

It depends on how you are exposing this externally. You will probably need to setup your AAMs like so (using foo.com as the FQDN example) Default http://mysite Internet https://mysite.foo.com Extranet https://mysite.foo.com Load you SSL certificate compatible (like a wildcard cert of *.foo.com) for https://mysite.foo.com into IIS and assign the ...


1

Another alternative would be to use the SP.UI.Dialog.args object which would allow us to pass arbitrary properties into the dialog. This could be inturn retrieved from the opened page using the SP.UI.ModalDialog.get_childDialog().get_args() property. Please read this detailed post to find how its implemented - ...


1

I have done this before using Data Sync Studio (use a trial key for one-off sync). Essentially, do the same as show in this blog entry but rather and Office 365 as the destination use the SP 2010 list. http://www.simego.com/Blog/2011/06/Office-365-SharePoint-Data-Synchronisation What might be useful is that you can set the source to the 2007 list and it ...



Only top voted, non community-wiki answers of a minimum length are eligible