Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ASP .NET pages - trouble displaying pages

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  HTTP 206  
Author Message
user1261

External


Since: Jan 06, 2004
Posts: 4



(Msg. 1) Posted: Tue Jan 06, 2004 9:46 pm
Post subject: ASP .NET pages - trouble displaying pages
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello folks,

I have a remote desktop which is running W2K Pro and IIS web server. Everything is working fine including http://localhost etc. Pages are displaying properly. My hostname for the desktop is Polebird and http://polebird is displaying IIS launch page.

I accessed this web site from my laptop in my LAN and when I put in http://polebird and as advertised it gave me the Under Construction default page. Then I set myself to write my ASP .NET application all excited and all. I have Visual Studio IDE and C#/.NET loaded on the laptop. I used this laptop to generate a .NET C# Web project on polebird server.

A subweb was created using Frontpage Extension on the Polebird server, and I could see the files I stored in Visual Studio on my lap top on the remote desktop. I created a sample web form consisting of labels, text boxes and a button. Additionally I created a simple label called "Hello World!! The time now is <% = DateTime.Now.ToString() %>", set some vague background colors etc.

Whenever I open this project in my laptop Visual Studio IDE, it asks me to supply user name and password on the remote Webserver. I use Administrator and the password to access, and the project opens properly. So far no issues. For further conversation I call my project MyWebProject and the form MyWebForm.

Once I finish my forms and go to IE browser and type http://polebird/MyWebProject/MyWebForm.aspx it shows me all the labels BUT the buttons and text boxes won't paint (here is where I am stuck as of now). I use the right click menu on the browser do a View Source I could see all the <asp:TextBox id="tbxNickName" style="Z-INDEX: 102; LEFT: 171px; POSITION: absolute; TOP: 49px" runat="server" Width="188px" Height="21px"></asp:TextBox> for example.

I am clueless as to why only the labels and not of the ASP code would execute. It does not execute the ASP code or the display the web controls. I am thinking it is permission issue, I checked the Web Administration tool and I could see Execute Permission for Scripts is set for this subweb. Then I thought it could be that Polebird does not have the .NET framework. So I used the Windows Component Update disk of my C# package and installed the latest FrontPage and tools that came with the CD. Still no success.

Any help or pointers as to why this thing won't paint and/or execute the ASP related code is highly appreciated.

Thanks so much for those who could help.

Muthu

 >> Stay informed about: ASP .NET pages - trouble displaying pages 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 2901



(Msg. 2) Posted: Wed Jan 07, 2004 5:41 pm
Post subject: Re: ASP .NET pages - trouble displaying pages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

a) Ensure that the .Net Framework Redistributable is installed on the
Polebird. This allows .Net webpages and applications to be run on the
machine. You can find this on the Windows Component Update CD, or you can
download it from:
http://www.asp.net/download-1.1.aspx?tabindex=0&tabid=1
(under Step 2)

b) If you are sure that the Redistributable is installed, but your ASP.Net
pages are still not being processed, then I suggest you locate the
aspnet_regiis.exe executable on the harddisk of Polebird (the location will
be slightly different depending on which version of the Framework you have
installed). Mine is located in:
c:\windows\Microsoft.NET\Framework\v1.1.4322\

Then, using a command prompt, run:
aspnet_regiis -i
which will correctly register ASP.Net file extensions with IIS (eg .aspx
pages)

Cheers
Ken




"Muthu Muthuraj" <muthu.muthuraj.DeleteThis@med.ge.com> wrote in message
news:AA964FB5-4ECD-4B24-82FF-AD1B07E32712@microsoft.com...
: Hello folks,
:
: I have a remote desktop which is running W2K Pro and IIS web server.
Everything is working fine including http://localhost etc. Pages are
displaying properly. My hostname for the desktop is Polebird and
http://polebird is displaying IIS launch page.
:
: I accessed this web site from my laptop in my LAN and when I put in
http://polebird and as advertised it gave me the Under Construction default
page. Then I set myself to write my ASP .NET application all excited and
all. I have Visual Studio IDE and C#/.NET loaded on the laptop. I used this
laptop to generate a .NET C# Web project on polebird server.
:
: A subweb was created using Frontpage Extension on the Polebird server, and
I could see the files I stored in Visual Studio on my lap top on the remote
desktop. I created a sample web form consisting of labels, text boxes and a
button. Additionally I created a simple label called "Hello World!! The time
now is <% = DateTime.Now.ToString() %>", set some vague background colors
etc.
:
: Whenever I open this project in my laptop Visual Studio IDE, it asks me to
supply user name and password on the remote Webserver. I use Administrator
and the password to access, and the project opens properly. So far no
issues. For further conversation I call my project MyWebProject and the form
MyWebForm.
:
: Once I finish my forms and go to IE browser and type
http://polebird/MyWebProject/MyWebForm.aspx it shows me all the labels BUT
the buttons and text boxes won't paint (here is where I am stuck as of now).
I use the right click menu on the browser do a View Source I could see all
the <asp:TextBox id="tbxNickName" style="Z-INDEX: 102; LEFT: 171px;
POSITION: absolute; TOP: 49px" runat="server" Width="188px"
Height="21px"></asp:TextBox> for example.
:
: I am clueless as to why only the labels and not of the ASP code would
execute. It does not execute the ASP code or the display the web controls. I
am thinking it is permission issue, I checked the Web Administration tool
and I could see Execute Permission for Scripts is set for this subweb. Then
I thought it could be that Polebird does not have the .NET framework. So I
used the Windows Component Update disk of my C# package and installed the
latest FrontPage and tools that came with the CD. Still no success.
:
: Any help or pointers as to why this thing won't paint and/or execute the
ASP related code is highly appreciated.
:
: Thanks so much for those who could help.
:
: Muthu

 >> Stay informed about: ASP .NET pages - trouble displaying pages 
Back to top
Login to vote
user1261

External


Since: Jan 06, 2004
Posts: 4



(Msg. 3) Posted: Wed Jan 07, 2004 5:41 pm
Post subject: Re: ASP .NET pages - trouble displaying pages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Great help from you folks. This board is awesome!! Running aspnet_regiis -i did allow the page to run now. Thanks a ton for that.

I do not mean to bother you more, but I am getting a parser on global.asax

Parser Error Message: Could not load type 'movieinthemail.Global'.

<%@ Application Codebehind="Global.asax.cs" Inherits="MyNameSpace.Global" %>

If your answer is going to be buy a ASP.Net book, it would be completely fair Smile. However, I thought I would ask.

Thanks Ken.

Muthu
 >> Stay informed about: ASP .NET pages - trouble displaying pages 
Back to top
Login to vote
user1261

External


Since: Jan 06, 2004
Posts: 4



(Msg. 4) Posted: Wed Jan 07, 2004 5:41 pm
Post subject: Re: ASP .NET pages - trouble displaying pages [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Please IGNORE my question about parser error. Silly me, forgot to BUILD the application before invoking the pages.

One of my late night whoopsies Smile))

Muthu
 >> Stay informed about: ASP .NET pages - trouble displaying pages 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
IIS - Custom Error Pages Not Displaying - I've got a customized page I made for 404. It's called err404.asp. It's got a bunch of includes and stuff - pulling in navigation and whatnot from other parts of the site. If I type the address in literally - http://mylocalhost/err404.asp - then it....

ASP Pages - Hi I run a windows 2000 network and have recently installed SUS which is great. But i seen during the install it ran the iis lockdown tool, now i have serious problems with my asp pages. i get HTTP 500.100 - Internal Server Error - ASP error# all..

IIS 5.0 and ASP pages - I have created asp scripts which are being executed from the htm page's form action method. This works fine in IIS 4.0 on NT. But when I ported over my pages to IIS 5.0 on 2000, I get a 404 file not found error. I tried adding the script on the page..

web pages - When I transfer to a new web page it appears on screen about 1 1/2 inch square how do I reset this and prevent it . Bob Bakerhappening again

404 always with ASP Pages - Hello, I am using II6 with windows 2003 standard edition. IIS don't seems to be working fine. When I try to browse any ASP file, I always get a 404 error message. I installed PHP which is now working fine but ASP giving error. ASP is also allowed in....
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]