起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: tt20108

[结贴] attachmentSimple .net 服务环境下失效?!请问解决办法

[复制链接]

29

主题

72

帖子

192

积分

初级会员

Rank: 2

积分
192
QQ
 楼主| 发表于 2017-7-1 15:46:41 | 显示全部楼层
liangyongfei 发表于 2017-7-1 14:36
报什么错啊?baasServer  编译正常吗?

500错误
回复 支持 反对

使用道具 举报

29

主题

72

帖子

192

积分

初级会员

Rank: 2

积分
192
QQ
 楼主| 发表于 2017-7-1 15:50:45 | 显示全部楼层
liangyongfei 发表于 2017-7-1 14:36
报什么错啊?baasServer  编译正常吗?

“/”应用程序中的服务器错误。

未能找到路径“c:\windows\system32\data\attachmentSimple\”的一部分。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IO.DirectoryNotFoundException: 未能找到路径“c:\windows\system32\data\attachmentSimple\”的一部分。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[DirectoryNotFoundException: 未能找到路径“c:\windows\system32\data\attachmentSimple\”的一部分。]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +273
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1322
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +144
   System.IO.FileStream..ctor(String path, FileMode mode) +91
   justep.SimpleFileStore.GetFile(HttpRequest request, HttpResponse response) +372
   justep.SimpleFileStore.service(JObject paramObject, ActionContext context) +452
   justep.Attachment__do.simpleFileStore(JObject paramsObject, ActionContext context) +279

[SystemException: 未能找到路径“c:\windows\system32\data\attachmentSimple\”的一部分。]
   justep.Attachment__do.simpleFileStore(JObject paramsObject, ActionContext context) +437

[TargetInvocationException: 调用的目标发生了异常。]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146
   com.justep.baas.action.Engine.ExecAction(String actionPath, JObject paramObject, ActionContext context, Assembly assembly) +261

[ActionException: 获取Class[justep.Attachment__do]失败]
   com.justep.baas.action.Engine.ExecAction(String actionPath, JObject paramObject, ActionContext context, Assembly assembly) +444
   baas.ActionHandler.ExecService(HttpRequest request, HttpResponse response, Assembly assembly) +80

[ActionException: 执行Action:/baas/justep/attachment/simpleFileStore失败,获取Class[justep.Attachment__do]失败]
   baas.ActionHandler.ExecService(HttpRequest request, HttpResponse response, Assembly assembly) +571
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +508
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92
回复 支持 反对

使用道具 举报

29

主题

72

帖子

192

积分

初级会员

Rank: 2

积分
192
QQ
 楼主| 发表于 2017-7-2 22:55:51 | 显示全部楼层
liangyongfei 发表于 2017-7-1 14:36
报什么错啊?baasServer  编译正常吗?

已经自己解决了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-7-12 21:50 , Processed in 0.054491 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表