Wednesday, 18 November 2009

ASP.net Problems

  1. Starting IIS on Vista for the first time Skype was found to be using port 8080 so stopped Skype and restarted iis without a problem.
  2. Error message CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\etc etc .dll' -- 'Access is denied. 
  3. Add full permissions for 'Network Service' & 'YourComputerName\IIS_IUSERS to:
    • C:\Windows\Temp
    • C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
  4. ASP.net local iis problem when trying to run locally
"Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information."

Error message not very helpfull, eventually fixed by removing directives in the Web.Config for
ScriptModule
WebExtensions
Not 100% sure why though they are probably in the Machine.config file and therefore created a duplicate which was only detected when running outside debug environment

No comments:

Post a Comment