Workaround about .Text 0.95 COTTEXT.GLOBAL 'problem

xiaoxiao2021-03-06  39

I am a lucky guy to have been able to spend quality time with ScottW's .text 0.94 release and am eager to get deep into his 0.95 release. I started working with it yesterday (Sunday) and continue to be dazzled with his coding ability.

I am Running ON A W2K3 Server and Encountered Some Share Permission Issues and IIS 6.0. A vs.net-related Share Permissions Issue and FIX IS Described Here.

When configuring the .SLN and adding http: // localhost / dottextweb, I was getting a runtime error:. Could not load type Dottext.Global This was fixed by giving full trust to the dottext.web, dottext.web.admin, dottext .framework, dotext.common dlls. Then RESTARTING IIS SERVICES. Here's the google post that led me to that course of action. I started with just upping the assembly trust of dottext.web, but then got a runtime Request for the permission of type System.Web.aspnetHostingPermission ... so it was necessary to incretext dlls in the // server / dottext / dotTextWeb / Admin Directory.

To Increase Assembly Trust Go to Programs -> Admin Tools -> MS .NET Framework 1.1 Config, The Runtime Security Policy and Task: Increase Assembly Trust. Here's A ScreenPic.

Download "Baoyu". TEXT version 0.95 version is also: Suppose my project's virtual path setting is http: // localhost / dottextWeb /, then you need to change DottextWeb.csproj.webinfo to this: < Web urlpath = "http://localhost/dottextWeb/dottextWeb.csproj" /> then recompile dottext.common, dotText.framework. And copy the compiled DLL to the bin directory of DottextWeb. Then open dottextWeb.csproj and compile. After you compile open in the browser http: // localhost / dottextweb /, the following error occurs: 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.ArgumentException: Keyword not supported:. 'localhost; database'.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.

For the above questions, you need to modify the database connection string inside web.config.

CONNECTIONSTRING = "localhost; database = dottextdb; uid = sa; pwd = 123; app = blog" />

Change to

Connectionstring = "Server = localhost; data = dottextdb; uid = sa; pwd = eddi1ch1n; app = blog" />

转载请注明原文地址:https://www.9cbs.com/read-66417.html

New Post(0)