Is there any way to run stsadm -o addsolution using a SQL Authentication account instead of the windows domain account? My SharePoint hosting provider has the content database in a different domain than my WFE and they are not trusted. I am unable to install a SharePoint solution pacakge using stsadm because my windows domain account doe...
Hi, in a List i have one 'Status' field that should be accessible to only Owners and to the Viewers/Readers it should not be accessible. Do anybody can guide me how to do this.
...
Given the SPList.ID and a site collection (or an SPWeb with subwebs), how do I quickly find the document library with the given ID?
I can recursively enumerate through all webs and perform a web.Lists[guid] on each one of them, but there might be thousands of subwebs in my case, and I'm looking for a realtime solution.
If there is no ...
In a Sharepoint web page I am having a problem identifying the logged in user!
The Masterpage contains a normal ootb control that displays the username
<%@ Register TagPrefix="wssuc" TagName="Welcome" Src="~/_controltemplates/Welcome.ascx" %>
.....
.....
<wssuc:Welcome id="explitLogout" runat="server" />
This always displayed the cor...
I am accessing Sharepoint web services from a Silverlight application, I have put the clientaccesspolicy.xml file in the root of my Sharepoint site, so I can access fine.
What I would like to do though is hard code the user credentials so the web service always connects with the same user.
Is this possible and if so how?
Thanks in adv...
I have a question re: performance and design. Crux of the problem is: do I wrap RunWithElevatedPriviledges around a sequence of methods all requiring its use (but the call is in the wrong layer), do I call it each time in the appropriate later.
I am refactoring code that initially had 2 layers (front-end & database).
I've now split thi...
Hello all,
I know that a list permission can be changed. But it there a way to completely omit a user to see a list. Example - USer A can see Event List but User B cannot see it. Can this be done? Your suggestions will be helpful. Thanks,
...
I have a browser enabled infopath form running within the XmlFormView control on a custom ASP.Net page in SharePoint.
The form needs to open a new browser window to perform some action and then act on a returned value from the browser window.
Currently using NotifyHost to tell the custom aspx page to render a window.open() javascript f...
I've created a user control and added that user control to my webpart. But when i try to add the webpart in a page. i am facing the above stated problem.I ensured that dll was present in GAC.
I've created a user control and added that user control to my class library. I've compiled and signed the dll and have added it to the gac. But wh...
Hi I am just curious to know whether different users can have same user ID in MOSS 2007.
I have two SharePoint groups with different set of permission levels. SharePointGroup1 is in root site. The subsite has unique permissions, i.e., it is having SharePointGroup2 with different set of users.
Is there any chance to have same user ID for...
Hi,
Simple question : Is it possible to run two SharePoint instances on one server?
With a not so simple answer I suspect.
Thanks,
Peter
...
Hi there,
I'm trying to pop a window up, from inside a procedure running in SharePoint. I need to pass a parameter to the URL, and have been trying to run the following, however, the popup never pops up.
string sURL="http://myserver/mypage.aspx?param1=abc";
Response.Write("script LANGUAGE=\"Javascript\">\n");
Response.Write("window.ope...
Need to convert a web part to a field control on a Sharepoint page.
Part of the problem is to migrate all the content on existing pages that use the web part to the corresponding field control.
Any ideas on how to accomplish this as painlessly as possible?
...
Hi All,
I'm using Sharepoint 2007. Is there a way to CAML query documents (in this example with a ContentType of Invoice) that do not have any workflows assigned to them?
I realize I can pull back all of the Invoices using something like this:
SPQuery query = new SPQuery();
query.ViewAttributes = "Scope=\"RecursiveAll\""...
Hi everyone,
I have a sharepoint site that gives me trouble with the search, it somehow crawls everything in the site but when I make a search for a document and I select one of those documents after the search is complete, instead of bringing up the documents it brings me back to the search page that I created.
When I check the crawl lo...
I have a sharepoint server farm like the following.
Machine1: Test_DB in this machine i have installed SQL Server as named instance.
(Test_DB\sqlserver)
Machine2: Test_appsrv Application server complete installation
Machine3: Test_web in this installed sharepoint as webfront end.
In my central admin I am seeing all the ...
Hello ,
What I am tring to do is, when people comes to that page:
http://server:26521/MY%5FPortal/service/default.aspx
I want them to be redirected to that page
http://server:26521/default.aspx
Depending on their User name Or User Group.
Thanks for helps.
...
I´m searching for a way to display the userimage next to the name of a Blog-comment in sharepoint 07. First idea was to add a Image column to the comment list and use a add event to fill it, but this would not catch a change of the userimage and I still have no control over the rendering.
Thanks for any suggestion
ren
...
Hi,
Can anyone tell me if I have some ways to access to sharepoint list from windows app?
I've tryed following way (i'm under user that is sharepoint member):
SPUserToken token = new SPUserToken(
BitConverter.GetBytes(WindowsIdentity.GetCurrent().Token.ToInt32()));
SPSite site = new SPSite(siteName, token);
but no luck.....
I'm trying to backup a sub site in my protal using Smigrate. When logged into the server and running the following command:
D:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\BIN>smigrate -w -f C:\CH_Test_04_backup.fwp -u domain\user -pw ** 20 Nov 2009 13:57:06 -0000 Site collection opened 20 Nov 2009 13:57:07 -0000...