本文介绍了在正在运行的项目中上传图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在运行中的hr应用程序中添加图像选项,但不成功,请帮助我
我同时发送.asp和.vb文件.......

[edit]已删除大型,格式错误和不可读的代码转储-OriginalGriff [/edit]

i Want to add image option in my running hr Application but not success please help me
i send both .asp & .vb file.......

[edit]Large, badly formatted and unreadable code dump removed - OriginalGriff[/edit]

推荐答案

System.Web.HttpException was unhandled by user code
  ErrorCode=-2147467259
  Message="'~/Temp/C:\Documents and Settings\Administrator\My Documents\Downloads\AGENT DIPLOMATIC CARD.jpg' is not a valid virtual path."
  Source="System.Web"


at ASP.hr_registration_scom_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) in D:\SCOM\hrmanagement\hr\Registration_Scom.aspx:line 57


您错误地组装了文件名:


You are assembling the file name wrongly:

~/Temp/C:\Documents and Settings\

不是有效的路径.
看一下Registration_Scom.aspx第57行之前的行,这应该很明显.

Is not a valid path.
Look at the lines immediately before line 57 of Registration_Scom.aspx and it should be obvious.



这篇关于在正在运行的项目中上传图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 22:39