Web Forms :: How To Access Website That Was Done In Local Host In Other PC
Jul 26, 2010I have done an application in my PC i would like to access it on other pc how can i do this.
View 4 RepliesI have done an application in my PC i would like to access it on other pc how can i do this.
View 4 RepliesI have problem of accessing my website created using visual studio on my local pc. the pc using windows 7 with static ip address has been configured and i have added a hostname "192.168.0.1 hosts myweb.mylocal.com" on c:windowssystem32driveretc. on the IIS i have configured the binding myweb.mylocal.com with impersonation set enabled and windows authentication is enabled.
the user login just keep prompting eventhough i have entered the correct username and password.
I hosted my web application in localhost.Now i need to test it from any where.Can i access my local host through internet using public IP?
View 1 RepliesI created a website using VS2010. When I run the website using built-in web server, everything works fine. The website recognizes javascript and aurigma uploader. When I publish the website to local folder and tried to access using IIS 5.1 on local pc,
the java scipt files did not work. I was getting yellow triangle sign at the bottom of the page indicating the object is expected. I tried to look online but i could not find any answer. I have included jquery and javascript file in the header section of master
I want to have a PHP login form on my website. When the user enters a username and password and clicks submit, they should be directed to a remote website logged in (therefore skipping the login form on the remote site).
As mentioned in the title, the remote site is built using ASP.NET.
I've tried to search for a solution this but really not finding.
I can't figure this out. I have a simple ASP.NET application that I am hosting on my computer which all local computers can hit. The next thing I want to do is setup the website for public access. No matter what I can't seem to get it to work.
- I have allowed incoming connections to port 80 through the firewall.
- I have setup my router to port forward all HTTP requests (80) to my locally assigned IP (192.168.1.XXX).
- I have setup my server to use anonymous authentication, which is set to "Application pool identity".
- I have even shut off my firewall to try and see if it would work.
Can't figure this out. Read a bunch of information, and in my head this should work, but it seems like I am missing something simple. I realize this thread's subject matter applies to IIS7 more-so than ASP.NET, however since I am relatively new to ASP I figured maybe I missed an ASP setting or something.
when a website is entered in a browser it should take to a login page (in localhost) and if the login succeed then the site should be loaded else an error page should be displayed. the login page will be connected to local database. how to do this?
View 6 RepliesWhen i run the site in local host the site map menu headers are appearing, but on mouseover the dropdown items are not appearing.
View 4 RepliesI am trying to send email from localhost from last some days but not succeed.What happening is it is not showing a error but also email is not being sent. Other than that I have done the following steps:
1. Disable firewall
2. disable antivirus
3. In IIS > Default SMTP > Properties > Access tab > Only the list below is selected and in list I have added 127.0.0.1 and 192.168.15.2 (it is my computer ip)
[Code]....
I am using gmail smtp server and email account to send email from my asp.net site. It works fine when I use it on some hosing server but it is strange it do not work on local machine. Plz guide me what should I do ? Do I need to install some smtp server (if yes plz mention the name as I am not aware of it) .
View 14 RepliesWhen I Start Debugging a website on the localhost the yellow bar no longer shows up at the top of the web page. How do I get it back?
View 5 RepliesI am having 5 systems connected through LAN.Now I am creating a web application in server and want to retrive that web application through all the systems so that other people can able to access it andwork with different pages in the application.Is this possible?If yes pls send me the steps how to do that?Same with database also.Pls respond me ASAP.
View 3 RepliesI have a code to downolad a particular file that is stored at a particular location on the server...
for example i have a file untitled.bmp in the C: drive of my server and i download this to my localhost using the particular code...
protected void Button1_Click(object sender, EventArgs e)
{
string filepath = (@"C:untitled.bmp");
// Create New instance of FileInfo class to get the properties of the file being downloaded
[Code]....
now my problem is how do i download a folder with multiple files in it.. is there a way???
for example i have a folder named recovery in C: drive which contains two files untitled.bmp and test.txt.
I have to host an asp.net that user can access that website something like http://111.11.11.11/myapp/homepage.aspx. ( my ip address will be 111.11.11.11). All I have local IIS installed. I want that if any user clicks on the link. He should be able to access that web application.
View 9 RepliesI recently learnt of a method to display binary images, from a sql table, that requires that the image's ImageUrl be a url of a second page with a querystring value. For example, if I have two pages, Page1 and Page2, If my image is on Page1, the imageUrl would be something like page2.aspx?ImgID= ImageID(The Querystring value passed to Page2 from Page1) . This method displays the image perfectly in the local host but then only the red X icon, that replaces a missing image, shows up when I run my application online.
Why are the images not displaying and how may I correct this? I have my codes below.
Image on Page1:
[Code]....
And this code displays the image on page1 but is the same on page2:
[Code]....
Can we send email form local host using gmail smtp? I am trying and getting error The operation has timed out. I am trying to send email from local host from last 3 days. It works fine if I send emails from my hosting server using gmail but it is not working on localhost. I have disabled firewall anti virus but even then unlucky. have u ever used gmail for sending emails from localhost (without any server involved) If it is possible.
protected void btnConfirm_Click(object sender, EventArgs e)
{
MailMessage message = new MailMessage();
message.To.Add("me@hotmail.com");
message.From = new MailAddress("xxxxxx@gmail.com");
message.Subject = "New test mail";
message.Body = "Hello test message succeed";
message.IsBodyHtml = true;
message.BodyEncoding = System.Text.Encoding.ASCII;
message.Priority = System.Net.Mail.MailPriority.High;
SmtpClient smtp = new SmtpClient();
smtp.EnableSsl = true;
smtp.Port = 465;
smtp.UseDefaultCredentials = false;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Host = "smtp.gmail.com";
smtp.Credentials = new NetworkCredential("xxxxxx@gmail.com", "**mypassword**");
try
{
smtp.Send(message);
}
catch (Exception ex)
{
throw ex;
}
}
What could potentially stop an AJAX call from working on the host server, when it works fine on the local host? I tried returning an error from the AJAX call, but all I get is 'undefined'. I don't think the actual page method is being called since no information is added in my log (and I've explicitly added a call).
View 2 RepliesI host my asp.net application with wcf service on IIS 7 and I want that this location could be possible at adress of my computer in lan, that other in network could get to it..
Now it looks like: http://localhost/wcfAx/Service1.svc
How to do like that : http://192.168.2.33/wcfAx/Service1.svc?
I host a local application on my machine which i provide access on network by normally type "http://computername/app". Can I change it to a real web address format "www.myapplication.org" for my local hosting.
View 3 RepliesI am Working on a asp.net web site. i am using visual studio.net 2008.
i use some ajax control. for my web site. i use update panel on my web pages.
when i run my web site on local host ajax control work fine but as i upload the site on server. these control are not working at all.
tell me what will i do in my web site to run the AJAX control on server side.
there is broblum for uploading excel sheet when my application runing on local host but there is no problum on vs enviroment . i am using the following connection string code
strConn =
"Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + path +
";Extended Properties=Excel 8.0;"
;
I'm new to ASP and was hoping to get some hands-on experience of web development, but have been having trouble getting started.
I followed the instructions in the [URL] setup video, and downloaded and ran the plaform installer. I noticed that the "Web Platform" section of the installer was didn't have the "Web Server" section at the top, as shown on the instruction video [URL] but it otherwise seemed to install ok.
When I tried to follow the tutorial videos on [URL] using MS Visual Web Developer 2010, I am unable to debug the application. The web page it loads just says: "The webpage "localhost:xxxxx" cannot be found" (where xxxxx is the five digit random port number).
I've tried uninstalling Visual Web Developer, and the various Microsoft .NET and SQL Server using the Vista uninstall functionality of the control panel (as bet as I could -I'm not sure if there was something I missed), and then re-installing, but I still get the same problem.
I've tried to find a solution on some developer forums, and I noticed there are posts relating to webdev.webserver.exe relating to the error message I've been getting. However I haven't been able to find any info on this for VS 2010.
I've checked, and I don't have webdev.webserver.exe in C:Program FilesCommon Filesmicrosoft sharedDevServer or in C:WindowsMicrosoft.NETFrameworkV2.0.50727, although I do have WebDev.WebServer20 and WebDev.WebServer40. inC:Program FilesCommon Filesmicrosoft sharedDevServer 10 (I'm not sure if one of these is the equivalent files for VS2010.)
I've also made Internet Explorer my default web browser, since some of the forum posts mention this. My firewall is on, but I don't get any error messages relating to the firewall when I run the app. However, I wasn't sure whether there was a particular program I should add to my "allowed" list before running.
I ran the diagnostic tool: [URL] and I get the following output:
THE FOLLOWING SCRIPT will check to make sure that .NET Framework 3.5 is installed properly and will tell you what is not configured appropriately WINDOWS VERSION: 6.0.6002 POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727" /v "SP"
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727 SP REG_DWORD 0x2
ERROR: NetFx2.0 SP1 is not installed POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0" /v "SP"
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv3.0 SP REG_DWORD 0x2
ERROR: Netfx3.0 SP1 is not installed
I presume there's been some problem with installation and setup. However, I'm not sure what exactly I need to re-install (if anything) to fix it.
I'm trying to run a website (site2) that I've placed inside a folder (dir-site2) of another website (site1). The default file of site2 displays fine in every browser on my local computer, as in when I type http://localhost:45912/www.site1.com/dir-site2/default.aspx. But when I upload everything to my host's server and type this
http://www.site1.com/dir-site2/default.aspx I get a server "can't access" error message. I can't display any file that is inside the subdirectory, dir-site2.
How can I test an application that I am publishing to a remote provider's IIS7 hosted site, with the VS2008 development server that is built in with VS2008 on an XP Machine?
My membership/roles work perfectly up on the remote host. On ths hosted IIS7 site when I try to access a secure directory it redirects to login, and I am able to login, however when I launch (debug - F5) from VS2008, it will provide that folder/resource, no questions asked. Same build, config, etc... nothing has changed.
I am running XP, and local IIS version installed is 5.1.
My guess is what is happening is that the new format required in the web.config is configured properly for IIS7 deployment, which is why it works remotely, but when running locally through VS2008/XP it is running with an older version on IIS and does not recoginize the new tags.
I have a website has already hosted on EasyCgi (suppose that it's called website1). I have to host another one (website2). So I created a folder called "website2" under the website1 root folder. then I FTP all the content of website2 to the "website2" folder.After that, I tried to request the URL: and nothing happen...Just an error page display that contains:
View 1 Replies