Not really! I take it you mean a Windows Event to load a URL? Can you assist further please?! Cheers!
Aaron Hudson
Posts
-
Nightly, weekly, monthly autoevents? -
Nightly, weekly, monthly autoevents?Is there anyway of creating autoevents, i.e. daily e-mail reminders etc? I have a dedicated server and I'd like to able to send out reminders, and other stuff on a nightly basis. Thanks
-
Global database declarationThanks for you reply, I'm not too keen on the concept from what I've looked into. I'm very old fashioned about databases and tend to use a classic ASP approach. Any suggestions on how I could use simply a globally declared application, or what the rules and capabilities are surrounding shared variables using "#include", because some pages share variables from one page to the next, but others don't. Cheers
-
Global database declarationIs there any way of being able to open a database at the begging on a page, and close it at the end, where "#include file=..." have been used? I'm currently having problem with declaration blocks etc? I've been told the global.asax however this hasn't worked
-
ASP .NET Random Unhandled ExceptionGuffa wrote:
The connection fails with the error message "Unspecified error". The most common reason for this is when you run out of available connections because you haven't closed the previous connections properly. The database driver only allows 64 simultaneous connections to the database. If you don't close the connections properly, they will remain open until the connection itself times out. When there are 64 connections already open, the database will not accept more connections. The typical behaviour for this problem is that the database stops accepting connections for a few minutes, then starts working again when one of the connections times out.
Thanks, can I ask, when you say 64 connections, do you mean as in 64 in one instant, i.e. inserting, selecting or updating? Because I am actually opening and closing them at each chance I can. I do, however open the database, then loop the data, open the database depending on which record is open, and sometimes even do that again, which obviously qualifies as 3 opening, however it should be doing that within a matter of seconds surely? Here's the code from that page:
<% If Request.QueryString("process") = "" And Request.QueryString("name") = "" Then %> [Main Menu](index.aspx) \ **Project Manager \** <% Dim dbConn_DiaryPortfolioList As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath(dbLocation) & ";") dbConn_DiaryPortfolioList.Open() Dim dbSQL_DiaryPortfolioList As String = "SELECT * FROM tblProcesses ORDER BY proOrder ASC" Dim dbAdapter_DiaryPortfolioList As New OleDbDataAdapter(dbSQL_DiaryPortfolioList, dbConn_DiaryPortfolioList) Dim dbDataSet_DiaryPortfolioList As New DataSet dbAdapter_DiaryPortfolioList.Fill(dbDataSet_DiaryPortfolioList) Dim dbDataTable_DiaryPortfolioList As DataTable = dbDataSet_DiaryPortfolioList.Tables(0) Dim dbRecCount_DiaryPortfolioList As Integer = dbDataTable_DiaryPortfolioList.Rows.Count For dbLoop = 0 To dbRecCount_DiaryPortfolioList - 1
-
Access to SQL ServerYeah I knew about the code change. The scenario is, I don't want to spend a couple of thousand on the full SQL, so what I've heard is that you can use SQL Express (has like a 2gb size limit I think) for now, while the project is small, and then when it brings in money, upgrade to the full. Now the issues are: 1. Does this work / Will I have any issues in changing from Express to the full version? 2. How do I convert Access to SQL Express? (if #1 is ok) Thanks :)
-
ASP .NET Random Unhandled ExceptionOk, I get this from Matrix (I use a Fasthosts dedicated server) Event code: 3005 Event message: An unhandled exception has occurred. Event time: 7/16/2007 7:19:29 PM Event time (UTC): 7/16/2007 6:19:29 PM Event ID: b910cc78da5f47c29371c31cf48216dc Event sequence: 21 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/3/ROOT-1-128290830698125000 Trust level: Full Application Virtual Path: / Application Path: D:\home\ Machine name: DSVR004315 Process information: Process ID: 1540 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: OleDbException Exception message: Unspecified error Request information: Request URL: http://www.enterprise-learning-gateway.co.uk/project.aspx Request path: /project.aspx User host address: 212.132.0.11 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 9 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.OleDb.OleDbConnection.Open() at ASP.project_aspx.__Render__control2(HtmlTextWriter __w, Control parameterContainer) in D:\home\project.aspx:line 70 at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at ASP.project_aspx.__Render__control1(HtmlTextWriter __w, Control parameterConta
-
Access to SQL ServerIs it as straight forward as that? Me = dumb :-O
-
ASP .NET Random Unhandled ExceptionIt seems to be when the Access database is opened. Is this most likey to be an Access, .NET or IIS issue? Cheers
-
Access to SQL ServerHi, I'm currently developing a large scale ASP .NET application, and so far I've developed it using Access, after research, I don't think Access is going to handle the amount of usage we expect it to get, therefore I'm looking to switch to SQL Server. Is there anyway I can do this seamlessly and quickly? Thanks, Aaron
-
ASP .NET Random Unhandled ExceptionHi, I'm currently pulling out my hair with what can only be described as completely random Unhandles Exception errors. They don't occur all of the time, but seem to when I need them not too, i.e. in front of colleges and not even custom errors catch them for some reason. They appear to occur when connecting to databases, and I cringe everytime I see my application attempt to connect to one. There is litterally no other information I can give because I simply don't get any. It can't be my code because sometimes it works and sometimes it doesn't. (I'm using MS Access). I've tried asking my host and they brush it off and say we can get our technicians to have a look, for £60 per half hour... this is Fasthosts who are a complete waste of time. Any ideas? Thanks
-
UK/GB DatesHow can I truely get a date in the UK/GB format of dd/mm/yyy? It's a dedicated server and everything is in GMT format as far as I can see, but nothing will change it to UK/GB format. Any suggestions? I'd prefer to change a setting on the server than having an ASP .NET function, as it saves messing around. Thanks, Aaron
-
Listbox looping driving me loopy!Hi, I've got a bit of niggling problem... - I've got two multi-select listboxes - I want to loop listbox1, and for every item in listbox1 that is selected (by the user), loop listbox2 and find which items are also selected So: Listbox1 --- Item1 Item2 Item3 Listbox 2 --- ItemA ItemB ItemC So my end result should be: Item1 ItemA ItemB ItemC Item2 ItemA ItemB ItemC Item3 ItemA ItemB ItemC However, I can't loop the listboxes. Any suggestions? Thanks
-
Office online editorHi, I'm currently creating an online share point-like portal for a school, and I need to be able to upload files i.e. Word, Excel etc (which is no problem), but then be able to edit and save them online, instead of downloading and reuploading. Is this possible and if so how? I don't mind having to pay for a plug in if necessary. Thanks, Aaron