Connecting To Some User Browsing Web Page
Mar 8, 2010
I would like, as administrator, list all users currently browsing the web-page (some id or something would be enough) then, what I need is to connect to that user and see what he is browsing. I have a class in my web-application, lets call it Node, in wich I store data what user is browsing. So which page he has clicked, so the next time he visit the same page, page is not rendered from db but from that Node. Is that even possible?
View 3 Replies
Similar Messages:
Mar 5, 2010
I have an ASP.NET page :
==========================
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="brent.aspx.vb" Inherits="FisEqSim_brent" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="[URL]
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
================================================
I have not add any .NET code yet. However when I try to browse to this page, I get a 404 error. I can browse to .HTM files fine, but .ASP file seem to lock up.
View 8 Replies
Jan 9, 2010
I am unable to browse a simple asp.net page from a remote PC through the IP address of that computer. However IIS is responding on a local computer with http://localhost and even when I type the local computer's IP address where the page is present. Computer is running XP and IIS 5.1. The message displayed on browser is "The server is taking too long to respond" however the page is just "Hello World" which displays local time.
View 4 Replies
Apr 23, 2010
I have mysite online when I visit [URL] I get
[Code]....
How can I fix this?
View 5 Replies
Mar 29, 2011
I have win 7 with internet explorer 8. I have a Web application project in the VS2010, when I execute it using local port auto-asign port, the aspx page shows ok on the internet explorer. When I run the same project from the IIS (Browsing the aspx page from the iis), only the controls text is displays without the controls (colors and menus) - although the source view shows that the tags exists. Is it a problem with the IIS 7?
View 3 Replies
Mar 25, 2011
I sent a lot of time trying to trouble shoot IIS 6.0 yesterday on a pre-compiled website. I could never browse the default web page. I got the initial bar on the bottom right when I set up the site but then got a blank page. The I got frustrated with IIS and decided to try just copying all my web application files to the IIS server. When I did this the application worked! I have used pre-compiled sites before with no problem.
View 2 Replies
May 20, 2010
While working with LINQ to ENTITIES I see that there is only a way to use stored procedure that is returning one entity only, or a view that is a join of two entities.
But what if I need in ASPX page to get two tables that there is NO connection between them, no join can be done between them at all.
I have one Stored Procedure that return the two tables, but entities don't support this right now.
I can split them to two Stored Procedure and call each of them separately.
View 2 Replies
Jul 29, 2010
Im developing a website in asp.net where i want to connect the Payment gateway(rbs worldpay) as instructed im connecting to the payment gateway...the problem is, there im using some html button to connect the gate way as per the instructions the input button should be in form tag .in masterpage inherited aspx page we dont have any form tag the button is working properly when i placed that html code in content placeholder 1 but the button is displayed above the page......if i place that code in content place holder 2 the button is not working...........
im placing the code
[code]....
View 1 Replies
Apr 6, 2010
I would like to do a connection of asp.net page with Sql Server. Here I would like to read the Windows user account name and pass in the connection.The connection should be Windows authentication. IIS server and Sql server are installed in different machine. Here I am able to connect locally, When I am running from server, It takes windows account of Server.
so i can read local account(Where user is accessing the web application) and make windows authentication sql server connection.
View 3 Replies
Dec 9, 2010
My website is [URL] (access there to see error, please) When I was testing in VS2010, it was connecting to the DB because I set permissions READ/WRITE on my computer to ALL. If I put restrictions, VS2010 couldn't just connect to them. Well, I deployed my DB on the server of my website, and I'm not able to access it.
My connection string:
connection = New SqlConnection("Data Source=.SQLEXPRESS; Integrated Security=True;AttachDbFilename=|DataDirectory|Visitas.mdf")
I think I'm getting these errors because my server hasn't permission to access the database.
View 14 Replies
Jun 6, 2010
The problem i have would be im getting - 'System.Data.SqlClient.SqlException: Login failed for user 'discountb1'.' error message. my connection string in ASP was the following
"DRIVER={MySQL ODBC 3.51 Driver}; SERVER=CIServer12; DATABASE=BathroomBitsb1; UID=discountb1;PASSWORD=******; OPTION=3"
now just for my simple asp.net page i'm using the following
Code]....
i believe i have done everything right, but its obviously not the case.
View 2 Replies
Feb 4, 2011
We have a MOSS 2007 custom web part based on a user control that queries a database cluster. When the connection to the database is made, we regularly experience the error below and have had to create a work-around in the code to retry the connection. We have 3 environments - development, staging and production; the error only occurs in production. The difference in the production environment is it is a farm with 3 WFEs and a SQL cluster, where development and staging are single machine instances. All are MOSS 2007 & SQL Server 2008. We cannot find what is causing this issue and I'm hoping someone else has experienced a similar problem and knows the cause.
This is the error that occurs frequently when the query is executed:
System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.WriteSni()
at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush()
at System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteScalar()
at [Our Namespace.OurMethod](String someParam)
More than one method will generate this, but this is typical code, note the retry work-around:
public static DataTable OurMethod(string someParam) {
const string query = "sp_OurStoredProcedure";
var resultsTable = new DataTable();
var connection = new SqlConnection { ConnectionString = OurDatabaseConnection };
var command = new SqlCommand(query, connection) { CommandType = CommandType.StoredProcedure };
var dataAdapter = new SqlDataAdapter(command);
var retry = 5; SqlConnection.ClearPool(connection);
while (retry > 0) { try { command.Parameters.Clear();
command.Parameters.AddWithValue("@someParam", someParam);
connection.Open(); dataAdapter.Fill(resultsTable); retry = -1;
} catch (Exception ex) { retry--; if (retry <= 0) {
LogError("Exception: DataAccess:OurMethod: *RETRIES EXCEEDED* " + ex, "error");
} else { SqlConnection.ClearPool(connection);
LogError("Exception: DataAccess:OurMethod: ATTEMPTS REMAINING " + retry + ". " + ex, "warning");
} } finally { dataAdapter.Dispose(); command.Dispose(); connection.Dispose();
} } return resultsTable; }
View 5 Replies
Jul 8, 2010
I am using asp.net 2.0 with C#. I have deployed my application on IIS and while browsing it I am receiving below error:
Could not write to output file 'c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oot7179d944dd7c82aeApp_Web_adlogin.aspx.cdcab7d2.rqcxmj0e.dll'
View 2 Replies
Jun 16, 2010
Is there a way to stop someone from looking into the App_Themes folder, by putting it into the url, like this:
http://localhost/myapp/app_themes/
same with app_data, can those be blocked, i didn't try app_data as i don't have anything in there, but just curious, as app_themes I was able to get into. Is this an IIS setting I need to adjust?
View 6 Replies
Dec 30, 2010
there any way where i can make a page only accessible through a RedirectToAction? It's a bit dumb of a question given a redirect writes a URL.. I know it might sound a bit silly, but i really don't like the fact i have to be 'forced' to create a partial view to be able to make the page i want to redirect to. What i want to do is quite simply, after deleting a user account, redirecting to a page where it says, account deleted (with a bunch of other stuff), so its quite a simple task. I have no problem making a partial view here and there, but if i want to make many pages unaccessible, i think i would have to make most of the website in partial views haha. Maybe i'm getting it wrong though, i've read a couple of posts about it, including Phil Haack's ->http://haacked.com/archive/2009/11/18/aspnetmvc2-render-action.aspx But i'm still very confused about this subject,
View 5 Replies
Dec 2, 2010
In my present project I have to open one site through my asp.net application and this site I have to control. And after that if we close the site the application master page should display. How I can accomplish the requirement .Any ideas will be very useful for me to start thinking on those lines.
View 3 Replies
Jul 26, 2010
I had deployed an asp.net 2.0 web site in IIS 7 in windows 7( with .net 4.0 installed ).
But while I am going to browse my starting page Welcome.aspx it shows error:
HTTP Error 404.0 - Not Found. The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Is there any problem with deployment of the application?
View 3 Replies
Jan 5, 2011
I have a master page and inside : a music player.
<object type="application/x-shockwave-flash" data="[URL]"
width="200" height="20">
<param name="movie" value="[URL]" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="mp3=Preloader.mp3&loop=1&autoplay=1&autoload=1" />
</object>
It works and I can hear sound, but if I go to a different page, it stop (pause and return to start, I can still see it through and press play since its in my master page) How do I make it play while I'm browsing through pages? Note : The player contains a pause function and doesn't auto play so users wont be annoyed.
View 5 Replies
Jul 4, 2010
we can download other site css like right clikc their websites and we can see the css src / js src, then if we providee that filename in the address bar then it'll download, how to avoid this?
View 2 Replies
Dec 9, 2010
How to delete page history which you can see from the dropdown beside the browser back and forward button? I want to clear all the history on logout that is only specific to my website.
View 7 Replies
Aug 21, 2010
OK ... I want to make album ... I try to make it using buttons( next & pre ) using imageButton control and variable (i)
So ... each next (++i) & pre ( --i) to show allimages in directory ("photo")
Here my code in C# ::
[Code]....
Now ... It's working ... but the problem that I used server control (ImageButton) so all clients can affect in value of (i)
so (i) will be change in server ... what is the solution ?
I try to use the html control but i found it (difficult) ..
View 9 Replies
Jun 16, 2010
I've developed a file browser that will browser a different server shared folder. In order to get this working I'm using the unc path (\ServerSharedFolder) to return the files/folders. I've also added the following to my webconfig to get around the security <identity impersonate="true" userName="domainadmin"
password="password" />
It's simply a file browser, no create or delete functions will occur. The solution works and what I want to know is that this the safest way to do this? or the best way? I did try to use a virtual directory instead of unc path but asp.net would support this.
View 1 Replies
Dec 16, 2010
I had a powerbuilder application which i converted to web application in the format of ASP.Net (aspx) files.after deploying and publishing the converted web application (copy it and add ASP.Net and network Service AND IUser permissions to enable users to access it) in IIS V6.0 over Windows server 2003 and The ASP.Net version is 2.0
View 1 Replies
Oct 26, 2010
[URL]
"Due to the organizational restructuring of the team that developed and supported the Mobile Device Browser file, we will no longer have the resources to support and update this CodePlex project. The team will be providing two more releases - one on the 27th July 2010 and the final release on the 24th August 2010. who used our product over the past year and a half. We would also like to thank everyone who contributed to the discussions and raised issues on our data."
Does this project live on someplace else or is there an equivelent project?
View 1 Replies
Jan 28, 2011
I have a website in IIS 6.0 using an application pool with a custom service account. when I browse the website, I get an error "service unavailable" and the error in event log says "The identity of application pool 'SampleAppPool' is invalid, so the World Wide Web Publishing Service can not create a worker process to serve the application pool. Therefore, the application pool has been disabled". I think the utility "Aspnet_regiis" can be used to grant access to an account to IIS metabase according to the article [URL but is that the right way to fix this issue? because this utility is used for multiple things and may do more than just granting the permissions to the account, or should I just add the account manually to "IIS_WPG" group?
View 2 Replies