.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Reg: Turn on more accessible mode & Skip to main content link message on Infopath2007 browser form

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint


I have a infopath 2007 browser enabled form with c# code behind . The Infopath form is embeded\hosted in to a custom layouts page (.aspx) on MOSS 2007. The issue is when users use keyboard to fill the form, they often use <TAB> & <Enter> keys. So when they are using the tabbing at one location in the form, I have a "Contact selector" field, I enter a name & then hit <TAB> key the focus now comes to "name cheker" I then hit <Enter> key, I hit <TAB> again, the focus now comes to a button named "Accept", I hit <Enter> key & a filed below is populated with the values from user profile service. Now when I hit <TAB> I expect the focus should now come to that automatically populated field below the "Contact selctor". Because Infopath assings the tab order by default form top to bottom & left to right and I havent changed that default tab order.   

But, the focus moves to top of the webpage with a clickable link to "Turn on more accessible mode" I hit tab one more time & the link on top changes to "Skip to main content". This bheaviour does not seem to be happning in other form controls when they hit <Tab>, <Enter>. There are couple of areas on the infopath form where I have such a controls (layed ou

View Complete Post

More Related Resource Links

Provision an InfoPath form template in a content type, with "view in browser" option

Hi all.
I've to provision an InfoPath form template in SharePoint 2010 within a content type, and my form must be open in a browser.
The provision of the .xsn file and of the content type goes well, but my form always open in the client and not in the browser. Instead, if i publish my form from InfoPath 2010 using the "Publish" option and i select to publish my form within a content type, everything goes well. I can see the form in the browser.

Here is my code.


<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
 <Module Name="OpeningJeans" Url="_cts/MY CONTENT TYPE" RootWebOnly="TRUE">
  <File Path="InfopathModules\MyForm.xsn" Url="MyForm.xsn" />


<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Parent ContentType: Form (0x010101) -->
 <ContentType ID="0x0101

InfoPath Form Rendering in Browser - The following location is not accessible, because it is in a di


Hi I have 2 infopath forms which are published to central Admin to be administrator approved before Use. When I try and open the form in a browser I get the error...

The following location is not accessible, because it is in a different site collection: /FormServerTemplates/PO2.xsn.

I assume this is because I have recreated the site collection as I was having problems with the old site collection, permissions and stuff. I actually uninstalled MOSS 2007 and reinstalled it on the server and recreated the site. Unfortunately due to demands from the client the root site was no longer intranet/default.aspx, but now /intranet/home/default.aspx. I do not have the time to recreate the infopath forms as they use webservices and have code behind. I am looking for the quickest solution to resolve the issue and any help is much appreciated.

Not able to publish an infopath 2010 Web browser form mode, Invalid form template, .xsf file not ref


Hi, i am migrating a infopath 2007 form from a sharepoint 2007 site to infopath 2010 form for a sharepoint 2010 site. I used the design checker to verify the form template ,I got a invalid form template error. So I went to the Resource files tab under the developer section. I edited the context.xml to my current site. After this,the design checker gave no errors.

But when i tried to preview this form, I got an erro saying

"The form template contains files that are not referenced in the form definition (.xsf) file or are referenced more than once."

Can anybody tell me where I went wrong?

"Turn on more accessible mode" in every page in MOSS


If you see the code (page/view source) in every page made by MOSS, it has a javascript saying :

"Turn on more accessible mode"

It doesn't appear, but with a little tweakingI was able to turn it on .
It has some interesting behavior, but I wonder if there is some more information about it.



Christos K.

Unable to get AD profile information using InfoPath form in Sharepoint 2007 browser mode


I have followed the threads on this but haven't been able to resolve the issue with any of the suggestions provided.  I need to get the user's first and last name from their profile.  I created an InfoPath form using the "Get current user without writing code" blog directions I ran across here, using the standard userprofileservice.asmx service.  Everything works fine so long as I don't use the SharePoint browser option.  Then I get the error:

An error occurred accessing a data source.
An entry has been added to the Windows event log of the server.

Log ID:5566

I have attacked this from every angle I can think of:

IE, Design checker - OK, SSP account, my account have AD read access, no problems getting to the site collection, as stated before, runs fine if I don't use the browser option

Converted the connection to a udcx stored in the same site as the form library - tried both converted and unconverted connection - same problem, removed the connection altogether, everything works fine (but, of course, no profile info), works under InfoPath using either connection

Set form with Domain trust

Published it to a form library, also tried admin approved with full trust and signed - same problem

Ran locally on SharePoint server and remotely - same problem


Browser detection and content adaptation


hi everyone

 Here i'm creating two sites for internet version and mobile version.

 When the user enters site name, we would detect the mobile browser automatically and redirect the user to mobile version of the site .

is it possible??

if yes, please tell the way i need to develop the application for mobile web application

MOSS Content Database has more documents than what's seen on browser

I am not sure how sharepoint internally handles stuff, but this is what I see. I am a SQLDBA and one of my company sharepoint group re-organized a site, by moving some files from a document library to another document library. I think she used the content deployment.

When she see the number of documents in the document library it showed 700 documents. She moved only 50 of them. I went into the database and queried the Docs and DocStreams View and I get the list of all the those documents. I see both the ones that we see on the site as well as something that we do not see on the site.


ad.DirName, ad.LeafName, TimeCreated, ads.size/1024 as [Size(KB)], SetupPath

FROM Docs ad, DocStr

Attachment upload error on browser based InfoPath form



I am having an interesting problem with browser based InfoPath forms in SharePoint 2007.  For some reason the file attachment control is not working any more.  It was working fine in July, but now it will not allow file attachments over a few kb.  I tried a 34KB file and I get the error below, a 2KB file works fine.

Unable to connect to SQL Server session database. The connection string (server='SPDB', database='SharedServices1_DB') was returned by an instance of the IPartitionResolver type 'Microsoft.Office.Server.Administration.SqlSessionStateResolver, Microsoft.Office.Server, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.   at System.Web.SessionState.SqlSessionStateStore.ThrowSqlConnectionException(SqlConnection conn, Exception e)
   at System.Web.SessionState.SqlSessionStateStore.HandleInsertException(SqlConnection conn, Exception e, Boolean newItem, String id)
   at System.Web.SessionState.SqlSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)
   at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
   at System.Web.HttpApplication.SyncEven

Can you hide the "Form Template Conflict" message?


We have 100s of Infopath 2003 forms published on our Sharepoint site (MOSS 2007).  These forms are updated constantly.  The problem we have is that anytime we change the form's design (ex. change wording on the form), the user will get the "Form Template Conflict" message when they click on the form.  This is very confusing to them, and although we've asked them to click on "Replace form", they still get confused.

This message is very confusing to anyone, not just a user.  We would like to suppress this message so that every single time we update a form, they don't have to see this.  I'm not sure why it even saves a copy locally on their machines, anyway.  The fact is that in 100% of all cases, they will need to replace the form on their computer.  Renaming the forms every time we edit them is not an option - there are too many and links would all be broken. 

Can anyone tell us how to "hide" or "suppress" this error for our users?  Or design a form on the back-end that won't show this?  Could possibly changing security settings prevent this?  Any suggestions would be appreciated on how to prevent this message from popping every time we update a form.

Infopath 2007 print view in browser enabled form with Print button


Hi i create a  print view brower enabled form in Infopath 2007 with header and footer. In Infopath works fine. Margin was ok, header and footter to. But then i try to print this browser the margin, header and footer it changes to default setting of browser ? I try also create a print button in form with VS 2008 code, but method :

this.print(); not working.

It is possible to print the "print view" in browser as the same like in Infopath 2007? Does anyone have the code how to create a print button in C# on browser enabled form?

Issue in Infopath 2007 browser form - cascading dropdown using owssvr.dll filter view


Referring the below link, I created a cascading dropdown. The parent dropdown has sharepoint list as datasource and the child dropdown has xml datasource that points to owssvr.dll filter view. The cascading drop down works fine in preview but throws error after publishing as admin approved form - "form cannot run the specified query" exception when trying to execute xml datasource i.e., when a value is selected in parent dropdown. The security is 'Full Trust". In the event viewer the error message states "401 unauthorised" for the user a/c. the xml data source is an approved udcx file and in central admin, have enabled cross domain for infopath service. I have tried different solution provided in tech forums but issue still exists. Not sure whether Im missing something. Can someone guide me in fixing this issue?

Link Reffered:



Copy the content of one form library to another form library



I have created a form library named "A" where I store all the info-path forms submitted by a certain group of people. In that form library I created a column "status". When the form is submitted the value of status will be "0". Once a person approves this form I am changing the status value to "1". If the value is changed to "1", that form should be copied or transferred to another form library named "B".

How can I implement this logic ? Any help...

Attachements problems - also - How to add Office Communicator link to sharepoint Form ?



I have created an Infopath 2007 form and published it to Sharepoint 2007.

1. I can add "attachements" to the form, but the function can handle only one attachement per link. If i need to add 10 attachements, i have to create 10 attachement functions to the form.

Is it possible to create one attachement function in the Infopath form, that is able to save several attachements under it?

2. Is it possible to save .exe, .msi and similar files to the form as attachements? Sharepoint says security settings prohibit this.

3. How can i add a link that shows up as MS Office Communicator link in the form? For example: John Smith in Office communicator is now Online. I want his name and his status to show also in the Infopath form, when somebody opens it in Sharepoint.

Please help!


Deploying InfoPath 2007 form to WSS 3.0 as browser enabled


Please Help! I've created an Infopath form and wanted to deploy the form as browser enabled to WSS 3.0? What are the different options I can do this? If i cannot use a form then i would like to  create a custom list with all the form fields but the user should be able to enter information in the list and he should see only the information related to him. I don't want to give access of the whole list to each and every user. Only the administrator should be able to see the whole list. The form was actually a user access request form.

Any help and suggestions is appreciated.


Infopath form - browser error client error


I am facing a problem with browser enabled infopath form. I have developed this in infopath 2007. I have few fields in a repeating table. It contains Number of units, qty , subtotal and total. Total is sum of all sub totals and Sub total is  multiplication of units and qty. I am able to insert new items in preview and getting subtotal and total. I have published it in sharepiont as browser enabled form as a content type. When I opened the form in browser and insert new item in repeating table then I am not getting my subtotal and total updated. I am getting those for only first row. other rows are not working. This is working with infopath client.  Please help me out..



Request.PathInfo losing Master Page content and CSS link


Hi All-


I'm using Request.PathInfo to response.redirect as user to a different page ( based on the content after .aspx ).  It redirect just fine however, once redirected, the page loses all content from the master page and the CSS link.  I've searched and can't find an answer. 

Does anyone have a solution for this?

"Enable this Form to be filled out by using a browser" check box is grayed out when publishing InfoP

When I try to publish InfoPath form to a SharePoint site collection, "Enable this Form to be filled out by using a browser" check box is grayed. Also, I see the following warning message: This form template is br owser-compatible, but it cannot be browser-enabled on the selected site. This may be cased by one of the following reasons: -The server is not running InfoPath Forms Services. - The necessary features are not available on the site collection. The policy setting on the server does not allow user to browser -enabled Form templates. I have tried the following: 1. Deactivated and reactivated " office SharePoint Server Enterprise Site collection features" 2. Deactivated and reactivated " office SharePoint Server Enterprise Site features" 3. "Form Templates" document library exists and visible. 4. I am able to check the box in other site collections without any problems. 5. Ran the following stsadm commands: STSADM.EXE -o deactivatefeature -filename IPFSAdminLinks\feature.xml -url http://siteCollection -force STSADM.EXE -o deactivatefeature -filename IPFSSiteFeatures\feature.xml -url http://siteCollection -force STSADM.EXE -o deactivatefeature -filename IPFSWebFeatures\feature.xml -url http://siteCollection -force STSADM.EXE -o activatefeature -filename IPFSAdminLinks\feature.xml -url http://siteCollection -force STSADM.EX
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend