我想使用IP地址访问我的asp.net项目 [英] I want to access my asp.net project using IP address

查看:445
本文介绍了我想使用IP地址访问我的asp.net项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生,

我开发了一个Web应用程序,它在本地系统上运行良好,现在我想在Intranet上访问它(使用IP地址).为此,我在C:\inetpub\wwwroot\published中发布了该应用程序,并在IIS中创建了一个名为su的虚拟目录.并添加ASPNET IIS_IUSRS帐户并授予所有权限.
当我浏览它时,我收到以下错误-

Dear Sir,

I developed a web application it is working fine on local system,Now i want to access it on intranet(using IP address).for that i published it in C:\inetpub\wwwroot\published and in IIS i created a virtual directory named su. and also add ASPNET and IIS_IUSRS account and gave all the permissions.
When I browse it then i get a following error-

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module
IIS Web Core
Notification
Unknown
Handler
Not yet determined
Error Code
0x80070032
Config Error

The configuration section <system.web.extensions> cannot be read because it is missing a section declaration
Config File

\\?\C:\inetpub\wwwroot\web.config

Requested URL

http://localhost:80/su

Physical Path
Logon Method

Not yet determined
Logon User

Not yet determined
Config Source   25:     
   26:  <system.web.extensions>
   27:      <scripting>


 Links and More Information This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information.


请帮助我.

谢谢
Abhishek


PLS HELP ME .

THANKs
Abhishek

推荐答案

检查一下,您可能未安装某些组件!
http://forums.asp.net/t/1115232.aspx/1 [ ^ ]
check this out you may not install some components!
http://forums.asp.net/t/1115232.aspx/1[^]


我通常看到当您使用其他.net版本等时.
例如,您的网站可能位于框架4.0上,并且该框架的服务器默认应用程序池版本是.NET 2.0.

检查..
I usually see that when you have a different .net version etc.
for example it maybe your web site is on framework 4.0 and the server default app pool version for the framework is .NET 2.0.

check that..


这篇关于我想使用IP地址访问我的asp.net项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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