asp.net 设置section第17行<section name="scriptResourceHandler" type="System.

“/”应用程序中的服务器错误。_百度知道
“/”应用程序中的服务器错误。
由于工作需要学习.net,请各位高手帮帮忙啊
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。
分析器错误信息: 无法识别的属性“type”。
&configurati...
刚才那位达人呢,再帮帮忙啊。工作作需要啊,没有办法只能再学.net了,还得先学c#.现在还没有什么头绪呢配置错误 说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误消息: 在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误。源错误: 行 29:
安全身份验证模式。 行 30:
&authentication mode=&Windows&/&行 32:
&!--行 33:
如果在执行请求的过程中出现未处理的错误,源文件: E:\web\firstwebdemo\firstwebdemo\web.config
行: 31 --------------------------------------------------------------------------------版本信息: Microsoft .NET Framework 版本:2.0.; ASP.NET 版本:2.0.我现在的问题是在IIS的中,找不到在那改啊?
我有更好的答案
楼主 不是 Java努力学习 吗?呵呵。。怎么改行.net来了?你的问题可能是因为asp.net版本的问题。。建议装一下最新的.net framework。。然后再在iis中将asp.net的版本选择asp.net 2.0(你现在是1.1)
采纳率:11%
你使用的 ajax 扩展与你的主 .net 版本不兼容你使用的是 3.5 .net 主版本也应该使用 3.5在 IIS 中找到网站的目录,点击右键-&属性在打开的对话框中,点击&创建&按钮,确定就应该OK了
为您推荐:
其他类似问题
您可能关注的内容
应用程序的相关知识
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。求推荐几部类似美丽中国的纪录片,大神们\(&▔□▔)/
拍摄中国大好河山和风光和人文传统文化的纪录片类似BBC的美丽中国
看见台湾,不知道合不合胃口
引用1楼 @ 发表的:
看见台湾,不知道合不合胃口
不错。谢谢
大神大神在哪里
与世界做生意,侧面描述祖国的大好河山…
你可以搜索一下央视的一些纪录片
引用4楼 @ 发表的:
与世界做生意,侧面描述祖国的大好河山…
多谢
发自手机虎扑 m.hupu.com
引用7楼 @ 发表的:
非常好看
嗯哪,这个我知道
字数字数休一
发自手机虎扑 m.hupu.com
《远方的家》不错,不过不是纪录片,而是旅游栏目。
引用10楼 @ 发表的:
《远方的家》不错,不过不是纪录片,而是旅游栏目。
那更好
引用1楼 @ 发表的:
看见台湾,不知道合不合胃口
想起了台湾拍的《台湾脚逛大陆》。
第三极.........................................
河西走廊。。。。
发自手机虎扑 m.hupu.com
世界上的另一个我,虽然不太符合但可以看看国外的一些风土人情
发自手机虎扑 m.hupu.com
oneyear in Tibet!挺不错的
发自手机虎扑 m.hupu.com
引用15楼 @ 发表的:
世界上的另一个我,虽然不太符合但可以看看国外的一些风土人情
多谢
您需要登录后才可以回复,请或者
47人参加团购49.00元&79.00元
450人参加团购229.00元&299.00元
349人参加团购69.00元&139.00元
149人参加团购275.00元&499.00元
495人参加团购98.00元&599.00元
183人参加团购44.00元&70.00元
52人参加团购49.90元&89.00元
120人参加团购139.00元&209.00元
1450人参加团购799.00元&1399.00元
640人参加团购288.00元&849.00元
212人参加团购349.00元&549.00元
82人参加团购229.00元&399.00元EDIT :: I found out that i am having a permission error. For whatever reason i dont have "permission" to grab the image from the images folder ... *
a few days ago i asked this question about uploading images and was very satisfied with the anwser. I integrated it into my site and it works no problem.
The problem i am having now is i cannot retrieve the images in any way shape or form. I have tried opening them and setting them to read, with fopen($image, r). I tried even more complicated things like loading the image back into a database ... then it hit me that the anwser is simple.
I CAN see the image in my images folder, so
should work no problem. But it doesnt =(
Here is the PHP script one more time,
if (isset($_FILES['fupload'] ))
$max_size = mysql_real_escape_string(strip_tags($_POST['MAX_FILE_SIZE']));
$file = $_FILES['fupload']['name'];
if(isset($max_size) && !empty($max_size) && !empty($file)) {
$file_type = $_FILES['fupload']['type'];
$tmp = $_FILES['fupload']['tmp_name'];
$file_size = $_FILES['fupload']['size'];
$allowed_type = array('image/png', 'image/jpg', 'image/jpeg', 'image/gif');
if(in_array($file_type, $allowed_type)) {
if($file_size & $max_size) {
$path ='images/'.$
$move = move_uploaded_file($tmp, $path);
$sql = "UPDATE info.profile SET Profile_pic='".$move."', pic_name='".$file."' WHERE Nick='".$_SESSION['Nick']."'";
mysql_query($sql) or die ("Error: " .mysql_error());
$_SESSION['pic'] = $
echo "image added successfully :) :) :) ";
I left out all the else statements, since they are not relevent. The folowing is an example of where the image should be displayed.
&td rowspan=2 align=center width=100px& &img src="&?php $_SESSION['pic']; ?&"
alt="Here would be the picture, if it was working !!"& &/td&
The alt is a small teaser of course, but i have tried everything and with the current script i managed to get the alt text to display. Sometimes a "bad image" icon displayes (like when you open images in an email before allowing images to be displayed)
When i echo the path it shows the "right" path, just like i would enter when manualy giving it in. The reason i store the path in DB and in a session is because the image is a profile image and should only be displayed for THAT user ... wouldnt want other users having other images as their profile pic. =)
解决方案 The path should be relative to the current directory. Have u checked it ?
Try the answer given in comment by Rohit.
&img src='&?php echo $_SESSION['pic']; ?&' /&
本文地址: &
编辑::我发现我有一个权限错误。无论出于何种原因,我没有“许可”从图像文件夹中获取图像...... * b
几天前,我问了关于上传图像的这个问题,满意的。我将它集成到我的网站,它没有任何问题。
我现在遇到的问题是我无法以任何形式或形式检索图像。我试图打开它们,并设置它们阅读,与fopen($ image,r)。我尝试了更复杂的东西,比如将图像加载回数据库......然后它让我感觉到anwser很简单。
我可以在我的图片文件夹中看到图片,所以应该没问题。但它不= =($ / b>
这是PHP脚本的一次,
if(isset($ _ FILES ['fupload'])) {
$ max_size = mysql_real_escape_string(strip_tags($ _ POST [ 'MAX_FILE_SIZE']));
$ file = $ _FILES ['fupload'] ['name'];
if(isset($ max_size)&&!empty($ ($ file)){ $ file_type = $ _FILES ['fupload'] ['type'];
$ tmp = $ _FILES ['fupload'] ['' tmp_name'];
$ file_size = $ _FILES ['fupload'] ['size'];
$ allowed_type = array('image / png','image / jpg',' ($ file_type,$ allowed_type)){ if($ file_size& $ max_size){ $ path ='images /'.$
$ move = move_uploaded_file($ tmp,$ path);
$ sql =“UPDATE info.profile SET Profile_pic ='”。$移动。“',pic_name ='”。$ file。“'WHERE Nick ='”。$ _ SESSION ['Nick']。“'”;
mysql_query($ sql)或者死(“Error:”.mysql_error());
$ _SESSION ['pic'] = $
echo“图片添加成功:) :) :)”; }
我忽略了所有其他语句,因为它们不相关。以下是应该显示图像的示例。
& td rowspan = 2 align = center width = 100px& & img src =“&?php $ _SESSION ['pic'];?&”
alt =“这是图片,如果它工作正常!!”& < / TD>
当然,alt是一个小挑逗,但我已经尝试了一切,获取替代文字显示。有时会显示一个“坏图片”图标(例如,当您在允许图片显示之前在电子邮件中打开图片时)
当我回显路径时,它显示“正确”路径,就像我在手动输入时输入的内容一样。我在DB和会话中存储路径的原因是因为图像是配置文件图像,应该只显示该用户...不希望其他用户拥有其他用户图像作为他们的个人资料图=
解决方案 相对于当前目录,路径应该是。你有没有检查过它?
试试在 Rohit 评论中给出的答案。
& img src ='&?php echo $ _SESSION ['pic']; &'/&
本文地址: &
扫一扫关注IT屋
微信公众号搜索 “ IT屋 ” ,选择关注
与百万开发者在一起
(window.slotbydup = window.slotbydup || []).push({
id: '5828425',
container: s,
size: '300,250',
display: 'inlay-fix'噢哦,这个页面找不到了
下载作业帮可以找到更多答案非常不错的采集迅雷插件,经本人测试非常不错,而且作者很热心,是个好人,希望大家支持下,不要拿去卖了. 嘟酷影视----马克斯迅雷片库采集插件1.4 作者:独孤剑 QQ: Email:[email protected] 我的电影站:http://film.duku123.com 我的小站:http://www.duku123.com 欢迎大家与我交流技术,可能的话请在贵站给我加个友情连接 插件使用说明如下: 加载该插件使用方法如下: 打开后台目录下的admin_index.asp
其实早应该发出来的,国内关于google技巧方面的整理,我大概算是最早一批人吧,后来sniper都写了google hack,就更懒的发了.如今帮老婆找论文,关键字匹配累的要死.这些技巧是我整理以后淘汰的后的,最好的那些如有兴趣可以找我直接索取 Http://www.feelids.com By swap 站内搜索地址为: http://www.google.com/custom?domains=(这里写我们要搜索的站点,比如feelids.com) 进去可以选择www和feelids.com,
请勿非法使用: &cacheserverreport for&;%22cacheserverreport+for%22+%22This+analysis+was+produced+by+calamaris%22&btnG=Google+Search intitle:&Ganglia& &Cluster Report for&;intitle%3A%22Ganglia%22+%22Cluster+Report+for%22&btnG
WEBSHELL权限提升技巧 c: d: e:..... C:\Documents and Settings\All Users\「开始」菜单\程序\ 看这里能不能跳转,我们从这里可以获取好多有用的信息比如Serv-U的路径, C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\ 看能否跳转到这个目录,如果行那就最好了,直接下它的CIF文件,破解得到pcAnywhere密码,登陆 c:\Program
不知不觉&LM团伙&看黑防已有两个春秋了,期期不落.潜心修炼了这么久,也能开始耍上一两招了.看了黑防第二期的&DreamWeaver引发网络危机&一文,&LM团伙&内心有说不出的激动,心想网上有40%的网页都有这样的漏洞,那岂不是又能收获N多肉鸡了.可是仔细研究发现,这个文章的方法存在一些问题,并不像想象中的那样容易发挥.下面就与大家一起讨论一下Session. 既然是谈Session欺骗,那么就先来看一下Session到底是什么,它是怎么工作的.在AS
各种漏洞的利用和一些搜索参数 说到漏洞,首先应该提到的就是动网的上传漏洞了. &洞网&漏洞拉开了上传漏洞文件的序幕,其他系统的上 传漏洞接踵而来! asp动网论坛漏洞分析 1.这个漏洞不算太严重,用过动网论坛的人都知道,发帖时直接写javascript会被过滤拆分,写http会自动加上链接,漏洞就在此,在这两个地方变通一下,把两个单词的某个字母换成编码形式,然后系统再对应地解码回字母,就达到了避免被过滤的目的.例子说明一下,在发帖时写入[img]javas&#x63ript:w
WEBSHELL权限提升技巧 c: d: e:..... C:\Documents and Settings\All Users\「开始」菜单\程序\ 看这里能不能跳转,我们从这里可以获取好多有用的信息比如Serv-U的路径, C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\ 看能否跳转到这个目录,如果行那就最好了,直接下它的CIF文件,破解得到pcAnywhere密码,登陆 c:\Program
1.名称:如何制作图片ASP木马 (可显示图片) 建一个asp文件,内容为&!--#i nclude file=&ating.jpg&--& 找一个正常图片ating.jpg,插入一句话木马(比如冰狐的),用ultraedit进行hex编译,插入图片里,为 了运行成功,还要搜索&%和%&,将其变为00,(不要替换自己asp的),再把jpg文件开头加入 &SCRIPT RUNAT=SERVER LANGUAGE=JAVASCRIPT&eval(Requ
After three days of efforts, finally put the ASP server and client PHPRPC written, in order to make full use of already written code, ASP's server and client are using JScript's implementation, which calls the original written utf. js, base64.js, php
(js in the Ways) Ways to use replace grammar stringObj.replace (rgExp, replaceText) Ways replace the grammar includes the following components: Part Description must stringObj options. To the implementation of the String object or replacement languag
Comparing the content of many, the main are javascript code, the code from Tin's are on the google and under get better Translation: His blog http://www.blogjava.net/iamtin And I used the database to preserve the layout of the framework, procedures u
Some time ago want to be a blog system, using vs2008 very smoothly, all ready at the above development. JS framework of choice at the time value of the asp.net ajax, but access to information and found the following vs2008 development of asp.net ajax
Application of several items this evening saw the blog a deep impression on how both could not sleep at night. Ever since, the following blog was born ^ - ^. I am not saying that I think it was familiar with Spring.NET Framework and other frameworks
The preparation of a common anti-SQL injection procedures are generally nothing more than get the http request and post, so long as we filter all post in the paper or get the parameters in the request information can be illegal characters, so we achi
JSP (Java Server Page) and ASP (Active Server Page) both of which are commonly used in dynamic web page technology, but also can all be embedded in HTML in the procedure, but they are essentially different, mainly from the following aspects of its co
1. The difference is that through asp.net server control, to achieve the separation of the code before and after too. Dynamic Language 2.html and the difference is that the page request, the server is the implementation of the language background of
button of a property, when UseSubmitBehavior = true, use your browser's submit mechanism, otherwise use the asp.net postback mechanism When UseSubmitBehavior property is false, control developers can use the method to return Button GetPostBackEventRe
&html& &style type=&text/css&& &! - body, td, th ( font-size: 9 ) -& &/ Style& &body& &table width=&800& border=&0& cellspacing=&1& cellpadding=&5&& &form name=&qu
ASP.NET Export EXCEL class Note: You can export the ASP.NET page and DATAGRID (WebControl) data, can be derived form the first using S using System.D using System.T using System.W using System.Web.UI; using System.D using
The first step: create a new access database: db1 Document in the database built inside the table has two fields CreateDate and Title Step Two: Create a new. Aspx file, the code below using S using System.C using System.ComponentMode
ListView in asp.net in the realization of the alternating background color Treatment was more GridView, ListView can be achieved Only one line of code: &Tr &&% # (Container.DisplayIndex% 2 == 0)?& Background-color: &:& bac
This error is because there is no asp.net controls to put together can form in the black hair: http://heisetoufa.javaeye.com
Error 1 &ASP.default_aspx.GetTypeHashCode ()&: no suitable method found to override Error 2 &ASP.default_aspx.ProcessRequest (System.Web.HttpContext)&: no suitable method found to override Error 3 &ASP.default_aspx& will not
Look at the ASP.NET page to refresh the realization: First: private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } Second: private void Button2_Click( object sender, System.EventArgs e ) { Re
In the past, and server-side communications, most of us use the AJAX polling visit, that is, control the time interval in the Javascript, then at regular intervals to access a server, then access to data or notification. But this polling 90% of the v
Note: The following shows the contents of the red part of the font reference in the Microsoft-related sites Because to do a video site, so the need for users to upload video. But the native ASP.Net controls can only upload small files for upload, whi
Applications often need to allow users to upload files to web server. Although ASP.NET 1.X be able to complete this feature, but use ASP.NET 2.0 FileUpload control will be easier. The controls allow users to more easily browse and select files for up
public static void MakeThumbnail(string originalImagePath, string thumbnailPath, int width, int height, string mode) { Image originalImage = Image.FromFile(originalImagePath); int towidth = int toheight = int x = 0; int y = 0; int ow =
You can FCKEDITOR placed to any folder, by default, put it in to the FCKEDITOR folder is the most simple way. If you put the folder to use other names, change the configuration file in the folder editor BasePath parameters as follows: oFckeditor.Base
Many people may know, recently released version of Visual Studio 2010 RC significant in terms of performance improvements, many bug also has been revised. This version also includes ASP.NET MVC 2 RC. However, this is not the latest ASP.NET MVC 2 RC v
Recently a system using asp.net to do: Some pages of the code is copied, resulting in a &clearly controls exist, has been suggesting that the control and id name does not exist& problem, it makes me quite depressed. . To find the information, bu
Application object: The object in asp.net application, the first created when the page is visited, a applocation object corresponds to an IIS virtual directory and its subdirectories. Take up server resources He is stored on the server global variabl
Domestic CMS: 1.SiteServer CMS SiteServer CMS Web content management system (copyright registration number ) is targeted at high-end market, CMS content management system, can become the lowest This, at least in the human input in the shor
Search for information through the Internet has finally integrated the CKEditor3.2 and CKFinder1.43 used in ASP.NET! ! CKEditor3.2 and CKFinder1.43 official website: http://ckeditor.com/ http://ckfinder.com/ Configuration: 1, to the official website
ASP.NET + SQLite database recently used to develop a web site program, the results appeared on the date of a headache dealing with the problem: Description: During the execution of the current Web request, an unhandled exception. Please review the st
ASP.NET configuration section schema contains the control behavior of ASP.NET Web application elements. If the default value for the attribute specified, then the default value is set in the Machine.config file, the file path is systemroot \ Microsof
1. Summary: Book is an important part of the site is a place for visitors to express their views, but also understand the web site administrator a powerful tool for basic information. So now the site guest book played a significant role. However, the
asp.net on the xml file read and write, add, modify, delete operations have the following code to debug the correct using S using System.C using System.ComponentM using System.D using System.D using System.W using
At present, various versions of numerous online forums, the final analysis, how supernatural their core data warehouse access is &database&, I mean we often ACCESS SQLSERVER, etc. This form of &database&, then by the PHP ASP ASP. NET J
asp.net web page often do is to develop, there are a lot of time to get the application's virtual path to the root, we all know is the client using the &~&, but there are a lot of time to write in the service side code, to obtain the virtual pat
In the ASP.Net WebForm controls on all the EnableViewState property not previously introduced. What use of this property. We know that the WebForm, its code is in the server side to handle client requests. When users browse the Web browser when the p
How to pack Asp.Net website project 1, open your project, In &Solution Explorer& using the mouse right click on your& Resolution &and select &Add& - &New Project&. 2, &add a new item& dialog box, select &Installati
When using the asp.net mvc framework, using the IoC framework approach to the Controller into the Repository is relatively mature, the advantage of separating concerns, the module hierarchy, clear, easy-to-test, disadvantages are also obvious that th
JSP (Java Server Page) and ASP (Active Server Page) are both commonly used in dynamic web page technology, are also in the process can be embedded in HTML, but they are different in nature, mainly from the following aspects of its comparison: (1) Web
Here a brief introduction to use Flex Builder 4 and VS2008 co-development Flex and ASP.NET simple data interaction steps and interactive presentation. The first step: Install FlourineFX FluorineFx is specifically for open source projects. NET platfor
&asp:button runat=&server& OnClientClick=&return confirm('Are you sure?');& text=&Button&&&/asp:button& Now in ASP.NET 2.0, as long as the use of client-side code you can pull the new more a onclientclick, like th
In the ASP.NET2.0 ,ClientScriptManager Class through the key String and Type Uniquely identifies the script. with the same key and type are considered duplicates script . Therefore, we can use the script type to avoid confusion may be used in a page
Suppose you need from one page to other pages, here there are a variety of ways, how do you choose? You can clearly state the reasons Why? First: Xiangjie ASP.NET, SEO: RewritePath () method &% - Form of link -%& &asp:HyperLink runat=&server
The first to write pages of code, written in a little bad, like him pointing! In addition there is a table here is posted with, and click the post button to display the page table, do not click when the page does not display this form, I just readily
ASP.NET to get the client IP address approach: Method 1: Request.UserHostAddress.ToString (). Trim (); Method 2: Request.ServerVariables [&REMOTE_ADDR&];
Copyright (C) , All Rights Reserved.
版权所有 闽ICP备号
processed in 0.055 (s). 9 q(s)}

我要回帖

更多关于 asp textbox name 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信