can't login on my sharepoint from external location

techneitsolutions
techneitsolutions used Ask the Experts™
on
Hi,

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
Keywords:      
User:          ***
Computer:     ***
Description:
An exception occurred when trying to issue security token: Method not found: 'Void System.IdentityModel.Selectors.SecurityTokenRequirement.set_IsOptionalToken(Boolean)'..
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6fb7e0cd-52e7-47dd-997a-241563931fc2}" />
    <EventID>8306</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>47</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2010-07-05T14:35:00.780Z" />
    <EventRecordID>16765</EventRecordID>
    <Correlation />
    <Execution ProcessID="3548" ThreadID="3620" />
    <Channel>Application</Channel>
    <Computer>***</Computer>
    <Security UserID="***" />
  </System>
  <EventData>
    <Data Name="string0">Method not found: 'Void System.IdentityModel.Selectors.SecurityTokenRequirement.set_IsOptionalToken(Boolean)'.</Data>
  </EventData>
</Event>

Open in new window

Comment
Watch Question

Do more with

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

Commented:
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?

Author

Commented:
Hi,

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.

Commented:
how are you enabling authentication?

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

and

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.
http://technet.microsoft.com/en-us/library/cc753658%28WS.10%29.aspx

Also you may want to make sure you have installed this.
http://support.microsoft.com/kb/976462

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.
http://technet.microsoft.com/en-us/library/cc725786%28WS.10%29.aspx
Praveen DMInfra Team Lead
Top Expert 2008

Commented:
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...
Dear,

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