Page 2 of 2 <12
Topic Options
#109544 - 2003-12-04 08:23 PM Re: Does Anyone Have A Good Working Asset Management S
Jose Offline
Seasoned Scripter
*****

Registered: 2001-04-04
Posts: 693
Loc: Buenos Aires - Argentina
Why cold fusion and not asp FE? I have tried with dreamweaver and asp and seems easy to configure.


Havent realized.......I passed 300 posts!!!! iiiuuuujjjuuu!!!!
_________________________
Life is fine.

Top
#109545 - 2003-12-04 09:17 PM Re: Does Anyone Have A Good Working Asset Management S
DJ Ballistic Offline
Starting to like KiXtart

Registered: 2003-02-21
Posts: 185
My organization uses Cold Fusion because it is more secure, faster, and more stable than ASP. But I have the search page done and everything so I guess I am good now. Hopefully!?!?!??!?!
Top
#109546 - 2003-12-04 09:22 PM Re: Does Anyone Have A Good Working Asset Management S
DJ Ballistic Offline
Starting to like KiXtart

Registered: 2003-02-21
Posts: 185
OK no 1 last thing I noticed and I cannot find it in the code where it does it. When data gets submitted from the kixscript to the dbase. In the tbl_computers it enters my PC information on the first row and then automatically enters a blank row underneath. The tbl_Users doesn't do that and I cannot find where it is. The person that wrote the script would probably best be able to help.
Top
#109547 - 2003-12-05 07:23 PM SQL Server Script
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
DJ,

Here is the SQL Server Script:
Code:

CREATE TABLE [dbo].[tbl_Computers] (
[PCID] [int] NOT NULL ,
[Workstation] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[NTDomain] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[SystemManufacturer] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[SystemModel] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[SerialNo] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[OS] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[ServicePack] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[PhysicalMemory] [int] NULL ,
[ProcessorSpeed] [int] NULL ,
[PagefileSpace] [float] NULL ,
[DiskController] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[VidMode] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[VidCard] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Modem] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[LoggedOnUser] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[LastUpdate] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[tbl_Disks] (
[compID] [int] NOT NULL ,
[DriveName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[FreeSpace] [float] NULL ,
[TotalSpace] [float] NULL ,
[Format] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[tbl_MappedDrives] (
[UserID] [int] NOT NULL ,
[Letter] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Path] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[tbl_NetworkAdapters] (
[compID] [int] NOT NULL ,
[DeviceID] [int] NULL ,
[NetCard] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[IPAddress] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[MACAddress] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[DHCP] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

CREATE TABLE [dbo].[tbl_PrinterConnections] (
[compID] [int] NOT NULL ,
[PrinterID] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[DriverName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[PortName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Description] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[tbl_Printers] (
[ID] [int] NOT NULL ,
[PRINTER NAME] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[DESCRIPTION] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[SERIAL NUMBER] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[IP ADDRESS] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[PORT] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[TAG NO] [int] NULL ,
[STATUS] [nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[tbl_Shares] (
[compID] [int] NOT NULL ,
[ShareName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[SharePath] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Description] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[ShareType] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Hyperlink] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

CREATE TABLE [dbo].[tbl_Users] (
[UserID] [int] IDENTITY (1, 1) NOT NULL ,
[UserName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[FullName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Workstation] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[IsLocalAdmin] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[PrivilegeLevel] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[HomeDrive] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[LastUpdate] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[Description] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO



Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#109548 - 2003-12-05 08:31 PM Re: SQL Server Script
DJ Ballistic Offline
Starting to like KiXtart

Registered: 2003-02-21
Posts: 185
Great - thanks! But I ran it created the tables successfully. I ran the kixscript again and the only table that is receiving data now is tbl_Users. None of the other tables receive anything. All blank. This shouldn't be that difficult. The script creates all of those tables accordingly. The kixscript isn't erroring out. So what could it be?
Top
#109549 - 2003-12-05 08:54 PM Re: SQL Server Script
DJ Ballistic Offline
Starting to like KiXtart

Registered: 2003-02-21
Posts: 185
OK to continue hashing this out. I uncommented some more and it fails at this point. When trying to open and insert a new record into the tbl_Disks. It is saying it's in use but it isn't.

Open disks recordset -2147352567: COM exception error "Open" (ADODB.Recordset -
Operation is not allowed when the object is open.) [-2147352567/80020009]

Top
#109550 - 2003-12-08 02:39 PM Re: SQL Server Script
DJ Ballistic Offline
Starting to like KiXtart

Registered: 2003-02-21
Posts: 185
I am almost finished. Almost accomplished my goal. I used the SQL query to create the tables but I am still having that problem occur in the tbl_Computers table. I run the kixscript once on my workstation and it add my info successfully to the tbl_Computers table but it also automatically add a line underneath with all NULL values. The tbl_Users doesn't do that. It just adds my correct info. This is a problem with the NULL line because in creating a search form in Cold Fusion it is causing a problem in searching the table because there are 2 values in the Computers table and 1 entry in the Users table. I have spent all weekend trying to find out why it would be adding that NULL value line. Can someone who wrote the code help me figure out why it is doing this? Also I have posted other errors I am getting why data isn't being captured at all in some of the other tables. In my last post you'll find the error. Could someone also help me figure out what that means? Thanks!
Top
#109551 - 2003-12-09 10:05 AM Re: SQL Server Script
masken Offline
MM club member
*****

Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
www.aida32.hu

Free. Works like a charm. Multilanguage, frequently updated to support the latest hardware. Lots of reporting options.
_________________________
The tart is out there

Top
#109552 - 2003-12-12 12:36 AM Re: SQL Server Script
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Have not tried that one Masken but looks good. We have SMS already.

I also recently came across this one. Written for VBS and Jscript and is about a year old.

But if you want a home grown method this might be able to give you some other ideas as well.

Poor Man's SMS
http://poormanssms.sourceforge.net/

Top
Page 2 of 2 <12


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 874 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.063 seconds in which 0.028 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org