是我还是有一些技巧来发布一个网站? [英] Is it me or is there some trick to publishing a web site?

查看:90
本文介绍了是我还是有一些技巧来发布一个网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在VS 2008中使用IIS7构建了一个站点。网站工作正常。所以我将
发布到本地文件夹。然后我进入IIS7并添加一个指向已编译文件夹的virtural

目录并使其成为应用程序。

当我尝试从IIS7浏览网站时出现错误一个文件是

找不到。


这个文件是我正在加载的页面的aspx.vb页面在

已发布的网站已重命名为App_Web_50e5-xmr.dll并将

放入bin文件夹。


现在这是我第一个网站曾经创造过并且我承认我确实知道了很多,但是这个网站不知道它在哪里可以说明它在哪里?b $ b它放置了自己的文件???? br />

帮助.....请


Ty

解决方案

< blockquote>您不会浏览到aspx.vb文件。您只想浏览.aspx

文件,例如default.aspx。

Ty < tb ***** @ lewistownhospital.org写信息

新闻:c3 ************************* ********* @ 1g2000pr d.googlegroups.com ...


大家好,

我建了一个VS 2008中的站点。使用IIS7。网站工作正常。所以我将
发布到本地文件夹。然后我进入IIS7并添加一个指向已编译文件夹的virtural

目录并使其成为应用程序。

当我尝试从IIS7浏览网站时出现错误一个文件是

找不到。


这个文件是我正在加载的页面的aspx.vb页面在

已发布的网站已重命名为App_Web_50e5-xmr.dll并将

放入bin文件夹。


现在这是我第一个网站曾经创造过并且我承认我确实知道了很多,但是这个网站不知道它在哪里可以说明它在哪里?b $ b它放置了自己的文件???? br />

帮助.....请


Ty


10月15日上午7:29 *,Andy B < a_bo ... @ sbcglobal.netwrote:


您不能浏览到aspx.vb文件。你只想浏览一个.aspx

文件,比如default.aspx。


" Ty" < tbar ... @ lewistownhospital.org写信息


新闻:c3 *********************** *********** @ 1g2000pr d.googlegroups.com ...


大家好,

* I使用IIS7在VS 2008中构建了一个站点。网站工作正常。所以我将
发布到本地文件夹。然后我进入IIS7并添加一个指向已编译文件夹的virtural

目录并使其成为应用程序。

当我尝试从IIS7浏览网站时出现错误一个文件是

找不到。


此文件是我正在加载的页面的aspx.vb页面,该页面已在已重命名的

已发布网站中到App_Web_50e5-xmr.dll并将

放入bin文件夹。


现在这是我创建的第一个网站,我承认我确实知道了很多但不知道这个网站在哪里知道

放置自己的文件似乎是合乎逻辑的????


帮助.....请


Ty-隐藏引用文本 -



- 显示引用文本 -



Hello Andy,

我没有浏览aspx.vb文件我正在加载登录页面而它

给出了login.aspx.vb页面的错误(已经重命名了
缺少
并移动到bin文件夹中。


Ty


这是一个有趣的错误。如果您将aspx页面加载到设计器

并查看源代码,那么顶线会说什么?


它应该是一些@page指令那种。

Ty < tb ***** @ lewistownhospital.org写信息

新闻:ad ************************* ********* @ r38g2000 prr.googlegroups.com ...

10月15日上午7:29,Andy B < a_bo ... @ sbcglobal.netwrote:


您不能浏览到aspx.vb文件。你只想浏览一个.aspx

文件,比如default.aspx。


" Ty" < tbar ... @ lewistownhospital.org写信息


新闻:c3 *********************** *********** @ 1g2000pr d.googlegroups.com ...


大家好,

我有在VS 2008中使用IIS7构建了一个站点。网站工作正常。所以我将
发布到本地文件夹。然后我进入IIS7并添加一个指向已编译文件夹的virtural

目录并使其成为应用程序。

当我尝试从IIS7浏览网站时出现错误一个文件是

找不到。


此文件是我正在加载的页面的aspx.vb页面,该页面已在已重命名的

已发布网站中到App_Web_50e5-xmr.dll并将

放入bin文件夹。


现在这是我创建的第一个网站,我承认我确实知道了很多但不知道这个网站在哪里知道

放置自己的文件似乎是合乎逻辑的????


帮助.....请


Ty-隐藏引用文本 -



- 显示引用文本 -



Hello Andy,

我没有浏览aspx.vb文件我正在加载登录页面而它

给出了login.aspx.vb页面的错误(已经重命名了
缺少
并移至bin文件夹。


Ty


Hello all,
I have built a site in VS 2008. using IIS7. Site works fine. So I
publish to a local folder. I then go into IIS7 and add a virtural
directory pointing to the compiled folder and make it an application.
When I try to browse the site from IIS7 I get an error that a file was
not found.

This file is the aspx.vb page of the page I am loading which in the
published site has been renamed to App_Web_50e5-xmr.dll and placed
into the bin folder.

Now this is the first site I''ve ever created and I admit that I do
know much but doesn''t it seem logical that the site would know where
it placed its own files????

Help.....Please

Ty

解决方案

You don''t browse to the aspx.vb file. You just want to browse to a .aspx
file like default.aspx.
"Ty" <tb*****@lewistownhospital.orgwrote in message
news:c3**********************************@1g2000pr d.googlegroups.com...

Hello all,
I have built a site in VS 2008. using IIS7. Site works fine. So I
publish to a local folder. I then go into IIS7 and add a virtural
directory pointing to the compiled folder and make it an application.
When I try to browse the site from IIS7 I get an error that a file was
not found.

This file is the aspx.vb page of the page I am loading which in the
published site has been renamed to App_Web_50e5-xmr.dll and placed
into the bin folder.

Now this is the first site I''ve ever created and I admit that I do
know much but doesn''t it seem logical that the site would know where
it placed its own files????

Help.....Please

Ty



On Oct 15, 7:29*am, "Andy B" <a_bo...@sbcglobal.netwrote:

You don''t browse to the aspx.vb file. You just want to browse to a .aspx
file like default.aspx.

"Ty" <tbar...@lewistownhospital.orgwrote in message

news:c3**********************************@1g2000pr d.googlegroups.com...

Hello all,
* I have built a site in VS 2008. using IIS7. Site works fine. So I
publish to a local folder. I then go into IIS7 and add a virtural
directory pointing to the compiled folder and make it an application.
When I try to browse the site from IIS7 I get an error that a file was
not found.

This file is the aspx.vb page of the page I am loading which in the
published site has been renamed to App_Web_50e5-xmr.dll and placed
into the bin folder.

Now this is the first site I''ve ever created and I admit that I do
know much but doesn''t it seem logical that the site would know where
it placed its own files????

Help.....Please

Ty- Hide quoted text -


- Show quoted text -

Hello Andy,
I''m not browsing the aspx.vb file I''m loading the login page and it
gives the error that the login.aspx.vb page (which has been renamed
and moved to the bin folder) is missing.

Ty


That is an interesting error. if you load the aspx page into the designer
and view the source, what does the top line say?

It should be an @page directive of some kind.
"Ty" <tb*****@lewistownhospital.orgwrote in message
news:ad**********************************@r38g2000 prr.googlegroups.com...
On Oct 15, 7:29 am, "Andy B" <a_bo...@sbcglobal.netwrote:

You don''t browse to the aspx.vb file. You just want to browse to a .aspx
file like default.aspx.

"Ty" <tbar...@lewistownhospital.orgwrote in message

news:c3**********************************@1g2000pr d.googlegroups.com...

Hello all,
I have built a site in VS 2008. using IIS7. Site works fine. So I
publish to a local folder. I then go into IIS7 and add a virtural
directory pointing to the compiled folder and make it an application.
When I try to browse the site from IIS7 I get an error that a file was
not found.

This file is the aspx.vb page of the page I am loading which in the
published site has been renamed to App_Web_50e5-xmr.dll and placed
into the bin folder.

Now this is the first site I''ve ever created and I admit that I do
know much but doesn''t it seem logical that the site would know where
it placed its own files????

Help.....Please

Ty- Hide quoted text -


- Show quoted text -

Hello Andy,
I''m not browsing the aspx.vb file I''m loading the login page and it
gives the error that the login.aspx.vb page (which has been renamed
and moved to the bin folder) is missing.

Ty


这篇关于是我还是有一些技巧来发布一个网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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