Configuration :: Customize Logging - Extended Properties For A Particular Website?
Jan 19, 2011
I have enabled Logging in my Default website properties. There are around 10 virtual directories (websites) under my default website. For a particular website I need to enable "URI Query" option in Extended Logging Options. I want IIS to log this only for one particular virtual dir and not for the others.
Is there a way that I can exclusively decide logging options for one virtual dir ?
View 2 Replies
Similar Messages:
Nov 23, 2010
I have usercontrol called as 'DateControl1' in which i have textbox and a calenderextender(ajax).I have written a property for my usercontrol as follows: public string DateFormat
{
get { return dateformat; }
set { dateformat = value; }
}
when i assign the format in my cs file as DateControl1.DateFormat = "dd-mm-yyyy", then this dateformat must be assigned to the built-in property of Calenderextender.Can anyone please tell how to do this in c# asp.net?
View 1 Replies
Mar 12, 2011
I need to print some pictures in asp.net page and I need to print every picture in a separate page. How can I do this using ASP.net C#?
When I use window.print() it prints the whole page, but I need just the images and also every image in a separate page!
View 1 Replies
Aug 15, 2010
I have a collapsible panel on my page that has been working up until yesterday. I have no idea what changed, however, it is no giving me the following error.
Microsoft Jscript runtime error: 'Sys.Extended.UI' is null or not an object.
Below is the code for the Collapsible Panel, however, I don't think it has anything to do with it since it has always been working.
<asp:CollapsiblePanelExtender
ID="cpeStandardInformation"
runat="Server"
TargetControlID="pnlCreate"
ExpandControlID="imgStandardInformation"
CollapseControlID="imgStandardInformation"
Collapsed="False"
ExpandedImage="~/images/Minus-Green-Button.png"
CollapsedImage="~/images/Add-Green-Button.png"
SuppressPostBack="true"
ImageControlID="imgStandardInformation"
/>
View 3 Replies
Jul 6, 2010
I'm debugging some unexpected behavior and while tracing in to the .NET framework I see a bunch of stuff like this:
if (Logging.On) {
Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_n_certs_after_filtering, filteredCerts.Count));
...
}
But (as expected by default) the execution steps right over these. Is there some way to turn on the logging? Or is that just something that the framework developers can do while making special builds of the framework?
View 1 Replies
Jan 12, 2011
I was adding login and logout functionality to my ASP.NET website. While I am able to make the user log in by checking the username and password but on some pages should be available only if he is logged in. I am doing this by storing the user's value in a session
Secondly, I am using a Link button which changes to Logged in as example. So, how does the user log out?
View 3 Replies
Mar 9, 2011
I've been working on my personal website as of late, and even thought it's not a big problem because I'm the only one that sees it, it's annoying nonetheless.
Whenever I go to my login page, it all works fine. If I enter a bad username/password, it will just print a simple text message error(intended). But, if I login correctly, then instead of redirecting to the root of my website as I intend, it will instead create a new tab in firefox and from there it will be in / (which is correct). The problem is why does it create a new tab? I didn't even think forms were capable of such a thing:
My full login page is at [URL] The gist of it is:
<form method="post" target="/login">
Username: <input type="text" name="username" /> <br />
Password: <input type="password" name="password" /> <br />
<input type="submit" name="Submit" />
</form>
And my server side code is also very simple:
if(RouteID=="login"){
if(AuthenticationModule.Login(Form["username"],Form["password"],false)){
//logged in correctly
Response.Redirect("/"); //just go to the root of my site
}else{
Write("You fail at life");
}
}
View 1 Replies
Jul 28, 2010
How does one log in to a website programmatically?I just want to check that the provided username and password of a website is correct or not.
View 1 Replies
Oct 24, 2010
We are bulding an intranet for our company. Just to do things like log support calls, keep details of customers servers, computers etc.
What i want to do is have a table that will record changes for each page. If we have the servers table, if somebody updates the ipaddress i would like it to log the previous value, the date and time, the user that did it, the new value and what table and field they changed. Is this kind of thing possible? i would imagine i would need some code that would execute on the insert command that would programatically insert the details into the changes table.
View 1 Replies
Mar 2, 2011
I have a E-Shop Site and I need some customization for my users like following :
Store favorite products in their own basket.Customize products list in order to what are their favorite. It must remember their basket next time they want to visit our site.
my question is how I can store information for my customers who are new to my web site also most of customers don't like to have username and password then login first they like to buy during a week and at the end of week pay for them then we can send some products to their locations.
I have already written my application using asp.net with framework 4.0.
View 3 Replies
Jul 8, 2010
I've got two sites that use the assembly, all of a sudden neither one works and I get this error, although on my localhost it al still works fine. Is this an error on my side or could it be on the server.Server Error in '/' Application.Parser Error Description:An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load file or assembly 'WebChart' or one of its dependencies. The system cannot find the file specified.Source Error:
[Code]....
View 1 Replies
Mar 18, 2011
I recently inherited an asp.net website made up of multiple .aspx and .ascx pages and being rather new to web development and especailly asp.net. I have the site create a cookie upon login to automatically log users back in if the page times out on them while they're entering information.
I need the site to automatically log users out when the site is closed. Obviously using the me.close event on each page won't work because we don't want it to log people out every time they navigate to a new page in the site.
I've tried setting the timeouts in both IIS and in the files of the website to longer but it doesn't seem to have an effect.
Is there an easy way to automatically log users out when they leave the site but not when they navigate from page to page.
View 1 Replies
Jan 25, 2010
on my website i am running it locally.
When sometimes i try to login or add items to my cart it says connection interrupted but other times its quick.
I am using IIS 7
e.g. i click add cart and it just keeps loading and states
Connection Interrupted
The document contains no data. The network link was interrupted while negotiating a connection.
View 1 Replies
Jan 30, 2012
Shopping cart... why most of the online shopping website can add item to cart even without logging in? how did they do that in asp.net?
View 5 Replies
Jan 23, 2011
I have a script that send a daily email to a list of recipients from a database. I am having a couple of emails failing to send and the try/catch/ex.message & ex.stacktrace doesn't give me enough information to show what the actual problem is. I have tried to do some smtp session logging but that seems to not be doable since I am running under Medium trust. Is their either another way to get this code to work on medium trust or another way to get detailed SMTP log info.
This is what I tried to use in my web.config
[Code]....
View 2 Replies
Sep 10, 2010
I'm using MS Enterprise Logging Application Block in an ASP.NET website.
For production launch, I will set up a log listener in one of these locations:
Sql Server database
Windows event log
Text files
Which has the least impact on performance?
NB - I can't switch to Log4Net or ELMAH at this point, so don't suggest that in your response.
View 3 Replies
Sep 20, 2010
We use windows authentication. User opens our website in tab1 and does some action but with out clicking on save he opens a new tab tab2 and opens the same website again. Now, if the user session in tab1 is active i need to warn users that the he is already logged on to application in some other browser and go to some log out page. But if the user session in tab1 is timed out then he must be able to continue with the website in tab2 as usual, but if he tries to do anything in tab1 he should go to session expired page.
I tried implementing it in following way.
I have a hidden field in each page which will be set to unique Id using GUID.NewID().
when user requests for a page the following code is executed.
[Code]....
View 1 Replies
Jun 3, 2010
I spent a day trying to make Ent Lib Logging work and log anything into database or event log. I have a web application and console application with the same Ent Lib config but only the console application is capable to log into the Event Log. I tried everything with permissions but I don't know what exactly I am doing — which services should have what. It does not work!
I read articles like this[URL] and I want to try to give the ASPNET account those permissions. I am using Windows 7 and I cannot find ASPNET user account. So where is it?
This is the config file which is automatically generated from Ent Lib utility and it works only on App.config, not on web.config:
[code]....
View 4 Replies
Jan 12, 2011
I think my subject line explains my problem in a nutshell.. I have a login page, I login like I should and everything works.I logout and when I type/paste the address to the page, in the address field, I still reach it just like if I was still logged in..The page I type in the address field is in a subfolder, only suppose to be able to be reached by logged in users and in this folder,ith it's own web.config-file:
<?xml version="1.0"?>
<configuration>
<system.web>
[code]...
View 9 Replies
Jul 7, 2010
I've added sone profile properties.
[Code]....
I get a error that raid does not exist. I've tried both ways t and
[Code]....
View 5 Replies
Oct 1, 2010
In the properties for the web development project I have to specify a name for the dll and this dll gets put into the build target of the deployment propject.
Why is this?
View 1 Replies
Mar 25, 2010
I am trying to make an asp.net website using Visual web dev and C# that accesses data in an SQL database. For my site, I need to be able to save and access additional user properties such as age and gender. I have been playing around with the built in .NET Login tools but I don't understand how to keep track of the additional properties (age, gender...) I could store all the users information in my own database but how do I correlate the users data in my DB to the usernames in the member database that is automatically created?
View 2 Replies
Mar 29, 2010
I have one application in that there are two server 1. Web/Application Server 2. Database Server. i installed only reporting services component on web server and connect report server database from second server i.e DB Server. but When i clicked on report services URL it gives error: The report server installation is not initialized. (rsReportServerNotActivated) what extra needs to configure report server?? what are the steps to configure report server ?? i checked in log files it shows as :
appdomainmanager!DefaultDomain!fcc!03/29/2010-14:15:15:: i INFO: Appdomain:11 ReportManager_MSSQLSERVER_0-3-129143259005241268 started.
appdomainmanager!ReportManager_0-3!fcc!03/29/2010-14:15:16:: i INFO: RS authentication mode is 4; effective ASP.NET authentication mode is Windows. vdir=/Reports.
appdomainmanager!DefaultDomain!fcc!03/29/2010-14:15:16:: i INFO: Appdomain:11 ReportManager_MSSQLSERVER_0-3-129143259005241268 initialized (#2).
appdomainmanager!DefaultDomain!1e0!03/29/2010-14:15:23:: i INFO: Appdomain:12 ReportServer_MSSQLSERVER_0-4-129143259230591718 started.
appdomainmanager!ReportServer_0-4!1e0!03/29/2010-14:15:24:: i INFO: RS authentication mode is 4; effective ASP.NET authentication mode is Windows. vdir=/ReportServer.
httpruntime!ReportServer_0-4!1e0!03/29/2010-14:15:24:: i INFO: Report Builder manifest file C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesReportServerReportBuilderReportBuilder_2_0_0_0MSReportBuilder.exe.manifest not found.
appdomainmanager!DefaultDomain!1e0!03/29/2010-14:15:24:: i INFO: Appdomain:12 ReportServer_MSSQLSERVER_0-4-129143259230591718 initialized (#2).
webserver!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Reporting Web Server started
resourceutilities!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Reporting Services starting SKU: Standard
resourceutilities!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Evaluation copy: 0 days left
resourceutilities!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Running on 2 physical processors, 2 logical processors
runningjobs!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
runningjobs!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
runningjobs!ReportServer_0-4!1e0!03/29/2010-14:15:54:: i INFO: Memory stats update timer enabled: Next Event: 60 seconds. Cycle: 60 seconds
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: Call to GetPermissionsAction(/).
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Catalog SQL Server Edition = Standard
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:56:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:56:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
ui!ReportManager_0-3!fcc!03/29/2010-14:15:57:: e ERROR: System.Web.Services.Protocols.SoapException: The report server installation is not initialized. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server
installation is not initialized.
at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetPermissions(String Item, String[]& Permissions)
at Microsoft.ReportingServices.WebServer.ReportingService2005.GetPermissions(String Item, String[]& Permissions)
ui!ReportManager_0-3!fcc!03/29/2010-14:15:57:: e ERROR: HTTP status code --> 200
-------Details--------
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: The report server installation is not initialized. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation
is not initialized.
at Microsoft.ReportingServices.WebServer.ReportingService2005Impl.GetPermissions(String Item, String[]& Permissions)
at Microsoft.ReportingServices.WebServer.ReportingService2005.GetPermissions(String Item, String[]& Permissions)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.SqlServer.ReportingServices2005.ReportingService2005.GetPermissions(String Item)
at Microsoft.SqlServer.ReportingServices2005.RSConnection.GetPermissions(String Item)
at Microsoft.ReportingServices.UI.Permissions.GetPermissions()
at Microsoft.ReportingServices.UI.Permissions.CurrentUser(String itemPath)
at Microsoft.ReportingServices.UI.ReportingPage.get_RSUser()
at Microsoft.ReportingServices.UI.FolderPage.Page_Init(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.Page.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
library!ReportServer_0-4!1e0!03/29/2010-14:15:57:: Call to GetSystemPropertiesAction().
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:57:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Initializing crypto as user: NT AUTHORITYNETWORK SERVICE
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: Exporting public key
crypto!ReportServer_0-4!1e0!03/29/2010-14:15:57:: i INFO: NT Service not activated
library!ReportServer_0-4!1e0!03/29/2010-14:15:57:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized., ;
Info: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerNotActivatedException: The report server installation is not initialized.
ui!ReportManager_0-3!fcc!03/29/2010-14:15:57:: e ERROR: Exception in ShowErrorPage: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg) at at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)
View 1 Replies
Feb 22, 2011
I've written a singleton class that exposes the web.config properties in a nice get property kind of way.
I want a Load method to parse the data in the config and set the public properties, and I want to throw exceptions (so they are logged in the EventLog) when a configuration key is missing or can't be parsed.
I tried placing the Load() code in Application_Start of the global.asax but then remembered this will only be run once, or until the application restarts.
Where is the best place to put code that you need to run 'everytime' your site is started/run by the user? I basically want the website to stop functioning if certain config properties cannot be loaded.
View 1 Replies
Nov 6, 2010
My host moved my website to a new server. The DNS configuration is correct but the website is still down and I'm getting this message
"unable to open website at www.aboutmecfs.org. Internal Server error"
View 9 Replies