Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

com - How can I find out more about my classic ASP environment? -


i'm trying make modifications old asp pages running vbscript on server don't have lot of information about. people have information off in department/hard track down/probably wouldn't able provide complete information anyway.

i run asp script server tell me itself. information know stuff like:

  • the version number of server
  • version of windows running on
  • the version of vbscript using
  • what dll's , com objects available me use

bearing in mind know little asp, code put asp file run on server provide me information?


based on servervariables clue provided in comment jb king, below, wrote code , put in asp:

<%        dim x     each x in request.servervariables       response.write("<p>" & x & ": " & request.servervariables(x) &"</p>")     next %> 

this provided lot of information needed - such telling me i'm running under called chili!soft on solaris server, not windows, explains why stuff want use microsoft library doesn't work.

i still way of figuring out com objects available in environment...

so, you've found out server running chili!soft. can assume com objects limited basics asp built-in (intrinsic) objects, , form of data access ado. don't know of easy way blindly list registered com classes server vbscript. guess wouldn't work on solaris platform anyways since com registers classes in windows registry... solaris have windows registry? ;)

here links official chili!soft reference pages (aka sun 1 asp):

asp built-in objects reference - covers: application, asperror, request, response, server & session objects

sun 1 asp installed components - note these may not available on installation since might on older version of platform (add-on components such as: ad rotator, browser capabilities, counters, etc)

sun 1 asp xml control - supposed correspond com interfaces in msxml 1.0

also, if server has chili!beans installed , enabled can access java components in vbscript if com components. more info on here.

lastly, may want try , access administration console sun 1 asp via either http://[hostname]:5100 or http://[hostname]/caspsamp. detailed instructions accessing admin console can found here. if can manage in sure there lot more information discover server in admin console.

good luck!


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -