One of my ASP.NET MVC project uses a number of Telerik Controls and works fine, the report uses Telerik ReportViewer which is also no problem. both on my development Computer and product Server. Recently, I deployment it on my new Server, whenever go to Report Module always receive a Windows Security to ask to input Windows user and password. it doesn't work both I input Server Administration or Click cancel.
Other Modules which not use Reportviewer are no problem, and there is not any code lead to ask Window Security in report module.
I use same way and binding same IP on IIS for previous Server(works fine) and Current Server(doesn't Work).
So, is there any chance will let the Telerik.Reportviewer to ask Windows Security certification?
This project is From authentication.
I found out by Fiddler when I go to report module will send a 401 request to server in current Server.
But do same operation on old server, the request is a 200 request.
When pop up a Windows Security Dialog while go to report Module:
Click Cancel: this is nothing to do, but redirect a empty View.
Click OK with correct user and password will receive error as below:
Server Error in '/Reports' Application.
The resource cannot be found.Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Reports/Report/Index/HeadOffice
Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456
The following content is got from developer Tools of IE 9.0
The request header is as below:
# Result Protocol Host URL Body Caching Content-Type Process Comments Custom
3 401 HTTP 126.96.36.199 /Reports/Report/Index/HeadOffice 0
Of course, you can open the attach files: one is Windows Security Dialog, other one is Fiddler collection Http requests.
Here is the error log from the server:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 9/13/2012 12:54:37 PM
Event ID: 1315
Task Category: Web Event
Event code: 4005
Event message: Forms authentication failed for the request. Reason: The ticket supplied was invalid.
Event time: 9/13/2012 12:54:37 PM
Event time (UTC): 9/13/2012 4:54:37 PM
Event ID: ba5dc85e13f645d2810d29eb4a7477a4
Event sequence: 2
Event occurrence: 1
Event detail code: 50201
Application domain: /LM/W3SVC/4/ROOT-1-129920288750619610
Trust level: Full
Application Virtual Path: /
Application Path: C:\Applications\VeriLoyal\
Machine name: IW-00163E003D8C
Process ID: 3000
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Request URL: http://188.8.131.52/Organization/HeadOffice
Request path: /Organization/HeadOffice
User host address: 184.108.40.206
Is authenticated: False
Thread account name: NT AUTHORITY\SYSTEM
Name to authenticate:
Custom event details:
<Provider Name="ASP.NET 4.0.30319.0" />
<TimeCreated SystemTime="2012-09-13T16:54:37.000000000Z" />
<Data>Forms authentication failed for the request. Reason: The ticket supplied was invalid.</Data>
<Data>9/13/2012 12:54:37 PM</Data>
<Data>9/13/2012 4:54:37 PM</Data>