468,470 Members | 1,494 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,470 developers. It's quick & easy.

Different behavior of IIS with different application url

I'm using Silverlight and RIA Service and Entity Framework. The problem is when users connect to the application and Application wants to connect to the database with a simple opening connection and close it to check connectivity, its service fails. The url that has this problem is:

http://192.168.1.1/main/index.aspx

I added an application to the IIS with 'test' name and the same directory as the 'main' application. The url is:

http://192.168.1.1/test/index.aspx

With this url, the application works good and does not any problem with the connection.
In fact, at this time, all users only connect to the first url(main) and all of their transaction load is on that.
What is the reason of this behavior?
Jul 15 '13 #1
3 5444
Frinavale
9,735 Expert Mod 8TB
It would be helpful if we could see any error messages in the Windows Event logs of your server regarding accessing the http://192.168.1.1/main/index.aspx URL.

-Frinny
Jul 15 '13 #2
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.
Event time: 7/16/2013 3:02:32 PM
Event time (UTC): 7/17/2013 3:02:32 AM
Event ID: 91301e4c8e0c4835aeaef0305c0b2dd8
Event sequence: 47245
Event occurrence: 5077
Event detail code: 50202

Application information:
Application domain: /LM/W3SVC/1/ROOT/S4-4-130184963392159384
Trust level: Full
Application Virtual Path: /S4
Application Path: E:\publish\S4\
Machine name: MTAHRA

Process information:
Process ID: 10920
Process name: w3wp.exe
Account name: IIS APPPOOL\DefaultAppPool

Request information:
Request URL: http://192.168.1.1/S4/Services/S4-Si.../binary/Search
Request path: /S4/Services/S4-SilWeb-Services-ReceptionService.svc/binary/Search
User host address: 192.168.1.1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\DefaultAppPool



In fact, I want to know that what is the plan of IIS to handle processes on a url. Waiting of one of them will cause waiting of all of them or it handles processes in parallel. or any other information like this that may help me to know more.
Jul 16 '13 #3
Frinavale
9,735 Expert Mod 8TB
Here is a link that covers what happens when IIS handles a request: IIS Request Processing.


Your error seems to have nothing to do with your database connection but rather to do with needing the user to re-login since the authentication ticket has expired....

-Frinny
Jul 16 '13 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Alexander Gilman Carver | last post: by
1 post views Thread by Carlos Lozano | last post: by
reply views Thread by Raghu Rudra | last post: by
3 posts views Thread by ashish.dobhal | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.