Viewing 'hello World' Page From Remote Computer?

Mar 28, 2011

I've been a VB programmer for years, and friend asked me to write a program that does data storage and is executable from PC & MAC browsers. It seems like I need ASP.NET for this, so I tried to write a server-side 'hello world' ASP.NET program. I did this using VWD 2010 Express, and after successfully 'building' the website, it works great if I view it on the development machine. But when I copy it to my web server (running on a Windows XP Tablet machine) and try to view default.aspx, instead of getting a nicely-formatted page, my browser (IE8) is displaying the HTML source code. I tried hosting the site on both Apache and IIS , and I'm getting the same results.

1. What am I doing wrong?

2. Is ASP.NET the best platform for building a database-based application that can be viewed from both PC's and Macs? If so, should this work from iPads / Safari as well?

View 4 Replies


Similar Messages:

Access Remote Computer Windows Service Using Asp

Dec 20, 2010

how to access remote computer windows service using asp.net

View 2 Replies

Security :: Web Service Execute On Remote Computer?

Jan 18, 2010

I'm using asmx web service to lock a folder on remote computer!

When I run web service on local machine everything working fine, but when I run it on remote computer nothing happen, folder on remote computer stay unlock!

I supose that I need to set security permission for this web service on remote computer, but i don't know where! So, what I need to enable executing this service on remote computer?

View 3 Replies

Web Forms :: Move Files To Remote Computer?

Jul 17, 2010

my wish is to move Files from ASP.NET Web Application(VB.NET) to remove Computer.

ive tried using a code behind, with no success..

i got en error which is "Could not find a prat of the path '\ComputerNameFolder' "

i tried instead "Computer Name" use IP address, and the same error.

(I gave All the premmission...)

i tried to create a Batch file, which is working if i run it.

but when i try to Execute it on the VB Code, i got nothing, it doesnt fire.

i tried (System.Diagnostics.Process.Start("C:File.bat"),Shell("C:File.bat") )

View 1 Replies

Visual Studio :: How To Access VSS From A Remote Computer

Aug 21, 2010

i acess vss from lan with no problems and now i want acess from a remote computer not in a Lan

I need access over the Internet

What are settings i need to set up in the server and my client machine

View 2 Replies

Architecture :: Open A Command Prompt Of Remote Computer?

Sep 3, 2010

I need to open a Command prompt (cmd.exe) of a Remote server computer and Run a Command from my asp.net web application (C# laungauge). I have progressed till opening a command prompt of the webserver where the website is hosted. My code is:

[Code]....

I have achived this using the VB script. The code is:

[Code]....

In the above code psexec.exe is software used to access remote computers.nawinapp627 = Remote serverPlease help me to achieve above using C#.

View 13 Replies

Web Forms :: Displaying Remote Computer Reply In Window?

Jan 13, 2010

i have to make a login page where user has to enter username & password to get message from remote server. actually its a API, where user send his username and password and get the reply. i have done the login page coding. but i don know how to catch the reply and disply it in window.

note that there is now database or connection string where we have to compare username & password. its simple url as:-

"http://smscgateway.com/balanceapi.asp?username=username&password=password"

here in this string i have to replace the replace name and password with textbox values and post it. but it after posting i dont know how to catch the reply.

as soon as we click it. it replies as "invalid User Name or Password".

View 3 Replies

Security :: Add And Remove Users From A Local Group Of A Remote Computer?

Feb 16, 2010

I want to populate members of a local computer group on a webpage and allow the user to add / remove users of that remote computer from a group say Administrators or Remote Users Group.

The application pool will be running with a user who is admin on all remove systems.

View 5 Replies

How To View A Web Page Served From One Computer From Another Computer

Jan 31, 2011

I am running a website from IIS on one computer and I want to view the web page on another computer. the only way I can do this is by using the ipaddress of the computer with IIS on it but would rather have a url. How can I generate a url or use a domain name from [URL]. I signed up for an account on that website but dont know how to use it. I dont know how to configure it.

View 2 Replies

Restricting Certain Pages -- Redirect On Every Page? Or On Master Page By Viewing Current Page In Url?

Feb 6, 2011

Per different user mode, some pages should not be accessible by users unless they have a valid session key.In your opinions -- would it be better to have a list of acceptable pages in the master page, and check if the current page is valid for the current user? Or handle this on every child page?I'm thinking master page, just want to hear what your input would be.

View 2 Replies

Web Forms :: Scroll Bar Disabled When Viewing Page Linked To Master Page?

Apr 26, 2010

I have a project that is based on a Master Page. I also have user controls that I use as well. Any page that requires scrolling in Design Mode will not scroll. The scroll bar is disabled. I have to switch to Source Mode and then add the text that I need or find the controls that need modified or updated. I have user controls that require scrolling as well but they work just fine. Only the pages tied to the master page. This is very annoying and only happens on certain projects.

View 2 Replies

How To Check On A Certain Page If The User Is Viewing That Page Via Ssl

Jul 15, 2010

I'm a bit confused. Using asp.net VB 2010 - how can i make it when someone types mydomainname.com it automatically pushes the site to www.mydomainname.com? I am using a hosted server so I dont have access to the IIS.

Also, how can i check on a certain page if the user is viewing that page via ssl? ex: send [URL]

View 5 Replies

Detecting Which User Is Viewing The Page?

Jul 20, 2010

I wondered if there were any 'tricks of the trade' to try and determine the user looking at a specific page. The server which currently hosts our Intranet is configured to use anonymous authentication so most of the usual methods return the account running IIS. I also have the same issue when trying to read the registry using some VB code.

I did get around this by using some VBScript to read the registry and get the username, but I seem to be unable to use this to determine if a column in a GridView should be visible or not. I have a stand-alone page and wondered if this was possible?

View 1 Replies

Prompts For Windows Authentication When Viewing A Page In Website?

Jun 17, 2010

When i try to view a PARTICULAR page in my web site, it prompts for user name and password. Irrespective of providing proper user name/password and clicking OK or directly clicking Cancel button, the page is getting loaded properly. I am not sure why the authentication screen appears!!! It happens only for that particular page. Initially I thought it could be with file permission but copy pasted another page (which works fine) and renaming it doesn't solve the problem.

EDIT

I copied the source from the browser for that particular page and saved it as HTML. When i try to open the HTML file, it prompts for authentication.

Solution

I disabled the Integrated Windows Authentication in IIS and it works fine.

View 2 Replies

VS 2008 - Viewing ASPX Page In IFrame With IE Fails

Oct 31, 2011

A client of ours uses a home owners association website as a service. They can add pages to the site. We added a page and used an iframe in the html code to display another website which is needed. It works fine in all browsers except some copies of Internet Explorer. For example, it does not work at my home IE8 but may for others.

But here is where it gets wierd! When I try to view it in IE, it fails by just keep trying and eventually fails. Then if I past the URL it is trying in the browser by itself, it loads. Then I go back to the association website and try and it will work by loading the website in the iframe page. It does this only after I view the website url by itself in the browser.

View 3 Replies

Access :: Viewing Database Using Template / Activity Id Changes But The Page Content Does Not?

Jan 22, 2011

I am running a Access Database and I have a Intranet site, Administrators can post News to a table in the Access database and Intranet users can see the news when they go to the Intranet site.

Any important/companie news is posted to the Front page and the user can access the news vie a link.

BUT;

if there are more than one post when the user clicks on the link they can only read the first post.

When they click on the 2nd link the first post opens but the Activity ID from my table in access changes!

The Activity Id changes but the page content does not, I am using form view on the Activitydetails2.aspx to view the news table

View 3 Replies

Prevent Viewing A Restricted Page On Pressing Back/forward Button?

Jan 21, 2011

I am trying to implement Login/Logout functionality in my website without using inbuilt functionality of Login controls in ASP.NET. In some pages, which require the user to be logged in, I have written this in Page_Load

if (Session["cod"] == null && Session["admin"] == null)
{
Response.Redirect("You need to Login.aspx");
}
if (Session["cod"] != null || Session["admin"] != null)
{
LinkButton1.Text = "Logout";
}
if (Page.IsPostBack == false)
{
log_bind();
grid1_bind();
grid2_bind();
}

But while I was testing this, I noticed that when I press the Back/Forward button on the browser, these pages are viewable without being logged in. How do I prevent this?

View 5 Replies

Web Forms :: Get Information About The Computer Enter The Page?

Jun 22, 2010

can i get information about the computer that enter my page , like the currently logged user on that computer and the ip address . and if i can get the currently logged user name , isn't that considered as security risk .

View 3 Replies

Web Forms :: Page Layout With Different Computer Resolutions - Want Only One

Feb 18, 2010

I am using master page which have content pannels as well as menu's .

View 2 Replies

Security :: Logon To Page With Already Authenticated Computer And Forms?

May 11, 2010

Ok so I've created a login page that accesses my Active Directory and challenges against it. What I would like, is if a user is logged onto the computer within the intranet with Active Directory Credentials for them to bypass the login to the web page.

However if they are outside of the building on a random computer, they should be presented with a login box just like they are now.

View 1 Replies

Web Forms :: How To Show The Computer User Into A Label In A Master Page

Aug 30, 2010

I'm creating a web site and I have this question, I installed a label with the name Userlbl in the master page, and the idea that I have, is when somebody opens the website, the label shows the computer's user, in my case Welcome: "Charly_csh"

I tried with this code, that I used before in access and it works, when I load the page on the localhost, but when I load on the server, it shows NETWORK SERVICE

The code is this:

[code]....

View 5 Replies

How To Fill Countries In A World Map

Feb 9, 2010

My client has customers in 100 countries in which a customer can have access to more than a country. So, to show visual appearance to the customer, our client want to show world map and fill each country with a different color where the customer has access to.

Is there anyway to do this in ASP.NET?

If not ASP.NET, Is their any third party which does this stuff.

View 1 Replies

Web Config File To Run World On IIS 7?

Jan 13, 2010

I have uploaded a simple hello world on my IIS server 7 (shared hosting). It doesn't work. Is it necessary to add a web config and what's the minimum in that case ?

Error says:

Server Application Unavailable

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Here's the script, very basic :)

<%@ Page Language="VB" %>
<html>
<head>
<title>ASP.NET Hello World</title>
</head>
<body bgcolor="#FFFFFF">
<p><%= "Hello World!" %></p>
</body>
</html>

View 2 Replies

Web Forms :: How To Allow Application To Access All Over World

Jun 8, 2010

I have my asp.net application with ms sql 2005 express.. in my localhost...

Now i have requirment with my boss i need to show this webpage to access all over the world...

i have bought asp.net webspace with hosting provider without database...

he has given me the some ip XXX.XXX.XXX.XXX where im going to log on my cpanel...

so i would like to know how to access my database with my asp.net application which is in hosting company....

i would like to know step by step configuration... to ms sql 2005 database...

View 2 Replies

VS 2008 Report And Label Production From Web World

Aug 12, 2010

What my clients are used to: VB6 app running locally - can produce reports and labels directly to printers. How do I take that same user now in a web page and have them get that same report or label sent to a printer? Do I need to make a little VB6 or VB.Net app that sits locally to receive the DATASET and perform the print formatting? I should mention that all the print formatting information is in a table in the DB anyway. Or do I need to make PDF's or some other kind of document format on the server and send that to the user from the webpage.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved