Learn how to a build a cloud-first strategyRegister Now


Is it possible to publish an Infopath form to a https: / ssl SharePoint WSS 3.0 Site?

Posted on 2008-11-09
Medium Priority
Last Modified: 2012-06-22
We develop custom InfoPath forms using InfoPath 2003 and they contain C# code. We have successfully been using the same templates over and over again on our intranet. We now need to publish this form to a site using SSL but are getting an 'Unauthorized' error when attempting to publish. We have tried publishing using both the command line publish.exe and the built-in InfoPath publishing but both get us the same result.
The server we are trying to publish to has both a front door (https:) and a backdoor (http:) url we can use to access the site on our internal network. Using the internal url, we can publish. However, this means that anyone who attempts to access those published forms from the https: url fail because it is looking for the template on the internal url. So, we must publish it to the https: address to get it to work - but every attempt results in the same 401 unauthorized error.
So far, we have verified we are all full admins - Site Collection admins on the SharePoint site, Site Owners group, and local admins on the server. I've spent a few hours online searching for answers but so far no leads at all.
Is it even possible to publish to an SSL site? Does Microsoft support this?
Question by:morantug
  • 2
  • 2
LVL 28

Assisted Solution

clayfox earned 800 total points
ID: 22927062
I beleive it is possible to use Https, I cannot remember though if I have done this.

One thing when publishing is you can set a different url for the client to access vs the one you are publishing with.  You should be able to publish to the http side but specify the path the client will access with and use the https.
This is the same as publishing a form to a network path and then giving a http access path.  The path given is put into the template so that when a document is opened it can find the template.

Not sure what else to try but the experts to consult for this would be at qdabra.com, if you need it.

Author Comment

ID: 22927650
We've been trying all sorts of different things today but still have the issue that the form wants to open up the file from http: instead of https:
The form template is attempting to redirect itself to a different and
potentially unsafe location.
The form template is accessed through a redirection from a different domain,
which is not allowed because it could cause unsafe code to run on your

If you want to open this form template, copy it to a location within your
security domain.
LVL 28

Assisted Solution

clayfox earned 800 total points
ID: 22937192
You should also check your IE security settings and make sure that the site in both http and http is set to local intranet.  This will affect security and access.

Accepted Solution

morantug earned 0 total points
ID: 22941640
It was a mix of different issues that all combined to cause our different errors. We eventually were able to get it published using the command line tool and then adding to Trusted Sites made it work.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Integration Management Part 2

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question