473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Publishing web sites with IIS 6.0

I created a web site with Visual Studio, and now I would like to
publish it. When I click on publish it creates 3 files and a bin
directory. When I try to open the .aspx file with internet explorer I
get this error:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.

A name was started with an invalid character. Error processing resource
'file:///C:/Documents and Settings/christiansent/My...

<%@ page language="VB" autoeventwireup="false" inherits="_Default,
App_Web_7dcby_wv" %>
-^

What could be wrong?

Jun 15 '06 #1
3 1144
DumbLuck,
What's wrong is we need to understand the difference between an HTTP Request
(the right way- e.g., Http://localhost/christiansent/MyPage.aspx" where
christiansent IS AN IIS APPLICATION and Virtual Directory) and
a request for a FILE based resource which is what you show.
Hope it helps,
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Dumb Luck" wrote:
I created a web site with Visual Studio, and now I would like to
publish it. When I click on publish it creates 3 files and a bin
directory. When I try to open the .aspx file with internet explorer I
get this error:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.

A name was started with an invalid character. Error processing resource
'file:///C:/Documents and Settings/christiansent/My...

<%@ page language="VB" autoeventwireup="false" inherits="_Default,
App_Web_7dcby_wv" %>
-^

What could be wrong?

Jun 15 '06 #2

Thank you very much for your help. That problem is fixed now. I do
have another question if you don't mind.

The page I have made uses VB to perform some administrator tasks. How
do I set the page up so that it uses the credentials of the logged in
user to perform the visual basic actions? (i.e. reset user password)

Jun 15 '06 #3
Do you want the page to run under an account that has administrator
privileges, or under the account of the logged in user?

Logged in user, just use Windows Authentication (check Integrated in IIS and
UNCHECK Allow Anonymous).

Set <identity impersonate="true" userName="AdminUser' password = "pass" />
in webl.config to have app run under admin user.

Be advised, there are security implications.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Dumb Luck" wrote:

Thank you very much for your help. That problem is fixed now. I do
have another question if you don't mind.

The page I have made uses VB to perform some administrator tasks. How
do I set the page up so that it uses the credentials of the logged in
user to perform the visual basic actions? (i.e. reset user password)

Jun 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Beer | last post by:
Hello Everyone, We have been getting the EventID 7031 errors ever since we installed SP 3. We have been searching for any possible solution, but not much luck. We are running Windows 2000...
0
by: Jason Kleban | last post by:
I have an internal development site on one domain, and a live server in the DMZ which runs the stable version of the website. I've built a new .NET version of the site using visual studio 7. ...
2
by: werdna.sivad | last post by:
I just uninstalled VS 2005 Professional Beta 2 and replaced it with VS Web Developer 2005 Express Edition and VS C++ 2005 Express Edition. I am having problems publishing my ASP sites now. ...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
1
by: vasudevram | last post by:
Publishing ODBC database content as PDF: A blog post by me on how to do this, using my PDF conversion toolkit, xtopdf. This is sample code from my next upcoming release of xtopdf, which will...
5
by: Andy G | last post by:
I'm having a hell of a time publishing my first VS 2005 web site. All it tells me is publish failed. Is there any place that gives me a hint on why it failed? I'm typing in the website address...
2
by: Angelo Cook | last post by:
how do you prevent the publishing of virtual directories in VS 2005. I have been using VS2003 and developing websites for years. I have been using virtual directories for images, icons, styles...
4
by: John | last post by:
Hi I am publishing a vb.net app to a remote ftp/web site. This seems to go successfully. Once I try to install the app by using the url http://www.mydomain.com/publish.htm and pressing the Run...
5
by: rmgalante | last post by:
I've been using the VS2005 Publish utility on one of my projects for about six months. I have a large site with hundreds of files, thousands if you include the code behind files. So I thought...
3
by: fudge | last post by:
hello, i am very new to publishing applications.can some one help me with it..as i am facing an error after publishing path not valid..i went through many sites and forum for and found many articles...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.