Elsinore

User Forum

www.screenconnect.com
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Run in IIS
axicorp
#1 Posted : Monday, June 06, 2011 12:21:04 AM
Rank: Newbie
Joined: 6/6/2011
Posts: 5
Location: Australia
I am wanting to pull the ScreenConnect out of it's standalone web service and put it into a site within IIS.

I have successfully got it working using the bult-in security but when i change it to Windows Integrated security i can't log in and there is no record of a credntial check in the event logs on my domain control.

As it is pretty much a complete copy of the website directory in the installation directory the only difference i can see that cause be causing it would be differences in the configuration of the Application Pool settings between the standalone web service and the IIS setup.

If you could help clarify what these settings should be it would be greatly appreciated.

Also what version of ASP should i run it as?
Jake Morgan
#2 Posted : Monday, June 06, 2011 4:38:01 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
Are you sure you'll be getting the benefits you expect from doing this? Do realize that you'll still have to run the Relay and Session Manager as Windows Services outside of IIS? Do you realize that when running the ScreenConnect Web Server as a Windows Service, you can share ips and ports with IIS using the same methods IIS uses to bind?

All of that being said.... What happens when you use Windows Authentication? You say you can't login, but are you prompted?

It should be ran as 2.0/3.0/3.5 ... Not 4.0.
axicorp
#3 Posted : Tuesday, June 07, 2011 11:14:05 AM
Rank: Newbie
Joined: 6/6/2011
Posts: 5
Location: Australia
Thanks for the reply.

Yes i am aware that i need to run the other two services and that the web server service utilises IIS extensions.

The reason for me doing this is to ease in the management of our site and also allow for the possible integration with an existing site at a later stage.

Are you able to provide me with the correct App Pool settings as used in the web server service?
Jake Morgan
#4 Posted : Tuesday, June 07, 2011 3:17:48 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
I'm really not sure. Running with the default AppPool settings as Network Service should work. I suppose you'll need to enable Windows Authentication for the website.

What is happening when you try to access the host page? Are you prompted for credentials at all?
axicorp
#5 Posted : Wednesday, June 08, 2011 3:00:17 AM
Rank: Newbie
Joined: 6/6/2011
Posts: 5
Location: Australia
I have enabled Windows Authentication and yes i am prompted but it tells me that the credentials are bad but as i said in the original post there is no evidence of it even trying on our domain controller.

I will try creating a new AppPool with Network Service to see if that makes any difference. Should it be classic or integrated mode?
Jake Morgan
#6 Posted : Wednesday, June 08, 2011 3:31:33 AM
Rank: Administration
Joined: 4/9/2010
Posts: 871
classic
jessy5765
#7 Posted : Wednesday, June 08, 2011 8:46:37 PM
Rank: Advanced Member
Joined: 1/24/2011
Posts: 52
Location: PA
Axicorp, Jake,

If you do recall jake I run my Screen-connect in IIS. What you do is setup IIS website to point to your directory where SC is installed and then shutdown the site. This way the host headers are still working and will redirect your hostheader.domain.com to the correct files. Along with other settings.

I have played with this for hours and this is really the only way to get SC to work correctly in IIS. Otherwise you lose many things. Also my AD integration does work correctly.

BTW how did you get SC to work with AD without any other types of install or 3rd party programs or modifications to the forest domain files?

Jessy Marker
JRM Computer Services
Founder of CareWare For Kids
Jake Morgan
#8 Posted : Thursday, June 09, 2011 2:13:16 AM
Rank: Administration
Joined: 4/9/2010
Posts: 871
I'm not sure your IIS is working how you think. If you shut down the site, it shouldn't be having any effect. ScreenConnect itself can handle host headers. Are you sure the ScreenConnect Web Server isn't hosting your stuff?
axicorp
#9 Posted : Tuesday, June 21, 2011 10:43:22 AM
Rank: Newbie
Joined: 6/6/2011
Posts: 5
Location: Australia
I have worked out the issue and managed to get it working but am un able to replicate it. Hoping you can help.

It is linked to the URL being used to access the page, if it used the machine name or local host then the authentication worked. If i used the external domain then it would fail.

If i browse to the site from a different machine it works. Any ideas on what is going on here?

Thanks for all your help.
axicorp
#10 Posted : Tuesday, June 21, 2011 10:48:35 AM
Rank: Newbie
Joined: 6/6/2011
Posts: 5
Location: Australia
I spoke too soon.

The login.aspx page works, but then if i try and go to another page ie administration.aspx or host.aspx, it will prompt me for login details again and fail.
teejayuu
#11 Posted : Monday, September 05, 2011 2:24:00 PM
Rank: Member
Joined: 9/2/2011
Posts: 19
Location: Doncaster, UK
Jake Morgan wrote:
Do you realize that when running the ScreenConnect Web Server as a Windows Service, you can share ips and ports with IIS using the same methods IIS uses to bind?


Hi Jake
Any advice on how to do this on Windows Seb Server 2008?

Tony
Quote:
In view of the fact that God limited the intelligence of man, it seems unfair that He did not also limit his stupidity.
Konrad Adenauer
Jake Morgan
#12 Posted : Monday, September 05, 2011 4:50:44 PM
Rank: Administration
Joined: 4/9/2010
Posts: 871
This article overs how to configure listening ports and has some examples where specify certain hosts:
http://help.screenconnect.com/HOWTO-0003.ashx

Code:
If you have other HTTP services running on the machine, you will need to narrow your scope of listening. For example IIS (Internet Information Services) may also need to listen for HTTP traffic on port 80.

To listen on port 80, but only for a certain host, use the following syntax, replacing support.mycompany.com with your hostname:

<add key="WebServerListenUri" value="http://support.mycompany.com:80/" />

To listen on port 80, but only under a certain directory, use the following syntax, replacing RemoteSupport with your desired directory name:

<add key="WebServerListenUri" value="http://+:80/RemoteSupport/" />

Advanced Note: ScreenConnect uses the HTTP Server API, which is part of Microsoft Windows and is used by IIS among other applications. Refer to the article on UrlPrefix Strings for detailed information on the syntax of the WebServerListenUri.
sagazine
#13 Posted : Sunday, December 25, 2011 12:26:07 PM
Rank: Newbie
Joined: 11/8/2011
Posts: 4
Hello,

On our domain I et a login popup when I want to log in the host page. I noticed this was an Internet Explorer Security setting. What I did:
Putting de host page (<screenconnect host site>:8040) in the trusted site. Then I made a custom security zone setting for User Authentication (internet options, Tab security, Trusted Sites, custom level, user Authentication). Check Automatic Logon with current user name and password.
Now it will automatic login.


Mark
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.