FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

Can't get this working w/ .NET 2.0

Last post 07-29-2008, 9:31 AM by popmatic. 7 replies.
Sort Posts: Previous Next
  •  04-23-2006, 2:47 PM 6309

    Can't get this working w/ .NET 2.0

    I have a web project:

          \mainapp\ - a public website I can get FTB working inside this app

    My problem is:

          \mainapp\admintools\  - I get the followng error

    Could not load file or assembly 'FreeTextBox' or one of its dependencies. Access is denied.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileLoadException: Could not load file or assembly 'FreeTextBox' or one of its dependencies. Access is denied.

     

  •  04-23-2006, 3:30 PM 6310 in reply to 6309

    Re: Can't get this working w/ .NET 2.0

    Do you have FreeTextBox.dll (the one for .NET 2.0) in your /mainapp/bin/ folder?

    JD

    John Dyer
    freetextbox.com
  •  04-23-2006, 7:56 PM 6317 in reply to 6310

    Re: Can't get this working w/ .NET 2.0

    I do now, still does not work

     

    Server Error in '/piotl/piotl_admin' Application.

    Could not load file or assembly 'FreeTextBox' or one of its dependencies. Access is denied.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileLoadException: Could not load file or assembly 'FreeTextBox' or one of its dependencies. Access is denied.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'FreeTextBox' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    Stack Trace:

    [FileLoadException: Could not load file or assembly 'FreeTextBox' or one of its dependencies. Access is denied.]
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
       System.Reflection.Assembly.Load(String assemblyString) +25
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32
    
    [ConfigurationErrorsException: Could not load file or assembly 'FreeTextBox' or one of its dependencies. Access is denied.]
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
       System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +3479049
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
       System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +267
       System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +36
       System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429
       System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +73
       System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +580
       System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
       System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +111
       System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54
       System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
       System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
       System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
       System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
    

  •  04-25-2006, 7:30 PM 6346 in reply to 6317

    Re: Can't get this working w/ .NET 2.0

    What a joke.

    There are literally dozens of posts about people not able to get this software working in .NET 2.0.

    Where is the author? Where is the support? I'd consider paying for the software, but at this point, I'm afraid to spend any money.

    To the author: if you're going to publish software, and put it out there to use, create a better installation FAQ, or actually read an support these forums.

     

    Thanks

  •  04-26-2006, 12:42 PM 6351 in reply to 6346

    Re: Can't get this working w/ .NET 2.0

    Chill out.  The guy that develops the FTB has took a lot of time to develop it an support the community.  The least you can do is show him some respect.

    Maybe if he was getting paid for support he would be quicker with responses but he doesn't.

  •  04-29-2006, 11:45 AM 6386 in reply to 6346

    Re: Can't get this working w/ .NET 2.0

    I'm sorry to hear you are still having trouble with your configuration. I would love to help, but without any additional details about how you have FreeTextBox setup I cannot diagnose your problem.

    In ASP.NET 2.0, you simply need to add the correct dll (the one labeled for use in ASP.NET 2.0, not 1.1 or 1.0) into your /bin/ folder and then add the following code to your webform:

    <FTB:FreeTextBox id="FreeTextBox1" runat="server" />

    Thanks!

    JD

    John Dyer
    freetextbox.com
  •  05-01-2006, 3:38 PM 6404 in reply to 6386

    Re: Can't get this working w/ .NET 2.0

    Well I explained above how my configuration was setup.

    I have it working, although, not the way I'd like.

    I wanted to have a different application space for the FTB to reside in. But it's part of the main app now.

    Here is what I wanted

    (primary web app) \piotl\ (public site lives in here)

    (admin web app) \piotl\piotl_admin\ (admin site for FTB to reside)

    Note, that each line above represents a seperate project in .NET. When I have the admin project nested within the public project, the methods you describe to get FTB working FAIL. When I scrap the admin project and roll the code all into one project it works as you describe.

    The reason for 2 projects is when code changes and DLL changes are made to the admin project, I can upload these at any time without resetting application state on my public site. So for now, I'll just have to do things during off peak usage.

    I'm curious to see if you can replicate this scenario, I apologize for my venting earlier.

  •  07-29-2008, 9:31 AM 9318 in reply to 6309

    Re: Can't get this working w/ .NET 2.0

    I realize this thread is kind of old, but I figured in case anyone stumbled upon it...

    For me, it was a simple permissions problem that caused this error.  Make sure that the IUSR account has Read & Execute permissions on your bin folder.  Once I added that, it seems to work fine.
View as RSS news feed in XML
www.freetextbox.com