Search

You searched for the word(s): userid:690243

Matching Posts

  • Re: binary searched in GAC, not in bin folder

    What is the full stack trace and error message? Getting a serialization exception seems odd. Also, turn on fusion log. Maybe the assembly can be found, but cannot be loaded for some other reason. Check the event logs as well (using Event Viewer).
    Posted to Configuration and Deployment (Forum) by hongping on 11/23/2009
  • Re: aspnet_compiler.exe error

    If the same command works on one machine but not another, it probably means there are differences in how the machine are set up. Check the version of .NET installed on both machines, and also the file version of System.Web.dll. It is something like 2.0.50727.3053, and it depends on the OS and what service packs you have installed.
    Posted to VS Web Deployment Projects (Forum) by hongping on 10/26/2009
  • Re: BuildManager and deployed projects

    With the updatable option, the .ascx files are not compiled at all; they are just compiled over to the target folder. So perhaps the one in app_code probably just got skipped if it didn't get copied over. Precompilation of app_code probably didn't include it since it is an ascx and not a proper source code (.cs) file. If you are using the approach in the msdn article, you will need to put the assembly containing the precompiled user control into the bin folder of your web site. At this point
    Posted to Configuration and Deployment (Forum) by hongping on 10/12/2009
  • Re: BuildManager and deployed projects

    Did you try unchecking that option? With that option checked, aspx files are copied over without being compiled, so that they can be updatable. App_Code gets compiled into an assembly, but you are putting the ascx file in the App_Code folder, which might cause things to behave differently. And if you want reusable user controls, a documented way on msdn is the following: http://msdn.microsoft.com/en-us/library/aa479318.aspx
    Posted to Configuration and Deployment (Forum) by hongping on 10/10/2009
  • Re: Hide extensions aspx

    By default files such as App_Code\myfile.vb and Default.aspx.vb cannot be requested directly. So I am not sure why you want to hide .vb files specifically. If you want to hide asp or aspx, another option besides URL rewriting would be ASP.NET routing: http://msdn.microsoft.com/en-us/library/cc668201.aspx
    Posted to Configuration and Deployment (Forum) by hongping on 10/8/2009
  • Re: Could not load file or assembly

    [quote user="im.cresus"] I followed the instructions marked here: http://www.asp.net/ajax/documentation/live/ConfiguringASPNETAJAX.aspx but the result is the same one... Cordialy, André Talavera [/quote] That page is for ASP.NET AJAX, so I am not sure how it could cause a VS-specific protocols.dll to be added to your project. Could you start from scratch, by creating a new default web site, and then incrementally build up your web project? Also, could you kindly please provide the specific
    Posted to Configuration and Deployment (Forum) by hongping on 10/5/2009
  • Re: BuildManager and deployed projects

    By "user control", do you mean an ascx-associated file? How are you putting it into App_Code? http://msdn.microsoft.com/en-us/library/wt3k2fyw.aspx Also, how are you getting the "className" in the first place? When you deploy with Web Deployment Projects, what options did you choose? Could you provide the exact specific steps you used, so that anyone reading this post can follow the steps and reproduce the issue you are seeing on his own mahince and thus provide more useful help
    Posted to Configuration and Deployment (Forum) by hongping on 10/5/2009
  • Re: BuildManager and deployed projects

    By default "pre-compilation options" for web deployment projects, do you mean you have the option "Allow this precompiled site to be updatable"checked?
    Posted to Configuration and Deployment (Forum) by hongping on 10/5/2009
  • Re: where is the bin directory in vs 2008

    For Web Site projects, the BIN folder is for putting custom reference assemblies. You don't necessarily need to have one. For Web Application Projecst (WAP), all the code files are compiled into a single bin assembly, so in this case you WILL need a bin folder. Which project model are you using? If you want to learn more about the differences simply do a search around on the web or on msdn.
    Posted to Visual Studio 2008 (Forum) by hongping on 10/5/2009
  • Re: A reference to abcde.dll could not be added

    How are you adding the reference? Are you using VS 2008, and then right clicking on the project and then selecting Add References? Are you able to add other assemblies as references?
    Posted to Configuration and Deployment (Forum) by hongping on 10/2/2009
Page 1 of 64 (631 items) 1 2 3 4 5 Next > ... Last »