App_Code

    Date: 11/26/07 (Asp Dot Net)    Keywords: asp, web

    Is App_Code a ASP.NET 2.0 (VS2005) or ASP.NET 3.5 (VS2008) feature? I've tried running a simple little page on my local IIS system as well as my webhost (Brinkster), and both times it tells me the class from the code in my App_Code directory is missing, and it throws this error:

    Compiler Error Message: BC30002: Type 'TestFunctions' is not defined.

    However, when I test the same page out using Cassini, it works without any problems. I apologize if this is worded awkwardly, I'm a bit new to ASP.NET 2.0/3.5 scene.

    Any help would be welcome. Thanks!

    EDIT: Hmm. Looks like the App_Code directory needs to be in your wwwroot directory for it to work.

    Source: http://community.livejournal.com/aspdotnet/93438.html

« Passwordrecovery control &... || GridView question »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home