Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Running Cassini Through Internet
yccheok
#1 Posted : Sunday, August 26, 2007 1:04:19 AM(UTC)
Groups: Member
Joined: 8/25/2007(UTC)
Posts: 3

After spending a whole night, I had successful made an old web application up. I test it in intranet environemnt using cassini, work charming :)

Now, I want to show off to my client. I access through internet. (Not loopback, I try to test outside my server network by going to cybercafe) I am able to access the first login page. However, after I click login button, I can see my firefox just keep busy, waiting reply from server. Yup, there are no respond even after a few minute. I am pretty sure that is not caused by network latency, since I am able to access my login.aspx quite well.

My login page is almost same as :
http://samples.gotdotnet...okieAuth/cookieauth.src

and there is also one web.config file in the root folder, which is also very similar to gotdotnet sample too.

Any advice?

Thanks a lot!

cheok
yccheok
#2 Posted : Sunday, August 26, 2007 1:05:36 AM(UTC)
Groups: Member
Joined: 8/25/2007(UTC)
Posts: 3

Some extra info, I am running cassini as network service, not local service. If I run it as local service, I cannot access it through internet.
Ultidev Team
#3 Posted : Sunday, August 26, 2007 7:49:36 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Cheok,

We admire your persistence and we thank you for interesting feedback and insightful questions.

Do you have any error or warning entries in the Windows Even Log (Application)? For us, in order to make UltiDev Cassini for ASP.NET 2.0 work under NETWORK SERVICE account, we had to grant NETWORK SERVICE "write" access rights to "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files". Until then we had all sorts of problems. Once we made the change, we were able to access Cassini applications from other computers on the network.

If you have were able to access your application from another machine in the Intranet scenario, then problems with Internet are almost certainly related to the network setup, like firewall settings, port NATting, software firewal rules, etc. From the web server perspective, when connection is accepted - server has no way of knowing where it has originated - inside the LAN or on Internet.

One thing to keep in mind, that Windows XP may have as few as two inbound TCP connections allowed. Although this should not be a problem for Cassini, which does not hold on to open connections due to the lack of "keep-alive" support, if there are any other server apps on your hosting machine taking up inbound connections, you may see TCP connections timing out, which usually takes two minutes.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (6)
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 can vote in polls in this forum.