We have a development iis6.0 server. Multiple programmers are developing independent applications. Non are sitting on the machine they all develop on their own system. Regularly they try to debug and receive the following error.
Error while trying to run project: Unable to start debugging on the web server. A ebugger is already attached. Would you like to disable future attempts to debug ASP.NET pages for this project?Does this mean each developer must run IIS on their own computer?
I have 2 sessions that get created. One when the user logs in called "uname" and another called "idrma" when that user choses to begin a repair request.I know <%session.abandon% will kill both sessions, how to I only target one?
On the website I have 3 levels of access: prospect, established clients, admin. When they register under the established client level it sets them as ec when they log on. When the admins log in their sessions is admin. the problem I am having is that the client page is basically the full inventory of our products but I want the admins to be able to view it also. Can Set it up so that it could check one session or the other? like....
<% Option Explicit if session("ec") or session("admin")<>true then response.redirect("/login/login.asp") end if %>
We have an IIS+ASP based application server that is capable of providing complex reports to hundreds of users but in some circumstances these reports can take a long time to create. However the data for the report is cached so subsequent calls to view the same report come back with a sub-second response time.
In order to make use of this caching we pre-prepare some of the reports by getting back a list of potential users from the server and then executing reports on their behalf. When the real users log in the report is served from the cache.
I wrote the warm caching application using VB6 and it uses XMLHTTP requests to execute the reports. However because ASP serializes the requests to the server the application can only have a single session open with the server. To get round this I spawn multiple instances of the application, each instance then has its own ASP session and the server is loaded more efficiently.
The question is how can I create multiple ASP sessions from within a single VB application and have each session handle its own XMLHTTP requests? Its obviously possible as MACT, OpenSTA and LoadRunner all achieve it.
I need to debug a COM component written in VB 6. The .DLL is called from asp. All runs well under Windows 2000 (I remember, I had to ad a lot of rights to the user doing the debugging) I just run the dll (F5) in VB, the browser opens the .asp- page where the DLL is called and I see the request in the VB-Debugger. Very nice! It does not run under Windows 2003. Any Ideas? I tried to give the Application pool running the application admin rights. but it does not work. I can not find any errormessage in the event log.
I am using IIS 6.0, VB6 SP6, and Windows Server 2003. The COM are created using VB and being called by some of the ASP pages.
I was tryng to debug the COM in the VB COM project (which is already in debug mode), breakpoints are set at the specific functions. But, I found that the COM component does not jump into the COM project and thus does not stop at the breakpoints I set. FYI, the COM works fine.
We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method.
Does any one have any pointers as to how I might approach this, so that I can have the same sort of functionality the ASP sessions give without having to create database columns for each session variable I wish to create. I am thinking along the lines of some serialised dictionary or something that I can stick in a blob column.
I typically use a VB com component for handling business logic and data processing in my ASP projects.
In the past, if I wanted to get a forms contents into my VB layer I would simply pass it in the call and accept it in VB as a string which I could put into an xmldom object.
I am now experimenting with passing the entire form along as a form object (to be accessed as such in VB as a ASPTypeLibrary.Request type.
I have found two ways to do this. 1. pass the form as above using the listed request type in VB. This works great. 2. Dim up a ASPTypeLibrary.Request object in VB and assign it GetObjectContext.Item("Request").
Using GetObjectContext is much more difficult to implement if you want to have debugging ability in VB (there are numerous security considerations).
My question is (and thank you for reading this far), do any of you know what the best practices is for a production environment? Can anyone think of any reason why I shouldnt just use the easy method (pass the form and define its type in the argument list for the sub or function)?
I've found that, when debugging scripts on my computer, IE will give me an Error 500 message if something is wrong with the script, whereas IE on my co-worker's actually prints the line and points at the exact character that's amiss, and says what kind of error it is.
This is incredibly useful for someone who is learning like me, but we can't figure out how to make mine work that way (it's the same version on the same OS and everything).
I need to debug the code and get the value of variables in an asp 3.0 page where the javascript is being processed on the server side (i.e. within <% %. I can use Response.Write("window.alert(".etc")"); for text messages to tell me where i am in the code, but I cannot seem to figure out how to display values of the variables...
I just got the programming down for a new site i've been working on. I am curious if anyone out there wants to just browse through the site as a normal customer and tell me if they recieve any errors or problems.. Any suggestions, or critiquing remarks would be helpful. The more people the better! I greatly apprecaite everyone's time.
The url is: http://www.corsican.com/test/ The Login is: test the Password is: test
I have an asp pages which uses ActibeX dll and Exe written in in VB and VC++. I want to debug the components from asp page. When the asp page is run I should be able to get the breakpoint in my VB & VC++ dll and exe.
what could be the setting to do that. I can debug those componnets from another VB/VC++ applications but I want to debug from asp page.
I am running an ASP application from within VS .NET 2003. When I run, the files are put in readonly mode, even thought its only an ASP page. Is there a way to edit the ASP (not ASP.NET) page (not in the middle of debugging ofcourse) without quitting debug mode
I am having a problem which thus far only seems to be fixed when I refresh the page. The basic process is as folllows:
1. Select details from the DB and display on screen.
2. Click a link 'Generate Docs'.
3. This then goes to a page which first selects from the DB using information passed through the URL from the above link to identify the correct records. We then create a PDF file based on the data from the DB and display the link to the newly created PDF. The problem, is that at step 3 the PDF does not get generated on the first pass, only if you click the refresh button on the browser.
I have checked all the obvious items, ensuring variables are assigned correctly and called correctly, I have tried implementing a number of 'must revalidate' style tags in both ASP and HTML, I have checked through all of the queries to ensure they are being processed and the data is returned on the first pass and they are and nothing thus far has worked.
i try to debug a simple ASP.NET project on a windows server2003 and i receive a msg that saya's i dont have permissions and to check if i am in a debugger group.
I following the IIS (version 6.0) with the "Manage your server" from the administrative tools. i did the following:
1. make sure that the machine debug manager service running 2. the digest authentication is unCheck 3. add the IUSR_ to the debugger group in the AD (the computer is a domain controller) 4. i gave the user a full control over the wwwroot library
However, I'm running on Windows 2003 and at step 4c) I don't have an "Internet Service Manager" but rather "Internet Information Services (IIS) Manager". OK, fine, I assume the name changed. Code:
i have searched through a ton of past posts in an effort to find the answer to my problem but so far have come up with nothing. The problem I am experiencing is with VS6, visual interdev on windows 2000, with IIS.
When ever i attempt to debug my asp web app the debugger will step into the code and will start an Iexplore.exe process, but not actually make internet explorer visible.
Does anyone know any way round this I have spent loads of time trying to sort it already.
Before I was able to use Microsoft Devleopment Environment to debug my asp code. I did that by going to Microsoft Development Environment 6.0, go to Debug menu -> Processes, and will see inetinfo.exe and then I can attach it. But lately, (and I don't know if it's got anything to do with the fact that I have recently installed Norton Internet Security and Norton Anti Virus) when I opened the Processes window, the list is blank, and the Machine drop down is also empty.
If I hit Properties or Refresh, I'll get the "Development Environment has encountered a problem and needs to close. We are sorry for the inconvenience" error, and the app will close. If I hit the Machine button, even if I find the machine, it'll say "Unable to connect to the machine". Has anyone had similar problems before?
I have an existing classic asp web site running under IIS ( on localhost) I want to start using VS 2003 to edit/debug this project. How do I go about opening this this existing web site with VS 2003?
Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.
I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.
If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.
I have a search option on my website, which should perform a search on 4 fields, as follows:
tblNews headline content
tblDatabank filename description
It only needs to return matches which are an exact match of their search criteria. For instance, searching for "I am here" would return a record which contained "I am here", but not just "I" or "I am" etc.
I need to return all these records as part of one recordset preferably, as I want to be able to order them etc., though I imagine you may suggest I use an array somehow to merge two recordets etc., then reorder them?
i hav problem with updating the data. In the asp page i hav displayed records based on search criteria. in display mode im displaying the to be updated field in combo box for each similar contract_no. each contract_no will hav different no of rows and to be updated combo box.
based on the selected value in the combo boxes of different contract_nos i hav to update the combo value with old value. user select multiple combo values at a time I need anybody's help with detailed programming logic.