can't login on my sharepoint from external location

techneitsolutions used Ask the Experts™

I installed Sharepoint 2010 on Windows Server 2008.
When I create a new site, everything works fine internally.

But when I go external, I can't login on my site.
Everytime when I try to login, My sharepoint site does nothing.

In the event viewer of my server I see that he generate an error everytime I try to login.

I added a dump of the error message as an attachment.

Can you experts help me?

Many thanks!

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          5/07/2010 16:35:00
Event ID:      8306
Task Category: Claims Authentication
Level:         Error
User:          ***
Computer:     ***
An exception occurred when trying to issue security token: Method not found: 'Void System.IdentityModel.Selectors.SecurityTokenRequirement.set_IsOptionalToken(Boolean)'..
Event Xml:
<Event xmlns="">
    <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6fb7e0cd-52e7-47dd-997a-241563931fc2}" />
    <TimeCreated SystemTime="2010-07-05T14:35:00.780Z" />
    <Correlation />
    <Execution ProcessID="3548" ThreadID="3620" />
    <Security UserID="***" />
    <Data Name="string0">Method not found: 'Void System.IdentityModel.Selectors.SecurityTokenRequirement.set_IsOptionalToken(Boolean)'.</Data>

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Is the site HTTP or HTTPS?
Do you have a separate public IP for the site?
If not do you have a port forward setup in the firewall to forward HTTP or HTTPS traffic to the internal IP of your server?



Thanks for your quick reply!

I use https for the website.

I use a public address for our server, and I allow https traffic.

The website works just perfect when I use anonymous access. Only when I enable authentication the logon procedure is no longer accessible from external.

how are you enabling authentication?

In IIS you want to check Directory Security and Authentication Methods.
You want
Enable anonymous access CHECK


Integrated Windows Authentication

The anonymous access part just says you can VIEW the website without logging in which is needed so you can actually log in when you get to the site.

Have you adjusted the trust level by chance? If you can access the site locally while on the server but not externally I would try switching the trust level to full trust.

Just in case you need it, here's how.

Also you may want to make sure you have installed this.

Also are you getting a response code or anything? A 500 perhaps? If so you may want to also take a look at the failed trace requests. This may give some information that would easier to diagnose.
Praveen DMInfra Team Lead
Top Expert 2008

Is the authentication based on domain logins .. Eg: domainname/UID & PWD ? or stand alone servers ?

If its stand alone servers try to ping the IP and telnet the port number of the sharepoint admin site from the remote client machine...

Take a traceroute from client and from server.

Note : Disable FW in u r server  and try...

Many thanks for your help.

Finally I found that our firewall was blocking it.
Apparently a Juniper and Fortigate webfilter blocks some code of sharepoint 2010 that is responsible for signing in.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial