472,783 Members | 929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,783 software developers and data experts.

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 6211
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

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

Similar topics

4
by: Alexander Gilman Carver | last post by:
I have written a pair of scripts that are supposed to work together to display an index of files and then, upon the user choosing the files (with checkboxes on an HTML form submitted to itself),...
2
by: usenet | last post by:
On g++ version 3.X I get the "wrong" line number, 8 reported for the following code: 1 #include <iostream> 2 using namespace std; 3 int main(void) 4 { 5 ^M^M^Mcout << "file:" << __FILE__...
1
by: Carlos Lozano | last post by:
Hi, I have a multithreading application that reads and writes to com ports. The debug version works with no problems, but the release version don't. They are the same code, the difference is...
0
by: Raghu Rudra | last post by:
I have an ASP.NET web application, which accepts posted xml to do its work and returns response xml. This xml is large and is in the order of 1MB. I started testing this web app with client utility...
2
by: CC | last post by:
I noticed several differences between the way my code behaves on my local machine, and how it behaves on the server. I've found work arounds for all but a few issues. Any help would be greatly...
0
by: steven | last post by:
I have an asp.net webapp running on W2K server with .net framework 1.1 The intranet-app supports 2 languages: dutch (fallback language) and french. The choice is made with 'Request.UserLanguages'...
0
by: MilanB | last post by:
Hello, I understand that it is possible to set application level and page level behavior of session state cookieless. Is it possible to set different behavior for session level. In my case some...
3
by: ashish.dobhal | last post by:
i=0; printf("%d %d",i++,i); I am writing the above piece of code and executing it on different platforms (cygwin, solaris and linux). On cywin and linux the output is "0 0", whereas on...
4
by: yannis.corre | last post by:
Hello, I don't understand the difference of behavior of these two webservers : I'm uploading a file and I launch a thread that makes some treatments with the Request.Files. I saw that a new...
2
by: jtm5044 | last post by:
Hello, I am writing an application that will monitor a directory and when a new file is saved into that directory, it will open the file, extract the information needed and send an email with the...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.