Pages

Monday, February 28, 2011

BPOS Email coexistance with third party Email hosting provider

I wish to split up my organization such that half of the companies users use Microsoft BPOS - Exchange Online and the other half remain with the current 3rd party email hosting provider(in my case, we are using google apps).  The reason is because the client's number of workers fluctuate a lot; having to sign up for a BPOS license for an entire year does not make economic sense.
For instance, on BPOS the following users would have email accounts;
TestUser1@aurramu.com
TestUser2@aurramu.com
TestUser3@aurramu.com


On the third party email acount provider, there would be email accounts for TestUser4@aurramu.com
TestUser5@aurramu.com
TestUser6@aurramu.com

I have followed the below steps.

1. Register a New domain and add a alias in the third party email hosting control panel(i have added alias domain in the google apps for existing domain, domain alis name tempalis.com).
2. Verify Domain and Enable External Relay in the BPOS.
3. Create a BPOS user Accounts such as testuser1@aurramu.com etc. Now you have got the Two Email Address for the user such as testuser1@aurramu.com and testuser1@aurramu.microsoftonline.com
4. Now create the Email Groups as same as BPOS user Email address and add member of the group of alias Email address(in my case  in google apps, created a testuser1@aurramu.com group and added the alias email address as a member in the group(testuser1@aurramu.microsoftonline.com).
5. Then Create a contact for the domain alias email address of the existing google apps email address( in my case, i have create a contact called testuser4@temaplis.com in the BPOS and the same in other users)
6. create the distribution list for the google apps user account and add the member from the appropriate user account from the contact(in my case, i created a distrubution list called testuuser4@aurramu.com and added member of testuser4@tempalis.com contact).

Now its working for me.

FYI:  For the External could not view the Alias Email Address for the user Account. They could view the Domain Email address only.



EVENT ID 6875 FOR SHAREPOINT WORKFLOW

I have created the approval workflow in sharepoint site but the workflow was not getting started and I got the following Error message in the Event viewer.

Application Event:

Event Type:        Error
Event Source:        Windows SharePoint Services 3
Event Category:        General
Event ID:        6875
Date:                2/10/2011
Time:                4:36:25 PM
User:                N/A
Computer:        DJ
Description:
Error loading and running event receiver Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver in Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.

: The Web application at http://test/general/vacations/peabody could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."



RESOLUTION:
                        I Found the cause for my case that we have changed default zone url from http://test/ to http://aurramu.blogspot.com/ in the Central Admin. So the workflow not able to recognize the host name URL(http://test/ ).  So I have added the host header in the IIS(added host header value of  aurramu.blogspot.com in IIS), Host name in the Host file and Disable the Loop Back check on the sharepoint. Now the workflow is working very well.




ALERTS NOT WORKING IN MOSS/WSS

"I have created the alert in my moss site and I received the First Initial Alert Notification Mail After that I have not received Any mails from the Library if any changes on it".
I have done the following steps for fixing this issue.

1. Confirm the account running the SharePoint Timer service is the account which has the administrator Full Control permission over the site and the full permission over the content database. If Not provide the permission in the site and the content DB of the site.

2. Confirm your site has the correct default zone URL and the URL is working perfectly(because in my case, i have changed my default zone url from http://test/ to http://aurramu.blogspot.com/ in the central Admin after that the sharepoint not able to recognize the new url due to hostheader and not added in the host name  in the host file)

3.Then Run the folllowing stsadm Commands.
   3a. stsadm.exe -o setproperty -url http://aurramu.blogspot.com/ -pn alerts-enabled -pv true
   3b. stsadm.exe -o setproperty -url http://aurramu.blogspot.com/ -pn job-immediate-alerts

Now the Alert should be work.


Monday, February 21, 2011

EventID 3698/User profile synchronization not started

I am trying to start the user profile synchronization service on my sharepoint server 2010 machine  but it was not started and i got the following Error message in the Event Viewer.

"The Execute method of job definition Microsoft.Office.Server.Administration.ProfileSynchronizationSetupJob (ID 0ea2f9be-85d7-4d7d-8be6-bb2462f01e09) threw an exception. More information is included below.
An update conflict has occurred, and you must re-try this action. The object UserProfileApplication Name=User Profile Service Application was updated by aramu\WSSadmin, in the OWSTIMER (1816) process, on machine APP03.  View the tracing log for more information about the conflict."



So I followed the below Methods.
Method
1. Check your Firewall has opened the Forefront Identity Service port are opened and able to Access the Database. or Disable your Firewall
2. Then restart the Timer Job service, restart the IIS and finally start the User profile Synchronization service

Method2:
1. Check your Service account has incluede Local Admin group and that user account has should local profile(should be logged on the sharepoint machine)
2. once you done, restart the timer job service, restart the IIS and finally the start the user profile synchronization service

Method3:
1. Disable the LoopbackCheck on the sharepoint server machine and restart the machine.

For my case I have done method1 and mehtod2, it was worked.




Wednesday, February 16, 2011

Enable Incoming Email in sharepoint with BPOS

Hereby I have followed below steps "Integrating/configuring Incoming Email settings in sharepoint with BPOS Exchange Mail".

Scenerio:
                I have the Email in Microsoft BPOS but I have not synchronized in Local AD server with BPOS.          
Email Account domain name:aramu.com
My Local AD server name: test.com
Local SMTP server: sharepoint.test.com
Sharepoint server name: sharepoint.test.com

If any send mailin@aramu.com domain should store in the my local sharepoint site document library. in my case it is not possible to happen directly, so What i done was that i have created the distribution list called mailin@aramu.com and redirected to the local sharepoint SMTP server which i published for external access using mailin@demo.aramu.com email address.


For my Scenerio, i have followed the below steps.

1. Install and configure SMTP service:
                                                           Install SMTP service on local sharepoint Machine and create the Alias as per your email address(in my case i have created demo.aramu.com) and create the subdomain and Enable this SMTP for External Access(in my case, i have registered demo.aramu.com and Enabled the local smtp server for the external access) and dont forget to enable "SMTP Drop box"


2. configuring Incoming Email setting in sharepoint and Sharepoint site document library:
     2a. Go to central admin and Open the "Incoming Email settings"  enable email settings is Yes and SElect No in " use the sharepoint directory" and in the Email Address display name Give the subdomain name (in my case demo.aramu.com).




2b. go to the sharepoint site and select the document library which you want to configure and give the Email Address(in my I have used mailin@demo.aramu.com).


3. Create distribution list and contact in BPOS Admin page.
    3a. create the distrtibution list for which email you want to redirect to sharepoint library.(in my case, i have create mailin@aramu.com)
3b. create the New contanct and add the member of the distribution list(in my case, i have created mailin@demo.aramu.com).
 



Now the Email should redirected to the local sharepoint site.



I have refered the below link for Incoming Email Settings. the below blogs also help you too.
http://blogs.msdn.com/b/selvagan/archive/2008/01/26/incoming-email-configuration-moss.aspx
http://whitepages.sfintelligence.com/2010/10/integrating-sharepoint-on-premises-with-bpos-and-exchange-online-part-2-inbound/








Tuesday, February 15, 2011

RESET SHAREPOINT PASSPHRASE

If you forget your passphrase after installation of sharepoint 2010 long time. You could "reset/Change/retrieve your passphrase in sharepoint 2010" using the following powershell commands.


1. C:\PS>$passphrase = ConvertTo-SecureString -asPlainText -Force
2. C:\PS>Set-SPPassPhrase -PassPhrase $passphrase -Confirm




Tuesday, February 8, 2011

The site collection could not be restored

I have received the following error message while restoring the Site collection backup file in new sharepoint 2007 environment.

"The site collection could not be restored. If this problem persists, please make
 sure the content databases are available and have sufficient free space."


So i have done the following methods and restored the backup file successfully.

Resolutions:
1. Stop and restart the "Windows Sharepoint service Timer" and restart the IIS.
2. Open the SQL managment studio and select the properties of the sql server and select " connections" and uncheck “Use query governor to prevent long-running queries”. Also, set “Remote query timeout” to 0.

Finally restore the backup file. now it should be restored successfully.





Saturday, February 5, 2011

HTTP Error 401.Resource require user authentication

If you got the below error message for your Kerberos authentication sharepoint site using "user mode" and "Kernal mode" in IIS follow the below solution method.

“HTTP Error 401. The requested resource requires user authentication.”

Resolution:
Disable the kernel mode authentication in IIS7 by clicking Advanced Settings of the web site in IIS.


Friday, February 4, 2011

MOSS MA not found in Sharepoint 2010

Scenerio:
              In my case, I have already created the AD sync connection in the Sharepoint User profile service Connection page but the connection was not available after few days. So I was trying to create the new connection, while creating i got the below Error message("MOSS MA not found")

image

If you got the same above error message, please follow the below solutions

Solution 1:
First this solution Method. if it does not work, try the Solution 2 method.

a. Go to the Service.msc and check and confirm the Forefront Identity Manager Services are running, if not please start the both the services.
image
Now the issue will be goes away. if not try the solution 2 method.

Solution 2:
a. Go the Services on Servers in the sharepoint Central admin and now stop the user profile synchronization service.
b. and then Restart the User profile synchronization service.
This time the Issue should be fixed.

I have refered the the below blog site
http://www.khamis.net/blog/default.aspx




SQL Database stats Shutdown,Normal

If you got your "database status is shutdown, normal mode".
Run the below query for reset the database status to Normal mode.

ALTER DATABASE <yourDB> SET AUTO_CLOSE OFF

Now the database should be Normal mode.


Wednesday, February 2, 2011

Visual Upgrade failed.Master page not found

If you got the below error message while running visual upgrade, please follow any one of the solution method

"Visual Upgrade failed. The default master page for this user interface could not be found at "/_catalogs/masterpage/v4.master". Add the requested master page at this path and try again.
Correlation ID: 14e48dbb-eabd-4752-b1cf-82c4a6ddafc9 "

Cause:
           This error message because of the not able to find the v4 master page.
So please any one of the mehtod

Solution 1:
1 create the subsite in the upgraded site and download the v4. master page from this site master page gallery
2. Upload this v4 master page to root site master page gallery.
3. then re do the visual upgrade
4. Now it should upgraded with out error.
if you tried this method, you have to redo this steps all the subsites in the site collection

Solution 2:
1. Remove  the Website with  sql database  to start over again from my old WSS 3.0 Databases.
2)  then Recreat a new webapp and redetach the content database
4) Run the Mount-SPContentDatabase with the "UpdateUserExperience" parameter.