预览时无显示 [英] No display when previewed

查看:56
本文介绍了预览时无显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是一个.NET新手,我需要帮助。

为什么当我预览我的aspx页面时它不会显示除此行以外的任何内容:

< p>数据将在10秒后刷新:<%= DateTime.Now%>< / p>


这是'我的代码如下:

展开 | 选择 | Wrap | 行号

解决方案

您使用的是什么版本的asp.NET?这看起来好像你正在使用VS2003?


你确定这个页面是

A)保存为aspx页面



B)正确部署到IIS服务器?



什么版本的asp.NET是你用的?这看起来好像你正在使用VS2003?


你确定这个页面是

A)保存为aspx页面



B)正确部署到IIS服务器?



老实说,我不知道如何检查我的asp.NET版本,我所知道的是我在我的aspx页面上使用Expression web。我的其他aspx示例页面运行顺利,但上面的例子不是。


是的,它被保存为aspx页面。


我认为它在.NET Framework 1.1(版本1.1.4322.573)中,因为我在这里找不到任何IIS服务器。我在管理工具中找不到它。


这是我之前运行正确的aspx示例:

展开 | 选择 | Wrap | 行号



你使用的是什么版本的asp.NET?这看起来好像你正在使用VS2003?


你确定这个页面是

A)保存为aspx页面



B)正确部署到IIS服务器?



无论如何我发现我的asp.NET版本:

我的机器的VersionCheck结果:


已安装.NET运行时

OK。

当前版本:安装了以下运行时:

1.1.4322.2407版本1.1 SP1之后的KB928366 2007年4月

2.0.50727.1433

3.0.4506.30版本3.0 RTM(RTM 4506.30)2006年11月


ADO数据库运行时版本

确定。

当前版本:2.81.1132.0

由文件确定:C:\Program Files \ Common Files \ System\ado\msado15.dll


Internet Explorer版本

确定。

当前版本:7.0.6000.16674

由文件确定:C:\ WINDOWS \ system32 \ieframe.dll


谢谢。 -tj


Hi guys,
I''m an .NET newbie, I need help.
Why is it that when I preview my aspx page it won''t show up anything except this line:
<p>The data will be refreshed 10 seconds from now: <%= DateTime.Now %></p>

Here''s my code below:

Expand|Select|Wrap|Line Numbers

解决方案

What version of asp.NET are you using? This looks like you are using VS2003 maybe?

And are you sure that this page is
A)Saved as an aspx page
and
B)Correctly deployed to the IIS server?


What version of asp.NET are you using? This looks like you are using VS2003 maybe?

And are you sure that this page is
A)Saved as an aspx page
and
B)Correctly deployed to the IIS server?

Honestly I don''t know how to check my asp.NET version, all I know is that I''m using Expression web on my aspx pages. My other aspx example pages runs smoothly but this example above doesn''t.

Yes it was saved as an aspx page.

I think its in .NET Framework 1.1(version 1.1.4322.573) since I can''t find any IIS server here. I can''t find it in Administrative tools.

Here''s my previous aspx example below that runs correctly:

Expand|Select|Wrap|Line Numbers


What version of asp.NET are you using? This looks like you are using VS2003 maybe?

And are you sure that this page is
A)Saved as an aspx page
and
B)Correctly deployed to the IIS server?


Anyways I found it out my asp.NET version:
VersionCheck results for my machine:

Installed .NET Runtime(s)
OK.
Current version: The following runtimes are installed:
1.1.4322.2407 Version 1.1 Post-SP1 with KB928366 Apr 2007
2.0.50727.1433
3.0.4506.30 Version 3.0 RTM (RTM 4506.30) Nov 2006

ADO Database Runtime Version
OK.
Current version: 2.81.1132.0
Determined from file: C:\Program Files\Common Files\System\ado\msado15.dll

Internet Explorer Version
OK.
Current version: 7.0.6000.16674
Determined from file: C:\WINDOWS\system32\ieframe.dll

thanks. -tj


这篇关于预览时无显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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