我需要IIS互联网信息服务吗..请帮助我.. [英] do i need IIS-internet information services..please help me..

查看:53
本文介绍了我需要IIS互联网信息服务吗..请帮助我..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否需要为这个问题安装IIS ....?请给我解决方案..可能是因为我无法在Web浏览器中运行,所以iis没有安装在我的本地系统中吗? ...


在登录页面中,im在textbox1和其他网页中提供用户名,默认情况下,通过提供Session ["user"] = TextBox1.Text来抛出该用户名;在page_load函数和其他网页中,我给出的每个网页中的用户名文本框都好像(Convert.ToString(Session ["user"])!="guest" && Convert.ToString(Session ["user"])一样! = null){txtEmail.Text = Convert.ToString(Session ["user"]); txtEmail.Enabled = true;我也有解决方案.我已经在本地系统中运行,并且默认用户名已在其他网页中抛出,但未在Web浏览器中运行...这是我的问题...请帮助我

do i need to install IIS for this problem....?giv me the solution please..may be iis is not installed in my local system only because of that im not able to run in web browser is it?....


in login page im giving the username in textbox1 and in further webpages this user name is defaultly been thrown by giving Session["user"] = TextBox1.Text; in page_load funtion and in other web pages for the username textboxes in each web page i gave as if (Convert.ToString(Session["user"]) != "guest" && Convert.ToString(Session["user"]) != null) { txtEmail.Text = Convert.ToString(Session["user"]); txtEmail.Enabled = true; } i got the solution too. i had run in the local system and the username is default had thrown in other webpages but it is not running in web browser...that is my problem...please help me

推荐答案

Freind,问题仍然不是很清楚,您是否尝试过在警报窗口中显示渗透值,作为调试您正在获取的值的一部分?从这里我们不是很确定IIS是否有问题,仍然可以通过以下方式重置IIS:

使用IISReset命令行实用工具重新启动IIS
1.在开始"菜单中,单击运行".

2.在打开"框中,键入cmd,然后单击确定".

3.在命令提示符下,键入iisreset/noforce计算机名,然后按Enter.

4. IIS尝试在重新启动之前停止所有服务. IISReset命令行实用程序最多等待一分钟,以停止所有服务.如果不能在一分钟内停止服务,则所有IIS服务都将终止,然后IIS重新启动.
Freind, Problem is still not very clear, have you tried to show the seesion value in alert window as a part of debugging that what value you are getting? from here we are not very much sure that there is a problem with your IIS still you can reset your IIS by :

To restart IIS using the IISReset command-line utility
1. From the Start menu, click Run.

2. In the Open box, type cmd, and click OK.

3. At the command prompt, type iisreset /noforce computername, and press ENTER.

4. IIS attempts to stop all services before restarting. The IISReset command-line utility waits up to one minute for all services to stop. If the services cannot be stopped within one minute, all IIS services are terminated, and IIS restarts.


这篇关于我需要IIS互联网信息服务吗..请帮助我..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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