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.
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?
Does anyone have any suggestions what software would be best used for an ASP development environment with several programmers working on the same project? It would have to have source control and version control etc.
I am about to dive in to the world of ASP. I have done HTML sites before using Dreamweaver MX.My question is: What is the best development application for me to use to create ASP web apps/sites?should I go with ASP or ASP.net?
A week or so ago, I needed to find the HTTP_REFERER environment variable to check and see if a user is coming from a certain website:
If Request.ServerVariables("HTTP_REFERER")_ = "http://localhost/mydir/page1.aspx" then response.write "Click on a menu choice" else response.write "check back later end if
I have a page nested in an IFRAME (for example framepage1.aspx or ..asp), and I need to check to see if a user is coming to (not coming from ) a certain page where the framepage1.aspx is (the framepage1.aspx could appear in not only page1.aspx, but page2.aspx ,or page3). I'm not sure how to accomplish this given that the HTTP_REFERER checks on address only incoming.
can't seem to find how accesss the standard cgi environment variables in vbscipt/asp, remote_addr, server_port, etc they are accessible right? or a similar vbs set?
What is the best way to allow a second developer access to existing html and asp files in the office from a development point of view. At the moment, I have been developing locally and then uploading my files to my web host but I now need to create a usuable office environment which allows a second developer to work my folder structures and files.
We do not have a big budget.
I am thinking of asking the company to buy a second hard drive loaded with Office XP professional and use this to server files locally in a staging environment before pushing the files to the remote web host.
how to set up ASP development environment in windows XP (or i have to have windows 2000/2003)? Any good tutorial out there? By the way, I already have Visual Studio .net installed in my computer.
I am a PHP developer and want to learn ASP for my new project. How long u think it will take for me to catch up?
My goal is to retrieve my local machine's %USERNAME% environment variable from ASP page.
When I enter http://RemoteServerName/testusername.asp?id=%USERNAME% directly into the IE Browser URL box, %USERNAME% is repalced with the local machine ID. However <a href="http://RemoteServerName/testusername.asp?id=%USERNAME%"> get mahcine id</a> in an html file and use Request.Querystring("id") to retrieve it in testusername.asp page, it returns "%USERNAME%". I guess IE browser is smart enough to replace %USERNAME% with the local environment variable value before sending URL string to the web server when you type directly into the Browser URL box.My question is , is there any way to retrieve local machine's environment variable, %USERNAME% from ASP page?
I have a variable in an INI file (fileLocation) which will point to the location where i can store some temporay files.
This fileLocation variable has a value "%USERPROFILE%Local SettingsTemp" >Now, how do i get the actual expansion of this variable (for ex:i.e : C:Documents and Settings<username>Local SettingsTemp).
Users in our load-balanced environment get to our home page via web.vzcorp.com where a persistent cookie gets set. bedineta is 1 of the machines in this setup. You can unofficially get to our home page that way too. Question I have is if the user comes in thru bedineta how can I get their machine to recognize the cookie I set when they came thru web.vzcorp.com? They come thru the same block of asp. I've played around with the cookies.Domain and Cookies.Path setting with no luck.
The goal is to retreive the network login in order to validate users. Right now when I try to get Request.ServerVariables("LOGON_USER"), it returns a null value. Currenly in IIS, anonlymous access is checked. Is there any way for me to get the LOGON USER?
I have a problem with dialog boxes. When in Windows XP, the dialog boxes are too small, but when in other environments it is ok. What should I do to accomodate all environments?
I am trying to find out how to access %APPDATA% environment variable on the client side of an ASP Intranet application. I need this so that I can perform some cleanup function. So far everything I read points to using Environment.GetEnvironmentVariables("APPDATA"); I can't seem to get this to work. Error message says Environment not defined.
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.
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 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
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?