随笔-34  评论-158  文章-0  trackbacks-148

最新评论

共4页: 1 2 3 4 下一页 
为什么楼主的图片全部看不到呢~~ 学起来还真的有点费神~~
楼主的图片为什么一张都看不到
可以将电子书发份给我吗?
youngmind@qq.com

同时我很想解决一个视图或列表中有其它列表的LOOKUP内容,例如ID 姓名 成绩,其中姓名是根据另一个列表 ID 姓名 JOIN连接所得。
两个网址都无法打开.................
如果您的工作环境中没有域服务器,那么请将您的Windows升级为域服务器。如何升级为域服务器,请您查询网上相关的文章:)

工作环境又域服务器 但安装机器没有加入域服务器会导致什么结果呢?其实我也不想这么问的 主要是我这里碰到个问题 我的windows sharepoint service web application 已经启动了,但是我还是无法创建web application,这个可能是什么原因呢 域服务器只是为了增加安全级别的吧 应该跟这个没多大关系是吧?
域更换了,moss必须重新装吗?
请问Denny:
开发环境:win2003+sql2005+vs2008
Eallies.OA在开发环境中运行正常。
当在IIS发布后访问主页出错,出错信息:
未授予信任
无法部署应用程序,因为它不受信任并且可能不安全。

按“打开错误日志”按钮有以下信息:

平台版本信息
Windows : 5.2.3790.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)


部署 URL : http://localhost/Eallies.OA.Web/Eallies.OA.UI.xbap
应用程序 URL : http://localhost/Eallies.OA.Web/Eallies.OA.UI.exe.manifest

标识
部署标识 : Eallies.OA.UI.xbap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98f87adb2a4848a9, processorArchitecture=msil
应用程序标识 : Eallies.OA.UI.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=98f87adb2a4848a9, processorArchitecture=msil, type=win32

应用程序摘要
* 仅联机应用程序。
* 以浏览器作为宿主的应用程序。

错误摘要
以下是错误摘要,这些错误的详细信息列在该日志的后面。
* 确定信任关系时发生了异常。 检测到下列失败消息:
+ 用户拒绝授予应用程序所需权限。

组件存储事务失败摘要
未检测到任何事务错误。

警告
执行此操作的过程中未出现任何警告。

操作进度状态
没有可用的阶段信息。

错误详细信息
执行此操作期间检测到下列错误。
* [2008-06-14 11:18:29] System.Deployment.Application.TrustNotGrantedException (未知子类型)
- 用户拒绝授予应用程序所需权限。
- 源: System.Deployment
- 堆栈跟踪:
在 System.Deployment.Application.ApplicationTrust.RequestTrust(SubscriptionState subState, Boolean isShellVisible, Boolean isUpdate, ActivationContext actCtx, TrustManagerContext tmc)
在 System.Deployment.Application.DeploymentManager.DetermineTrustCore(Boolean blocking, TrustParams tp)

组件存储事务详细信息
没有可用的事务信息。

------------------------
请问Denny这是什么原因引起的,怎么处理呢?
怎么图片都打不开的啊。

一直关注你的文章。

现在看不到图片,操作起来好郁闷啊。

是什么原因啊。
我在输入用户名和密码后页面又刷新了一次,并没有提示用户名密码错误,直接进入错误页面
请问Deny:
我的环境是winows vista iis7.0 ,sql server 2005 express , vs2008为什么有如下错误:
服务器错误

--------------------------------------------------------------------------------

HTTP Error 500.19 - Internal Server Error
描述: 无法访问请求的页面,因为该页的相关配置数据无效。

错误代码: 0x80070021

通知: BeginRequest

模块: IIS Web Core

请求的 URL: http://localhost:80/Eallies.OA.Web/Default.htm

物理路径: D:\Eallies\Eallies.OA\Code\Eallies.OA.Web\Default.htm

登录用户: 尚未确定

登录方法: 尚未确定

处理程序: 尚未确定

配置错误: 不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的(overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的。

配置文件: \\?\D:\Eallies\Eallies.OA\Code\Eallies.OA.Web\web.config

配置源: 124: </modules>
125: <handlers>
126: <remove name="WebServiceHandlerFactory-Integrated"/>

请问denny:
我的环境是winows vista iis7.0 ,sql server express, vs2008为什么有如下错误:
服务器错误

--------------------------------------------------------------------------------

HTTP Error 500.19 - Internal Server Error
描述: 无法访问请求的页面,因为该页的相关配置数据无效。

错误代码: 0x80070021

通知: BeginRequest

模块: IIS Web Core

请求的 URL: http://localhost:80/Eallies.OA.Web/Default.htm

物理路径: D:\Eallies\Eallies.OA\Code\Eallies.OA.Web\Default.htm

登录用户: 尚未确定

登录方法: 尚未确定

处理程序: 尚未确定

配置错误: 不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的(overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的。

配置文件: \\?\D:\Eallies\Eallies.OA\Code\Eallies.OA.Web\web.config

配置源: 124: </modules>
125: <handlers>
126: <remove name="WebServiceHandlerFactory-Integrated"/>

楼主,综合应用WPF/WCF/WF/LINQ系列写的非常的好,为掌握net2008提供了一个很好的案例.非常感谢.相关文章已保存,好好研究.
未解决啊!!我也找不到完全匹配的项目啊!
sos
您好,我运行的时候遇到了点问题
我的环境是:win2003,sqlexpress2005
当输入帐号密码 Sky时,报错
You can try the following:

Restart the application.
Click the "More Information" button below for details about this error.


Startup URI: http://192.168.1.108:2008/Eallies.OA.Web/Eallies.OA.UI.xbap
Application Identity: http://192.168.1.108:2008/Eallies.OA.Web/Eallies.OA.UI.xbap#Eallies.OA.UI.xbap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=01e4345c2afd85fc, processorArchitecture=msil/Eallies.OA.UI.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=01e4345c2afd85fc, processorArchitecture=msil, type=win32

我的也可以直接修改就生效,不过我是用的publish potal,不是collaborate potal。倒是那个master page的Title,怎么改都保存不了。还好只是一个标记性的meta data.
你好.我想请教关于sharepoint designer制作网站或网页的问题.我是刚刚接触这个软件,请从基础教一下如何制作,可以吗?谢谢
我去你的博客,也注册了,可是在发表的时候看不到验证码,只好跑这来了.
再次表示感谢.
hao
re: 一步一步SharePoint 2007之四:创建Site Michelle qin 2008-02-08 05:44  
谢谢楼主,能看到这么详尽的介绍,惊喜阿!
我的配置到这一步,不明白为什么打开网页时报错。请大家给点思路。
非常感谢。
就我搜索的情况来看,这个问题主要发生在将SQL 2005的数据库附加到SQL 2000上时。但您已经说明了是SQL 2005,所以如果您使用Bat文件不能附加成功,那么请使用SQL Server Management Studio中的附加功能。如果仍不成功,请再发贴。谢谢。
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=188805&SiteID=1
我在window xp,sql server 2005附加不不上数据库。
错误如下:
===================================

附加数据库 对于 服务器“LENOVO-235399E5”失败。 (Microsoft.SqlServer.Smo)

------------------------------
有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=附加数据库+Server&LinkId=20476

------------------------------
程序位置:

在 Microsoft.SqlServer.Management.Smo.Server.AttachDatabase(String name, StringCollection files, String owner)
在 Microsoft.SqlServer.Management.SqlManagerUI.AttachDatabaseData.PrimaryFile.Attach()
在 Microsoft.SqlServer.Management.SqlManagerUI.AttachDatabase.SendDataToServer()

===================================

执行 Transact-SQL 语句或批处理时发生了异常。 (Microsoft.SqlServer.ConnectionInfo)

------------------------------
程序位置:

在 Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
在 Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType)
在 Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries)
在 Microsoft.SqlServer.Management.Smo.Server.AttachDatabaseWorker(String name, StringCollection files, String owner, AttachOptions attachOptions)
在 Microsoft.SqlServer.Management.Smo.Server.AttachDatabase(String name, StringCollection files, String owner)

===================================

未能在 sysindexes 中找到数据库 ID 9 中对象 ID 1 的索引 ID 1 对应的行。请对 sysindexes 运行 DBCC CHECKTABLE。
Could not find row in sysindexes for database ID 9, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.
未能打开新数据库 'Eallies.OA.Workflow'。CREATE DATABASE 将终止。 (.Net SqlClient Data Provider)

------------------------------
有关帮助信息,请单击: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=602&LinkId=20476

------------------------------
服务器名称: LENOVO-235399E5
错误号: 602
严重性: 21
状态: 50
行号: 1


------------------------------
程序位置:

在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
在 Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType)
我在window xp,sql server 2005附加不不上数据库。
错误如下:
未能在 sysindexes 中找到数据库 ID 9 中对象 ID 1 的索引 ID 1 对应的行。请对 sysindexes 运行 DBCC CHECKTABLE。
Could not find row in sysindexes for database ID 9, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.
未能打开新数据库 'Eallies.OA'。CREATE DATABASE 将终止。 (Microsoft SQL Server,错误: 602)
我在window xp,sql server 2005附加不不上数据库。

感谢您的参与。具体不清楚您是怎样操作导致这个错误的。请尝试将Eallies.OA.Service.Contract.Fault这个项目中的FaultInfo类前添加[Serializable],变成
[DataContract]
[Serializable]
public class FaultInfo
{
}
如果仍不行,就烦请将您的操作步骤贴出来,以便我分析,谢谢!
System.Runtime.Serialization.SerializationException: 程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中的类型“System.ServiceModel.ExceptionDetail”未标记为可序列化。


这个是什么问题呀??
System.Runtime.Serialization.SerializationException: ���򼯡�System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089���е����͡�System.ServiceModel.ExceptionDetail��δ���Ϊ�����л���
代码中包含一系列Eallies.Utilities的项目,这些都是用于代码生成的。您可以尝试将Eallies.OA.DAL中的*DAL.cs删除,然后运行Eallies.OA.Generator中的GenerateDAL.bat,即可重新生成这些cs文件。当然,这些项目都没有优化,在您自己的项目中,可能需要做一些修改才行。具体我将在后续的文章中做介绍。
Hi, 楼主;
请问“完整的后台代码自动生成器”在哪里,如何使用。谢谢!
--引用--------------------------------------------------
xuqiang: Hi,楼主:
配置是:Windows 2003, SQL Server 2005和Visual Studio 2008(90天)

文件:GenerateSecurity的内容已经改为IP:
caspol -m -ag 1 -url "http://10.0.0.1/Eallies.OA.Web/*" FullTrust -exclusive on

登录后报错:
You can try the following:
Restart the application.
Click the "More Information" link below for details about this error.

请分析一下原因,谢谢

--------------------------------------------------------
问题已经解决,用localhost访问,其它的参考楼主的说明就可以!
Hi,楼主:
配置是:Windows 2003, SQL Server 2005和Visual Studio 2008(90天)

文件:GenerateSecurity的内容已经改为IP:
caspol -m -ag 1 -url "http://10.0.0.1/Eallies.OA.Web/*" FullTrust -exclusive on

登录后报错:
You can try the following:
Restart the application.
Click the "More Information" link below for details about this error.

请分析一下原因,谢谢
搞了半天说是缺少Framework3.0
用sql2000和VS2005能打开吗
收藏一下!Entity Class和BasePage正好在做,谢谢楼主分享^_^
呵呵,奇怪,用localhost不可以。改成ip才可以。
登录后报错
Startup URI: http://localhost/Eallies.OA.Web/Eallies.OA.UI.xbap
Application Identity: http://localhost/Eallies.OA.Web/Eallies.OA.UI.xbap#Eallies.OA.UI.xbap, Version=1.0.0.0, Culture=neutral, PublicKeyToken=01e4345c2afd85fc, processorArchitecture=msil/Eallies.OA.UI.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=01e4345c2afd85fc, processorArchitecture=msil, type=win32

System.Runtime.Serialization.SerializationException: 程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中的类型“System.ServiceModel.ExceptionDetail”未标记为可序列化。
在 System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)
在 System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)
在 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()
在 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
在 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
在 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
在 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
在 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
在 System.Runtime.Remoting.Channels.CrossAppDomainSerializer.SerializeObject(Object obj, MemoryStream stm)
在 System.AppDomain.Serialize(Object o)
在 System.AppDomain.MarshalObject(Object o)


-----------------------
奇怪,我的一直出现 问题:Trust Not granted。
配置如下:
windows 2003
sqlserver 2005
vs2008 RTM
感谢您提的这个建议,我会在以后的公布的下载文件的说明中更新这点。

如果您需要更改WebService的地址,则比较麻烦。需要更改XBAP的属性中,Publish的版本号,更改App.config文件中的地址,编译,运行GenerateWeb.bat。
如果只是两个Host中的Web.config的更改,则直接修改即可。
测试成功了,谢谢啊,我的问题就是出现在批处理文件上,IP地址写错了,呵呵,麻烦了。
不过在帮助文件上确实应该加上一句就是如果不是采用LOCALHOST而是采用IP地址访问时需要修改批处理文件

再次感谢您的帮助!!!!
windows2003
vs2008 Beta 2
安装目录
D:\SiteWeb\Eallies
批处理文件中的LOCALHOST改为了IP地址
文件夹权限,用户也给了最高的
IIS中的asp.net 是2.0...的
控制权限也是开放全部
执行权限为脚本和可执行文件
我的环境是Windows 2003, SQL Server 2005和Visual Studio 2008。要不您把您的详细配置过程一一贴出来吧。因为我注意到您的一些配置并不是跟我的环境一致,如我的程序放在D:\Eallies下,而您的放在D:\SiteWeb\Eallies下。虽然这个应该不影响,但至少可以知道您的一些配置应该可能跟我的不一致。另外,我测试过,出现您贴出的那个错误,正是在我这边没有运行那个bat之前。测试过Beta 2和从MSDN账户下载的VS版,是成功的,90天的VSTS版没测试过。
支持什么版本的s2008啊?我用的是RTM的,可是不行啊!
已修改,但还是不行。请问下运行环境是什么样的
不错,辛苦了:-)
另外一种可能:您授权的是:http://localhost/Eallies.OA.Web/*
但如果使用IP访问,则仍会不成功。要采用IP访问,则需要更改bat文件,重新运行。
感谢您的尝试。我刚刚又在第三台机器上测试了。仍然是成功的。我的环境是Windows 2003, SQL Server 2005和Visual Studio 2008。虚拟目录名为Eallies.OA.Web。请一一检查。
如果实在不行,请采用另外一种方案:将XBAP项目用附带的Key文件签名,然后将这个Key加入到Trusted证书列表中。那样也能实现访问。具体我后续会采用博客形式详细说明。

D:\SiteWeb\Eallies\Eallies.OA\Code\Eallies.OA.Generator>generatesecurity.bat

D:\SiteWeb\Eallies\Eallies.OA\Code\Eallies.OA.Generator>caspol -m -ag 1 -url "ht
tp://localhost/Eallies.OA.Web/*" FullTrust -exclusive on
Microsoft (R) .NET Framework CasPol 2.0.50727.1378
Copyright (c) Microsoft Corporation. All rights reserved.

The operation you are performing will alter security policy.
Are you sure you want to perform this operation? (yes/no)
y
Added union code group with "-url" membership condition to the Machine level.
Success

D:\SiteWeb\Eallies\Eallies.OA\Code\Eallies.OA.Generator>

应该是完成了吧
6、请设置代码访问权限。
  请运行Eallies.OA\Code\Eallies.OA.Generator目录下的GenerateSecurity.bat文件。
请查看这个bat文件,看看其是否正确执行。
按步骤安装后,在浏览default页面时提示
未授予信任,打开详细信息后报错内容如下:
ERROR DETAILS
Following errors were detected during this operation.
* [2008-1-11 9:08:39] System.Deployment.Application.TrustNotGrantedException (Unknown subtype)
- User has refused to grant required permissions to the application.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ApplicationTrust.RequestTrust(SubscriptionState subState, Boolean isShellVisible, Boolean isUpdate, ActivationContext actCtx, TrustManagerContext tmc)
at System.Deployment.Application.DeploymentManager.DetermineTrustCore(Boolean blocking, TrustParams tp)
不错的资料 谢谢分享
楼主真的很强,我在一年前说学工作流,到现在碰都没碰过
学习了,谢谢啊
共4页: 1 2 3 4 下一页