Showing posts with label Error Resolved. Show all posts
Showing posts with label Error Resolved. Show all posts
Wednesday, January 30, 2013
Friday, August 31, 2012
BPA and Error Handling in InfoPath 2010 Forms
BPA and Error Handling in InfoPath 2010 Forms
Business Process Automation (BPA) with SharePoint and InfoPath includes subtle caveats such as “Error Handling” when warning users of application errors when a field needs to be populated. Microsoft has placed some defaults within the application that are a bit obscure and sometimes inconsistent with the actual error that is occurring. In this very brief post, I wanted to give you the idea of creating a new warning by using rules in an InfoPath 2010 form without using the default Microsoft message error message.
Scenario: Typically, when a form is created in InfoPath, many of the fields may be mandatory or required to be populated. The problem occurs when the message provided is not complete or informative enough for the users to understand what steps need to be taken. The typical message resembles the following:
Fig 1.0
Some of my associates in the SharePoint realm have used and set policies for organizations using rules to make messages more consistent for all SharePoint developers. Instead of providing error messages like the above, create rules that will display messages that are relevant to the given field of error. In the following example both the “Title” and the “Company” are mandatory fields.
Fig 2.0
If these fields are not populated then the user will receive error messages like the following:
Fig 3.0
By Adding rules to the submit button the default error message in InfoPath 2010 can be avoided.
Example of Rules that were applied:
Fig 4.0
By limiting your user group's exposure to erronious error messages, there will be less user frustration, and they will be more likely to embrace the benefits of your solution.
Thursday, August 9, 2012
There has been an error while loading the form. A required resource could not be downloaded. To try to resume the download, refresh the page.
There has been an error while loading the form. A required resource could not be downloaded. To try to resume the download, refresh the page.
Please dont use http://192.168.1.114/
use with domain name http://globas/
Please dont use http://192.168.1.114/
use with domain name http://globas/
Friday, July 27, 2012
Error: Access Denied – SharePoint 2010
The following are the Troubleshoot steps:
1) Check whether the user is added into the Central Administrator.
2) Check whether the user is added into the particular Site collection .
3) Delete all the user from the "UserInfo".table
4) Open the DB then open the table called "UserInfo" and check the 'tp_Admin' is true or false. If it's false make it as true.
Tuesday, July 17, 2012
How to: Debug a Timer Job
Steps
To debug a timer job in Visual Studio 2010
- On the Start menu, point to Administrative Tools, and then click Services.
- In the Services window, make sure the SharePoint 2010 Timer service is started.
- Open the Visual Studio 2010 project that contains your timer job.
Note:
Make sure that the code has not changed since you deployed the timer job; otherwise, the debugger will not match your source code to the deployed assembly. - Set a breakpoint in the Execute method of your job definition class.
- On the Debug menu, click Attach to Process.
- In the Attach to Process dialog box, click OWSTIMER.EXE, and then click Attach.
- If the Attach Security Warning dialog box is displayed, click Attach.
- In the SharePoint Central Administration Web site, click Monitoring, and then click Review job definitions.
- Click the name of your job, and then click Run Now on the Edit Timer Job page.
- Verify that the Visual Studio 2010 debugger stops execution on your breakpoint.
Tuesday, July 3, 2012
SharePoint Regional Settings - IF your created date is showing wongly then you can follow this
The regional settings page is used to configure culture-specific information such as locale, sort order, time zone, calendar type etc. There are two types of regional settings: User Regional Settings andSite Regional Settings.
#1. User Regional Settings
These settings only affect your own account. Individual users can either use the default regional settings that are set on a specific site or set their own regional settings. This ability makes it easier for users who are in different countries or regions to collaborate on documents that are in the same SharePoint site, regardless of what region an user is working from. Here are the steps to set your regional settings:
1. Open web browser, navigate to SharePoint site, click on dropdown of your account and click the “My Settings” menu as shown in the figure below
![]()
2. On the “User Information” page, click the link “My Regional Settings”
3. The user regional settings page will be opened as shown in the figure below. In order to enable your own regional settings. Un-check the “Always follow web settings” checkbox.Note: Sort order can only be set at site level, all other settings can be set for individual users.
You can access Regional settings directly from the URL, just typehttp://<server>/_layout/regionalsetng.aspx in the web browser’s address bar.
#2. Site Regional Settings
These settings affect the current site or site collection. Here are the steps to set the site regional settings:
1. Open a web browser such as Internet explorer, navigate to a SharePoint site, click on “Site Actions” and then select “Site Settings”
2. Site Settings will open as shown in the figure below then. Click “Regional settings” under “Site Administration”.
![]()
3. The regional settings is shown in the figure below. You can then set or change any of these settings.
You can access Regional settings directly from the URL, just typehttp://<server>/_layout/regionalsetng.aspx in the web browser’s address bar.
Alternate Calendar
There are many calendar types in the world besides the Gregorian calendar. What if you want to know the date in another calendar type? Alternate Calendar gives the option of displaying two calendar types in one view! You can enable Alternate Calendar in SharePoint by navigating to the regional settings (Site Actions > Site Settings > Regional Settings) and set Alternate Calendar to the desired calendar type.
For Example in the figure below, Calendar type is Gregorian and Alternate Calendar type will be set to Hijri
Navigate to the Calendar view of the Calendar list. As you see below, with Hijriselected as the Alternate Calendar, the date display shows the Hijri date on the right on each day in ().NOTE: The alternate calendar appears only in the Calendar view.
Bi-Directional Layout
There are four areas in SharePoint Foundation 2010 that enable the right-to-left reading order or alignment for users of bi-directional languages such as Arabic and Hebrew. These features are List Direction, Column Direction, Web Part Direction and Direction in Multiple Lines of Text Column. For full capability of Right to left, you can install Language Pack or Full version of Arabic or Hebrew.
NOTE:
#1. List Direction
This allows users to set the layout or reading order of list in SharePoint Foundation 2010. In order to enable this feature in English or non Bi-directional version, you need to set Locale in Regional Settings to a bi-directional locale such as an Arabic orHebrew locales. After that when you navigate to the General Settings of ListSettings. A new section called ‘Direction' will be available in the General Settings ofList Settings (Click List in Ribbon menu > List Settings > Title, description and navigation) as shown the figure below.
![]()
List will now be displayed in the Right-to-Left reading order.
![]()
#2. Column Direction
This allows users to set reading order of a column in SharePoint. In order to enable this feature in English or non Bi-directional version, you need to set the Locale in theRegional Settings to a locale with Bi-directionality, such as Arabic or Hebrew. After that when you create new column. You will get Direction settings in Additional Column Settings section of column (Click List in Ribbon menu > List Settings > click your column) as shown the figure below
![]()
The column will have right-to-left reading order, as shown the figure below.
![]()
NOTE: The Locale in the User Regional Settings doesn’t apply to List and Column direction options.
#3. Web Part Direction
This allows users to set layout of the Web part to left-to-right or right-to-left. The default value is None, which indicates that the layout of the Web part will inherit from the site (Language of the site). To access the direction option of the Web Part, click Site Actions > Edit Page, click down arrow of the Web part and select Edit Web Part.
![]()
The Web Part property dialog will show up. Expand the Layout section, there is aDirection dropdown which user can set to None, Left-to-right and Right-to-left. ClickApply. For example: The figure below, the Web part layout is set to Right-to-left.The Title of the Web Part is moved to the right side.
![]()
#4. Direction in Multiple Lines of Text Column
Page direction allows users to set the reading order of the content within Multiple lines of text column which is using Rich Text Edit (RTE) control (Set “Specify the type of text to allow:” option to either Rich text or Enhanced rich text). The default page direction will follow the main page layout, based on the display language of the site. The RTE control has the reading order icons which are shown in the figure (A) and (B)
(A)
(B)
Tuesday, June 26, 2012
This Form Template Is Browser-Compatible, But It Cannot Be Browser-Enabled On The Selected Site.
I
have an Infopath form which is published to a document library in a
sharepoint site. I am using Infopath 2007 and MOSS 2007 enterprise
edition.When I try to publish the form, and when I check the box "Enable
the form to be filled out by using a browser", I only have the option
to publish the form as Administrator approved form template, the other
options of publishing it in a document library or publishing it as a
content type are grayed out.
The infopath wizard is throwing an error messag:
"This form template is browser-compatible, but it cannot be browser-enabled on the selected site"
Troubleshooting Steps:
1. Check Central Administration Settings
-Central administration
-Application Management
-Click on Configure InfoPath Forms Services in the InfoPath Forms Services section (Check the following Check-boxes)
a. “Allow users to browser-enable form templates”
b.“Render form templates that are browser-enabled by users”
2. SharePoint Site Settings
-Open your SharePoint site
-click on Site Actions
-Site Settings
-Select Site collection features under Site Collection Administration
-Activate InfoPath Forms Services support or Office SharePoint Server Enterprise Site Collection feature
3. InfoPath 2007 client settings:
-Open the infopath client
-Tools
-Form Options
-select the Compatibility category
-check the 'Design a form template that can be opened in a browser or InfoPath'
-click Ok
4. Form Publishing:
-When you published the form on to a document library then please make sure this settings (imp step):
-check the “Enable this form to be filled out by using a browser” checkbox and finish.
5. Document Library Settings:
-Open the document library
-Settings
-Document Library Settings
-Advanced Settings
-select the “Display as a Web page” option in the Browser-enabled Documents category
After all these troubleshooting steps, if you still faces the same issue then please execute the below mentioned commands and your issue will be resolved:
stsadm -o deactivatefeature -filename IPFSSiteFeatures\feature.xml -force -url %SITE_COLLECTION_URL%
stsadm -o deactivatefeature -filename IPFSWebFeatures\feature.xml -force -url %SITE_COLLECTION_URL%
STSADM.EXE -o activatefeature -filename IPFSSiteFeatures\feature.xml -url %Sitecollection_URL% -force
STSADM.EXE -o activatefeature -filename IPFSWebFeatures\feature.xml -url %sitecollection_URL% -force
The infopath wizard is throwing an error messag:
"This form template is browser-compatible, but it cannot be browser-enabled on the selected site"
Troubleshooting Steps:
1. Check Central Administration Settings
-Central administration
-Application Management
-Click on Configure InfoPath Forms Services in the InfoPath Forms Services section (Check the following Check-boxes)
a. “Allow users to browser-enable form templates”
b.“Render form templates that are browser-enabled by users”
2. SharePoint Site Settings
-Open your SharePoint site
-click on Site Actions
-Site Settings
-Select Site collection features under Site Collection Administration
-Activate InfoPath Forms Services support or Office SharePoint Server Enterprise Site Collection feature
3. InfoPath 2007 client settings:
-Open the infopath client
-Tools
-Form Options
-select the Compatibility category
-check the 'Design a form template that can be opened in a browser or InfoPath'
-click Ok
4. Form Publishing:
-When you published the form on to a document library then please make sure this settings (imp step):
-check the “Enable this form to be filled out by using a browser” checkbox and finish.
5. Document Library Settings:
-Open the document library
-Settings
-Document Library Settings
-Advanced Settings
-select the “Display as a Web page” option in the Browser-enabled Documents category
After all these troubleshooting steps, if you still faces the same issue then please execute the below mentioned commands and your issue will be resolved:
stsadm -o deactivatefeature -filename IPFSSiteFeatures\feature.xml -force -url %SITE_COLLECTION_URL%
stsadm -o deactivatefeature -filename IPFSWebFeatures\feature.xml -force -url %SITE_COLLECTION_URL%
STSADM.EXE -o activatefeature -filename IPFSSiteFeatures\feature.xml -url %Sitecollection_URL% -force
STSADM.EXE -o activatefeature -filename IPFSWebFeatures\feature.xml -url %sitecollection_URL% -force
Tuesday, June 12, 2012
"An unexpected error has occurred" when clicking on Choose Picture button in Edit User Profile within Central Admin
1. One thing the guide doesn't mention is to note your Preferred Search Center URL which in my case is
http://intranet/search/pag es.
Go to Application Management > Manage Service Applications > User Profile Service > Setup My Sites
Enter this URL under "Preferred Search Center".
2. Run IISRESET /noforce
3. Go back to User Profile Service in step 3, and click "Start Profile Synchronization" and then a full sync.
4. At this point you should be able to click on Choose Picture without getting that cryptic error.
Go to Application Management > Manage Service Applications > User Profile Service > Setup My Sites
Enter this URL under "Preferred Search Center".
2. Run IISRESET /noforce
3. Go back to User Profile Service in step 3, and click "Start Profile Synchronization" and then a full sync.
4. At this point you should be able to click on Choose Picture without getting that cryptic error.
An unexpected error has occurred when trying to create an Enterprise Search Center in SharePoint 2010
I thought I’m getting crazy with the above meaningless error message.
I tried to create an Enterprise Search Center within a site collection in SharePoint 2010. But I’ve received this error message all the time. I’ve also tried to create a new site collection, but without success.

Suddenly I had the idea to try it with SharePoint Designer. And voila, I’ve got an error message I can work with.

So the next step was to enable the Publishing Infrastructure feature. Site Actions -> Site Settings -> Site collection features -> SharePoint Server Publishing Infrastructure and click on “Activate“
After this step you can also create the Enterprise Search Center without any error messages

I tried to create an Enterprise Search Center within a site collection in SharePoint 2010. But I’ve received this error message all the time. I’ve also tried to create a new site collection, but without success.
Suddenly I had the idea to try it with SharePoint Designer. And voila, I’ve got an error message I can work with.
So the next step was to enable the Publishing Infrastructure feature. Site Actions -> Site Settings -> Site collection features -> SharePoint Server Publishing Infrastructure and click on “Activate“
After this step you can also create the Enterprise Search Center without any error messages
Subscribe to:
Posts (Atom)