Multiple Debug Sessions
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?
View Replies
ADVERTISEMENT
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?
View Replies
View Related
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
%>
View Replies
View Related
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.
View Replies
View Related
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.
View Replies
View Related
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.
Anyone know how this happen and how to solve it?
View Replies
View Related
Where can one get documents on how to debug asp code?
View Replies
View Related
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.
View Replies
View Related
I want to know what's the best way to debug ASP pages? Now, I just put the
following code when I got run-time error, but sounds like not efficient.
View Replies
View Related
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)?
View Replies
View Related
How to do debug in visual studio a connection that comes in from a url
referral?
I cannot get visual studio to "boot" on the referral. IIS just runs the ASP
directly.
View Replies
View Related
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).
View Replies
View Related
I built an MTA which is used from an ASA and ASP pages. The MTA was
developed in VC++ 6.0.How would I go about debugging into the C++ code?
View Replies
View Related
when i try to debug/run the SQL statement in TOAD, it come out with the error "insufficient privileges". below is my sql statement :
INSERT INTO INST_REC(IID,SN,AN,BID,MANF,MDL,INST,AREA,SYS,STN, SID,ST,CF,OPT,PO_NO,UC,SPL,BV,RQS,RMK)
VALUES ('huiy','uiu','ui','uy','uiy','iyiu','yi','yi','yi ','y','y','A','i','i','utytu','4646','rty','797',' tyf','hfgh')
View Replies
View Related
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...
View Replies
View Related
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
View Replies
View Related
What's a good tool to use for debugging ASP pages which contain bunch of javascripts?
View Replies
View Related
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.
View Replies
View Related
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
View Replies
View Related
Is it possible to change the web.config or machine.config file to allow access to an .asp page? I'm new to .Net 2.0.
View Replies
View Related
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
View Replies
View Related
Anyone have any insights on how to debug a memory leak with a classic asp application?
View Replies
View Related
what is the best IDE/tool to code and debug asp and asp.net scrips?
View Replies
View Related
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.
View Replies
View Related
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
i really dont know what else to check.
View Replies
View Related
I'm trying to figure out how to debug a very simple COM object I developed
in VB. I'm very new to VB and ASP so I have a lot to learn.
That said, I found what I thought was perfect article which covers this:
http://support.microsoft.com/defaul...;en-us;299633#2
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:
View Replies
View Related
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.
View Replies
View Related
using Access, i'm trying to input form info into a database.
below is the part of the code that's giving me problems:
' Creating Connection Object and opening the database
Set con = Server.CreateObject("ADODB.Connection")
con.Open data_source
con.Execute sql_insert
i get this error whenever i submit the form:
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related
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?
View Replies
View Related
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.
View Replies
View Related