Hello,
I'm very new to ASP.NET I am developing an application that uses a couple SSI's. The problem is, the files reside on a web server and I cannot download them to my local drive and add them to my project.
Everything I've tried this far to include them has failed and I end up with runtime errors when testing the application on the localhost.
I've tried: <!-- #include file="/somefile.inc" -->
I've tried: <!-- #include virtual="/somefile.inc" -->
I've tried calling out the absolute path
I've event tried creating a user control.
I'm stumped at this point. How to I make a call from within a table cell to an include file residing on a web server that cannot be physically added to the project itself?
It was so easy in legacy ASP but not so clear cut in ASP.NET.
Any help is appreciated!
I'm very new to ASP.NET I am developing an application that uses a couple SSI's. The problem is, the files reside on a web server and I cannot download them to my local drive and add them to my project.
Everything I've tried this far to include them has failed and I end up with runtime errors when testing the application on the localhost.
I've tried: <!-- #include file="/somefile.inc" -->
I've tried: <!-- #include virtual="/somefile.inc" -->
I've tried calling out the absolute path
I've event tried creating a user control.
I'm stumped at this point. How to I make a call from within a table cell to an include file residing on a web server that cannot be physically added to the project itself?
It was so easy in legacy ASP but not so clear cut in ASP.NET.
Any help is appreciated!