Unable To Access Published Webpage From Other Computers?
Jan 18, 2010
I have published ASP.NET web site, using IIS7 on Win7. I can access this web site on my localhost, but it is inaccessable from other computers via internet. I have tried to disable firewall and anti-virus program, but with no success.
Does anyone know what may be causing this problem?
It works fine if I publish it on winXP.
View 4 Replies
Similar Messages:
Mar 10, 2010
I published my website with Visual Studio and used FTP to transfer the Default.aspx page in the root folder and the compiled file (Default.aspx.cdcab7d2.compiled) in the bin folder of an SQL server that supports ASP.NET (StartLogic). But, when I used a browser (Firefox) to access the Default.aspx web page, all that I got back was: This is a marker file generated by the precompilation tool, and should not be deleted!
What am I doing wrong? Why can't I get the page to be displayed properly?
View 4 Replies
Mar 2, 2011
i have a web application which can be accessed via intenet the application is running on iis and configured using a router..i m looking for a good solution where i can give access to only authorized computers rest of the computers cannot access the applcation for eg:- if i have a users in office1 in sales dept. and he access the application from his office, so i want to deny the same user or any other user, that he cannot access the same application from home or antwhere else.
View 8 Replies
Aug 5, 2010
I just recently uploaded my site in web hosting, soon as it was live, I found out that the Ajax was not initializing or not working.
I look into javascript error log, and its pointing at
Sys.WebForms.PageRequestManager._initialize('ctl00$ToolkitScriptManager1', document.getElementById('aspnetForm'));Am I missing something, or is this issue can only be resolved by my hosting? My concern is since AjaxControlToolkit is a class DLL, it should not be a problem right?
View 6 Replies
May 5, 2010
I check WindowsPrincipal.Identity.Name against Active Directory security groups before allowing the user to edit data. If the user is not authorized I just present a read-only version of the data.
When I run my web app from the IDE everything works fine. I published the web app, made sure anonymous access was disabled, and invoked it from IE. The read-only page came up.
I then added code to write to the event log to display the WindowPrincipal.Identity.Name and saw that instead of displaying the user name, it was instead showing the server name. I verified again that Anonymous Access is disabled and integrated security is on.
View 3 Replies
Jan 7, 2010
I made a project to use the access membership provider from [URL] and it works. But I need to edit my database but when I configure my database, I cannot see the tabel, I can only see the queries in mdb file. when I select the field from query, I am unable to update it. My code is as follows:
[Code]....
View 3 Replies
Sep 2, 2010
I have a form wilh couple of Drop downs and text boxes and a Data Grid View which displays data from Access Table. When I hit add button on the form, I can see the data being added to the Grid View. But when I close the form and open the Access Database File (.mdb), the respective table is empty. The Access Table is not being updated. Second time if I open the form, the Grid View is also empty.I am pasting my code here.
Public Class Home
Shared OleDbConnection As System.Data.OleDb.OleDbConnection
Shared ExpensesDataAdapter As System.Data.OleDb.OleDbDataAdapter [code]....
View 4 Replies
Nov 25, 2010
I am trying to redirect to a .aspx page from a controller within my application using following method
[Code]....
[Code]....
[Code]....
View 4 Replies
Sep 21, 2010
I have a page that does an AJAX request. This request can take a while to complete, sometimes over a minute. This is not an issue.
During the AJAX request I am unable to load any other pages on the website. This is the same for any web browser.
I understand that there are connection limits in the browser, IIS and ASP.NET - but all of them allow at least 2 connections.
I am using IIS7 and ASP.NET 4.0.
I have made some sample code that demonstrates the issue. The code is here: [URL]
See a video of the issue here: [URL] You can see in the video the 2nd tab that is opened does not return a page until the AJAX request is complete.
View 3 Replies
Jan 17, 2014
I downloaded the example from the article Display Word Document on web page asp.net
I'm showing the following error when i try to run it
System.Runtime.InteropServices.COMException:Unable to find the file (C:Windowssystem32PROGRAMAS.doc)
And its supposed to be on this line :
applicationclass.Documents.Open(fileName, readOnlyObject, missingType, missingType, missingType, missingType, missingType, missingType, missingType, missingType, isVisible, missingType, missingType, missingType, missingType, missingType)
View 1 Replies
Jul 12, 2010
I am using this code in cs file into an asp.net page for getting ip address from the loggeg user:
cmd.Parameters.AddWithValue("@ip",System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]);
I would like to have also his computer name, as well?!
View 1 Replies
Oct 6, 2010
I've a problem with my web application. I hosted a web site in IIS and initially its working good. After sometime ( i dont know the time diff exactly ), if i try to access my page its not working and after re-starting my application only its working. Let me explain about my project.
I've only 4 pages ( ex: main, a1,b1,c1 ) in my site. In main page i used IFrame to show other 3 pages by clicking the appropriate tab. Before this main page load, i'm connecting to DB (Oracle 10g) and i used "System.Data.OracleClient" class to communicate with oracle. Every time after retrieved data from DB i'll close the connection. Then i'll display the main page and assign other page url's to the tab.
Now the problem is after sometime if i access the main page, its not connecting to DB at all then i'll show some static message like "site is unavailable at this time". And i'm not using connection pooling concept. And also this problem is not occurring all time.
View 3 Replies
Mar 1, 2011
I have a code to get a list of all the computers within a domain. Now i need to just get the computers which are within a particular OU and not the rest of the machines. so here is my code to get all the machines from a domain, this works perfectly fine:
DirectoryEntry entry = new DirectoryEntry("LDAP://" + selectDomain);
DirectorySearcher mySearcher = new DirectorySearcher(entry);
mySearcher.Filter = ("(objectClass=computer)");
mySearcher.SizeLimit = int.MaxValue;
mySearcher.PageSize = int.MaxValue;
foreach (SearchResult resEnt in mySearcher.FindAll())
{
//"CN=SGSVG007DC"
string ComputerName = resEnt.GetDirectoryEntry().Name;
if (ComputerName.StartsWith("CN="))
ComputerName = ComputerName.Remove(0, "CN=".Length);
compList.Add(ComputerName);
}
mySearcher.Dispose();
entry.Dispose();
View 3 Replies
Jan 21, 2011
I am working with a client who wants to make his current MS Access 2007 Reports available on demand in his web site. Currently, as I understand it, the managers of the company are being required to actually load MS Access and the active database to run the reports which exposes all of the data and linked tables to people who have no reason to modify them. So my client just wants them to be able to log into the admin section of the company website and request a report which he has already built in Access. I am trying to figure out how to get those reports to an ASP.NET application for the website to consume.
I have already spent a day looking at the Microsoft.Office.Interop library, and I don't think that that will cut it because I can actually get the HTML for the Report directly out of the application. All I can find is an option to save it to the hard disk which is inelegant and could easily cause problems with filename changes when I try to then load the document from ASP.
What I would like to see is a solution by which I can load the mdb or accdb file into the ASP application, access the Reports as a container and select the one I want by name, and then run it and collect the output in HTML to then simply echo to the webpage. Is there anything out there that can:
// Psuedo-code
Dim AccessFile As MSAccessFileOperator
Dim Reports As List(Of MSAccess.Reports)
Dim htmlResult As String
AccessFile = New MSAccessFileOperator("myDatabase.accdb")
Reports = AccessFile.Reports
htmlResult = Reports("MyReportName").toHTML
I haven't found such a method yet, and I am okay with the idea that maybe it isn't possible to do it that easily, but, at the end of the day, I need the HTML result of the Report to exist in memory as a String.
View 5 Replies
Jul 22, 2010
Is it possible to configure web.config to authorize a page to be only read locally (similar in concept to the RemoteOnly feature for error messages).
View 1 Replies
Jan 20, 2011
Is it possible, and if so how do you access the webpage from the webhandlers?
Basically, when i button is clicked i kick off some JavaScript, which then kicks off a C# webhandler which return data from the server. What i would like to do then is rather than feed it back to the JavaScript, id like to add a GridView directly to the webpage from the webhandler.
Equally, within the handler it would be incredible useful to be able to read values of dropdowns etc from the webpage.
View 1 Replies
Nov 30, 2010
I have an Access db on webserver. In my ASP webpage I need to return the sum of rows which match criteria.
I am not sure where the sum needs to happen. I tried sum in the sql statement, but got an error when it tried to put it in asp page.this is what I have
strSQL = "Select * from tblApplicantCreditors where ApplicantID = '" & strApplicantID & "'"
View 6 Replies
Mar 11, 2010
I have a webpage errors.aspx that needs to be protected from direct access. I want it to be accessed only when redirected to by another web page.
View 3 Replies
Nov 15, 2010
I would like to objectively measure the connection speed and quality beetween few hosts in one country and a server located in the other country.
Server has disabled pings.
View 9 Replies
Jan 16, 2011
I am new in ASP.net. I published my web project using the steps stated in below address
[URL]
Now i am able to browse my project using the below url
http://COMPUTER_NAME/PROJECT_NAME/Default.aspx
and
http://IP_ADDRESS/PROJECT_NAME/Default.aspx
but form other computers in the LAN i can't access it.
View 6 Replies
Dec 28, 2010
I am having a domain name and web space (the web is running, its ASP.net 3.5). I am working on a project in which I need to connect 2 computers over the internet.
Is it possible to do that with a simple ASP.Net website? What other things I do need to do this?
EDIT
Actually I want to send the data from one computer to another in real time, I mean as we do chatting we exchange text to one another. The same thing I want to achieve.
View 3 Replies
Mar 8, 2010
Trying to figure out how to programmatically access the web pages in the application. Just something simple like a list of them would be awesome. I know I can create a list but I was wondering if there was something that could 'look' at the pages and add a new one to the list if you make a new page for the application.
Example with 7 pages:
Error
Default
Login
Content
Users
ContactUs
Admin
I am half awake so I may be a little unclear. Maybe puting it all in a single question will be easier.
How do you autogenerate a list of all webpages in your current application?
View 1 Replies
Jul 2, 2010
I'm building a website that just allow each person in my office to access the page from their own PC placed at the office only. It looks like I need to identify a client from within the codes on the ASP.net web server. How can I do this?
View 2 Replies
Sep 27, 2010
on my vistual studio 2010 I can see my project by [URL]
but I can access my project on either localhost or Ip address without the port number , how can I access the web page without the port number?
View 9 Replies
Jul 21, 2010
I am wanting to build a asp.net page where the user is presented with drop down boxes.
The drop down boxes contain information from an access database.
The access database contains more than 5 tables.
For example, I am going to use a customer website database as an example:
Contained in the database is:
Server Name
Server Type (Shared web or Dedicated)
Customer name
Sites the customer has.
Funtionality:
Say user one wanted to view all records by the server name:
The user would select the relevent server name which is in a drop down box.
This will automatically filter the database results and in turn will display on the webpage all the customer sites associated with that 'server'
Next I want the user to be able to filter those results again, and say the user wanted to filter the sites by "server type", the user would then select the type in another drop down box and then the data will be refreshed to show the sites that are on that sever, and server type.
View 2 Replies