Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difficulty in operating package

Status
Not open for further replies.

isha

MIS
Mar 7, 2002
216
IN
There is an package installed in one PC in our office. The package was made by someone using asp and Access database. It runs through IIS. The package is working fine on the PC.

When I tried to port this package in another PC it is giving the following error when I give the path in IE address bar
It gives the following error:

Page cannot be displayed

Technical Information (for support personnel)

Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file 'Template.asp' was not found.
/trg/login.asp, line 57

Can some help me so that the problem is resolved?

Thanks,
 
Did you check it Internet Service manager...Do you have 'trg' there as a virtual directory for your package?
Are you sharing the access database?
Can the second user access your system's url...say,
computer name or your IP>/trg

Sharing the best from my side...

--Prashant--
 
I have checked the Internet Information Services Manager and found the virtual directory 'trg'in it.

The access database is not shared and it is on the PC itself.

Other users do not connect.

 

find this file: /trg/login.asp
and goto: line 57

there should be an include directive there.. what is the path to the file ? is it #include virtual or #include file ?

Then simply locate the file in question.. it is likely that either you haven't copied that file, or the wrong path is used.

A smile is worth a thousand kind words. So smile, it's easy! :)
 


line 57 reads as follows:

<!--#include VIRTUAL="Template.asp" -->

The file Template.asp is in the same folder in which login.asp is there.

 
Wait, so your installing IIS on your users machines and then installing a website on each one?

Why not just build some access forms in the Access DB and let them use those? or better yet, put the ASP pages and MDB on a server andlet them all access the same one?


In any case, try changing the Virtual to File and see if that makes a differance. It shouldn't but you never know.

 
good point Tarwn - having re-read the question, that sounds scarily like what's being done.

isha,
quick question, are you typing this:
into the same machine that has the software/IIS installed ?

And just to be pedantic, try:
<!--#include virtual="/trg/Template.asp" -->

and make sure that Template.asp is correctly spelled.

A smile is worth a thousand kind words. So smile, it's easy! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top