Check The url ypu have deployed in the sharepoint application is added to the managed paths of the share point or not.If not add that url as excluded path so that that application is able to access the sharepoint config database.
http://localhost:28990/scprefix.aspx?VirtualServer=http%3a%2f%2fsny-spdb1%2f
Wednesday, May 26, 2010
Wednesday, April 7, 2010
Firefox prompts for a login prompt
Working with a client who has a mixture of both IE and Firefox for connecting to SharePoint. They are using internally and are currently using NTLM. Firefox was prompting for a login prompt every time user was connecting to SharePoint and this was causing a headache.
It turns out the fix is not too difficult and I wanted to repost here.
1. Open up FireFox
2. Type about:config in the address bar
3. Locate the key named network.automatic-ntlm-auth.trusted-uris.
4. Set that key’s value to a comma separated list of servers you want NTLM auth for
This was posted on various blogs but wanted to point this out as the client couldn’t seem to locate themselves.
Note: This is not a problem for those clients using Kerberos
It turns out the fix is not too difficult and I wanted to repost here.
1. Open up FireFox
2. Type about:config in the address bar
3. Locate the key named network.automatic-ntlm-auth.trusted-uris.
4. Set that key’s value to a comma separated list of servers you want NTLM auth for
This was posted on various blogs but wanted to point this out as the client couldn’t seem to locate themselves.
Note: This is not a problem for those clients using Kerberos
Thursday, March 25, 2010
How To Save Site As template using cmd prompt
In SharePoint 2003 Go To Site Settings and select Site Administration go to Management and Statistics in the tab click " Save site as template "
Once you saved that site as .stp file Once you saved it gives a link to managegallery or below link accordingly
http://server/sites/sitename/_catalogs/wt/Forms/Common.aspx
then save the .stp file in the local machine of the server and use below command tool to list it in the sites template list.Then reset iis
Create a site in the steps you will get a page to select the template for the list
use the deployed template for that site and go ahead if you want to import the data also use "Include Content" check box checked other wise Leave it.
to get in to the stsadm.exe go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN in command prompt
and then execute below command accordingly
stsadm.exe -o addtemplate -filename "C:\RAvishanker\OracleItSiteTemplate.stp" -title OracleItSiteTemplate"
Once you saved that site as .stp file Once you saved it gives a link to managegallery or below link accordingly
http://server/sites/sitename/_catalogs/wt/Forms/Common.aspx
then save the .stp file in the local machine of the server and use below command tool to list it in the sites template list.Then reset iis
Create a site in the steps you will get a page to select the template for the list
use the deployed template for that site and go ahead if you want to import the data also use "Include Content" check box checked other wise Leave it.
to get in to the stsadm.exe go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN in command prompt
and then execute below command accordingly
stsadm.exe -o addtemplate -filename "C:\RAvishanker\OracleItSiteTemplate.stp" -title OracleItSiteTemplate"
Saturday, January 9, 2010
Sharepoint Serach Error
1. Remove web, search and index components
2. Used catutil to delete all portal_content index files.
3. Added back all three roles back.
4. Restart IIS.
2. Used catutil to delete all portal_content index files.
3. Added back all three roles back.
4. Restart IIS.
Monday, September 14, 2009
Deploying Sharepoint Web Parts automatically
We can deploye share point web parts automatically using
WPPackager tool
http://www.microsoft.com/downloads/details.aspx?familyid=0FDA5912-C136-4B44-911A-011ADFCC66E3&displaylang=en
WPPackager tool
http://www.microsoft.com/downloads/details.aspx?familyid=0FDA5912-C136-4B44-911A-011ADFCC66E3&displaylang=en
Tuesday, August 11, 2009
sites With Examples for Creating user and adding user to Sharepoint
Code Snippet
//1) Create membership user
MembershipUser membershipUser = Membership.CreateUser(login, password, email);
//now you have it
//2) Create sharepoint user
SPWeb spWeb = SPControl.GetContextWeb(HttpContext.Current);
//get your site instance
SPUser spUser = spWeb.EnsureUser(login);
//now you have sharepoint user
//3) Add sharepoint user to a desired group
SPGroup spGroup = spWeb.SiteGroups["VISITORS"];
//get your group
spGroup.AddUser(spUser);
//that should do the work
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/db46ab8f-9594-4878-9bab-a18fe3fba959/
//1) Create membership user
MembershipUser membershipUser = Membership.CreateUser(login, password, email);
//now you have it
//2) Create sharepoint user
SPWeb spWeb = SPControl.GetContextWeb(HttpContext.Current);
//get your site instance
SPUser spUser = spWeb.EnsureUser(login);
//now you have sharepoint user
//3) Add sharepoint user to a desired group
SPGroup spGroup = spWeb.SiteGroups["VISITORS"];
//get your group
spGroup.AddUser(spUser);
//that should do the work
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/db46ab8f-9594-4878-9bab-a18fe3fba959/
Wednesday, July 22, 2009
Session state cannot be used in ASP.NET with Windows SharePoint Services
http://support.microsoft.com/kb/837376
enableViewStateMac="true" validateRequest="false" />
Subscribe to:
Posts (Atom)
