Support Asp Debug In Vs 2005?
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 RepliesIs 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 RepliesThinking of using MS SQL 2005.
There are only two problems: My wallet(lol), and what licence I need.
There's so many different kinds of SQL 2005!
Can I make it with the standard edition? How many clients do I need? How
does the client-thing work on the internet?
Can an existing Website built using Classic ASP be maintained with VS.NET 2005? My employer has MS Visual Studios Interdev but I have never used that. I've been using VS.NET 2005 and would prefer to use that if I can.
View Replies View RelatedI 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.
Anyone know how this happen and how to solve it?
Where can one get documents on how to debug asp code?
View Replies View RelatedI have just created a very simple web page/site in VS 2005. I have saved it,
built it but when I try to display in a browser it takes about 20 seconds and
then comes up with "the page cannot be displayed" error. Being new to C# and
the .Net environment I"m not sure what to go look for. I was using VS 2003
without any issues.
I migrated my webapplication from VS 2003 to VS 2005. and i am running on win xp Professional sp2. After migrating. i am getting the following error ."The type initializer for 'System.Web.Compilation.CompilationLock' threw an exception." the error is shown in the following line
"<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs"
Inherits="Test"
%>"
i looked into the net but couldnt fix this.
My asp.net app uses some pure asp pages as part of the asp.net app. During debugging of pure asp I have set breakpoints in pure asp code but the problem is no breakpoint occurs on these points during execution. How can I successfully use breakpoints for pure asp in vs 2005?
View Replies View RelatedI need experts suggestion please help me out , am new in ASP and Sql Server 2005.
As I mentioned am using SQL server 2005 with ASP and now I don’t know how to create database in Sql server and after creating how to connect it.
Anyone who can send me a sample code of how to upload a file into SQL 2005
server using .asp running on IIS 6? I have a code that has been working when uploading into SQL 2000 but when I do the migration to SQL 2005, it doesn't work anymore.
My hosting service just updated their SQL Server from 2000 to 2005. I have been trying to update my code and keep getting this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "//"]'
Can someone please have a look at my connecting code and see what needs to be updated for the 2005 version. I would appreciate it as I have not been able to figure this out. Here is my ASP: Code:
I am trying to set up a classic ASP project in Visual Studio 2005, and
I am unsire of how to debug the global.asa file (I can debug a classic
ASP file, though.):
1) Set a breakpoint on any ASP code line and run the debugger
2) In Visual Studio 2005, Select Debug --> Attach to process...
3) Click the Select.. button in the Attach To section
4) Highlight the inetinfo.exe process from the list and click Attach
I can stop on a breakpoint in an asp file, but how can on stop on a
breakpoint in global.asa? If you have to start the application first
and then attach to the process, aren't I already past global.asa?
I have an ASP web app with an SQL back end. It's currently connecting to an
SQL Server 2000 database using an ODBC DSN. I am currently migrating to a new Windows 2003 Server machine and SQL Server 2005 Express.
As usual, the app doesn't connect right away, but I've gone through all the new Windows 2003 Server security issues and I'm able to get a normal ASP page to display.
I can also connect to the SQLEXPRESS when I use visual studio or MS Access on a remote machine, even using the same ODBC DSN, but for some reason, I get an error when trying to access it though ASP. Code:
I am using the following to try to connect to the database, but it does not seem to be working.
Dim sConnString
sConnString = "Provider=SQLNCLI.1;Integrated Security=SSPI;Persist Security
Info=False;Initial Catalog=MediaDB;Data Source=MEDIAMACHINESQLEXPRESS"
Connection.Open sConnString
Dim Recordset
Set Recordset=Server.CreateObject("ADODB.Recordset")
Can someone tell me the correct syntax? The original syntax (which worked) for an Access DB was as follows:
sConnString="PROVIDER=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" &
Server.MapPath("/Music/DB/MediaDB.mdb")
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.
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)?
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.
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 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?
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')
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
What's a good tool to use for debugging ASP pages which contain bunch of javascripts?
View Replies View RelatedI 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 have a problem with uploading file into SQL 2005 DB using IIS 6.0
webserver, this code was working in SQL 2000 Db and IIS 5.0. Can you please
help me to see what the problem is. Error msg :
Microsoft OLE DB Provider for ODBC Drivers error '80040e23'
[Microsoft][ODBC SQL Server Driver][SQL Server]The cursor does not include
the table being modified or the table is not updatable through the cursor.
/uploadnewrequest.asp, line 158
Code:
I am about to migrate my asp web pages from a previous well functioning connection with Access 2003 to SQL Server 2005 Express Edition instead.
I have created a database in SQL Server called "test_db". As far as I know I have not set any particular user id or password for the database.
In this microscopic database I have onnly a single table called "name" and in this table I have two columns called "fname" and "lname". I have two records stored in the name table. What I want to achieve is simply to display these two records in my asp-page.
How can I achieve this and what am I missing here?
How to get date time to display like 01/01/2005 16:14:10?
Here's something that I found works against an Oracle database.
However, I'm not getting the same results against a SQL 2000 database.
Can anyone point out the correction needed? With the following, the
time displays correctly, but no date at all.
<%d=formatdatetime(rs2("Begin_Time"), 2)
if mid(d,2,1)="/" then d="0" & d
if mid(d,5,1)="/" then d=left(d,3) & "0" & mid(d,4)
Response.Write (d) & " "
Response.Write formatdatetime(rs2("Begin_Time"), 4)
if second(rs2("Begin_Time")) < 10 then
Response.Write ":0" & second(rs2("Begin_Time"))
else
Response.Write ":" & second(rs2("Begin_Time"))
end if%>
I have had a web server up an running for a while based on Access 2003 and asp code. Now I have decided to upgrade the database to SQL Server 2005 (not the express edition). The problem is that I just can't get it to work properly.
During the installation I was prompted for an instance name (I chose the default radio button). I am using windows authentication on a Windows 2003 Server OS.
I have created a database called "testDB". This database has only 1 table called "testtable" and this table consists of a single column called "name" with just 4 records. I want to display these records in my webpage.
The code below works fine with Access 2003 but how should it be changed to work with SQL 2005 too? Code:
I'm seeing a VERY odd issue after moving my data from a SQL2000 DB to
a SQL2005 DB. About half the time, when I request a value (using
ors.fields("pagedata") for instance), I get nothing returned. I know
there's data in the field, and I'm on the correct RS object.
Sometimes, when I move the call to another portion of the page, I get
the data (while on the same RS object). I need to move to a new server
running 2005, and folks are starting to chomp at me.
We have classic ASP running (so I'm told) on IIS 6, and I found a vbc executable on the system that says visual basic 7 when I run vbc - help . If I have them install Visual Studio 2005, I am hoping it is backward compatible with our current ASP codebase ?
View Replies View Relatedcan anyone provide a page that can do simple sql by using sql server 2005? I need it.
View Replies View RelatedIIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
View Replies View Related