帮助:无法运行ASP控件。 [英] Help: Can't run ASP control .

查看:83
本文介绍了帮助:无法运行ASP控件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计,

我在使用IIS网络服务器运行最简单的ASP.Net程序时遇到问题。

作为测试,我刚用Visual Studio添加了一些文本框和下拉列表

但是当我运行这个时我的页面什么都没显示。(空白页没有错误。)

我可以用asp矩阵网络服务器运行它。

你能告诉我出了什么问题。?

谢谢。

解决方案

当你运行它时从浏览器查看源代码显示了什么?


您可以在有问题的页面上发布源代码吗?


问候

Brian W


" Mactash" <毫安****** @ hotmail.com>在消息中写道

news:ev **************** @ TK2MSFTNGP11.phx.gbl ...

Folks,<我在使用IIS Web服务器运行最简单的ASP.Net程序时遇到问题。
作为一个测试我刚刚用Visual Studio添加了一些文本框和下拉列表
但是当我运行这个时,我的页面什么也没显示。 (空白页没有错误。)
我可以用asp矩阵网络服务器来运行它。
你能告诉我出了什么问题吗?
谢谢。




源代码与asp.net代码完全相同,意味着iis

发动机没有工作。对吗?


<%@ Page Language =" vb" AutoEventWireup = QUOT假QUOT; Codebehind =" WebForm1.aspx.vb"

Inherits =" WebApplication1.WebForm1"%>

< HTML>

< ; form id =" Form1"方法= QUOT;交" runat =" server">

< asp:DropDownList id =" DropDownList1" style =" Z-INDEX:101;左:168px;

位置:绝对; TOP:73px runat =" server">< / asp:DropDownList>

< asp:TextBox id =" TextBox1" style =" Z-INDEX:102;左:66px;位置:

绝对值; TOP:33px RUNAT = QUOT;服务器" Width =" 137px"

Height =" 17px">< / asp:TextBox>

< asp:Label id =" Label1" style =" Z-INDEX:103;左:19px;位置:

绝对值; TOP:97px RUNAT = QUOT;服务器" Width =" 52px"

Height =" 12px"> HELLO< / asp:Label>

< asp:Button id =" Button1" style =" Z-INDEX:104;左:18px;位置:

绝对值; TOP:123px RUNAT = QUOT;服务器" Text =" Button">< / asp:Button>

< / form>

< / HTML>


你为什么这些asp控件在浏览器上没有显示任何内容?

谢谢你。

" Brian W" < brianw@gold_death_2_spam_rush.com>在消息中写道

新闻:#i ************** @ TK2MSFTNGP10.phx.gbl ...

当你运行它时并从浏览器查看源代码显示的内容是什么?

您可以在违规页面上发布源代码吗?

问候
Brian W

Mactash <毫安****** @ hotmail.com>在消息中写道
新闻:ev **************** @ TK2MSFTNGP11.phx.gbl ...

人们,
我使用IIS Web服务器运行最简单的ASP.Net程序时出现问题。
作为测试,我刚刚使用Visual
Studio添加了一些文本框和下拉列表,但是当我运行这个时,我的页面什么也没显示。(空白页没有错误。)
我可以用asp矩阵网络服务器来运行它。
你能告诉我出了什么问题。?
谢谢。



尝试从命令提示符运行aspnet_regiis.exe -i

(您可能需要搜索它)


HTH

Brian W


" Mactash" <毫安****** @ hotmail.com>在消息中写道

新闻:OA ************** @ TK2MSFTNGP11.phx.gbl ...

源代码与asp.net代码完全相同,意味着iis
引擎没有woking。对吗?

<%@ Page Language =" vb" AutoEventWireup = QUOT假QUOT;
Codebehind =" WebForm1.aspx.vb" Inherits =" WebApplication1.WebForm1"%>
< HTML>
< form id =" Form1"方法= QUOT;交" runat =" server">
< asp:DropDownList id =" DropDownList1" style =" Z-INDEX:101;左:168px;
位置:绝对; TOP:73px runat =" server">< / asp:DropDownList>
< asp:TextBox id =" TextBox1" style =" Z-INDEX:102;左:66px;位置:
绝对; TOP:33px RUNAT = QUOT;服务器" Width =" 137px"
Height =" 17px">< / asp:TextBox>
< asp:Label id =" Label1" style =" Z-INDEX:103;左:19px;位置:
绝对; TOP:97px RUNAT = QUOT;服务器" Width =" 52px"
Height =" 12px"> HELLO< / asp:Label>
< asp:Button id =" Button1" style =" Z-INDEX:104;左:18px;位置:
绝对; TOP:123px RUNAT = QUOT;服务器" Text =" Button">< / asp:Button>
< / form>
< / HTML>

你为什么这些asp控件没有显示任何东西在浏览器上?
谢谢。
Brian W < brianw@gold_death_2_spam_rush.com>在消息中写道
新闻:#i ************** @ TK2MSFTNGP10.phx.gbl ...

当你运行它并查看源代码时从浏览器中它显示了什么?

你能在违规页面上发布消息来源吗?

关于
Brian W

" ; Mactash" <毫安****** @ hotmail.com>在消息中写道
新闻:ev **************** @ TK2MSFTNGP11.phx.gbl ...

人们,
我使用IIS Web服务器运行最简单的ASP.Net程序时出现问题。
作为测试,我刚刚使用Visual Studio添加了一些文本框和下拉列表,但是当我运行此页面时,我的页面什么都没有显示。(空白页没有错误。)<我可以用asp矩阵网络服务器运行它。
你能告诉我出了什么问题吗?
谢谢。





Folks,
I have problem running simplest ASP.Net programs with IIS web server.
As a test I just added some text box and dropdown list with Visual Studio
but when I run this my page shows nothing.(blank page without error.)
I can run this with asp matrix web server.
Can you please let me know what is wrong.?
Thank you .

解决方案

When you run it and do view source from the browser what does it show?

Can you post the source on the offending page?

Regards
Brian W

"Mactash" <ma******@hotmail.com> wrote in message
news:ev****************@TK2MSFTNGP11.phx.gbl...

Folks,
I have problem running simplest ASP.Net programs with IIS web server.
As a test I just added some text box and dropdown list with Visual Studio
but when I run this my page shows nothing.(blank page without error.)
I can run this with asp matrix web server.
Can you please let me know what is wrong.?
Thank you .



Hi,
The source is exactly the same as the asp.net code ,means that the iis
engine not woking. Right?

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"
Inherits="WebApplication1.WebForm1"%>
<HTML>
<form id="Form1" method="post" runat="server">
<asp:DropDownList id="DropDownList1" style="Z-INDEX: 101; LEFT: 168px;
POSITION: absolute; TOP: 73px" runat="server"></asp:DropDownList>
<asp:TextBox id="TextBox1" style="Z-INDEX: 102; LEFT: 66px; POSITION:
absolute; TOP: 33px" runat="server" Width="137px"
Height="17px"></asp:TextBox>
<asp:Label id="Label1" style="Z-INDEX: 103; LEFT: 19px; POSITION:
absolute; TOP: 97px" runat="server" Width="52px"
Height="12px">HELLO</asp:Label>
<asp:Button id="Button1" style="Z-INDEX: 104; LEFT: 18px; POSITION:
absolute; TOP: 123px" runat="server" Text="Button"></asp:Button>
</form>
</HTML>

Do you why these asp control doesnt show anything on the browser?
Thank you.
"Brian W" <brianw@gold_death_2_spam_rush.com> wrote in message
news:#i**************@TK2MSFTNGP10.phx.gbl...

When you run it and do view source from the browser what does it show?

Can you post the source on the offending page?

Regards
Brian W

"Mactash" <ma******@hotmail.com> wrote in message
news:ev****************@TK2MSFTNGP11.phx.gbl...

Folks,
I have problem running simplest ASP.Net programs with IIS web server.
As a test I just added some text box and dropdown list with Visual Studio but when I run this my page shows nothing.(blank page without error.)
I can run this with asp matrix web server.
Can you please let me know what is wrong.?
Thank you .




Try running aspnet_regiis.exe -i from a comman prompt
(you may have to search for it)

HTH
Brian W

"Mactash" <ma******@hotmail.com> wrote in message
news:OA**************@TK2MSFTNGP11.phx.gbl...

Hi,
The source is exactly the same as the asp.net code ,means that the iis
engine not woking. Right?

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1"%>
<HTML>
<form id="Form1" method="post" runat="server">
<asp:DropDownList id="DropDownList1" style="Z-INDEX: 101; LEFT: 168px;
POSITION: absolute; TOP: 73px" runat="server"></asp:DropDownList>
<asp:TextBox id="TextBox1" style="Z-INDEX: 102; LEFT: 66px; POSITION:
absolute; TOP: 33px" runat="server" Width="137px"
Height="17px"></asp:TextBox>
<asp:Label id="Label1" style="Z-INDEX: 103; LEFT: 19px; POSITION:
absolute; TOP: 97px" runat="server" Width="52px"
Height="12px">HELLO</asp:Label>
<asp:Button id="Button1" style="Z-INDEX: 104; LEFT: 18px; POSITION:
absolute; TOP: 123px" runat="server" Text="Button"></asp:Button>
</form>
</HTML>

Do you why these asp control doesnt show anything on the browser?
Thank you.
"Brian W" <brianw@gold_death_2_spam_rush.com> wrote in message
news:#i**************@TK2MSFTNGP10.phx.gbl...

When you run it and do view source from the browser what does it show?

Can you post the source on the offending page?

Regards
Brian W

"Mactash" <ma******@hotmail.com> wrote in message
news:ev****************@TK2MSFTNGP11.phx.gbl...

Folks,
I have problem running simplest ASP.Net programs with IIS web server.
As a test I just added some text box and dropdown list with Visual Studio but when I run this my page shows nothing.(blank page without error.)
I can run this with asp matrix web server.
Can you please let me know what is wrong.?
Thank you .





这篇关于帮助:无法运行ASP控件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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