|
Question : ASPX security error
|
|
Created a web site using VS.net 2005 using the Personal Web site template on my local dev PC. Configured it to use my SQL Server 2005 sitting on my IIS box. Works. Copied the web site to the IIS server, and can't get the ASPX pages that hit SQL Server to load. The other aspx pages that don't hit the database load fine. I suspect the error displayed is a side effect error when it can't figure out how to display the actual error.
Here's the event log of the error, I'm hoping this makes better sense.
Event code: 4010 Event message: An unhandled security exception has occurred. Event time: 2/13/2006 10:16:35 AM Event time (UTC): 2/13/2006 3:16:35 PM Event ID: a2ae90db65544b049c9fb201ace972d9 Event sequence: 5 Event occurrence: 3 Event detail code: 0 Application information: Application domain: /LM/W3SVC/743520676/Root-2-127843080252037888 Trust level: Full Application Virtual Path: / Application Path: D:\sites\tom\ Machine name: PICARD Process information: Process ID: 3148 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Request information: Request URL: http://tomhirt.org/Default.aspx Request path: /Default.aspx User host address: 24.237.75.4 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE
|
|
Answer : ASPX security error
|
|
have you got datasources configured on the web server that match those on the dev platform? does your sql server recognise the user accessing as from the web app? what user is configured, and does the sql server permit that uyser to access from that (ie web server) location?
Cheers.
|
|
|