图像上传控制问题 [英] Problem with Image Upload Control

查看:99
本文介绍了图像上传控制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

汤姆你好,

我使用了您的项目,并从文件中提取了dll,并且还更改了default.aspx的WorkingDirectory ="pics/",您可以看到,pics/是我的照片专用目录,我也通过

Hello Tom,

I used your project and made dll out of files, and also changed the WorkingDirectory="pics/" of default.aspx as you can see, pics/ is my special directory for pics, also I changed web.congif file by

<add key="WebImageMakerWorkingDirectory" value="~/pics/"/>



我也注释掉了试图创建目录的cs文件中的命令,而是将目录raw,web,canvas,thumbnails设置为具有完全控制权限.
但仍然出现错误:

System.IO.DirectoryNotFoundException:找不到路径"C:\ WINDOWS \ SysWOW64 \ inetsrv \ pics \ raw"的一部分.

我不明白的是它在哪里找到并添加了:
C:\ WINDOWS \ SysWOW64 \ inetsrv \到pics/raw,我知道它必须在Combine命令之一中,但是我找不到它,请您帮我解决这个问题吗?



Also I commented out does commands in the cs files that tried to create directories and instead I made directories raw , web , canvas , thumbnails with full control permission.

But still I get the error:

System.IO.DirectoryNotFoundException: Could not find a part of the path ''C:\WINDOWS\SysWOW64\inetsrv\pics\raw''.

and what I can not understand is that where it finds and adds :
C:\WINDOWS\SysWOW64\inetsrv\ to the pics/raw, I know it must be in one of combine commands but I couldn''t find it, would you please help me to solve this problem?

推荐答案

ashkan2535写道:
ashkan2535 wrote:

你好汤姆,

我用了你的项目

Hello Tom,

I used your project



也许您是在此处而不是在文章下方提供的论坛中发帖的众多困惑的人之一?文章是由世界各地的人们撰写的,没有保证他们总是一直在观看这个论坛,寻找问题.



Perhaps you''re one of the many confused people who post here instead of the in the forum provided underneath an article ? Articles are written by people all over the world, there is no guarentee that they all watch this forum ALL the time, looking for questions.


这篇关于图像上传控制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆