程序上传到ftp后 错误

hot221254 2007-08-13 03:26:29
我用.net2005 + sql2000 开发的程序在本地运行没有任何错误!!!~~
为什么上传到 ftp 上之后 浏览就出现以下错误:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 49: 以标识传入的用户。
Line 50: -->
Line 51: <authentication mode="Windows" />
Line 52: <!--
Line 53: 如果在执行请求的过程中出现未处理的错误,


Source File: e:\wwwroot\2128080ASPNET\wwwroot\haha\web.config Line: 51


请高手帮忙解决下 谢谢!~~~~~~~~~~~~~~~~~~~~~~~~求~~~~!
...全文
407 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
hot221254 2007-08-16
  • 打赏
  • 举报
回复
算了 看来没人帮了 自己结了吧


结贴!!!~~
hot221254 2007-08-13
  • 打赏
  • 举报
回复
谢谢上面的两位 不过我是用.net05开发的不存在iis目录的问题
我程序的文件烤被到任何一个地方都可以运行(本机).
Jinglecat 2007-08-13
  • 打赏
  • 举报
回复
你上传的目录不是虚拟目录根目录

web.config 中某些配制节之恩能够存在根目录

也许你的文件应该直接放在 e:\wwwroot\2128080ASPNET\wwwroot 下面
cfcan 2007-08-13
  • 打赏
  • 举报
回复
web.config放在iis主目录对应的文件夹下就可以了
Clever Internet .NET Suite 6.0.26.0
.NET可用于VS2002/2003/2005,包括源代码

Version 6.0.26.0 (8 February 2007)

Implemented Features:

HTTP Client - HTTPS (SSL / TLS) protocol, NTLM and Negotiate authentication were implemented.
FTP Server - SSL / TLS support, Virtual File System were implemented.
FTP Client - SSL / TLS support, the ability to set FTP file attributes and permissions were added.
POP3 Server - SSL / TLS support, NTLM, APOP and CRAM-MD5 authentication methods, File System message storage were implemented.
POP3 Client - SSL / TLS support, NTLM and CRAM-MD5 authentication methods were implemented.
SMTP Server - SSL / TLS support, NTLM, USER/PASS and CRAM-MD5 authentication methods, File System message storage were implemented.
SMTP Client - SSL / TLS support and NTLM authentication method were added.
IMAP Client - SSL / TLS support, NTLM authentication method, obtaingin the server Capability list were implemented, the FETCH command was improved.
NNTP Client - SSL / TLS support was added.
WebDAV Client - manages remote files and folders on a web server.
HTML Parser - the ability to parse HTML Meta Tags was added: Title, Author, Description, Keywords, etc.
GZip compressor component - provides compressing / uncompressing feature when transmitting data over the Internet, storing data in to a file, database and many more.
Trace Logger - provides logging functionality for storing debug information and tracing your code.


Fixed Bugs:


HTTP Client - problems with changing the request method from POST to GET when redirecting to another location were fixed.
Http Client - the ReceiveProgress event did not work on small-size resources - fixed.
SMTP Client - HELO / EHLO mode was improved.
MailMessage - the messages with international texts were decoded incorrectly (the character set field was ignored) - fixed.
MailMessage - creating attachments with 'audio' and 'video' content-type.
VS 2005 toolbox registration was implemented.

62,074

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧