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 increase the assembly trust of all dottext dlls in the \serverdottextdottextwebadmin directory.
To increase assembly trust go to Programs-->Admin Tools-->MS .NET Framework 1.1 Config, then Runtime Security Policy and task: Increase Assembly Trust. Here's a screenpic.
下载的“宝玉”.Text 0.95版的问题还有:
假设我的工程的虚拟路径设置为了http://localhost/dottextweb/,那么需要首先将DottextWeb.csproj.webinfo
改成这个样子:
<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/dottextweb/DottextWeb.csproj" />
</VisualStudioUNCWeb>
然后将Dottext.Common、Dottext.Framework重新编译。并且将编译好的DLL拷贝到DottextWeb的bin
目录下。然后打开DottextWeb.csproj并且编译。
在编译好以后在浏览器中打开http://localhost/dottextweb/,会出现下面的错误:
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.