IIS Not Release DLL

I use vb create a DLL compoment(SessionManger.dll) which is used in ASP page.

in ASP page(test.asp) code:
<%@ Language=VBScript %>
<%response.buffer = true%>
<%
dim Session
set Session = server.CreateObject("SessionMgr.Session2")
Session("UserName")="gc"
......

Set Session=Nothing
%>

In IE, when launch test.asp ,and after a while close it, I founld SessionManger.dll file is still being in the memory, and have to restart IIS.

View Replies


ADVERTISEMENT

Release Memory

am just wondering is there a easier way to release all the memory after the program is done?or do I need to set all my variable = nothing one by one at the end of my code?

View Replies View Related

Time Release Code

How can I made time released ASP code? I want to make section of code viewable after a certain date. Something to this effect, but this does not work right:

if now() >= "6/24/2005" then
Response.Write ( "here is my new html" )
else
Response.Write ( "for now just show the current information" )
end if

View Replies View Related

How To Release The Readonly In Access MDB

i am facing the following error when i am going to access the msaccess97 database through ASP in XP.

The Microsoft Jet database engine cannot open the file 'c:exams.mdb'. It is already opened exclusively by another user, or you need permission to view its data.

but there is no readonly attribute is unset in the database file. what can i do?

View Replies View Related

Page Cannot Be Displayed In Release Mode

I am pretty new to asp.net, and have recently taken over a project. I have
gotten to the point where I am about to release my changes, but for some
reason when i build the project in release mode and launch in in IE I always
get a "The Page cannot be displayed" page instead of my login form.

Anyone have any ideas? The applciation works fine in debug mode, its just in
release mode that this happens.

View Replies View Related

Memory Leak Only When Compiled In Release Mode

We have an webservice application that has a memory leak when the application
is compiled release mode. However, when the application is compiled in debug
mode it does not exhibit a memory leak.

We are running .net 1.1 compiled with VS 2003.

The application does reference an unmanaged dll that provides security
functionality. This dll is instantiated once and referenced on every web
service call.

View Replies View Related

Setting Up MSDE 2000 Release A On Windows XP Professional

I recently downloaded and installed (hopefully correctly) MSDE 2000 Release
A. I previously, and still do, have the version of IIS that comes with XP
Professional installed on my computer. I wanted MSDE 2000 Release A so that
I could do database access using ASP from my websites, which are on my
computer. When I went to my first test website, I recieved the following
error:

Error Type:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver]Neither DSN nor SERVER keyword supplied
/testDB.asp, line 26

The ASP code that I used on my web to connect to the database (which is
currently just an empty text file) is the following: Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved