Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have created a simple web form. When I compile it, it opens a browser and displays just fine. Now when I navigate to it and open the page with internet explorer only my plain label displays. The label that uses a little code in the page_init sub procedure does not display at all. So what is wrong with it?

 

Why can I not get it display correctly by opening it with Internet Explorer?

 

Chester

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

Posted

Okay I just stuck it out on the webserver and it is doing the same thing. I am navigating to it using http://www.etc. I am not sure if the framework is installed on our server, but if it is not installed would I even get the palin label with the text "A Simple Web Form" to display?

 

Chester

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

Posted

Im not sure what would happen if you dont have the framework installed....if you have IIS 6.0 installed then the .net framework should be there.

 

If you debug it on your machine(hitting F5) then it should bring up an instance of IE and your page. the titlebar will show you what path you should use locally to view the page. it should be something like: http://localhost/project/filename

 

http://www.etc doesnt make sense ..... is that supposed to be a registered domain?

Posted

Yes on local host it works fine now. When I put it out in a test folder on the internet, only the plain label is showing. I navigate to it on the internet just like going to any other page, but it is not coming up right. I am not sure what Internet server we use. It is hadnled by another dept. I just have a test folder on it.

 

Chester

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

Posted
I would find out from them if they are running IIS 6 or not....if you have some content coming up on it but not your aspx stuff then its probably not IIS 6....if you view the source of the page then you will probably see your asp.net code that didnt get processed by the server.
Posted

Information missing

 

A couple of thing to look at...

 

  1. Framework installed on the server and ASP.NET installed also (aspnet_regiis.exe -i <== to install asp.net to the IIS)
  2. Which version of IIS your server has ?
  3. Does your web app are in the "Application Root base" ? That means that when you create a new app with IIS, there might be some problem with Web.Config not being in the root based of the application (this happen when your app is in a sub-folder not "registered" as an application folder.

Look at all this. Come back to us with information and we'll be able to help you. The more detail you give, the more accurate are our answer. :)

 

Have a nice day !

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

It finally worked on my localhost the way it was suppose to. So I more than likely, it has to be soemthing with the webserver. I am checking to see what they use for a webserver here and the version info.

 

Chester

____________________________________________

http://www.pophamcafe.com

I am starting a developers section, more tutorials than anything.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...