Udostępnij za pośrednictwem


ASP.NET 2.0 Security FAQ / Wiki Released

J.D. Meier and team have been busy creating the ASP.NET 2.0 Security FAQ: an easy to use Q&A format entry-point to the broader ASP.NET security guidance.  It is in Wiki form so you can easily read, comment, update, and contribute.  Find all the great content at: https://channel9.msdn.com/wiki/default.aspx/SecurityWiki.ASPNET2SecurityFAQs -- (example questions/answers: how to use forms authentication with Active Directory, how to create custom trust levels, how to implement single-sign on, etc).

This is a must see for everyone building applications using ASP.NET.

Comments

  • Anonymous
    November 29, 2005
    I have a problem when creating an ASP.Net Wep Application with Visual Studio .Net, I got the error message.
    "Visual Studio. Net has detected that the web server is running ASP.Net version 1.0,web the application you are creating or opening can be configured to be compliant with ASP.NET 1.0."

    Please could you help me to solve this problem.
  • Anonymous
    December 03, 2005
    hi
  • Anonymous
    December 05, 2005
    Misson,

    What version of Visual Studio are you using? what version of the .NET F/X do you have installed? VS is hard bound to a specific version of the .NET F/X -- if you have VS2005 then you need .NET F/X 2.0 -- for VS.NET 2003 you need .NET F/X 1.1 and for VS.NET 2002 you need .NET F/X 1.0

    in the c:windowsmicrosoft.netframework folder you will see the different installed versions -- if you go into the appropriate version you can run "aspnet_regiis -i" to configure IIS for that version of the framework -- you can have IIS using all 3 and with 2.0 installed it is easy with inetmgr to confgure which version of the F/X a specific v-root is bound to using the properties on the v-root and the ASP.NET tab. Hope this helps.

  • Anonymous
    December 11, 2005
    I'm creating websites using visual web developer express edition and the pubs database in sqlexpress. All is fine when I run the web from the environment which creates the local web server host.

    But when I try using the IIS server, it never works, complaining about
    "The process account used to run ASP.NET must have read access to the IIS metabase"
    What do I need to do to get my programs running on IIS?

  • Anonymous
    December 12, 2005
    James:

    can you see if you can run a simple ASPX page in IIS (that does not use SQL Express)? If that works, this is likely a permissions issue between IIS and SQL Express. We might have some troubleshooting docs to help you with this, I'll investigate once I hear back about the simple scenario.
    Thanks, Brian
  • Anonymous
    December 13, 2005
    The comment has been removed
  • Anonymous
    December 13, 2005
    Arun -- try posting your issue to forums.asp.net/ you'll get someone who can work with you to track down the problem... I can't tell from the description -- do you have SQL Express installed? Is the connection string in web.config setup right?
  • Anonymous
    December 16, 2005
    Web site administration tool not working. I have Sql2005 installed. The instance name is m<mymachinename>SQLExpress. I also have SQL2000 instance running in my machine. My OS is WindowsXP. The connection string is fine in machine.config. The problem is whether is configure manually or use the Web site administration tool the wizard through which you can set security and create users roles etc is not visible at all.
  • Anonymous
    December 16, 2005
    The comment has been removed